|
| 1 | +# |
| 2 | +# Copyright 2023 the original author or authors. |
| 3 | +# <p> |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# <p> |
| 8 | +# https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# <p> |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | +# |
| 16 | +--- |
| 17 | +type: specs.openrewrite.org/v1beta/recipe |
| 18 | +name: org.openrewrite.java.spring.cloud2023.UpgradeSpringCloud_2023 |
| 19 | +displayName: Migrate to Spring Cloud 2023 |
| 20 | +description: Migrate applications to the latest Spring Cloud 2023 release. |
| 21 | +tags: |
| 22 | + - spring |
| 23 | + - cloud |
| 24 | +recipeList: |
| 25 | + - org.openrewrite.java.spring.cloud2022.UpgradeSpringCloud_2022 |
| 26 | + - org.openrewrite.java.spring.cloud2023.DependencyUpgrades |
| 27 | + |
| 28 | +--- |
| 29 | +type: specs.openrewrite.org/v1beta/recipe |
| 30 | +name: org.openrewrite.java.spring.cloud2023.DependencyUpgrades |
| 31 | +displayName: Upgrade dependencies to Spring Cloud 2023 |
| 32 | +description: Upgrade dependencies to Spring Cloud 2023 from prior 2022.x version. |
| 33 | +tags: |
| 34 | + - spring |
| 35 | + - cloud |
| 36 | +recipeList: |
| 37 | + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: |
| 38 | + groupId: org.springframework.cloud |
| 39 | + artifactId: "*" |
| 40 | + newVersion: 4.1.x |
| 41 | + overrideManagedVersion: false |
| 42 | + - org.openrewrite.maven.UpgradeParentVersion: |
| 43 | + groupId: org.springframework.cloud |
| 44 | + artifactId: spring-cloud-starter-parent |
| 45 | + newVersion: 2023.0.x |
| 46 | + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: |
| 47 | + groupId: org.springframework.cloud |
| 48 | + artifactId: spring-cloud-dependencies |
| 49 | + newVersion: 2023.0.x |
| 50 | + overrideManagedVersion: false |
| 51 | + # circuitbreaker, kubernetes & task follow a different versioning scheme |
| 52 | + # https://docs.spring.io/spring-cloud-release/reference/2023.0/ |
| 53 | + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: |
| 54 | + groupId: org.springframework.cloud |
| 55 | + artifactId: spring-cloud-starter-circuitbreaker-* |
| 56 | + newVersion: 3.1.x |
| 57 | + overrideManagedVersion: false |
| 58 | + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: |
| 59 | + groupId: org.springframework.cloud |
| 60 | + artifactId: spring-cloud-circuitbreaker-* |
| 61 | + newVersion: 3.1.x |
| 62 | + overrideManagedVersion: false |
| 63 | + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: |
| 64 | + groupId: org.springframework.cloud |
| 65 | + artifactId: spring-cloud-starter-kubernetes-* |
| 66 | + newVersion: 3.1.x |
| 67 | + overrideManagedVersion: false |
| 68 | + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: |
| 69 | + groupId: org.springframework.cloud |
| 70 | + artifactId: spring-cloud-kubernetes-* |
| 71 | + newVersion: 3.1.x |
| 72 | + overrideManagedVersion: false |
| 73 | + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: |
| 74 | + groupId: org.springframework.cloud |
| 75 | + artifactId: spring-cloud-starter-task-* |
| 76 | + newVersion: 3.1.x |
| 77 | + overrideManagedVersion: false |
| 78 | + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: |
| 79 | + groupId: org.springframework.cloud |
| 80 | + artifactId: spring-cloud-task-* |
| 81 | + newVersion: 3.1.x |
| 82 | + overrideManagedVersion: false |
0 commit comments