16356: Adds missing Health service section.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 22 Apr 2020 21:25:06 +0000 (18:25 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 22 Apr 2020 21:25:06 +0000 (18:25 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

sdk/python/tests/run_test_server.py

index 420fcc48cb1b2516514925a8107276939f416b73..779ac4bfc0614f853da77e77068eb8ed539f8865 100644 (file)
@@ -656,6 +656,8 @@ def setup_config():
     workbench1_external_port = find_available_port()
     git_httpd_port = find_available_port()
     git_httpd_external_port = find_available_port()
+    health_httpd_port = find_available_port()
+    health_httpd_external_port = find_available_port()
     keepproxy_port = find_available_port()
     keepproxy_external_port = find_available_port()
     keepstore_ports = sorted([str(find_available_port()) for _ in xrange(0,4)])
@@ -711,6 +713,12 @@ def setup_config():
                 "http://%s:%s"%(localhost, git_httpd_port): {}
             },
         },
+        "Health": {
+            "ExternalURL": "https://%s:%s" % (localhost, health_httpd_external_port),
+            "InternalURLs": {
+                "http://%s:%s"%(localhost, health_httpd_port): {}
+            },
+        },
         "Keepstore": {
             "InternalURLs": {
                 "http://%s:%s"%(localhost, port): {} for port in keepstore_ports