diff options
author | 2020-05-11 10:13:32 -0400 | |
---|---|---|
committer | 2020-05-11 10:13:32 -0400 | |
commit | 2d9492198ab10f8fd974210bc93942fe2ff21a1c (patch) | |
tree | 21866ea7c8a01faa5cd50a68bb6743039d37d544 /plans/policy/xacml-pdp | |
parent | 9c41697bdcef2eddd9af6436f3feb5821c238b44 (diff) |
xacml-pdp csit should wait for deployment
Added code to the xacml-pdp CSIT so that, after deploying policies,
it waits until the xacml-pdp indicates that the policies have been
deployed before performing any guard or decision requests.
Issue-ID: POLICY-2554
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: Icd016b699afbbfe3b60e866c88b45951499fa228
Diffstat (limited to 'plans/policy/xacml-pdp')
-rw-r--r-- | plans/policy/xacml-pdp/setup.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plans/policy/xacml-pdp/setup.sh b/plans/policy/xacml-pdp/setup.sh index faf256fa..d6726c7a 100644 --- a/plans/policy/xacml-pdp/setup.sh +++ b/plans/policy/xacml-pdp/setup.sh @@ -44,6 +44,8 @@ if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then exit 1 fi +SCR_DMAAP=${SCRIPTS}/policy/drools-apps + sudo apt-get -y install libxml2-utils bash ${SCRIPTS}/policy/policy-models-dmaap-sim.sh @@ -81,6 +83,7 @@ echo DMAAP_IP IS ${DMAAP_IP} DATA2=${WORKSPACE}/dmaap-sim/models/models-examples/src/main/resources/policies ROBOT_VARIABLES="" +ROBOT_VARIABLES="${ROBOT_VARIABLES} -v SCR_DMAAP:${SCR_DMAAP}" ROBOT_VARIABLES="${ROBOT_VARIABLES} -v DATA2:${DATA2}" ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_PDPX_IP:${POLICY_PDPX_IP}" ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_API_IP:${POLICY_API_IP}" |