diff options
author | Michael Mokry <michael.mokry@att.com> | 2019-05-09 14:50:20 -0500 |
---|---|---|
committer | Michael Mokry <michael.mokry@att.com> | 2019-05-14 09:21:45 -0500 |
commit | c60b57d9040f36c7bf86454299267e6db6d0ea2a (patch) | |
tree | eb12c294aa203f3d33b713a958dd78a605475a3d /packages/policy-xacmlpdp-docker/src/main/docker | |
parent | 9a158e31e1c7b9ee87bffbdc31c19bdfcda9eecd (diff) |
Changes to fix db connection issues in xacml-pdp
Added code to copy the oom xacml.properties file to the proper directory
Made change based on Jorge's comments
Change-Id: I0c46a01ca4407fa4d18391ca9ad81d37a0f46969
Issue-ID: POLICY-1760
Signed-off-by: Michael Mokry <michael.mokry@att.com>
Diffstat (limited to 'packages/policy-xacmlpdp-docker/src/main/docker')
-rw-r--r-- | packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh | 4 |
1 files changed, 4 insertions, 0 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 a845ae3f..9e32d500 100644 --- a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh +++ b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh @@ -48,6 +48,10 @@ if [ -z "$PROP_FILE" ] PROP_FILE="$POLICY_PDPX_HOME/etc/topic.properties" fi +if [[ -f ${POLICY_HOME}/etc/mounted/xacml.properties ]]; then + cp -f "${POLICY_HOME}"/etc/mounted/xacml.properties "${POLICY_HOME}"/apps/guard/ +fi + echo "Policy Xacml PDP config file: $CONFIG_FILE" echo "Policy Xacml PDP topic properties file: $PROP_FILE" |