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
OP-21771: springboot3 upgrade aftereffects swagger failed so migrating from SpringFox to SpringDoc. #51
Conversation
@@ -32,6 +32,7 @@ dependencies { | |||
implementation "io.spinnaker.kork:kork-config" | |||
implementation "io.spinnaker.kork:kork-plugins" | |||
implementation "io.spinnaker.kork:kork-web" | |||
implementation "io.spinnaker.kork:kork-swagger" |
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.
kork-runtime seems to be runtimeOnly so to avoid compilation issues around annotation types not found, this has been added.
@rahul-chekuri it seems at few places refactoring get missed, could you please update them ? |
@j-sandy any idea how these went off the radar while building the image? just curious to know. :) |
gate-web/src/main/groovy/com/netflix/spinnaker/gate/config/RedisSecureConfig.java
Outdated
Show resolved
Hide resolved
./gradlew --no-daemon gate-web:installDist -x test was the command I copied from GitHub action. That's how we missed it. But I am able to see compilation issues with ./gradlew clean build -x test. I have fixed all of them and updated the PR just now. Please review. |
Instead of multiple commits plz try to use git commit --amend, which try to add the code in existing commit. Otherwise we may end up creating lot of commits for a single PR, which may not be required. |
…g from SpringFox to SpringDoc.
107de61
to
24c05b3
Compare
https://devopsmx.atlassian.net/browse/OP-21771
SpringFox is not compatible with springboot3 so using SpringDoc.
springfox/springfox#3983
This is the migration guide followed.
https://springdoc.org/#migrating-from-springfox