I am trying to build an automated API reporting capability for which we need to scan a Linux server for all deployed APIs( spring boot apps). Once I get some metadata about the dpeloyed APIS, I want to hit the actuator endpints and capture more metadata like memory etc of deployed apis.
Is there a way I can scan this? Any help will be appreciated. I googled but its not matching what I need. Earlier the idea was to hit the zuul gateway and get information but we have many applications deployed on multiple servers, so not sure how it will work.
Update: Since people aren't getting my question. Lets say I have deployed 10 services on my server. I need to call the actuator endpoints of these 10 services, but I do not know the URL's of each service.So How do I determine it dynamically, without hardcoding the hostname/context:port of each service? I should be able to scan all the deployed apps and get their service URI and then give it to an aggregator service which will call the actuator endpoint of all services. No hardcoding of any service URI in anywhere. This way, when a new service is deployed on the server, I do not want the application developers to go and update a file with their service url.
