Skip to content
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

Merged
merged 1 commit into from
Nov 22, 2023
Merged

bump spring_boot_version to 2.7.+ #1193

merged 1 commit into from
Nov 22, 2023

Conversation

bhou2
Copy link
Contributor

@bhou2 bhou2 commented Nov 15, 2023

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.

@bhou2 bhou2 force-pushed the dev-snapshot branch 30 times, most recently from 6863809 to 6b79fbd Compare November 16, 2023 20:49
@bhou2 bhou2 force-pushed the dev-snapshot branch 17 times, most recently from 54aca02 to e469a95 Compare November 21, 2023 18:29
@bhou2 bhou2 changed the title bump spring_boot_version to 2.7.17 bump spring_boot_version to 2.7.+ Nov 21, 2023
@bhou2 bhou2 force-pushed the dev-snapshot branch 2 times, most recently from 09d69f6 to 351c821 Compare November 21, 2023 19:13
@Netflix Netflix deleted a comment from codecov bot Nov 21, 2023
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (73aa7cc) 90.75% compared to head (351c821) 90.75%.

❗ Current head 351c821 differs from pull request most recent head 3f861a1. Consider uploading reports for the commit 3f861a1 to get more accurate results

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.
📢 Have feedback on the report? Share it here.

@@ -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;
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

Copy link
Collaborator

@stevie9868 stevie9868 left a 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!

@bhou2 bhou2 merged commit e0c6266 into master Nov 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants