Changes in helm chart due to xapp-fwk adaptation in rtmgr
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / rtmgr / templates / config.yaml
index 997ae4f..f45dc98 100644 (file)
@@ -28,29 +28,51 @@ data:
   # FQDN and port info of the platform components for routing manager to form
   # and distribute corresponding routes to them
   rtmgrcfg: |
-    {
        "PlatformComponents":
-       [
-          {
-             "name": "E2TERM",
-             "fqdn": "{{ printf "%s.%s" (include "common.servicename.e2term.rmr" .) (include "common.namespace.platform" .) }}",
-             "port": {{ include "common.serviceport.e2term.rmr.data" . }}
-          },
-          {
-             "name": "SUBMAN",
-             "fqdn": "{{ printf "%s.%s" (include "common.servicename.submgr.rmr" .) (include "common.namespace.platform" .) }}",
-             "port": {{ include "common.serviceport.submgr.rmr.data" . }}
-          },
-          {
-             "name": "E2MAN",
-             "fqdn": "{{ printf "%s.%s" (include "common.servicename.e2mgr.rmr" .) (include "common.namespace.platform" .) }}",
-             "port": {{ include "common.serviceport.e2mgr.rmr.data" . }}
-          },
-          {
-             "name": "RSM",
-             "fqdn": "{{ printf "%s.%s" (include "common.servicename.rsm.rmr" .) (include "common.namespace.platform" .) }}",
-             "port": {{ include "common.serviceport.rsm.rmr.data" . }}
-          }
-       ]
-    }
+         -
+           "name": "E2TERM"
+           "fqdn": "{{ printf "%s.%s" (include "common.servicename.e2term.rmr" .) (include "common.namespace.platform" .) }}"
+           "port": {{ include "common.serviceport.e2term.rmr.data" . }}
+         -
+           "name": "SUBMAN"
+           "fqdn": "{{ printf "%s.%s" (include "common.servicename.submgr.rmr" .) (include "common.namespace.platform" .) }}"
+           "port": {{ include "common.serviceport.submgr.rmr.data" . }}
+         -
+           "name": "E2MAN"
+           "fqdn": "{{ printf "%s.%s" (include "common.servicename.e2mgr.rmr" .) (include "common.namespace.platform" .) }}"
+           "port": {{ include "common.serviceport.e2mgr.rmr.data" . }}
+         -
+           "name": "RSM"
+           "fqdn": "{{ printf "%s.%s" (include "common.servicename.rsm.rmr" .) (include "common.namespace.platform" .) }}"
+           "port": {{ include "common.serviceport.rsm.rmr.data" . }}
+         -
+           "name": "A1MEDIATOR"
+           "fqdn": "{{ printf "%s.%s" (include "common.servicename.a1mediator.rmr" .) (include "common.namespace.platform" .) }}"
+           "port": {{ include "common.serviceport.a1mediator.rmr.data" . }}
 
+       "XMURL":
+         "http://{{ include "common.servicename.appmgr.http" . }}:{{ include "common.serviceport.appmgr.http" . }}/ric/v1/xapps"
+       "RTFILE":
+         "/db/rt.json"
+       "CFGFILE":
+         "/cfg/rtmgr-config.yaml"
+       "RPE":
+         "{{ .Values.rtmgr.rpe }}"
+       "SBI":
+         "{{ .Values.rtmgr.sbi }}"
+       "SBIURL":
+         "{{ .Values.rtmgr.sbiurl }}"
+       "NBI":
+         "{{ .Values.rtmgr.nbi }}"
+       "NBIURL":
+         "http://{{ include "common.servicename.rtmgr.http" . }}:{{ include "common.serviceport.rtmgr.http" . }}"
+       "SDL":
+         "file"
+       "local":
+         "host": ":8080"
+       "logger":
+         "level": 4
+       "rmr":
+         "protPort": "tcp:4560"
+         "maxSize": 2072
+         "numWorkers": 1