summaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-docker/src/main
diff options
context:
space:
mode:
authorMichael Mokry <michael.mokry@att.com>2019-04-11 09:35:19 -0500
committerMichael Mokry <michael.mokry@att.com>2019-04-11 09:38:10 -0500
commit4013653daa38a7fe1b9ffcae02e27d0bc411ac8f (patch)
treeafb9c0498895485572452d3fd318887f2935ecc0 /packages/policy-xacmlpdp-docker/src/main
parentf29c828ff0a1479393001e487d5f86a1c8d744ee (diff)
Fixing install script that is failing CSIT
1.) Made a change to address syntax error in script Change-Id: I671e533c7ba09f0a75f871f1a47b42cbe8a91b37 Issue-ID: POLICY-1449 Signed-off-by: Michael Mokry <michael.mokry@att.com>
Diffstat (limited to 'packages/policy-xacmlpdp-docker/src/main')
-rw-r--r--packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
index 45ba314d..a845ae3f 100644
--- a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
+++ b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
@@ -36,6 +36,7 @@ if [ "$#" -ge 2 ]; then
PROP_FILE=$2
else
PROP_FILE=${PROP_FILE}
+fi
if [ -z "$CONFIG_FILE" ]
then
@@ -50,4 +51,4 @@ fi
echo "Policy Xacml PDP config file: $CONFIG_FILE"
echo "Policy Xacml PDP topic properties file: $PROP_FILE"
-$JAVA_HOME/bin/java -cp "$POLICY_PDPX_HOME/etc:$POLICY_PDPX_HOME/lib/*" -Djavax.net.ssl.keyStore="$KEYSTORE" -Djavax.net.ssl.keyStorePassword="$KEYSTORE_PASSWD" -Djavax.net.ssl.trustStore="$TRUSTSTORE" -Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASSWD" org.onap.policy.pdpx.main.startstop.Main -c $CONFIG_FILE -p $PROP_FILE
+$JAVA_HOME/bin/java -cp "$POLICY_PDPX_HOME/etc:$POLICY_PDPX_HOME/lib/*" -Djavax.net.ssl.keyStore="$KEYSTORE" -Djavax.net.ssl.keyStorePassword="$KEYSTORE_PASSWD" -Djavax.net.ssl.trustStore="$TRUSTSTORE" -Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASSWD" org.onap.policy.pdpx.main.startstop.Main -c $CONFIG_FILE -p $PROP_FILE \ No newline at end of file