diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2021-02-18 16:24:58 +0000 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-02-18 16:17:21 -0500 |
commit | 5576a927ee2999f6bfa48219941c5c16693a9967 (patch) | |
tree | dfda8ac95491c78b62242e43008756f1a0e71e6e /plans | |
parent | 49679a66c9c84b0cfc2f0d0fbab5109c5dad3730 (diff) |
Update CSIT to check for 202 response during PAP Deployment
Xacml pdp-type is now configurable - added it to the config file.
Change-Id: I026f62efb8eb07b4e4ca42cf34f8ca2af9662df6
Issue-ID: POLICY-2526
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'plans')
-rw-r--r-- | plans/policy/xacml-pdp/setup.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plans/policy/xacml-pdp/setup.sh b/plans/policy/xacml-pdp/setup.sh index 7f557d13..6842e634 100644 --- a/plans/policy/xacml-pdp/setup.sh +++ b/plans/policy/xacml-pdp/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash # ============LICENSE_START======================================================= -# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. +# Copyright (C) 2020-2021 AT&T Intellectual Property. 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,14 +39,16 @@ unset http_proxy https_proxy POLICY_API_IP=`get-instance-ip.sh policy-api` MARIADB_IP=`get-instance-ip.sh mariadb` POLICY_PDPX_IP=`get-instance-ip.sh policy-xacml-pdp` -DMAAP_IP=`get-instance-ip.sh policy.api.simpledemo.onap.org` +SIM_IP=`get-instance-ip.sh policy.api.simpledemo.onap.org` POLICY_PAP_IP=`get-instance-ip.sh policy-pap` +export SIM_IP + echo PDP IP IS ${POLICY_PDPX_IP} echo API IP IS ${POLICY_API_IP} echo PAP IP IS ${POLICY_PAP_IP} echo MARIADB IP IS ${MARIADB_IP} -echo DMAAP_IP IS ${DMAAP_IP} +echo SIM_IP IS ${SIM_IP} # wait for the app to start up ${SCRIPTS}/policy/wait_for_port.sh ${POLICY_PDPX_IP} 6969 @@ -59,3 +61,4 @@ 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}" ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_PAP_IP:${POLICY_PAP_IP}" +ROBOT_VARIABLES="${ROBOT_VARIABLES} -v SIM_IP:${SIM_IP}" |