[BUG] Properties migration via spring-boot-properties-migrator causes startup problems #28312
Labels
azure-spring
All azure-spring related issues
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Milestone
If I add the
spring-boot-properties-migrator
as described in the Spring Cloud Azure - Reference Documentation to my application it doesn't start anymore.The problem is that not all property names in the additional-spring-configuration-metadata.json are defined as kebab-case as required by Spring Boot Reference Documentation - Configuration Metadata.
Exception or Stack Trace
I had a quick look into the file and found these property names which are not defined in kebab-case
azure-sdk-for-java/sdk/spring/spring-cloud-azure-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
Line 793 in 1ea2d78
azure-sdk-for-java/sdk/spring/spring-cloud-azure-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
Line 793 in 1ea2d78
azure-sdk-for-java/sdk/spring/spring-cloud-azure-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
Line 823 in 1ea2d78
azure-sdk-for-java/sdk/spring/spring-cloud-azure-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
Line 833 in 1ea2d78
The text was updated successfully, but these errors were encountered: