Red Hat Bugzilla – Bug 806008
[REST API] healt-check url for application is missing
Last modified: 2015-05-14 21:48:55 EDT
In the legacy service, one would get a health-check url. This url is the url at which the client library may wait for the application to become reachable (all internal setups were successfull, the app is ready). The typical setup (when using the legacy service) was:
1) request app creation
2) poll the healt-url until it reports 200 OK (and "1" in the response body).
We need the beforementioned attribute at which the readyness-service may be queried or an alternative approach. I guess that it would be ideal to be able to query the application resource and have a state property in the response.
The beforementioned approach to report the application state when GET'ing the application resource is filed in https://bugzilla.redhat.com/show_bug.cgi?id=805989
We suggest that the response to a GET on the application resource would hold a property that reports the application state. This state could report the creation state:
CREATING -> STARTING -> STARTED
I therefore close this issue and add our requirement to https://bugzilla.redhat.com/show_bug.cgi?id=805989
*** This bug has been marked as a duplicate of bug 805989 ***