From bf23f64829390c96106ea7014545fdd2135557cd Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Sun, 20 Jan 2019 16:50:10 +0100 Subject: [PATCH] change camunda url and formatting. --- service-failover/main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/service-failover/main.py b/service-failover/main.py index 925223e..2f90406 100644 --- a/service-failover/main.py +++ b/service-failover/main.py @@ -15,12 +15,12 @@ from tsprint import print services = dict() -# Service, check url, initial delay, timeout, dockername -services["analysis"] = ["http://analysis:8081/health", 30, 15, "analysis"] -services["camunda"] = ["http://camunda:8085/health", 300, 15, "camunda"] -services["reporting"] = ["http://reporting:8083/health", 30, 15, "reporting"] -services["twitter"] = ["http://twitter:8084/actuator/health", 60, 15, "twitter"] -services["website"] = ["http://website:8080/", 30, 15, "website"] +# Service check url initial delay, delay, dockername +services["analysis"] = ["http://analysis:8081/health", 30, 15, "analysis"] +services["camunda"] = ["http://camunda:8085/engine-rest/process-instance/", 300, 15, "camunda"] +services["reporting"] = ["http://reporting:8083/health", 30, 15, "reporting"] +services["twitter"] = ["http://twitter:8084/actuator/health", 60, 15, "twitter"] +services["website"] = ["http://website:8080/", 30, 15, "website"] -- 2.43.0