[CCSDK] Fix error logs due to empty URL
The gating tests for Honolulu have reported flooding of error messages
in SDNC because the ricLink in values.yaml was not set.
The information about RICs can now be provided in values.yaml
Change-Id: I8ef67c27ed95432fb90de88b2976f39068fa7be0
Issue-ID: CCSDK-3227
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
[Improve ric list generation]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
diff --git a/kubernetes/a1policymanagement/resources/config/application_configuration.json b/kubernetes/a1policymanagement/resources/config/application_configuration.json
index 64c42e6..6b8ebfb 100644
--- a/kubernetes/a1policymanagement/resources/config/application_configuration.json
+++ b/kubernetes/a1policymanagement/resources/config/application_configuration.json
@@ -8,17 +8,7 @@
"password": "${A1CONTROLLER_PASSWORD}"
}
],
- "ric": [
- {
- "name": "ric1",
- "baseUrl": "{{ .Values.ricLink }}",
- "controller": "controller1",
- "managedElementIds": [
- "kista_1",
- "kista_2"
- ]
- }
- ],
+ "ric": {{ include "a1p.generateRics" . | indent 6 | trim }},
"streams_publishes": {
"dmaap_publisher": {
"type": "message_router",