[CPS] Add CPS Global Variables 93/126393/3
authorNagendra90287 <nagendrakumar.pal@amdocs.com>
Mon, 3 Jan 2022 13:50:44 +0000 (19:20 +0530)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 6 Jan 2022 08:36:49 +0000 (08:36 +0000)
Adding CPS Global Variables to be used in running cps robot tests

Issue-ID: CPS-840
Change-Id: I7aa562708323c73b3d4c74103f2061b5be02a8fa
Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com>
kubernetes/robot/resources/config/eteshare/config/robot_properties.py

index 9076a1f..84df722 100644 (file)
@@ -377,3 +377,9 @@ GLOBAL_CCSDK_CDS_USERNAME = 'ccsdkapps'
 GLOBAL_CCSDK_CDS_PASSWORD = 'ccsdkapps'
 GLOBAL_CCSDK_CDS_AUTHENTICATION = [GLOBAL_CCSDK_CDS_USERNAME, GLOBAL_CCSDK_CDS_PASSWORD]
 GLOBAL_CDS_AUTH = "Y2NzZGthcHBzOmNjc2RrYXBwcw=="
+
+#cps info - everything is from the private oam network (also called onap private network)
+GLOBAL_INJECTED_CPS_IP_ADDR = '{{include "robot.ingress.svchost" (dict "root" . "hostname" "cps") }}'
+GLOBAL_CPS_SERVER_PROTOCOL = "http"
+GLOBAL_CPS_SERVER_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "cps" "port" 8080) }}'
+GLOBAL_CPS_HEALTH_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "cps" "port" 8081) }}'