-
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
bump spring_boot_version to 2.7.+ #1193
Conversation
6863809
to
6b79fbd
Compare
54aca02
to
e469a95
Compare
09d69f6
to
351c821
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1193 +/- ##
=========================================
Coverage 90.75% 90.75%
Complexity 3809 3809
=========================================
Files 467 467
Lines 14976 14976
Branches 1071 1071
=========================================
Hits 13591 13591
Misses 909 909
Partials 476 476 ☔ View full report in Codecov by Sentry. |
@@ -141,7 +141,7 @@ spring: | |||
repositories: | |||
enabled: false | |||
datasource: | |||
url: jdbc:h2:mem:genie | |||
url: jdbc:h2:mem:genie;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE;NON_KEYWORDS=value,limit; |
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.
I assume our test case is comprehensive, and since all test cases are passed, I think it should be safe but want to bring this up again to double confirm that there should have no risk with such change.
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.
Yes. It is safe. This change is required as H2 is upgraded from 1.4 to 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.
Left a small comment, overall lgtm!
This PR is to migrate Genie OSS SBN from 2.6.7 to 2.7.+ (i.e., bump spring_boot_version to 2.7.+). This migration is not backwards compatible (see https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes).
In particular, for Genie: (1) H2database from 1.4 to 2.1.; (2) MySQL from 5.7 to 8.0; (3) PostgreSQL from 9.6 to 10; (4) Flyway from 7.x to 9.x. Accordingly, the related sql scripts / implementations, configurations, and dependencies need upgrades.
Tests have been done: (1) local gradle build; (2) genie build on github actions; (3) deployment and tests on personal genie stack.