I’m working with cloud foundry. My need is to run a database migration aside from my application so that I can trigger the migration in some way (cf command, api call, etc) when I need. I was recommended to use cf run-task. After checking, my understanding is that, cf run-task is a “SSH clientR…
Tag: cloud-foundry
How can I access the results from spring actuator healthcheck in Java code?
I’ve setup a healthcheck actuator with the endpoint /actuator/health, which produces something like the following for my application when you go to the URL: Is there a way I can access these results in my Java code using the Spring APIs? I’m monitoring for any that go down and sending out slack no…