a2e6239358cd4401a0e7fce6e1b492e6ef66b024
[it/test.git] / ric_robot_suite / helm / nanobot / configmap-src / properties / global_properties.robot
1 {{- $ns := default "ricplt" .Values.ric.platform.namespace }}
2 {{- $release := default "r0" .Values.ric.platform.releaseName }}
3 {{- $domain := default "cluster.local" .Values.ric.cluster.domain }}
4 {{- $hostPrefix := printf "service-%s" $ns }}
5 {{- $hostSuffix := printf "%s.svc.%s" $ns $domain }}
6 {{- $appmgrHost := printf "%s-appmgr-http.%s" $hostPrefix $hostSuffix }}
7 {{- $e2mgrHost := printf "%s-e2mgr-http.%s" $hostPrefix $hostSuffix }}
8 {{- $rtmgrHost := printf "%s-rtmgr-rmr.%s" $hostPrefix $hostSuffix }}
9 {{- $dbaasHost := printf "%s-dbaas-tcp.%s" $hostPrefix $hostSuffix }}
10 {{- $a1MediatorHost :=  printf "%s-a1mediator-http.%s" $hostPrefix $hostSuffix }}
11
12 *** Settings ***
13 Documentation        store all properties that can change or are used in multiple places here
14 ...                    format is all caps with underscores between words and prepended with GLOBAL
15 ...                   make sure you prepend them with GLOBAL so that other files can easily see it is from this file.
16
17
18 *** Variables ***
19 ${GLOBAL_APPLICATION_ID}            {{- printf "nanobot-%s" $release | indent 4}}
20 ${GLOBAL_BUILD_NUMBER}              {{- default "0" .Values.ric.platform.build | indent 4 }}
21 #
22 ${GLOBAL_APPMGR_SERVER_PROTOCOL}    {{- default "http" .Values.ric.platform.components.appmgr.protocol | indent 4 }}
23 ${GLOBAL_INJECTED_APPMGR_IP_ADDR}   {{- default $appmgrHost .Values.ric.platform.components.appmgr.address | indent 4 }}
24 ${GLOBAL_APPMGR_SERVER_PORT}        {{- default "8080" .Values.ric.platform.components.appmgr.port  | indent 4 }}
25 ${GLOBAL_INJECTED_APPMGR_USER}      {{- .Values.ric.platform.components.appmgr.user | indent 4 }}
26 ${GLOBAL_INJECTED_APPMGR_PASSWORD}  {{- .Values.ric.platform.components.appmgr.password | indent 4 }}
27 #
28 ${GLOBAL_E2MGR_SERVER_PROTOCOL}     {{- default "http" .Values.ric.platform.components.e2mgr.protocol | indent 4 }}
29 ${GLOBAL_INJECTED_E2MGR_IP_ADDR}    {{- default $e2mgrHost .Values.ric.platform.components.e2mgr.address | indent 4 }}
30 ${GLOBAL_E2MGR_SERVER_PORT}         {{- default "3800" .Values.ric.platform.components.e2mgr.port  | indent 4 }}
31 ${GLOBAL_INJECTED_E2MGR_USER}       {{- .Values.ric.platform.components.e2mgr.user | indent 4 }}
32 ${GLOBAL_INJECTED_E2MGR_PASSWORD}   {{- .Values.ric.platform.components.e2mgr.password | indent 4 }}
33 #
34 ${GLOBAL_RTMGR_SERVER_PROTOCOL}     {{- default "http" .Values.ric.platform.components.rtmgr.protocol | indent 4 }}
35 ${GLOBAL_INJECTED_RTMGR_IP_ADDR}    {{- default $rtmgrHost .Values.ric.platform.components.rtmgr.address | indent 4 }}
36 ${GLOBAL_RTMGR_SERVER_PORT}         {{- default "5656" .Values.ric.platform.components.rtmgr.port  | indent 4 }}
37 ${GLOBAL_INJECTED_RTMGR_USER}       {{- .Values.ric.platform.components.rtmgr.user | indent 4 }}
38 ${GLOBAL_INJECTED_RTMGR_PASSWORD}   {{- .Values.ric.platform.components.rtmgr.password | indent 4 }}
39 #
40 ${GLOBAL_INJECTED_DBAAS_IP_ADDR}    {{- default $dbaasHost .Values.ric.platform.components.dbaas.address | indent 4 }}
41 ${GLOBAL_DBAAS_SERVER_PORT}         {{- default "6379" .Values.ric.platform.components.dbaas.port  | indent 4 }}