Skip to content

Commit

Permalink
Add property change from management.metrics.export.atlas.aggrConfig t…
Browse files Browse the repository at this point in the history
…o management.atlas.metrics.export.aggrConfig in UpgradeSpringBoot_3_0 recipe (#517)

* Add property change from management.metrics.export.atlas.aggrConfig to management.atlas.metrics.export.aggrConfig in UpgradeSpringBoot_3_0 recipe

* Slightly rename recipe to accommodate future additions

---------

Co-authored-by: Tim te Beek <[email protected]>
  • Loading branch information
jjacobs44 and timtebeek authored May 2, 2024
1 parent 9a3a49a commit 663f86a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/resources/META-INF/rewrite/spring-boot-30.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ recipeList:
- org.openrewrite.java.spring.boot3.DowngradeServletApiWhenUsingJetty
- org.openrewrite.java.spring.boot3.ConfigurationOverEnableSecurity
- org.openrewrite.java.spring.boot3.SpringBootProperties_3_0
- org.openrewrite.java.spring.boot3.AdditionalSpringBootProperties_3_0
- org.openrewrite.java.spring.boot3.MigrateThymeleafDependencies
- org.openrewrite.java.spring.boot3.UpgradeSpringDoc_2
- org.openrewrite.java.spring.boot3.MigrateDropWizardDependencies
Expand Down Expand Up @@ -225,3 +226,15 @@ recipeList:
newArtifactId: metrics-jakarta-servlets
newVersion: 4.2.x
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.boot3.AdditionalSpringBootProperties_3_0
displayName: Migrate additional Spring Boot properties to 3.0 not covered by Spring property metadata
description: >
Rename `management.metrics.export.atlas.aggrConfig` to `management.atlas.metrics.export.aggrConfig`.
tags:
- spring
- boot
recipeList:
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
oldPropertyKey: management.metrics.export.atlas.aggrConfig
newPropertyKey: management.atlas.metrics.export.aggrConfig

0 comments on commit 663f86a

Please sign in to comment.