From abb6898481b7bb82b7273248a8e0302a18f43925 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Wed, 13 May 2026 11:06:29 -0400 Subject: [PATCH 1/3] Target Spring Boot 4.1 in starter DevCenter --- src/main/resources/META-INF/rewrite/devcenter-starter.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/META-INF/rewrite/devcenter-starter.yml b/src/main/resources/META-INF/rewrite/devcenter-starter.yml index 39d06d9..f8eddad 100644 --- a/src/main/resources/META-INF/rewrite/devcenter-starter.yml +++ b/src/main/resources/META-INF/rewrite/devcenter-starter.yml @@ -25,11 +25,11 @@ description: >- For more information on how to customize your DevCenter configuration, see the [DevCenter documentation](https://docs.moderne.io/administrator-documentation/moderne-platform/how-to-guides/recipe-based-devcenter-beta/). recipeList: - io.moderne.devcenter.LibraryUpgrade: - cardName: Move to Spring Boot 4.0 + cardName: Move to Spring Boot 4.1 groupIdPattern: org.springframework.boot artifactIdPattern: '*' - version: 4.0.0 - upgradeRecipe: io.moderne.java.spring.boot4.UpgradeSpringBoot_4_0 + version: 4.1.0 + upgradeRecipe: io.moderne.java.spring.boot4.UpgradeSpringBoot_4_1 - io.moderne.devcenter.JavaVersionUpgrade: majorVersion: 25 upgradeRecipe: org.openrewrite.java.migrate.UpgradeToJava25 From bc297302be0d97dd41be68fb1c2178191913e4d0 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Wed, 13 May 2026 11:30:33 -0400 Subject: [PATCH 2/3] Update reducer test fixtures to Spring Boot 4.1 card name --- .../devcenter/result/DevCenterResultReducerTest.java | 4 ++-- src/test/resources/UpgradesAndMigrations-Default.csv | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/java/io/moderne/devcenter/result/DevCenterResultReducerTest.java b/src/test/java/io/moderne/devcenter/result/DevCenterResultReducerTest.java index 7eb135d..5c89dc4 100644 --- a/src/test/java/io/moderne/devcenter/result/DevCenterResultReducerTest.java +++ b/src/test/java/io/moderne/devcenter/result/DevCenterResultReducerTest.java @@ -86,7 +86,7 @@ void emptySecurity() { assertThat(reducer.reduce(root).getResultsByCard().keySet()) .map(DevCenter.Card::getName) - .containsExactly("Move to Spring Boot 4.0"); + .containsExactly("Move to Spring Boot 4.1"); } private void hasSecurityResults(DevCenterResult result) { @@ -97,7 +97,7 @@ private void hasSecurityResults(DevCenterResult result) { } private void hasSpringBoot35Results(DevCenterResult result) { - result.forEach(devCenter.getCard("Move to Spring Boot 4.0"), (measure, count) -> + result.forEach(devCenter.getCard("Move to Spring Boot 4.1"), (measure, count) -> assertThat(count) .describedAs(measure.getName()) .isEqualTo((int) switch (measure) { diff --git a/src/test/resources/UpgradesAndMigrations-Default.csv b/src/test/resources/UpgradesAndMigrations-Default.csv index eb9bc33..c0420f1 100644 --- a/src/test/resources/UpgradesAndMigrations-Default.csv +++ b/src/test/resources/UpgradesAndMigrations-Default.csv @@ -1,5 +1,5 @@ repositoryOrigin,repositoryPath,repositoryBranch,scmType,repositoryLink,card,ordinal,value,currentMinimumVersion -github.com,finos/spring-bot,spring-bot-master,GITHUB,"https://github.com/finos/spring-bot/blob/spring-bot-master","Move to Spring Boot 4.0",1,Minor,3.4.5 -github.com,finos/symphony-bdk-java,main,GITHUB,"https://github.com/finos/symphony-bdk-java/blob/main","Move to Spring Boot 4.0",1,Minor,3.3.7 -github.com,finos/symphony-wdk,master,GITHUB,"https://github.com/finos/symphony-wdk/blob/master","Move to Spring Boot 4.0",1,Minor,3.2.2 -github.com,"spring-projects/spring-petclinic",main,GITHUB,"https://github.com/spring-projects/spring-petclinic/blob/main","Move to Spring Boot 4.0",3,Completed,3.5.0 +github.com,finos/spring-bot,spring-bot-master,GITHUB,"https://github.com/finos/spring-bot/blob/spring-bot-master","Move to Spring Boot 4.1",1,Minor,3.4.5 +github.com,finos/symphony-bdk-java,main,GITHUB,"https://github.com/finos/symphony-bdk-java/blob/main","Move to Spring Boot 4.1",1,Minor,3.3.7 +github.com,finos/symphony-wdk,master,GITHUB,"https://github.com/finos/symphony-wdk/blob/master","Move to Spring Boot 4.1",1,Minor,3.2.2 +github.com,"spring-projects/spring-petclinic",main,GITHUB,"https://github.com/spring-projects/spring-petclinic/blob/main","Move to Spring Boot 4.1",3,Completed,3.5.0 From 21aa07c66a64b35ebaa122fc0e40774da15595e8 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Thu, 11 Jun 2026 14:27:29 +0200 Subject: [PATCH 3/3] Update duplicateRows test fixture to Spring Boot 4.1 card name --- .../devcenter/result/DevCenterResultReducerTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/io/moderne/devcenter/result/DevCenterResultReducerTest.java b/src/test/java/io/moderne/devcenter/result/DevCenterResultReducerTest.java index 26a4455..83504df 100644 --- a/src/test/java/io/moderne/devcenter/result/DevCenterResultReducerTest.java +++ b/src/test/java/io/moderne/devcenter/result/DevCenterResultReducerTest.java @@ -81,14 +81,14 @@ void duplicateRowsForOneRepoCountAsOneRepo() { root, new StringReader(""" repositoryOrigin,repositoryPath,repositoryBranch,card,ordinal,value,currentMinimumVersion - github.com,finos/spring-bot,spring-bot-master,Move to Spring Boot 4.0,0,Major,3.5.0 - github.com,finos/spring-bot,spring-bot-master,Move to Spring Boot 4.0,0,Major,3.4.0 + github.com,finos/spring-bot,spring-bot-master,Move to Spring Boot 4.1,0,Major,3.5.0 + github.com,finos/spring-bot,spring-bot-master,Move to Spring Boot 4.1,0,Major,3.4.0 """), new StringReader("") ); reducer.reduce(root).forEach( - devCenter.getCard("Move to Spring Boot 4.0"), + devCenter.getCard("Move to Spring Boot 4.1"), (measure, count) -> { assertThat(measure).isEqualTo(SemverMeasure.Major); assertThat(count).isEqualTo(1);