Migrate datasource contracts only without lifecycle registrations
ProprietaryConverts datasource code only when the recipe run has no retained lifecycle registrations or static factory builds. Otherwise preserves ManagedDataSource types, factory build chains and signatures and their MetricRegistry build arguments across source files for explicit migration of the same instance to Spring lifecycle hooks.
io. moderne. java. dropwizard. boot. datasource. MigrateDataSourcesWithoutLifecycleRegistrationmod run . --recipe= io. moderne. java. dropwizard. boot. datasource. MigrateDataSourcesWithoutLifecycleRegistrationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.