Skip to content

Commit c861441

Browse files
deleting spring-boot-upgrade-30 module (#268)
Move property test required by 3.0 migration to sbm-recipes-boot-upgrade module and delete spring-boot-upgrade-30 module entirely
1 parent 8bdbee3 commit c861441

28 files changed

+3
-633
lines changed

spring-boot-upgrade-30/src/test/java/org/openrewrite/java/spring/boot3/ConfigRecipeTestHelper.java renamed to components/sbm-recipes-boot-upgrade/src/test/java/org/springframework/sbm/boot/upgrade_27_30/config/ConfigRecipeTestHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.openrewrite.java.spring.boot3;
16+
package org.springframework.sbm.boot.upgrade_27_30.config;
1717

1818
import org.apache.commons.lang3.tuple.ImmutablePair;
1919
import org.apache.commons.lang3.tuple.Pair;

spring-boot-upgrade-30/src/test/java/org/openrewrite/java/spring/boot3/RemovedPropertyTest.java renamed to components/sbm-recipes-boot-upgrade/src/test/java/org/springframework/sbm/boot/upgrade_27_30/config/RemovedPropertyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.openrewrite.java.spring.boot3;
16+
package org.springframework.sbm.boot.upgrade_27_30.config;
1717

1818
import org.apache.commons.lang3.tuple.Pair;
1919
import org.junit.jupiter.params.ParameterizedTest;

spring-boot-upgrade-30/src/test/java/org/openrewrite/java/spring/boot3/UpdatePropertyTest.java renamed to components/sbm-recipes-boot-upgrade/src/test/java/org/springframework/sbm/boot/upgrade_27_30/config/UpdatePropertyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.openrewrite.java.spring.boot3;
16+
package org.springframework.sbm.boot.upgrade_27_30.config;
1717

1818
import org.apache.commons.lang3.tuple.Pair;
1919
import org.junit.jupiter.params.ParameterizedTest;

spring-boot-upgrade-30/src/test/resources/META-INF/rewrite/recipie.yml renamed to components/sbm-recipes-boot-upgrade/src/test/resources/META-INF/rewrite/recipie.yml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,4 @@
11
type: specs.openrewrite.org/v1beta/recipe
2-
name: org.openrewrite.java.spring.boot3.data.TEST
3-
displayName: Upgrade to Spring Data 3.0
4-
description: 'Upgrade to Spring Data to 3.0 from any prior version.'
5-
recipeList:
6-
- org.openrewrite.java.AddMavenRepository:
7-
id: repository.spring.milestone
8-
url: https://repo.spring.io/milestone
9-
repositoryName: repository.spring.milestone
10-
- org.openrewrite.maven.UpgradeParentVersion:
11-
groupId: org.springframework.boot
12-
artifactId: spring-boot-starter-parent
13-
newVersion: 3.0.0-M3
14-
15-
---
16-
type: specs.openrewrite.org/v1beta/recipe
17-
name: org.openrewrite.java.spring.boot3.data.TEST2
18-
displayName: Upgrade to Spring Data 3.0
19-
description: 'Upgrade to Spring Data to 3.0 from any prior version.'
20-
recipeList:
21-
- org.openrewrite.java.AddMavenRepository:
22-
id: repository.spring.milestone
23-
url: https://repo.spring.io/milestone
24-
repositoryName: repository.spring.milestone
25-
---
26-
type: specs.openrewrite.org/v1beta/recipe
27-
name: org.openrewrite.java.spring.boot3.data.java.constructorbinding
28-
displayName: Upgrade to Spring Data 3.0
29-
description: 'Handles @ConstructorBinding'
30-
recipeList:
31-
- org.openrewrite.java.ConstructorBinding:
32-
id: repository.spring.milestone
33-
url: https://repo.spring.io/milestone
34-
repositoryName: repository.spring.milestone
35-
---
36-
type: specs.openrewrite.org/v1beta/recipe
37-
name: org.openrewrite.java.spring.boot3.SAMLRelyingPartyPropertyYAMLMove
38-
displayName: Move SAML relying party identity provider property to asserting party
39-
description: 'Renames spring.security.saml2.relyingparty.registration.(any).identityprovider to spring.security.saml2.relyingparty.registration.(any).assertingparty'
40-
recipeList:
41-
- org.openrewrite.java.spring.boot3.SAMLRelyingPartyPropertyYAMLMove
42-
43-
---
44-
type: specs.openrewrite.org/v1beta/recipe
452
name: org.openrewrite.java.spring.boot3.SpringBootPropertiesManual_2_7
463
displayName: Upgrade to Spring Data 3.0
474
description: 'Rename properties'

spring-boot-upgrade-30/pom.xml

Lines changed: 0 additions & 113 deletions
This file was deleted.

spring-boot-upgrade-30/src/main/java/org/openrewrite/java/AddMavenRepository.java

Lines changed: 0 additions & 196 deletions
This file was deleted.

0 commit comments

Comments
 (0)