summaryrefslogtreecommitdiffstats
path: root/csit/clamp/plans/setup.sh
diff options
context:
space:
mode:
authorSirisha_Manchikanti <sirisha.manchikanti@est.tech>2021-09-17 17:33:11 +0100
committerSirisha_Manchikanti <sirisha.manchikanti@est.tech>2021-09-30 18:07:54 +0100
commit826d9edd2492c3bbe492face3ce4d7fe0dd84b8a (patch)
treeddaf677e8708bd0383b24a07197afe0616e46412 /csit/clamp/plans/setup.sh
parentba599113b6381d63011e4015cec648f33466d233 (diff)
Add http and k8s participant to CSIT
Add HTTP and Kubernetes participant to policy/docker/csit Issue-ID: POLICY-3413 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Id87dca9ba6487b2f12e9d036136ea553d2b67a23
Diffstat (limited to 'csit/clamp/plans/setup.sh')
-rw-r--r--csit/clamp/plans/setup.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/csit/clamp/plans/setup.sh b/csit/clamp/plans/setup.sh
index 746a16e2..dbd5b6a4 100644
--- a/csit/clamp/plans/setup.sh
+++ b/csit/clamp/plans/setup.sh
@@ -27,14 +27,15 @@ sudo apt-get -y install libxml2-utils
source ${SCRIPTS}/detmVers.sh
-docker-compose -f ${SCRIPTS}/docker-compose-all.yml up -d policy-controlloop-runtime
+docker-compose -f ${SCRIPTS}/docker-compose-all.yml up -d policy-clamp-cl-runtime
sleep 10
unset http_proxy https_proxy
-POLICY_CONTROLLOOP_RUNTIME_IP=`get-instance-ip.sh policy-controlloop-runtime`
-POLICY_PARTICIPANT_IP=`get-instance-ip.sh policy-participant`
-DCAE_PARTICIPANT_IP=`get-instance-ip.sh dcae-participant`
+POLICY_CONTROLLOOP_RUNTIME_IP=`get-instance-ip.sh policy-clamp-cl-runtime`
+POLICY_PARTICIPANT_IP=`get-instance-ip.sh policy-clamp-cl-pf-ppnt`
+K8S_PARTICIPANT_IP=`get-instance-ip.sh policy-clamp-cl-k8s-ppnt`
+HTTP_PARTICIPANT_IP=`get-instance-ip.sh policy-clamp-cl-http-ppnt`
MARIADB_IP=`get-instance-ip.sh mariadb`
DMAAP_IP=`get-instance-ip.sh simulator`
POLICY_API_IP=`get-instance-ip.sh policy-api`
@@ -44,14 +45,16 @@ echo DMAAP_IP IS ${DMAAP_IP}
echo API IP IS ${POLICY_API_IP}
echo POLICY CONTROLLOOP RUNTIME IP IS ${POLICY_CONTROLLOOP_RUNTIME_IP}
echo POLICY PARTICIPANT IP IS ${POLICY_PARTICIPANT_IP}
-echo DCAE PARTICIPANT IP IS ${DCAE_PARTICIPANT_IP}
+echo K8S PARTICIPANT IP IS ${K8S_PARTICIPANT_IP}
+echo HTTP PARTICIPANT IP IS ${HTTP_PARTICIPANT_IP}
# wait for the app to start up
-${SCRIPTS}/wait_for_port.sh ${POLICY_CONTROLLOOP_RUNTIME_IP} 6970
+${SCRIPTS}/wait_for_port.sh ${POLICY_CONTROLLOOP_RUNTIME_IP} 6969
${SCRIPTS}/wait_for_port.sh ${POLICY_API_IP} 6969
ROBOT_VARIABLES=""
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_CONTROLLOOP_RUNTIME_IP:${POLICY_CONTROLLOOP_RUNTIME_IP}"
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_PARTICIPANT_IP:${POLICY_PARTICIPANT_IP}"
-ROBOT_VARIABLES="${ROBOT_VARIABLES} -v DCAE_PARTICIPANT_IP:${DCAE_PARTICIPANT_IP}"
+ROBOT_VARIABLES="${ROBOT_VARIABLES} -v K8S_PARTICIPANT_IP:${K8S_PARTICIPANT_IP}"
+ROBOT_VARIABLES="${ROBOT_VARIABLES} -v HTTP_PARTICIPANT_IP:${HTTP_PARTICIPANT_IP}"
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_API_IP:${POLICY_API_IP}"