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

Upgrade to Spring Boot 2.2 #399

Merged
merged 2 commits into from
Nov 22, 2019
Merged

Upgrade to Spring Boot 2.2 #399

merged 2 commits into from
Nov 22, 2019

Conversation

steven-sheehy
Copy link
Member

@steven-sheehy steven-sheehy commented Nov 21, 2019

Detailed description:

  • Upgrades Spring Boot to 2.2
  • Fixes circular dependency in DB migration
  • Rework JUnit dependencies
  • Component scan @ConfigurationProperties
  • Lazy initialization broke things so didn't enable it

Which issue(s) this PR fixes:
Fixes #329

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
@steven-sheehy steven-sheehy added enhancement Type: New feature P1 technical debt process Build or test related tasks labels Nov 21, 2019
@steven-sheehy steven-sheehy added this to the Mirror 0.4.1 milestone Nov 21, 2019
Nana-EC
Nana-EC previously approved these changes Nov 21, 2019
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left one suggestion for a comment. Otherwise this is good

@@ -52,6 +54,7 @@ public static final Connection getConnection() {
return dataSource.getConnection();
} catch (Exception e) {
log.warn("Unable to connect to database: {}", e.getMessage());
Uninterruptibles.sleepUninterruptibly(100, TimeUnit.MILLISECONDS);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add a comment on the need for the sleep and chosen time

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
@steven-sheehy steven-sheehy merged commit efef872 into master Nov 22, 2019
@steven-sheehy steven-sheehy deleted the spring-boot-2-2 branch November 22, 2019 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature P1 process Build or test related tasks technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to Spring Boot 2.2
3 participants