From 1153b6d0153344d4d92518d2ca73ecfe71dfa9d9 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Tue, 28 Feb 2023 12:59:37 +0000 Subject: New Test Development - api, pap (except consolidated HC), apex and acm runtime passing on both docker and helm environment - other simulators exposed on simulator service - topics are checked on test with robot http support - apex temp engine port exposed - xacml readiness added Issue-ID: POLICY-4125 Change-Id: I39ee8c38e70dd3a4ad26ba69d7c62e61a211469e Signed-off-by: adheli.tavares --- csit/resources/scripts/run-test.sh | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) (limited to 'csit/resources/scripts/run-test.sh') diff --git a/csit/resources/scripts/run-test.sh b/csit/resources/scripts/run-test.sh index 977bef75..b8b6857a 100755 --- a/csit/resources/scripts/run-test.sh +++ b/csit/resources/scripts/run-test.sh @@ -22,20 +22,25 @@ ROBOT_FILE=$1 echo "Invoking the robot tests from: $1" -export DEFAULT_PORT=6969 -export DATA=/opt/robotworkspace/models/models-examples/src/main/resources/policies -export NODETEMPLATES=/opt/robotworkspace/models/models-examples/src/main/resources/nodetemplates -export POLICY_RUNTIME_ACM_IP=policy-clamp-runtime-acm:${DEFAULT_PORT} -export POLICY_API_IP=policy-api:${DEFAULT_PORT} -export POLICY_PAP_IP=policy-pap:${DEFAULT_PORT} -export APEX_IP=policy-apex-pdp:${DEFAULT_PORT} -export DMAAP_IP=message-router:3904 -export SIMULATOR_IP=message-router -export PROMETHEUS_IP=prometheus:9090 +DEFAULT_PORT=6969 +DATA=/opt/robotworkspace/models/models-examples/src/main/resources/policies +NODETEMPLATES=/opt/robotworkspace/models/models-examples/src/main/resources/nodetemplates + +POLICY_RUNTIME_ACM_IP=policy-clamp-runtime-acm:${DEFAULT_PORT} +POLICY_API_IP=policy-api:${DEFAULT_PORT} +POLICY_PAP_IP=policy-pap:${DEFAULT_PORT} +APEX_IP=policy-apex-pdp:${DEFAULT_PORT} +POLICY_PDPX_IP=policy-xacml-pdp:${DEFAULT_PORT} + +DMAAP_IP=message-router:3904 +APEX_EVENTS_IP=policy-apex-pdp:23324 +PROMETHEUS_IP=prometheus:9090 export ROBOT_VARIABLES= -ROBOT_VARIABLES="-v DATA:$DATA -v NODETEMPLATES:$NODETEMPLATES -v POLICY_RUNTIME_ACM_IP:$POLICY_RUNTIME_ACM_IP -v POLICY_API_IP:$POLICY_API_IP --v POLICY_PAP_IP:$POLICY_PAP_IP -v APEX_IP:$APEX_IP -v DMAAP_IP:$DMAAP_IP -v SIMULATOR_IP:$SIMULATOR_IP -v PROMETHEUS_IP:${PROMETHEUS_IP}" +ROBOT_VARIABLES="-v DATA:$DATA -v NODETEMPLATES:$NODETEMPLATES -v POLICY_API_IP:$POLICY_API_IP +-v POLICY_RUNTIME_ACM_IP:$POLICY_RUNTIME_ACM_IP -v POLICY_PAP_IP:$POLICY_PAP_IP -v APEX_IP:$APEX_IP +-v APEX_EVENTS_IP:$APEX_EVENTS_IP -v DMAAP_IP:$DMAAP_IP -v PROMETHEUS_IP:${PROMETHEUS_IP} +-v POLICY_PDPX_IP:$POLICY_PDPX_IP" echo "Run Robot test" echo ROBOT_VARIABLES="${ROBOT_VARIABLES}" -- cgit 1.2.3-korg