f45dc98351fb1f2932373b55a72a0d8e9d05d8d1
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / rtmgr / templates / config.yaml
1 #
2 #==================================================================================
3 #   Copyright (c) 2019 AT&T Intellectual Property.
4 #   Copyright (c) 2019 Nokia
5 #
6 #   Licensed under the Apache License, Version 2.0 (the "License");
7 #   you may not use this file except in compliance with the License.
8 #   You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #   Unless required by applicable law or agreed to in writing, software
13 #   distributed under the License is distributed on an "AS IS" BASIS,
14 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #   See the License for the specific language governing permissions and
16 #   limitations under the License.
17 #==================================================================================
18 #
19 #
20 #   Abstract:           Configuration values for the routing manager
21 #   Date:               29 May 2019
22 #
23 apiVersion: v1
24 kind: ConfigMap
25 metadata:
26   name: {{ include "common.configmapname.rtmgr" . }}-rtmgrcfg
27 data:
28   # FQDN and port info of the platform components for routing manager to form
29   # and distribute corresponding routes to them
30   rtmgrcfg: |
31        "PlatformComponents":
32          -
33            "name": "E2TERM"
34            "fqdn": "{{ printf "%s.%s" (include "common.servicename.e2term.rmr" .) (include "common.namespace.platform" .) }}"
35            "port": {{ include "common.serviceport.e2term.rmr.data" . }}
36          -
37            "name": "SUBMAN"
38            "fqdn": "{{ printf "%s.%s" (include "common.servicename.submgr.rmr" .) (include "common.namespace.platform" .) }}"
39            "port": {{ include "common.serviceport.submgr.rmr.data" . }}
40          -
41            "name": "E2MAN"
42            "fqdn": "{{ printf "%s.%s" (include "common.servicename.e2mgr.rmr" .) (include "common.namespace.platform" .) }}"
43            "port": {{ include "common.serviceport.e2mgr.rmr.data" . }}
44          -
45            "name": "RSM"
46            "fqdn": "{{ printf "%s.%s" (include "common.servicename.rsm.rmr" .) (include "common.namespace.platform" .) }}"
47            "port": {{ include "common.serviceport.rsm.rmr.data" . }}
48          -
49            "name": "A1MEDIATOR"
50            "fqdn": "{{ printf "%s.%s" (include "common.servicename.a1mediator.rmr" .) (include "common.namespace.platform" .) }}"
51            "port": {{ include "common.serviceport.a1mediator.rmr.data" . }}
52
53        "XMURL":
54          "http://{{ include "common.servicename.appmgr.http" . }}:{{ include "common.serviceport.appmgr.http" . }}/ric/v1/xapps"
55        "RTFILE":
56          "/db/rt.json"
57        "CFGFILE":
58          "/cfg/rtmgr-config.yaml"
59        "RPE":
60          "{{ .Values.rtmgr.rpe }}"
61        "SBI":
62          "{{ .Values.rtmgr.sbi }}"
63        "SBIURL":
64          "{{ .Values.rtmgr.sbiurl }}"
65        "NBI":
66          "{{ .Values.rtmgr.nbi }}"
67        "NBIURL":
68          "http://{{ include "common.servicename.rtmgr.http" . }}:{{ include "common.serviceport.rtmgr.http" . }}"
69        "SDL":
70          "file"
71        "local":
72          "host": ":8080"
73        "logger":
74          "level": 4
75        "rmr":
76          "protPort": "tcp:4560"
77          "maxSize": 2072
78          "numWorkers": 1