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

Webhooks: support multiple webhooks and different json payloads #412

Open
ninsbl opened this issue Jan 24, 2023 · 0 comments
Open

Webhooks: support multiple webhooks and different json payloads #412

ninsbl opened this issue Jan 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ninsbl
Copy link
Collaborator

ninsbl commented Jan 24, 2023

The webhooks in the processing chain are a very useful feature.
It would be even more useful if several webhooks could be called and if not only the final actinia response, but a custom json payload could be send to the POST webhook. In a custom json body, the actinia response would be ideally included if needed with help of a fixe "variable" name.

Here I think in general of modifying webhooks to look like e.g. here:

"webhooks": {
    "finished": [{"auth": "username:password",
                  "url": "http://business-logic.company.com/api/v3/actinia-finished-webhook_1",
                  "json": "{'post-body': 'json'}"
                 },
                  {"auth": "username:password",
                   "url": "http://business-logic.company.com/api/v3/actinia-finished-webhook_2",
                   "json": "{'post-body': 'json'}"
                  }
                  ]

},
@mmacata mmacata added the enhancement New feature or request label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants