aboutsummaryrefslogtreecommitdiffstats
path: root/runtime-controlloop/src/test/resources/application_test.properties
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2021-12-03 13:43:41 +0000
committerFrancescoFioraEst <francesco.fiora@est.tech>2022-02-16 16:23:06 +0000
commitb902c7dd9ad1b74729c3c488b24624e510244250 (patch)
tree50ad8ab9560b95b66ec0e95e9ae3b3749ad21332 /runtime-controlloop/src/test/resources/application_test.properties
parentc97a6c0428998103906472725d34b9951a0ff559 (diff)
Add Hibernate support in runtime-controlloop
Issue-ID: POLICY-3841 Change-Id: Ie958a4a4ab35c8bc4d6829128e39a2458d67a7a5 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'runtime-controlloop/src/test/resources/application_test.properties')
-rw-r--r--runtime-controlloop/src/test/resources/application_test.properties17
1 files changed, 6 insertions, 11 deletions
diff --git a/runtime-controlloop/src/test/resources/application_test.properties b/runtime-controlloop/src/test/resources/application_test.properties
index 26822db44..52c372d5e 100644
--- a/runtime-controlloop/src/test/resources/application_test.properties
+++ b/runtime-controlloop/src/test/resources/application_test.properties
@@ -12,25 +12,20 @@ spring.datasource.hikari.idleTimeout=600000
spring.datasource.hikari.maxLifetime=1800000
spring.datasource.hikari.maximumPoolSize=3
+spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
+spring.jpa.hibernate.naming.implicit-strategy=org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
+spring.jpa.hibernate.ddl-auto=create
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.HSQLDialect
+spring.jpa.properties.hibernate.format_sql=true
+
server.port=6969
server.servlet.context-path=/onap/controlloop
server.error.path=/error
-runtime.supervisionScannerIntervalSec=1000
-runtime.participantClUpdateIntervalSec=1000
-runtime.participantClStateChangeIntervalSec=1000
-runtime.showSql=true
runtime.participantParameters.heartBeatMs=20000
runtime.participantParameters.maxStatusWaitMs=100000
runtime.participantParameters.updateParameters.maxRetryCount=3
runtime.participantParameters.updateParameters.maxWaitMs=20000
-runtime.databaseProviderParameters.name=PolicyProviderParameterGroup
-runtime.databaseProviderParameters.implementation=org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
-runtime.databaseProviderParameters.databaseDriver=org.h2.Driver
-runtime.databaseProviderParameters.databaseUrl=jdbc:h2:mem:testdb
-runtime.databaseProviderParameters.databaseUser=policy
-runtime.databaseProviderParameters.databasePassword=P01icY
-runtime.databaseProviderParameters.persistenceUnit=ToscaConceptTest
runtime.topicParameterGroup.topicSources[0].topic=POLICY-CLRUNTIME-PARTICIPANT
runtime.topicParameterGroup.topicSources[0].servers[0]=localhost
runtime.topicParameterGroup.topicSources[0].topicCommInfrastructure=dmaap