Hierarchical Recipes UI for vscode

This commit is contained in:
BoykoAlex
2022-05-31 10:14:33 -04:00
parent 8e4eb819f4
commit 184e77afae
5 changed files with 250 additions and 62 deletions

View File

@@ -15,7 +15,7 @@
#
# ---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.boot2.SpringBootProperties_3_0
name: org.openrewrite.java.spring.boot3.SpringBootProperties_3_0
displayName: Migrate Spring Boot properties to 3.0
description: Migrate properties found in `application.properties` and `application.yml`.
recipeList:

View File

@@ -7,6 +7,17 @@ displayName: Upgrade to Spring Boot 3.0 from 2.x
description: 'Upgrade to Spring Boot 3.0 from prior 2.x version.'
recipeList:
# Upgrade 3.0.x from 2.x
- org.openrewrite.java.spring.boot3.MavenPomUpgrade
- org.openrewrite.java.spring.boot3.data.UpgradeSpringData_3_0
# - org.openrewrite.java.spring.boot3.SpringBootProperties_3_0
---
########################################################################################################################
# SpringBoot 3_0 Maven Pom
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.boot3.MavenPomUpgrade
displayName: Upgrade Maven Pom to Spring Boot 3.0 from 2.x
description: 'Upgrade Maven Pom to Spring Boot 3.0 from prior 2.x version.'
recipeList:
- org.openrewrite.maven.UpgradeDependencyVersion:
groupId: org.springframework.boot
artifactId: "*"
@@ -20,7 +31,5 @@ recipeList:
key: 'java.version'
newValue: 17
addIfMissing: true
- org.openrewrite.java.spring.data.UpgradeSpringData_3_0
- org.openrewrite.java.spring.boot2.SpringBootProperties_3_0

View File

@@ -1,9 +1,19 @@
########################################################################################################################
# Spring Data 3.0
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.data.UpgradeSpringData_3_0
name: org.openrewrite.java.spring.boot3.data.UpgradeSpringData_3_0
displayName: Upgrade to Spring Data 3.0
description: 'Upgrade to Spring Data to 3.0 from any prior version.'
recipeList:
- org.openrewrite.java.spring.boot3.data.SwitchToJakarta
---
########################################################################################################################
# Spring Data 3.0 javax -> jakarta
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.boot3.data.SwitchToJakarta
displayName: Switch to Jakarta JPA
description: 'Switch to Jakarta JPA from Javax'
recipeList:
- org.springframework.ide.vscode.commons.rewrite.maven.ChangeDependencyClassifier:
groupId: org.ehcache