diff --git a/src/main/resources/META-INF/rewrite/replace-methods-rest-template-builder.yml b/src/main/resources/META-INF/rewrite/replace-methods-rest-template-builder.yml index 28def2f8..262822c6 100644 --- a/src/main/resources/META-INF/rewrite/replace-methods-rest-template-builder.yml +++ b/src/main/resources/META-INF/rewrite/replace-methods-rest-template-builder.yml @@ -15,7 +15,7 @@ # --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.boot3.ReplaceRestTemplateBuilderMethods +name: org.openrewrite.java.spring.boot3.ReplaceRestTemplateBuilderMethods displayName: Replace deprecated setters in `RestTemplateBuilder` description: Replaces `setConnectTimeout`, `setReadTimeout`, and `setSslBundle` method invocations with `connectTimeout`, `readTimeout`, and `sslBundle` respectively. recipeList: diff --git a/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml b/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml index 40f6548b..8ef2abf4 100644 --- a/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml +++ b/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml @@ -16,7 +16,7 @@ --- type: specs.openrewrite.org/v1beta/recipe -name: org.openrewrite.java.boot3.ReplaceMockBeanAndSpyBean +name: org.openrewrite.java.spring.boot3.ReplaceMockBeanAndSpyBean displayName: Replace `@MockBean` and `@SpyBean` description: Replaces `@MockBean` and `@SpyBean` annotations with `@MockitoBean` and `@MockitoSpyBean`. recipeList: diff --git a/src/testWithSpringBoot_3_4/java/org/openrewrite/java/spring/boot3/ReplaceMockBeanAndSpyBeanTest.java b/src/testWithSpringBoot_3_4/java/org/openrewrite/java/spring/boot3/ReplaceMockBeanAndSpyBeanTest.java index 70e17911..5622184f 100644 --- a/src/testWithSpringBoot_3_4/java/org/openrewrite/java/spring/boot3/ReplaceMockBeanAndSpyBeanTest.java +++ b/src/testWithSpringBoot_3_4/java/org/openrewrite/java/spring/boot3/ReplaceMockBeanAndSpyBeanTest.java @@ -28,7 +28,7 @@ class ReplaceMockBeanAndSpyBeanTest implements RewriteTest { @Override public void defaults(RecipeSpec spec) { - spec.recipeFromResources("org.openrewrite.java.boot3.ReplaceMockBeanAndSpyBean") + spec.recipeFromResources("org.openrewrite.java.spring.boot3.ReplaceMockBeanAndSpyBean") .parser(JavaParser.fromJavaVersion() .classpathFromResources(new InMemoryExecutionContext(), "spring-boot-test", "mockito-core")); diff --git a/src/testWithSpringBoot_3_4/java/org/openrewrite/java/spring/boot3/ReplaceRestTemplateBuilderMethodsTest.java b/src/testWithSpringBoot_3_4/java/org/openrewrite/java/spring/boot3/ReplaceRestTemplateBuilderMethodsTest.java index 301542a9..67c2403d 100644 --- a/src/testWithSpringBoot_3_4/java/org/openrewrite/java/spring/boot3/ReplaceRestTemplateBuilderMethodsTest.java +++ b/src/testWithSpringBoot_3_4/java/org/openrewrite/java/spring/boot3/ReplaceRestTemplateBuilderMethodsTest.java @@ -28,7 +28,7 @@ class ReplaceRestTemplateBuilderMethodsTest implements RewriteTest { @Override public void defaults(RecipeSpec spec) { - spec.recipeFromResources("org.openrewrite.java.boot3.ReplaceRestTemplateBuilderMethods") + spec.recipeFromResources("org.openrewrite.java.spring.boot3.ReplaceRestTemplateBuilderMethods") .parser(JavaParser.fromJavaVersion().classpath("spring-boot", "spring-web")); }