| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR adds a new migration module to the Java Operator SDK project, providing OpenRewrite recipes to automate migration from v5.2 to v5.3. The recipes handle dependency version upgrades, artifact renames, Metrics API method renames, and removal of deprecated method invocations.
Changes:
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file| File | Description |
|---|---|
| pom.xml | Adds the new migration module to the reactor build |
| migration/pom.xml | New module POM with OpenRewrite dependencies for recipe authoring and testing |
| migration/src/main/resources/META-INF/rewrite/v5-3-migration.yml | OpenRewrite recipe definitions for v5.3 migration |
| migration/src/test/java/.../V53MigrationTest.java | Tests for the JUnit module rename and Metrics method rename recipes |
| docs/content/en/docs/migration/v5-3-migration.md | Adds OpenRewrite automated migration instructions |
You can also share your feedback on Copilot code review. Take the survey.
Sorry, something went wrong.
|
|
||
| default void reconciliationFinished(Object resource, RetryInfo retryInfo, Map<String, Object> metadata) {} |
| } | ||
| } | ||
| """)); | ||
| } |
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
|
added additional improvements, but I think we should stop there, this already adresses most of the issues; there are some others but those are quite deep rabit holes |
Sorry, something went wrong.
| with: | ||
| distribution: temurin | ||
| java-version: 25 | ||
| java-version: 17 |
There was a problem hiding this comment.
Had to change this is open rewrite is jvm specific there is an issue with AbstractSyntaxtTree (AST) when having this on java 25. I'm pretty sure we could improve on these things regardin open rewite (like test with multiple java version but I don't have the bandwidth.
Note that all java versions are tested in integration tests
Sorry, something went wrong.
There was a problem hiding this comment.
I just wonder if we can't reuse some of the existing openrewrite recipes.
Sorry, something went wrong.
What do you mean? If you take a look we are reusing a lot of them, there is just one case that current recipies not cover, removing the method from classes that implement an interface... but yeah I did not found for that case any... |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.