diff options
author | Jim Hahn <jrh3@att.com> | 2021-03-16 14:52:34 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-03-19 11:21:53 -0400 |
commit | 39b7b9897494d9f14ca196c8f0e2f0bc7e57cf4f (patch) | |
tree | a476ed8a72c4aad8d5e358c674430287960bbdea /csit/run-project-csit.sh | |
parent | c6d046f50f01859b9e0873f65bed8621113ec120 (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-x | csit/run-project-csit.sh | 5 |
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" |