diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2022-06-01 21:25:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-06-01 21:25:34 +0000 |
commit | ec346dcc4972774096451b359083cd88fd81272d (patch) | |
tree | 37359a17b30168c8e1d20639784b250a121abd2a /packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh | |
parent | f35587328e1bd99882ed8a4df85d01660d54c007 (diff) | |
parent | 8040c95590bca9d7a5e4ac48d72c1198ca66e107 (diff) |
Merge "Fix HTTP handling in CLAMP ACM"
Diffstat (limited to 'packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh')
-rw-r--r-- | packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh b/packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh index 3c5fe5c63..c9bde11db 100644 --- a/packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh +++ b/packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh @@ -27,15 +27,13 @@ TRUSTSTORE_PASSWD="${TRUSTSTORE_PASSWD:-Pol1cy_0nap}" if [ "$#" -eq 1 ]; then CONFIG_FILE=$1 -else - CONFIG_FILE=${CONFIG_FILE} fi if [ -z "$CONFIG_FILE" ]; then CONFIG_FILE="${POLICY_HOME}/etc/KubernetesParticipantParameters.yaml" fi -echo "Policy clamp config file: $CONFIG_FILE" +echo "Policy clamp Kubernetes participant config file: $CONFIG_FILE" if [ -f "${POLICY_HOME}/etc/mounted/policy-truststore" ]; then echo "overriding policy-truststore" @@ -52,13 +50,10 @@ if [ -f "${POLICY_HOME}/etc/mounted/logback.xml" ]; then cp -f "${POLICY_HOME}"/etc/mounted/logback*.xml "${POLICY_HOME}"/etc/ fi -mkdir -p "${POLICY_HOME}"/config/ -cp -f "${CONFIG_FILE}" "${POLICY_HOME}"/config/KubernetesParticipantParameters.yaml - -$JAVA_HOME/bin/java -Dserver.ssl.enabled="true" \ +$JAVA_HOME/bin/java \ -Dserver.ssl.keyStore="${KEYSTORE}" \ -Dserver.ssl.keyStorePassword="${KEYSTORE_PASSWD}" \ -Djavax.net.ssl.trustStore="${TRUSTSTORE}" \ -Djavax.net.ssl.trustStorePassword="${TRUSTSTORE_PASSWD}" \ -jar /app/app.jar \ - --spring.config.location="${POLICY_HOME}/config/KubernetesParticipantParameters.yaml" + --spring.config.location="${CONFIG_FILE}" |