\r
server.servlet.context-path=/\r
#Modified engine-rest applicationpath\r
-spring.profiles.active=clamp-default,clamp-default-user,clamp-sdc-controller\r
+spring.profiles.active=clamp-default,clamp-default-user\r
+spring.http.converters.preferred-json-mapper=gson\r
\r
#The max number of active threads in this pool\r
server.tomcat.max-threads=200\r
\r
#clds datasource connection details\r
spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver\r
-spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:${docker.mariadb.port.host}/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3\r
+spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:3306,localhost:${docker.mariadb.port.host}/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3\r
spring.datasource.cldsdb.username=clds\r
spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067\r
spring.datasource.cldsdb.validationQuery=SELECT 1\r
spring.datasource.cldsdb.testOnBorrow=true\r
spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true\r
\r
+spring.jpa.properties.javax.persistence.schema-generation.database.action=drop-and-create
+#spring.jpa.properties.javax.persistence.schema-generation.create-source=metadata
+#spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create
+#spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=create.sql
+# disable Hibernate DDL generation because the schema will be generated from a sql script
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
+spring.jpa.properties.hibernate.ddl-auto=validate
+spring.jpa.properties.hibernate.hbm2ddl.delimiter=;
+spring.jpa.properties.hibernate.format_sql=true
+spring.jpa.properties.hibernate.use-new-id-generator-mappings=true
+
+# Whether to enable logging of SQL statements.
+spring.jpa.show-sql=true
+
#Async Executor default Parameters\r
async.core.pool.size=10\r
async.max.pool.size=20\r
#\r
#\r
# Configuration Settings for Policy Engine Components\r
+clamp.config.policy.api.url=http4://localhost:${docker.http-cache.port.host}\r
+clamp.config.policy.api.userName=healthcheck\r
+clamp.config.policy.api.password=zb!XztG34\r
+clamp.config.policy.pap.url=http4://localhost:${docker.http-cache.port.host}\r
+clamp.config.policy.pap.userName=healthcheck\r
+clamp.config.policy.pap.password=zb!XztG34\r
+\r
clamp.config.policy.pdpUrl1=http://localhost:${docker.http-cache.port.host}/pdp/ , testpdp, alpha123\r
clamp.config.policy.pdpUrl2=http://localhost:${docker.http-cache.port.host}/pdp/ , testpdp, alpha123\r
clamp.config.policy.papUrl=http://localhost:${docker.http-cache.port.host}/pap/ , testpap, alpha123\r
clamp.config.dcae.dispatcher.url=http://localhost:${docker.http-cache.port.host}\r
clamp.config.dcae.dispatcher.retry.interval=100\r
clamp.config.dcae.dispatcher.retry.limit=1\r
-clamp.config.dcae.header.requestId = X-ECOMP-RequestID\r
\r
#Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !\r
clamp.config.security.permission.type.cl=permission-type-cl\r