Files
gh-openrewrite-rewrite-docs…/skills/writing-openrewrite-recipes/references/recipes-framework-migrations-common.csv
2025-11-30 08:45:33 +08:00

4.1 KiB

1Fully Qualified Recipe NameRecipe NameDescription
2org.apache.camel.upgrade.camel40.CamelMigrationRecipeMigrate `camel3` application to `camel4.`Migrate `camel3` application to `camel4`.
3org.apache.camel.upgrade.camel410_4.CamelMigrationRecipeMigrates `camel 4.10.3` application to `camel 4.10.4`Migrates `camel 4.10.3` application to `camel 4.10.4`.
4io.moderne.elastic.elastic9.MigrateToElasticsearch9Migrate from Elasticsearch 8 to 9This recipe performs a comprehensive migration from Elasticsearch 8 to Elasticsearch 9 addressing breaking changes API removals deprecations and required code modifications.
5io.moderne.hibernate.update70.AddCascadePersistToIdMappedAssociationsMigrate implicit cascade=PERSIST for @Id and @MapsId associationsHibernate used to automatically enable cascade=PERSIST for association fields annotated @Id or @MapsId. This was undocumented and unexpected behavior and no longer supported in Hibernate 7. Existing code which relies on this behavior will be modified by addition of explicit cascade=PERSIST to the association fields.
6io.moderne.hibernate.update70.MigrateConfigurableToGeneratorCreationContextMigrate `Configurable.configure()` to use `GeneratorCreationContext`In Hibernate 7.0 `Configurable.configure()` now takes a `GeneratorCreationContext` parameter instead of `ServiceRegistry`. This recipe migrates method signatures and call sites.
7org.openrewrite.jenkins.JavaxAnnotationsToSpotbugsMigrate `javax.annotations` to SpotBugs annotationsSpotBugs is the [preferred replacement](https://www.jenkins.io/doc/developer/tutorial-improve/replace-jsr-305-annotations/) of JSR-305 annotations for Jenkins plugins.
8org.openrewrite.java.migrate.jakarta.Faces3xMigrationToFaces4xUpgrade to Jakarta Faces 4.xJakarta EE 10 uses Faces 4.0.
9org.openrewrite.java.testing.junit5.UpgradeToJUnit514Upgrade to JUnit 5.14Upgrades JUnit 5 to 5.14.x and migrates all deprecated APIs.
10io.moderne.kafka.MigrateAlterConfigsToIncrementalAlterConfigsMigrate `AdminClient.alterConfigs()` to `incrementalAlterConfigs()`Migrates the removed `AdminClient.alterConfigs()` method to `incrementalAlterConfigs()` for Kafka 4.0 compatibility.
11io.moderne.kafka.MigrateConsumerCommittedToSetMigrate `KafkaConsumer.committed(TopicPartition)` to `committed(Set<TopicPartition>)`Migrates from the removed `KafkaConsumer.committed(TopicPartition)` to `committed(Set<TopicPartition>)` for Kafka 4.0 compatibility. Converts single `TopicPartition` arguments to `Collections.singleton()` calls.
12org.openrewrite.java.micronaut.Micronaut2to3MigrationMigrate from Micronaut 2.x to 3.xThis recipe will apply changes required for migrating from Micronaut 2 to Micronaut 3.
13org.openrewrite.java.micronaut.Micronaut3to4MigrationMigrate from Micronaut 3.x to 4.xThis recipe will apply changes required for migrating from Micronaut 3 to Micronaut 4.
14org.openrewrite.quarkus.Slf4jToQuarkusLoggerMigrate SLF4J Logger injection and usage to Quarkus static `Log`Removes usage of SLF4J Logger fields adjusts imports and replaces logger method calls with static Quarkus Log calls including message formatting and method renaming for parameterized logging.
15org.openrewrite.quarkus.migrate.javaee.JavaEEtoQuarkus2MigrationMigrate JavaEE to Quarkus 2These recipes help with the migration of a JavaEE application using EJBs and Hibernate to Quarkus 2. Additional transformations like JSF JMS Quarkus Tests may be necessary.
16io.moderne.java.spring.boot3.ConditionalOnAvailableEndpointMigrationSpring34Migrate `ConditionalOnAvailableEndpoint` for Spring Boot 3.4Migrate `@ConditionalOnAvailableEndpoint(EndpointExposure.CLOUD_FOUNDRY)` to `@ConditionalOnAvailableEndpoint(EndpointExposure.WEB)` for Spring Boot 3.4.
17io.moderne.java.spring.boot3.UpgradeSpringBoot_3_5Migrate to Spring Boot 3.5Migrate applications to the latest Spring Boot 3.5 release. This recipe will modify an application's build files make changes to deprecated/preferred APIs and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework Spring Data etc) that are required as part of the migration to Spring Boot 3.5.