Examples using wrp-listener.
By moving these out of the wrp-listener library repository dependencies are greatly simplified.
Leverage Docker to stand up a local xmidt cluster for validating webhooks.
- Clone xmidt deploy repo
git clone https://github.com/xmidt-org/xmidt.git
- Start xmidt cluster
cd deploy/docker-compose/
./deploy.sh
- Build and Run example inside docker
cd <example test dir>
docker-compose up
-
Validate webhook is registered by visiting http://localhost:9090/graph?g0.expr=xmidt_caduceus_webhook_list_size_value&g0.tab=1&g0.stacked=0&g0.show_exemplars=0&g0.range_input=1h
-
Restart the Simulator and watch logs and prometheus http://localhost:9090/graph?g0.expr=xmidt_caduceus_delivery_count&g0.tab=0&g0.stacked=0&g0.show_exemplars=0&g0.range_input=1h