aboutsummaryrefslogtreecommitdiffstats
path: root/csit/apex-pdp/plans
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2021-07-08 15:32:52 +0100
committera.sreekumar <ajith.sreekumar@bell.ca>2021-07-12 11:55:28 +0100
commit9a12d024fe42fd3c57477c513382c3b78983b9ce (patch)
tree18b5b6627d1cbb37c26ea98915795166b6f6070e /csit/apex-pdp/plans
parent78850b54b98e8bdc27d186035910126dd2ac826e (diff)
Update APEX CSIT tests to cover multiple outputs
As part of this review, a new policy is executed in APEX-PDP that interacts with AAI and CDS simulators. At each execution phase, along with sending a request to AAI/CDS, a log event is also sent to DMaaP notifying every action taken. This is done using the multiple output support. Change-Id: If34df13823196f9ece9b5ce6448b6652507f0b63 Issue-ID: POLICY-3466 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'csit/apex-pdp/plans')
-rw-r--r--csit/apex-pdp/plans/setup.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/csit/apex-pdp/plans/setup.sh b/csit/apex-pdp/plans/setup.sh
index 7876e90d..2bde0eae 100644
--- a/csit/apex-pdp/plans/setup.sh
+++ b/csit/apex-pdp/plans/setup.sh
@@ -2,9 +2,9 @@
# ============LICENSE_START=======================================================
# Copyright (C) 2018 Ericsson. All rights reserved.
#
-# Modifications copyright (c) 2019 Nordix Foundation.
+# Modifications copyright (c) 2019, 2021 Nordix Foundation.
# Modifications Copyright (C) 2020-2021 AT&T Intellectual Property.
-# Modification Copyright 2021. Nordix Foundation.
+# Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -39,18 +39,21 @@ POLICY_API_IP=`get-instance-ip.sh policy-api`
POLICY_PAP_IP=`get-instance-ip.sh policy-pap`
MARIADB_IP=`get-instance-ip.sh mariadb`
APEX_IP=`get-instance-ip.sh policy-apex-pdp`
-DMAAP_IP=`get-instance-ip.sh simulator`
+SIM_IP=`get-instance-ip.sh simulator`
+export SIM_IP
echo PAP IP IS ${POLICY_PAP_IP}
echo MARIADB IP IS ${MARIADB_IP}
echo API IP IS ${POLICY_API_IP}
echo APEX IP IS ${APEX_IP}
-echo DMAAP_IP IS ${DMAAP_IP}
+echo DMAAP_IP IS ${SIM_IP}
# wait for the app to start up
${SCRIPTS}/wait_for_port.sh ${APEX_IP} 6969
ROBOT_VARIABLES=""
+ROBOT_VARIABLES="${ROBOT_VARIABLES} -v SCRIPTS:${SCRIPTS}"
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v APEX_IP:${APEX_IP}"
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_API_IP:${POLICY_API_IP}"
ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_PAP_IP:${POLICY_PAP_IP}"
+ROBOT_VARIABLES="${ROBOT_VARIABLES} -v DMAAP_IP:${SIM_IP}"