Merge Spring bootstrap.yml with application.yml

MSAL

In Spring Boot 2.4, the bootstrap context that loads bootstrap.yml is disabled by default. Its properties should be merged with application.yml unless spring-cloud-starter-bootstrap is present as a dependency. Profile-specific bootstrap-{profile}.yml files are also merged into their matching application-{profile}.yml. A bootstrap file without a matching application file is renamed instead.

org.openrewrite.java.spring.boot2.MergeBootstrapYamlWithApplicationYaml
mod run . --recipe=org.openrewrite.java.spring.boot2.MergeBootstrapYamlWithApplicationYaml

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.