Skip to content

Commit

Permalink
Add MigrateResponseStatusException in UpgradeSpringFramework_6_0
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Oct 5, 2024
1 parent 0c9b257 commit 582a3ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ recipeList:
- org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5
- org.openrewrite.java.spring.framework.HttpComponentsClientHttpRequestFactoryReadTimeout
- org.openrewrite.java.spring.framework.MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode
- org.openrewrite.java.spring.framework.MigrateResponseStatusException
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.spring.framework.MigrateResponseStatusException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class MigrateResponseStatusExceptionTest implements RewriteTest {
@Override
public void defaults(RecipeSpec spec) {
spec.recipeFromResources("org.openrewrite.java.spring.framework.MigrateResponseStatusException")
.parser(JavaParser.fromJavaVersion().classpathFromResources(new InMemoryExecutionContext(), "spring-core-5.3", "spring-beans-5.3", "spring-web-5.3"));
.parser(JavaParser.fromJavaVersion().classpathFromResources(new InMemoryExecutionContext(), "spring-core-5.3", "spring-beans-5.3", "spring-web-5.3"));
}

@DocumentExample
Expand Down

0 comments on commit 582a3ea

Please sign in to comment.