From 991bd0d774cf4ad0a1500c8c60a5a59434a81d20 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Fri, 2 Aug 2024 13:53:19 +0200 Subject: [PATCH] Remove SimpleClientHttpRequestFactory setOutputStreaming in SF 6.1 --- .../META-INF/rewrite/spring-framework-61.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/main/resources/META-INF/rewrite/spring-framework-61.yml diff --git a/src/main/resources/META-INF/rewrite/spring-framework-61.yml b/src/main/resources/META-INF/rewrite/spring-framework-61.yml new file mode 100644 index 00000000..0c2b0665 --- /dev/null +++ b/src/main/resources/META-INF/rewrite/spring-framework-61.yml @@ -0,0 +1,31 @@ +# +# Copyright 2024 the original author or authors. +#

+# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +#

+# https://www.apache.org/licenses/LICENSE-2.0 +#

+# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +######################################################################################################################## +# Spring Framework 6.1 +--- +type: specs.openrewrite.org/v1beta/recipe +name: org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_1 +displayName: Migrate to Spring Framework 6.1 +description: Migrate applications to the latest Spring Framework 6.1 release. +recipeList: + - org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_0 + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: + groupId: org.springframework + artifactId: "*" + newVersion: 6.1.x + - org.openrewrite.java.migrate.RemoveMethodInvocation: + methodPattern: org.springframework.http.client.SimpleClientHttpRequestFactory setOutputStreaming(boolean)