Fix a bug in URL to interface 01/41401/1
authorasteroide <thomas.duval@orange.com>
Fri, 8 Sep 2017 12:12:16 +0000 (14:12 +0200)
committerasteroide <thomas.duval@orange.com>
Fri, 8 Sep 2017 12:12:16 +0000 (14:12 +0200)
Change-Id: I0529a84b77b38cc00e72418720a2b864fc7671e2

moonv4/moon_wrapper/moon_wrapper/http_server.py

index ba2caf8..7db6bee 100644 (file)
@@ -57,7 +57,7 @@ def HTTPServer(host, port):
             _object = __get_object(target, credentials)
             _project_id = __get_project_id(target, credentials)
             logger.info("GET with args {} / {} - {} - {}".format(_project_id, _subject, _object, rule))
-            _url = "http://{}:{}/{}/{}/{}/{}".format(
+            _url = "http://authz/{}:{}/{}/{}/{}/{}".format(
                 interface_hostname,
                 interface_port,
                 _project_id,