aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2021-10-13 18:36:21 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-13 18:36:21 +0000
commitdf5effe3036a5cce30656795ece8754bb0166c94 (patch)
tree3ba7efa22062d0d96ba267015f959a78300680ce /packages
parentfdb63635c554565c7c2d5e8f16db0e5bb3fc0a79 (diff)
parentdc0071571224e20d72b38543301fc1ff9dba16ec (diff)
Merge "Add testsuites of tosca controlloop"
Diffstat (limited to 'packages')
-rw-r--r--packages/policy-clamp-docker/src/main/docker/controlloop-runtime.sh6
-rw-r--r--packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml4
2 files changed, 8 insertions, 2 deletions
diff --git a/packages/policy-clamp-docker/src/main/docker/controlloop-runtime.sh b/packages/policy-clamp-docker/src/main/docker/controlloop-runtime.sh
index 59d31dc8e..c428fd553 100644
--- a/packages/policy-clamp-docker/src/main/docker/controlloop-runtime.sh
+++ b/packages/policy-clamp-docker/src/main/docker/controlloop-runtime.sh
@@ -61,5 +61,11 @@ $JAVA_HOME/bin/java -Dserver.ssl.enabled="true" \
-Dserver.ssl.keyStorePassword="${KEYSTORE_PASSWD}" \
-Djavax.net.ssl.trustStore="${TRUSTSTORE}" \
-Djavax.net.ssl.trustStorePassword="${TRUSTSTORE_PASSWD}" \
+ -Dcom.sun.management.jmxremote.rmi.port=9090 \
+ -Dcom.sun.management.jmxremote=true \
+ -Dcom.sun.management.jmxremote.port=9090 \
+ -Dcom.sun.management.jmxremote.ssl=false \
+ -Dcom.sun.management.jmxremote.authenticate=false \
+ -Dcom.sun.management.jmxremote.local.only=false \
-jar /app/app.jar \
--spring.config.location="${POLICY_HOME}/config/ClRuntimeParameters.yaml"
diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml b/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml
index c8601cbdd..d399b82ba 100644
--- a/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml
+++ b/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml
@@ -33,8 +33,8 @@ runtime:
implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
databaseDriver: org.mariadb.jdbc.Driver
databaseUrl: jdbc:mariadb://${mariadb.host:mariadb}:${mariadb.port:3306}/controlloop
- databaseUser: policy
- databasePassword: P01icY
+ databaseUser: policy_user
+ databasePassword: policy_user
persistenceUnit: CommissioningMariaDb
topicParameterGroup:
topicSources: