-
Notifications
You must be signed in to change notification settings - Fork 85
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
Webhooks #592
Comments
Hi David, Snowstorm is able to make an HTTP call to an external service when any type of commit is made. This can be enabled by configuring an HTTP endpoint using the
Where:
No specific details are sent about the content being changed during that commit. Perhaps if refset changes were being made on a specific branch this could be enough. By default, when this the service hook is configured, Snowstorm commits will fail if the external service call results in non 2xx http response code. To disable this behaviour set There is a specific config item to block branch promotions if the service hook responds with an error: The alternative is to use the Traceability Service. This can be wired up to Snowstorm via a JMS queue, we usually use ActiveMQ for JMS but an AWS hosted queue should work. The Traceability Service keeps a log of all content changes made on all branches. It can give detailed information for the changes made during a specific timespan or branch. Example:
Here the Perhaps you might need both the service hook and Traceability Service to complete your solution. |
If you wanted to keep things simple and deploy less components you could write something to receive the Traceability JMS payload directly. It's not HTTP like you hoped for but something like Apache Camel could receive the JMS request and forward it as an HTTP request to another endpoint. |
Thank you! |
Hi,
I would like to know if it is possible to use webhooks to monitor changes on a refset member. Specifically, I need to be notified when a refset member is created, updated, or deleted.
Is this functionality supported, and if so, could you provide some guidance or examples on how to set this up?
Thank you!
Best regards,
David
The text was updated successfully, but these errors were encountered: