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

Fix REST API application and container not exiting on error #322

Merged
merged 2 commits into from
Nov 4, 2021

Conversation

MagielBruntink
Copy link
Member

Description

Currently the REST API application does not properly exit if it encounters an error like not connecting to the DB. The problem is with Spring Boot as described here spring-projects/spring-boot#27049

I upgraded the Spring Boot version and added the suggested entry to the application.properties file. Now the REST API application and its container properly restart and retry if there is an error connecting.

@mir-am mir-am added the bug Something isn't working label Nov 4, 2021
Copy link
Contributor

@mir-am mir-am left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks for the fix.

@MagielBruntink MagielBruntink merged commit 400a6c0 into develop Nov 4, 2021
@MagielBruntink MagielBruntink deleted the fix-restapi-no-exiting-on-error branch November 4, 2021 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants