CDS SDC listener crashing 96/103396/3
authorSebastien Premont-Tendland <sebastien.premont@bell.ca>
Mon, 9 Mar 2020 21:55:41 +0000 (17:55 -0400)
committerSebastien Premont-Tendland <sebastien.premont@bell.ca>
Mon, 9 Mar 2020 22:02:11 +0000 (22:02 +0000)
The environment specification for AUTO in sdc defines the UEB endpoints
with the namespace appended to message-router "message-router.onap". In
CDS configuration we were only specifying the hostname
"message-router" causing SDC to not find a suitable environment and
returning an error.

Modified the sdc listener configuration in CDS to append the namespace
to the configuration.

Issue-ID: CCSDK-2160

Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca>
Change-Id: I7afabb91e43948118490455bdc6ba6a53c28a217

kubernetes/cds/charts/cds-sdc-listener/resources/config/application.yaml

index cc611a1..b3e95a2 100644 (file)
@@ -1,8 +1,8 @@
 listenerservice:
   config:
-    asdcAddress: sdc-be:8443 #SDC-BE
-    messageBusAddress: message-router #Message-Router
-    user: vid #SDC-username
+    asdcAddress: sdc-be.{{include "common.namespace" .}}:8443 #SDC-BE
+    messageBusAddress: message-router.{{include "common.namespace" .}} #Message-Router
+    user: cds #SDC-username
     password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U #SDC-password
     pollingInterval: 15
     pollingTimeout: 60