-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
2.3
-
False
-
-
False
1. What is the nature and description of the request?
When you push a webhook, e.g from gitlab, there are created two payloads, awx_webhook_payload and tower_webhook_payload, on the same webhook. It's the same content but only changes the names:
"awx_webhook_event_type": "push", "awx_webhook_event_guid": "6eae9d48-d21d-11ed-9492-0c71e26ba472", "awx_webhook_event_ref": "56fc39a97ee83edf5f066e03022c287b059e04f1", "awx_webhook_status_api": null, "awx_webhook_payload": { "ref": "refs/heads/main", "before": "d5dafd02da862cbab431a74755d3345ecf3e50ec", "after": "56fc39a97ee83edf5f066e03022c287b059e04f1", "repository": { "id": 372423747, "node_id": "MDEwOlJlcG9zaXRvcnkzNzI0MjM3NDc=", "name": "kcli", "full_name": "Alffernandez/kcli",
{{}}
"tower_webhook_event_type": "push", "tower_webhook_event_guid": "6eae9d48-d21d-11ed-9492-0c71e26ba472", "tower_webhook_event_ref": "56fc39a97ee83edf5f066e03022c287b059e04f1", "tower_webhook_status_api": null, "tower_webhook_payload": { "ref": "refs/heads/main", "before": "d5dafd02da862cbab431a74755d3345ecf3e50ec", "after": "56fc39a97ee83edf5f066e03022c287b059e04f1", "repository": { "id": 372423747, "node_id": "MDEwOlJlcG9zaXRvcnkzNzI0MjM3NDc=", "name": "kcli", "full_name": "Alffernandez/kcli",
2. Why does the customer need this? (List the business requirements here).
For example, when you use the webhook from gitlab to trigger project updates or job template runs based on amendments in Gitlab, the duplicate data doesn't help the use case.
If we expose JOB_VARIABLE_PREFIXES as an actual configurable setting to admins. The customers could then set awx_ only and not have the tower_ one.
3. Github link for references code: