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

Add webhook callbacks usage #8

Merged
merged 5 commits into from
Mar 23, 2022

Conversation

arbulu89
Copy link
Contributor

Implement the check results execution callbacks system.

  • Remove the api-host and api-port cmd flags and use the callbacks-url flag, which will have the trento server callbacks url (/api/runner/callbacks or something, but it will be configurable)
  • Add the callbacks client code, which sends POST messages to the callbacks url with the predefined format (execution_id, event and payload)
  • Add first callback usage to notify an execution start even

Next things:

  • Implement the whole execution request data structure and the real execution itself
  • Update the python ansible callback to send a execution_completed callback
  • Update the execution completed callback payload format

@arbulu89 arbulu89 merged commit d5df829 into trento-project:main Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants