-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add runtime health endpoint #22
Conversation
0142427
to
3438c8a
Compare
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.
Seems ok. I forsee issues when trying to add this to the camel k workflow. E.g. base images won't be used because an additional dependency is needed... Wdyt?
if (!Objects.equals(path, msg.uri())) { | ||
status = HttpResponseStatus.NOT_FOUND; | ||
content = Unpooled.wrappedBuffer(KO); | ||
} else if (context.getStatus() == ServiceStatus.Started) { |
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.
Is this true when routes are down for master-component/routepolicy?
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, context is always running, only the consumer part of the route is stopped
3438c8a
to
779e1a3
Compare
We may need to add an option to the publisher to configure additional dependencies |
@nicolaferraro what is not yet implemented is the integration with camel health's subsystem will do in a future pr |
Fixes #21