From bdb19f2d9b9a8f334aa808e57284297ebcd7732e Mon Sep 17 00:00:00 2001 From: tiffany jernigan Date: Mon, 8 Jan 2024 23:02:33 +0100 Subject: [PATCH] Add Spring Boot 3 best practices (#471) Co-authored-by: tiffany jernigan --- .../resources/META-INF/rewrite/spring-boot-32.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/resources/META-INF/rewrite/spring-boot-32.yml b/src/main/resources/META-INF/rewrite/spring-boot-32.yml index 3ee71e8ec..e7e339b65 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-32.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-32.yml @@ -71,3 +71,16 @@ recipeList: - org.openrewrite.java.spring.AddSpringProperty: property: spring.threads.virtual.enabled value: true + +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.spring.boot3.SpringBoot3BestPractices +displayName: Spring Boot 3.x best practices +description: Applies best practices to Spring Boot 3 applications. +tags: + - spring + - boot +recipeList: + - org.openrewrite.java.spring.boot2.SpringBoot2BestPractices + - org.openrewrite.java.migrate.UpgradeToJava21 # Allows for virtual threads + - org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_2