mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
add tooling for basic testing of notification webhooks
This commit is contained in:
@@ -218,6 +218,14 @@ https://gist.github.com/matburt/73bfbf85c2443f39d272
|
||||
The link below shows how to define an endpoint and parse headers and json content. It doesn't show how to configure Flask for HTTPS, but is fairly straightforward:
|
||||
http://flask.pocoo.org/snippets/111/
|
||||
|
||||
You can also link an httpbin service to the development environment for testing webhooks using:
|
||||
|
||||
```
|
||||
make docker-compose-notifications
|
||||
```
|
||||
|
||||
This will create an `httpbin` service reachable from the awx container at `http://httpbin/post`, `http://httpbin/put`, etc. Outside of the container, you can reach the service at `http://localhost:8204`.
|
||||
|
||||
|
||||
## Grafana
|
||||
|
||||
|
||||
Reference in New Issue
Block a user