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 #170: add support for webhook endpoints #171

Merged
merged 5 commits into from
Oct 25, 2019

Conversation

nicolaferraro
Copy link
Member

@nicolaferraro nicolaferraro commented Oct 23, 2019

Fix #170

When CAMEL_K_WEBHOOK_ACTION is set to REGISTER or UNREGISTER, the webhook route policy executes the registration/deregistration of all webhooks appearing on the routes and terminates the camel context without starting the routes.

This will be used in combination with a new workflow to be implemented in Camel K.

@lburgazzoli
Copy link
Contributor

lburgazzoli commented Oct 23, 2019

Maybe this should be a customizer ? and maybe in its own artifact

@nicolaferraro
Copy link
Member Author

Maybe this should be a customizer ? and maybe in its own artifact

Not sure.. let me think about it..

If the behavior can be activated only by a trait (and I think it's acceptable), yeah, it's possible to externalize it in a lib with a customizer

@lburgazzoli
Copy link
Contributor

Maybe this should be a customizer ? and maybe in its own artifact

Not sure.. let me think about it..

If the behavior can be activated only by a trait (and I think it's acceptable), yeah, it's possible to externalize it in a lib with a customizer

That would be very good for quarkus pov

@lburgazzoli
Copy link
Contributor

Minor thing, add the artifact to the bom and to the registry

@nicolaferraro nicolaferraro merged commit 3c167b3 into apache:master Oct 25, 2019
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.

Add support for webhook endpoints
3 participants