-
Notifications
You must be signed in to change notification settings - Fork 905
Bump OpenRewrite to 3.6.1 #6072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@Disabled("With OpenRewrite version bump, unit tests fail when ExecutionContext#putMessage is used with multiple recipes " | ||
+ "(invoked in HttpSettingsToHttpClient)") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't have to disable the entire test; you can disable that particular validation step instead through TypeValidation:
https://github.com/openrewrite/rewrite/blob/e84018e2dfc38578eb6c7d5930b6c04002f18627/rewrite-test/src/main/java/org/openrewrite/test/TypeValidation.java#L113-L118
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked, thanks Tim!
v2-migration/src/test/java/software/amazon/awssdk/v2migration/ChangeConfigTypesTest.java
Show resolved
Hide resolved
|
Motivation and Context
Continuation of #6040 to bump
rewrite-recipe-bom
to3.6.1
(OpenRewrite v8.50.2)Cannot bump to to latest
3.7.0
asJavaType.Method
constructors were dropped, requires further refactoring in SDK recipesModifications
ChangeMethodInvocationReturnType
and use OpenRewrite oneL
to content length arg inRequestBody.fromInputStream()
as it is not necessary and breaks with the version bumprewrite-maven-plugin
6.6.0
rewrite-gradle-plugin
7.4.1
Testing
Ran end to end tests