Change-Id: I8470ccbe0e57db1e8bef8b4e71c21fc9ba51b1ea
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
envFrom:
- configMapRef:
name: {{ include "common.configmapname.alarmadapter" . }}-env
envFrom:
- configMapRef:
name: {{ include "common.configmapname.alarmadapter" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
volumeMounts:
- mountPath: /cfg
name: config-volume
volumeMounts:
- mountPath: /cfg
name: config-volume
metadata:
name: {{ include "common.configmapname.alarmadapter" . }}-env
data:
metadata:
name: {{ include "common.configmapname.alarmadapter" . }}-env
data:
- DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
- DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
RMR_RTG_SVC: {{ include "common.serviceport.alarmadapter.rmr.route" . | quote }}
RMR_SRC_ID: {{ include "common.servicename.alarmadapter.rmr" . }}.{{ include "common.namespace.platform" . }}
CFGFILE: "/cfg/alarmadapter-config.yaml"
RMR_RTG_SVC: {{ include "common.serviceport.alarmadapter.rmr.route" . | quote }}
RMR_SRC_ID: {{ include "common.servicename.alarmadapter.rmr" . }}.{{ include "common.namespace.platform" . }}
CFGFILE: "/cfg/alarmadapter-config.yaml"
# and distribute corresponding routes to them
rtmgrcfg: |
"PlatformComponents":
# 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" .) }}"
-
"name": "SUBMAN"
"fqdn": "{{ printf "%s.%s" (include "common.servicename.submgr.rmr" .) (include "common.namespace.platform" .) }}"
"level": 4
"rmr":
"protPort": "tcp:4560"
"level": 4
"rmr":
"protPort": "tcp:4560"
"numWorkers": 1
"threadType": 1
"numWorkers": 1
"threadType": 1
"PlatformRoutes": [
{ 'messagetype': 'RIC_SUB_REQ', 'senderendpoint': 'SUBMAN', 'subscriptionid': -1, 'endpoint': '', 'meid': '%meid'},
{ 'messagetype': 'RIC_SUB_DEL_REQ', 'senderendpoint': 'SUBMAN', 'subscriptionid': -1,'endpoint': '', 'meid': '%meid'},
"PlatformRoutes": [
{ 'messagetype': 'RIC_SUB_REQ', 'senderendpoint': 'SUBMAN', 'subscriptionid': -1, 'endpoint': '', 'meid': '%meid'},
{ 'messagetype': 'RIC_SUB_DEL_REQ', 'senderendpoint': 'SUBMAN', 'subscriptionid': -1,'endpoint': '', 'meid': '%meid'},