aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-docker/src/main/docker
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-07-19 15:37:19 +0100
committerAdheli Tavares <adheli.tavares@est.tech>2024-07-19 14:40:35 +0000
commit66b1f3ead4f08893da0ea50aad25cd4831367b3c (patch)
tree3947d4db4bcf92df8a1917fd172ba0ab1049e911 /packages/policy-xacmlpdp-docker/src/main/docker
parente8addde7201dd7159032f0779b7e9bc5c3f590b9 (diff)
Fix issues with postgres configuration
Issue-ID: POLICY-5086 Change-Id: Ib0cbdba681159e3c26a26c835e9db63ba96b1c96 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'packages/policy-xacmlpdp-docker/src/main/docker')
-rw-r--r--packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh
index b715c97d..2e7d47c4 100644
--- a/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh
+++ b/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx-pg.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
#
# ============LICENSE_START=======================================================
-# Copyright (C) 2022 Nordix Foundation.
+# Copyright (C) 2022, 2024 Nordix Foundation.
# Modifications Copyright (C) 2022 AT&T Intellectual Property.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -59,12 +59,12 @@ fi
if [ -f "${POLICY_HOME}/etc/mounted/createguardtable-pg.sql" ]; then
echo "overriding createguardtable.sql"
- cp -f "${POLICY_HOME}"/etc/mounted/createguardtable-pg.sql "${POLICY_HOME}"/postgress/sql/
+ cp -f "${POLICY_HOME}"/etc/mounted/createguardtable-pg.sql "${POLICY_HOME}"/postgres/sql/
fi
if [ -f "${POLICY_HOME}/etc/mounted/db-pg.sql" ]; then
echo "adding additional db-pg.sql"
- cp -f "${POLICY_HOME}"/etc/mounted/db-pg.sql "${POLICY_HOME}"/postgress/sql/
+ cp -f "${POLICY_HOME}"/etc/mounted/db-pg.sql "${POLICY_HOME}"/postgres/sql/
fi
if [ -f "${POLICY_HOME}/etc/mounted/guard.xacml.properties" ]; then