Skip to content

Commit b9765a6

Browse files
SAP cloud logging support migration to SB 3.x (#608)
* SAP cloud logging migration to SB 3.x this migrates SAP's cloud foundry based java logging support libraries to SB 3.x * general yml file formatting for readability * Add newVersion 3.x as -jakarta was added in 3.7.0 * Adopt `newVersion: "[3.7.0,4)"` to show lower bound of -jakarta --------- Co-authored-by: Tim te Beek <tim@moderne.io>
1 parent d0bc9dc commit b9765a6

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

src/main/resources/META-INF/rewrite/spring-boot-30.yml

+20-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ recipeList:
7878
- org.openrewrite.java.spring.cloud2022.UpgradeSpringCloud_2022
7979
- org.openrewrite.java.springdoc.UpgradeSpringDoc_2
8080
- org.openrewrite.hibernate.MigrateToHibernate61
81+
8182
---
8283
type: specs.openrewrite.org/v1beta/recipe
8384
name: org.openrewrite.java.spring.boot3.ActuatorEndpointSanitization
@@ -93,7 +94,6 @@ recipeList:
9394
propertyKey: management.endpoint.env.additional-keys-to-sanitize
9495

9596
---
96-
9797
type: specs.openrewrite.org/v1beta/recipe
9898
name: org.openrewrite.java.spring.boot3.MigrateMaxHttpHeaderSize
9999
displayName: Rename `server.max-http-header-size` to `server.max-http-request-header-size`
@@ -133,6 +133,7 @@ recipeList:
133133
oldGroupId: org.thymeleaf.extras
134134
oldArtifactId: thymeleaf-extras-springsecurity5
135135
newArtifactId: thymeleaf-extras-springsecurity6
136+
136137
---
137138
type: specs.openrewrite.org/v1beta/recipe
138139
name: org.openrewrite.java.spring.boot3.MigrateDropWizardDependencies
@@ -159,3 +160,21 @@ recipeList:
159160
oldArtifactId: metrics-servlets
160161
newArtifactId: metrics-jakarta-servlets
161162
newVersion: 4.2.x
163+
164+
---
165+
type: specs.openrewrite.org/v1beta/recipe
166+
name: org.openrewrite.java.spring.boot3.MigrateSapCfJavaLoggingSupport
167+
displayName: Migrate SAP cloud foundry logging support to Spring Boot 3.x
168+
description: Migrate SAP cloud foundry logging support from `cf-java-logging-support-servlet` to `cf-java-logging-support-servlet-jakarta`, to use Jakarta with Spring Boot 3.
169+
tags:
170+
- spring
171+
- boot
172+
- sap
173+
- cloudfoundry
174+
- logging
175+
recipeList:
176+
- org.openrewrite.java.dependencies.ChangeDependency:
177+
oldGroupId: com.sap.hcp.cf.logging
178+
oldArtifactId: cf-java-logging-support-servlet
179+
newArtifactId: cf-java-logging-support-servlet-jakarta
180+
newVersion: "[3.7.0,4)"

0 commit comments

Comments
 (0)