X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Fhelm%2Fnanobot%2Fconfigmap-src%2Fpublic%2Fproperties%2Fglobal_properties.robot;h=704112f78ca505f3c1c4dd3cab849441464233c5;hb=cc685917b28444e6e9fc70f1a96b14e073d8cec7;hp=58f22dd16f43a4714e045151cea37b4566dcc21b;hpb=ce3094f1ef4f3197d730cc38a152811919347c17;p=it%2Ftest.git diff --git a/ric_robot_suite/helm/nanobot/configmap-src/public/properties/global_properties.robot b/ric_robot_suite/helm/nanobot/configmap-src/public/properties/global_properties.robot index 58f22dd..704112f 100644 --- a/ric_robot_suite/helm/nanobot/configmap-src/public/properties/global_properties.robot +++ b/ric_robot_suite/helm/nanobot/configmap-src/public/properties/global_properties.robot @@ -1,8 +1,23 @@ +# 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. + {{- $domain := default "cluster.local" .Values.ric.cluster.domain }} {{- $ricpltNS := include "common.namespace.platform" . }} {{- $xappNS := include "common.namespace.xapp" . }} {{- $ricplt := printf "%s.svc.%s" $ricpltNS $domain }} {{- $release := default "r1" .Values.ric.robot.release }} +{{- $testxapp := default "robot-xapp" .Values.ric.robot.environment.xapp }} # *** Settings *** Documentation store all properties that can change or are used in multiple places here @@ -21,24 +36,49 @@ Documentation store all properties that can change or are used in multipl ${GLOBAL_APPLICATION_ID} {{ default "r0" .Values.ric.robot.release | printf "nanobot-%s" }} ${GLOBAL_BUILD_NUMBER} {{ default "0" .Values.ric.platform.build }} ${GLOBAL_RICPLT_NAMESPACE} {{ $ricpltNS }} +${GLOBAL_XAPP_NAMESPACE} {{ $xappNS }} # +{{- if .Values.ric.platform.components.appmgr }} ${GLOBAL_APPMGR_SERVER_PROTOCOL} {{ default "http" .Values.ric.platform.components.appmgr.protocol }} ${GLOBAL_INJECTED_APPMGR_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.appmgr.http" .) $ricplt }} ${GLOBAL_APPMGR_SERVER_PORT} {{ include "common.serviceport.appmgr.http" . }} ${GLOBAL_INJECTED_APPMGR_USER} {{ .Values.ric.platform.components.appmgr.user }} ${GLOBAL_INJECTED_APPMGR_PASSWORD} {{ .Values.ric.platform.components.appmgr.password }} +{{- end }} # +{{- if .Values.ric.platform.components.e2mgr }} ${GLOBAL_E2MGR_SERVER_PROTOCOL} {{ default "http" .Values.ric.platform.components.e2mgr.protocol }} ${GLOBAL_INJECTED_E2MGR_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.e2mgr.http" .) $ricplt }} ${GLOBAL_E2MGR_SERVER_PORT} {{ include "common.serviceport.e2mgr.http" . }} ${GLOBAL_INJECTED_E2MGR_USER} {{ .Values.ric.platform.components.e2mgr.user }} ${GLOBAL_INJECTED_E2MGR_PASSWORD} {{ .Values.ric.platform.components.e2mgr.password }} +{{- end }} # +{{- if .Values.ric.platform.components.rtmgr }} ${GLOBAL_RTMGR_SERVER_PROTOCOL} {{ default "http" .Values.ric.platform.components.rtmgr.protocol }} ${GLOBAL_INJECTED_RTMGR_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.rtmgr.http" .) $ricplt }} ${GLOBAL_RTMGR_SERVER_PORT} {{ include "common.serviceport.e2mgr.http" . }} ${GLOBAL_INJECTED_RTMGR_USER} {{ .Values.ric.platform.components.rtmgr.user }} ${GLOBAL_INJECTED_RTMGR_PASSWORD} {{ .Values.ric.platform.components.rtmgr.password }} +{{- end }} +# +{{- if .Values.ric.platform.components.a1mediator }} +${GLOBAL_A1MEDIATOR_SERVER_PROTOCOL} {{ default "http" .Values.ric.platform.components.a1mediator.protocol }} +${GLOBAL_INJECTED_A1MEDIATOR_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.a1mediator.http" .) $ricplt }} +${GLOBAL_A1MEDIATOR_SERVER_PORT} {{ include "common.serviceport.a1mediator.http" . }} +${GLOBAL_A1MEDIATOR_POLICY_ID} {{ default "6266268" .Values.ric.platform.components.a1mediator.policyID }} +${GLOBAL_A1MEDIATOR_TARGET_XAPP} {{ default $testxapp .Values.ric.platform.components.a1mediator.xappName }} +{{- end }} +# +{{- if .Values.ric.platform.components.o1mediator }} +${GLOBAL_O1MEDIATOR_HOST} {{ printf "%s.%s" (include "common.servicename.o1mediator.tcp.netconf" .) $ricplt }} +${GLOBAL_O1MEDIATOR_PORT} {{ include "common.serviceport.o1mediator.tcp.netconf" . }} +${GLOBAL_O1MEDIATOR_USER} {{ .Values.ric.platform.components.o1mediator.user }} +${GLOBAL_O1MEDIATOR_PASSWORD} {{ .Values.ric.platform.components.o1mediator.password }} +${GLOBAL_O1MEDIATOR_TARGET_XAPP} {{ default $testxapp .Values.ric.platform.components.o1mediator.xapp.name }} +${GLOBAL_O1MEDIATOR_XAPP_VERSION} {{ default "1.0" .Values.ric.platform.components.o1mediator.xapp.version }} +${GLOBAL_O1MEDIATOR_DEPLOYMENT_WAIT} {{ default "180" .Values.ric.platform.components.o1mediator.xapp.wait }} +{{- end }} # ${GLOBAL_INJECTED_DBAAS_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.dbaas.tcp" .) $ricplt }} ${GLOBAL_DBAAS_SERVER_PORT} {{ include "common.serviceport.dbaas.tcp" . }} @@ -47,4 +87,8 @@ ${GLOBAL_TEST_XAPP} {{ default "xapp-std" .Values.ric.robot.en # ${GLOBAL_TEST_NODEB_NAME} {{ default "AAAA456789" .Values.ric.robot.environment.gNodeB.name }} ${GLOBAL_TEST_NODEB_ADDRESS} {{ default "10.0.0.3" .Values.ric.robot.environment.gNodeB.address }} -${GLOBAL_TEST_NODEB_PORT} {{ default "36421" .Values.ric.robot.environment.gNodeB.port }} \ No newline at end of file +${GLOBAL_TEST_NODEB_PORT} {{ default "36421" .Values.ric.robot.environment.gNodeB.port }} +# +${GLOBAL_DASH_SERVER_PROTOCOL} {{ default "http" .Values.ric.robot.environment.dashboard.protocol }} +${GLOBAL_DASH_SERVER_PORT} {{ default "31080" .Values.ric.robot.environment.dashboard.port }} +${GLOBAL_INJECTED_DASH_IP_ADDR} {{ default "127.0.0.1" .Values.ric.robot.environment.dashboard.port }}