From 60048092c81da378d7a2e1f93ff976dcafda220a Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Thu, 5 Sep 2024 20:48:28 +0200 Subject: [PATCH] Update categories to better group & label recipes --- .../resources/META-INF/rewrite/category.yml | 24 +++++++++++++++++-- .../META-INF/rewrite/spring-batch-5.0.yml | 2 +- .../META-INF/rewrite/spring-boot-30.yml | 2 +- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/main/resources/META-INF/rewrite/category.yml b/src/main/resources/META-INF/rewrite/category.yml index 4dd58e0f..d0de44da 100644 --- a/src/main/resources/META-INF/rewrite/category.yml +++ b/src/main/resources/META-INF/rewrite/category.yml @@ -20,6 +20,10 @@ packageName: org.openrewrite.java.spring description: Recipes for upgrading and patching [Spring](https://spring.io/) applications. --- type: specs.openrewrite.org/v1beta/category +name: Spring Batch +packageName: org.openrewrite.java.spring.batch +--- +type: specs.openrewrite.org/v1beta/category name: Spring Boot 2.x packageName: org.openrewrite.java.spring.boot2 --- @@ -28,6 +32,14 @@ name: Spring Boot 3.x packageName: org.openrewrite.java.spring.boot3 --- type: specs.openrewrite.org/v1beta/category +name: Spring Cloud 2022 +packageName: org.openrewrite.java.spring.cloud2022 +--- +type: specs.openrewrite.org/v1beta/category +name: Spring Cloud 2023 +packageName: org.openrewrite.java.spring.cloud2023 +--- +type: specs.openrewrite.org/v1beta/category name: Spring Data packageName: org.openrewrite.java.spring.data --- @@ -36,5 +48,13 @@ name: Spring Framework packageName: org.openrewrite.java.spring.framework --- type: specs.openrewrite.org/v1beta/category -name: Spring Batch -packageName: org.openrewrite.java.spring.batch +name: Spring Kafka +packageName: org.openrewrite.java.spring.kafka +--- +type: specs.openrewrite.org/v1beta/category +name: Spring Security 5.x +packageName: org.openrewrite.java.spring.security5 +--- +type: specs.openrewrite.org/v1beta/category +name: Spring Security 6.x +packageName: org.openrewrite.java.spring.security6 diff --git a/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml b/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml index f9f6ba0b..cb885c4e 100644 --- a/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml +++ b/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml @@ -16,7 +16,7 @@ --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.spring.boot3.SpringBatch4To5Migration +name: org.openrewrite.java.spring.batch.SpringBatch4To5Migration displayName: Migrate to Spring Batch 5.0 from 4.3 description: Migrate applications built on Spring Batch 4.3 to the latest Spring Batch 5.0 release. tags: diff --git a/src/main/resources/META-INF/rewrite/spring-boot-30.yml b/src/main/resources/META-INF/rewrite/spring-boot-30.yml index 5a9187e2..5e509e2c 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-30.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-30.yml @@ -70,7 +70,7 @@ recipeList: - org.openrewrite.java.spring.boot3.UpgradeSpringDoc_2 - org.openrewrite.java.spring.boot3.MigrateDropWizardDependencies - org.openrewrite.java.spring.boot3.RemoveSolrAutoConfigurationExclude - - org.openrewrite.java.spring.boot3.SpringBatch4To5Migration + - org.openrewrite.java.spring.batch.SpringBatch4To5Migration - org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_0 - org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_0 - org.openrewrite.java.spring.cloud2022.UpgradeSpringCloud_2022