diff options
author | Ajith Sreekumar <ajith.sreekumar@bell.ca> | 2021-07-29 08:18:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-07-29 08:18:46 +0000 |
commit | bd1f3fabfb0f8386a559eeaeee492ce4dcdc3ad2 (patch) | |
tree | 9894d98e9813f736f4b9c6cb4cdaeacf61fb13e2 /packages/policy-clamp-docker/src/main/docker/policy-participant.sh | |
parent | d5c645873589e0b56a6ad0edd5bd0d480896f765 (diff) | |
parent | 252a4bba14ebfa2bc58261a87d7c593414a5f944 (diff) |
Merge "Replace JSON properties files to Yaml from docker images"
Diffstat (limited to 'packages/policy-clamp-docker/src/main/docker/policy-participant.sh')
-rw-r--r-- | packages/policy-clamp-docker/src/main/docker/policy-participant.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/policy-clamp-docker/src/main/docker/policy-participant.sh b/packages/policy-clamp-docker/src/main/docker/policy-participant.sh index 2e7a7d54b..7949fab72 100644 --- a/packages/policy-clamp-docker/src/main/docker/policy-participant.sh +++ b/packages/policy-clamp-docker/src/main/docker/policy-participant.sh @@ -32,7 +32,7 @@ else fi if [ -z "$CONFIG_FILE" ]; then - CONFIG_FILE="${POLICY_HOME}/etc/PolicyParticipantParameters.json" + CONFIG_FILE="${POLICY_HOME}/etc/PolicyParticipantParameters.yaml" fi echo "Policy clamp config file: $CONFIG_FILE" @@ -54,11 +54,11 @@ fi touch /app/app.jar mkdir -p "${POLICY_HOME}"/config/ -cp -f "${CONFIG_FILE}" "${POLICY_HOME}"/config/ +cp -f "${CONFIG_FILE}" "${POLICY_HOME}"/config/PolicyParticipantParameters.yaml $JAVA_HOME/bin/java -Djavax.net.ssl.keyStore="${KEYSTORE}" \ -Djavax.net.ssl.keyStorePassword="${KEYSTORE_PASSWD}" \ -Djavax.net.ssl.trustStore="${TRUSTSTORE}" \ -Djavax.net.ssl.trustStorePassword="${TRUSTSTORE_PASSWD}" \ -jar /app/app.jar \ - --participant.file="${POLICY_HOME}/config/PolicyParticipantParameters.json" + --spring.config.location="${POLICY_HOME}/config/PolicyParticipantParameters.yaml" |