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

lifecycle: Introduce a LifecycleConfig. See killbill/killbill#1911 #148

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

sbrossie
Copy link
Member

@sbrossie sbrossie commented Dec 1, 2023

We have a first use case to configure our lifecycle to decide whether system should exit when some plugins fail to start.

We have a first use case to configure our lifecycle to decide whether system should exit
when some plugins fail to start.
Copy link
Member

@pierre pierre left a comment

Choose a reason for hiding this comment

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

Looks like tests need some additional Guice wiring.

@reshmabidikar Let's not forget to update our config docs.

if (exitOnError) {
log.info("{} is set, so exiting..", EXIT_ON_LIFECYCLE_ERROR_PROPERTY);
if (config.isServerExitOnLifecycleError()) {
log.warn("Existing as system was configured to exist on lifecycle error ");
Copy link
Member

Choose a reason for hiding this comment

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

Existing

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in ce72480

@reshmabidikar
Copy link
Contributor

Looks like there are some test failures though. CI is red.

@sbrossie
Copy link
Member Author

sbrossie commented Dec 6, 2023

Looks like there are some test failures though. CI is red.

Fixed in 0f4f895

@sbrossie sbrossie merged commit 9521d8c into work-for-1911 Dec 6, 2023
20 checks 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.

3 participants