Near RT RIC Platform new-installer initial release
[ric-plt/ric-dep.git] / new-installer / helm / charts / nearrtric / submgr / templates / configmap.yaml
diff --git a/new-installer/helm/charts/nearrtric/submgr/templates/configmap.yaml b/new-installer/helm/charts/nearrtric/submgr/templates/configmap.yaml
new file mode 100644 (file)
index 0000000..a211791
--- /dev/null
@@ -0,0 +1,55 @@
+#==================================================================================
+#   Copyright (c) 2019 AT&T Intellectual Property.
+#
+#   Licensed under the Apache License, Version 2.0 (the "License");
+#   you may not use this file except in compliance with the License.
+#   You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+#==================================================================================
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: submgrcfg
+  namespace: ricplt
+data:
+  # FQDN and port info of rtmgr
+  submgrcfg: |
+    "local":
+      "host": ":8080"
+    "logger":
+      "level": 4
+    "rmr":
+      "protPort" : "tcp:4560"
+      "maxSize": 8192
+      "numWorkers": 1
+    "rtmgr":
+      "hostAddr": {{ include "common.servicename.rtmgr.http" . | quote }}
+      "port"    : {{ include "common.serviceport.rtmgr.http" . }}
+      "baseUrl" : "/ric/v1"
+    "db":
+      "sessionNamespace": "XMSession"
+      "host": ":6379"
+      "prot": "tcp"
+      "maxIdle": 80
+      "maxActive": 12000
+    "controls":
+      "e2tSubReqTimeout_ms": 2000
+      "e2tSubDelReqTime_ms": 2000
+      "e2tRecvMsgTimeout_ms": 2000
+      "e2tMaxSubReqTryCount": 2
+      "e2tMaxSubDelReqTryCount": 2
+      "checkE2State": "true"
+      "readSubsFromDb": "true"
+      "dbTryCount": 200
+      "dbRetryForever": "true"
+      "waitRouteCleanup_ms": 5000
+  submgrutartg: |
+      newrt|start
+      newrt|end