Actions
Feature #691
closedImplement simple status service
Description
Simple status (ping) service that would respond with JSON
{ "status":"ok" }
Updated by Lukas Zapletal almost 14 years ago
I have implemented this: https://github.com/ohadlevy/foreman/pull/6
Here is how to use it:
$ curl -k -H "Accept: application/json" http://localhost:3001/status {"db_duration_ms":"2","result":"ok"}
Updated by Lukas Zapletal almost 14 years ago
- Status changed from New to Pending
- % Done changed from 0 to 100
Updated by Ohad Levy almost 14 years ago
would you mind sending it to foreman-dev mailing list as a patch? - see Contribute
Updated by Lukas Zapletal almost 14 years ago
I will do that. I dont know why it did not send me an email when you updated the task. Need to get familiar with RedMine :-)
Updated by Lukas Zapletal almost 14 years ago
Moving to the home controller and creating functional test. I will re-send my patch to the list.
Updated by Lukas Zapletal almost 14 years ago
Sending new patch to the list:
- moved to home controller
- returns HTTP CODE 200 when ok, 500 on error
- functional test
Updated by Anonymous almost 14 years ago
- Status changed from Pending to Ready For Testing
Applied in changeset b752d4f75fcc815ed89a4a3e4217ac44bb2238d3.
Updated by Ohad Levy almost 14 years ago
- Status changed from Ready For Testing to Closed
- Target version set to 0.2
Actions