Hello,
I’m working on adding a slack alert whenever there is a POST request performed using Axon Server API. I have two problems:
1- I don’t seem to find a way to listen or detect to where the call could come from.
2- I tried to use swagger for Axon Server API and i can’t seem to find some logs or so anywhere( for ex in my axon-server container)
would so much appreciate if someone can give me some help.
What you’re asking is not something Axon Server supports out of the box.
On top of mind, I have two things you could do, which are the use of an agent or the addition of a reverse proxy in front of the HTTP port of the Axon Server.
Adding an agent for this is discouraged, as we have seen agents mess quite a bit with Axon Server’s internals…
So, setting up a reverse proxy that does the logging for you upon which you can trigger, would be your best bet!