-
Notifications
You must be signed in to change notification settings - Fork 367
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
Upgrade genie-common-internal to spring cloud aws 3 #1225
base: master
Are you sure you want to change the base?
Conversation
bhou2
commented
Feb 4, 2025
- upgrade io.awspring.cloud:spring-cloud-aws-dependencies to 3.2.1
…ependencies: 3.2.1
genie-agent-app/build.gradle
Outdated
@@ -25,6 +25,14 @@ license { | |||
exclude "*.txt" | |||
} | |||
|
|||
dependencyManagement { | |||
imports { | |||
mavenBom "com.amazonaws:aws-java-sdk-bom:1.12.99" |
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.
com.amazonaws
is AWS SDK V1 and with Amazon's announcement of end-of-support for AWS SDK for Java v1.x you'll have to move to V2 eventually
(jFYI, both V1 and V2 will continue being supported with upgrade to Spring Boot for now)
genie-agent/build.gradle
Outdated
@@ -53,7 +61,6 @@ dependencies { | |||
*******************************/ | |||
|
|||
implementation("io.grpc:grpc-netty") | |||
implementation("io.awspring.cloud:spring-cloud-starter-aws") |
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 sure this is safe to drop? for reference, Spring Cloud 3 starter name is io.awspring.cloud:spring-cloud-aws-starter
genie-agent-app/build.gradle
Outdated
dependencyManagement { | ||
imports { | ||
mavenBom "com.amazonaws:aws-java-sdk-bom:1.12.99" | ||
mavenBom "io.awspring.cloud:spring-cloud-aws-dependencies:3.2.1" |
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 should also
- update Spring Boot version in https://github.com/Netflix/genie/blob/master/gradle.properties#L23-L24
- either reuse that
spring_cloud_version
var or remove it - Spring Boot 3 integrates with flyway 10: https://github.com/Netflix/genie/blob/master/gradle.properties#L30, check if you can use Spring Boot BOM recommendation instead of hardcoded version
c9d6848
to
b6560c9
Compare