diff --git a/rules/rules-reviewed/azure/springboot/spring-boot-to-azure-restricted-config.windup.xml b/rules/rules-reviewed/azure/springboot/spring-boot-to-azure-restricted-config.windup.xml index 7de4063d7..619156ad1 100644 --- a/rules/rules-reviewed/azure/springboot/spring-boot-to-azure-restricted-config.windup.xml +++ b/rules/rules-reviewed/azure/springboot/spring-boot-to-azure-restricted-config.windup.xml @@ -17,16 +17,7 @@ - - - - - - - - - - + @@ -37,6 +28,7 @@ Please remove them from your application, including configuration files, config server files, command line parameters, Java system attributes, and environment variables. If configured in **configuration files**: they will be ignored and overrided by Azure Spring Apps. + If configured in **Config Server files**, **command line parameters**, **Java system attribute**, **environment variable**: they need to be removed or you might experience conflicts and unexpected behavior. @@ -47,35 +39,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/rules/rules-reviewed/azure/springboot/tests/data/spring-boot-to-azure-restricted-config/application.properties b/rules/rules-reviewed/azure/springboot/tests/data/spring-boot-to-azure-restricted-config/application.properties index 65b78487a..0e5462a63 100644 --- a/rules/rules-reviewed/azure/springboot/tests/data/spring-boot-to-azure-restricted-config/application.properties +++ b/rules/rules-reviewed/azure/springboot/tests/data/spring-boot-to-azure-restricted-config/application.properties @@ -1,5 +1,4 @@ eureka.instance.preferIpAddress = true -eureka.instance.instance-id = ${spring.cloud.client.ip-address}:${server.port} server.port = 8761 spring.cloud.config.tls.keystore = classpath:configserver.jks spring.config.import = configserver:http://localhost:8888 diff --git a/rules/rules-reviewed/azure/springboot/tests/spring-boot-to-azure-restricted-config.windup.test.xml b/rules/rules-reviewed/azure/springboot/tests/spring-boot-to-azure-restricted-config.windup.test.xml index cbb428810..571007bb9 100644 --- a/rules/rules-reviewed/azure/springboot/tests/spring-boot-to-azure-restricted-config.windup.test.xml +++ b/rules/rules-reviewed/azure/springboot/tests/spring-boot-to-azure-restricted-config.windup.test.xml @@ -11,7 +11,7 @@ - +