Chengkai Yan | 7f278e3 | 2018-11-06 16:32:03 +0100 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | |
| 4 | Administration |
| 5 | ============== |
| 6 | DFC has a healthcheck functionality. The service can then be started and stopped through an API. One can also check the liveliness of the service. |
| 7 | |
| 8 | Main API Endpoints |
| 9 | """""""""""""""""" |
| 10 | Running with dev-mode of DFC |
| 11 | - Heartbeat: **http://<container_address>:8100/heartbeat** or **https://<container_address>:8433/heartbeat** |
| 12 | - Start DFC: **http://<container_address>:8100/start** or **https://<container_address>:8433/start** |
| 13 | - Stop DFC: **http://<container_address>:8100/stopDatafile** or **https://<container_address>:8433/stopDatafile** |
| 14 | |
| 15 | The external port allocated for 8100 (http) is 30245. |