summaryrefslogtreecommitdiffstats
path: root/docs/notification_system.md
diff options
context:
space:
mode:
authorJake McDermott <yo@jakemcdermott.me>2019-06-24 21:56:10 +0200
committerbeeankha <beeankha@gmail.com>2019-07-23 17:47:19 +0200
commit2b74b6f9b62b724d8e55b01e4b8426bc80bb9bec (patch)
tree0e4b1a16a57c86363aaac80914fe132ed3f98903 /docs/notification_system.md
parentUpdating tests, changing 'method' to 'http_method' (diff)
downloadawx-2b74b6f9b62b724d8e55b01e4b8426bc80bb9bec.tar.xz
awx-2b74b6f9b62b724d8e55b01e4b8426bc80bb9bec.zip
add tooling for basic testing of notification webhooks
Diffstat (limited to '')
-rw-r--r--docs/notification_system.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/notification_system.md b/docs/notification_system.md
index 7ef17d2cef..40adb5c8af 100644
--- a/docs/notification_system.md
+++ b/docs/notification_system.md
@@ -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