[POLICY] Change policy-distribution configuration 53/113953/2
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Fri, 16 Oct 2020 18:23:02 +0000 (14:23 -0400)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 20 Oct 2020 06:54:41 +0000 (06:54 +0000)
policy-distribution was failing to connect with SDC. After debugging, we found that SDC has been changed recently to expect common.namespace appended with the "message-router" host name. Example - "message-router.onap". Hence, updated the policy-distribution configuration to append common.namespace with the message-router host name.
The fix is tested in PFPP lab.

Issue-ID: POLICY-2861
Change-Id: I898b24199fdfc06ab63813f5df78f51b2f141e94
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
kubernetes/policy/components/policy-distribution/resources/config/config.json

index 9b9a7a5..8d31575 100755 (executable)
@@ -54,7 +54,7 @@
             "parameters":{
                 "asdcAddress": "sdc-be:8443",
                 "messageBusAddress": [
-                    "message-router"
+                    "message-router.{{ include "common.namespace" . }}"
                  ],
                 "user": "${SDCBE_USER}",
                 "password": "${SDCBE_PASSWORD}",