Actions
Feature #31301
closedArbitrary headers with ERB rendering
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Description
For better Shellhooks plugin integration, we should allow passing arguments into scripts via X-Shellhook-Arg-N named HTTP headers. To allow that, we need to extend webhook with headers, the reasonable solution is to have one string/text SQL column with headers stored in JSON, which can be nicely presented to the user in the UI and CLI.
ERB will be enabled in the headers themselves as well as in URL for easier integration with backend services directly. This patch only prepares the field for #31299 if we choose to implement it.
Updated by Lukas Zapletal about 4 years ago
- Related to Tracker #30290: Foreman webhooks integration story added
Updated by Lukas Zapletal almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_webhooks/pull/15 added
Updated by Anonymous almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_webhooks|84683307210e0120f91cf077ba3c402e5a0ab2b9.
Actions