summaryrefslogtreecommitdiffstats
path: root/csit/run-project-csit.sh
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-03-16 14:52:34 -0400
committerJim Hahn <jrh3@att.com>2021-03-19 11:21:53 -0400
commit39b7b9897494d9f14ca196c8f0e2f0bc7e57cf4f (patch)
treea476ed8a72c4aad8d5e358c674430287960bbdea /csit/run-project-csit.sh
parentc6d046f50f01859b9e0873f65bed8621113ec120 (diff)
Use generated keystore in CSITs
Added code to the CSITs to generate a self-signed certificate, which can then be mounted over the policy-keystore of each docker image when it is launched. Converted xacml's API params to BusTopicParams. Issue-ID: POLICY-3143 Change-Id: Ic1c25a7f29d87583b81515fd2caf72ba7c44924c Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'csit/run-project-csit.sh')
-rwxr-xr-xcsit/run-project-csit.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/csit/run-project-csit.sh b/csit/run-project-csit.sh
index 8c020b12..c3d67d9e 100755
--- a/csit/run-project-csit.sh
+++ b/csit/run-project-csit.sh
@@ -181,6 +181,11 @@ cd "${WORKDIR}"
# Sign in to nexus3 docker repo
docker login -u docker -p docker nexus3.onap.org:10001
+# Generate keystore to be used by repos
+${SCRIPTS}/gen_keystore.sh
+cp ${SCRIPTS}/config/ks.jks ${SCRIPTS}/config/drools/custom/policy-keystore
+cp ${SCRIPTS}/config/ks.jks ${SCRIPTS}/config/drools-apps/custom/policy-keystore
+
# Run setup script plan if it exists
cd "${TESTPLANDIR}/csit/plans/"
SETUP="${TESTPLANDIR}/csit/plans/setup.sh"