Migrate flyway and liquibase credentials

MSAL

If you currently define a spring.flyway.url or spring.liquibase.url you may need to provide additional username and password properties. In earlier versions of Spring Boot, these settings were derived from spring.datasource properties but this turned out to be problematic for people that provided their own DataSource beans.

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

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

Recipe list

It runs these recipes, in this order.

  1. Migrate flyway credentials flyway
  2. Migrate flyway credentials flyway
  3. Migrate liquibase credentials liquibase
  4. Migrate liquibase credentials liquibase