997ae4f7b0d7ec28c428144a00dc00c9f4b14578
[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     {
32        "PlatformComponents":
33        [
34           {
35              "name": "E2TERM",
36              "fqdn": "{{ printf "%s.%s" (include "common.servicename.e2term.rmr" .) (include "common.namespace.platform" .) }}",
37              "port": {{ include "common.serviceport.e2term.rmr.data" . }}
38           },
39           {
40              "name": "SUBMAN",
41              "fqdn": "{{ printf "%s.%s" (include "common.servicename.submgr.rmr" .) (include "common.namespace.platform" .) }}",
42              "port": {{ include "common.serviceport.submgr.rmr.data" . }}
43           },
44           {
45              "name": "E2MAN",
46              "fqdn": "{{ printf "%s.%s" (include "common.servicename.e2mgr.rmr" .) (include "common.namespace.platform" .) }}",
47              "port": {{ include "common.serviceport.e2mgr.rmr.data" . }}
48           },
49           {
50              "name": "RSM",
51              "fqdn": "{{ printf "%s.%s" (include "common.servicename.rsm.rmr" .) (include "common.namespace.platform" .) }}",
52              "port": {{ include "common.serviceport.rsm.rmr.data" . }}
53           }
54        ]
55     }
56