Removal of useless files & bugfix
[clamp.git] / src / main / resources / application.properties
index 9ed7c6e..ae5d31a 100644 (file)
@@ -27,16 +27,16 @@ info.build.description=@project.description@
 info.build.version=@project.version@\r
 \r
 ### Set the port for HTTP or HTTPS protocol (Controlled by Spring framework, only one at a time).\r
-### (See below for the parameter 'server.http.port' if you want to have both enabled) \r
+### (See below for the parameter 'server.http.port' if you want to have both enabled)\r
 ### To have only HTTP, keep the lines server.ssl.* commented\r
 ### To have only HTTPS enabled, uncomment the server.ssl.* lines and specify a right keystore location\r
 server.port=8080\r
-### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port') \r
+### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port')\r
 #server.ssl.key-store=file:/tmp/mykey.jks\r
 #server.ssl.key-store-password=pass\r
 #server.ssl.key-password=pass\r
 \r
-### In order to be user friendly when HTTPS is enabled, \r
+### In order to be user friendly when HTTPS is enabled,\r
 ### you can add another HTTP port that will be automatically redirected to HTTPS\r
 ### by enabling this parameter (server.http.port) and set it to another port (80 or 8080, 8090, etc ...)\r
 #server.http-to-https-redirection.port=8090\r
@@ -64,7 +64,6 @@ server.contextPath=/
 #Modified engine-rest applicationpath\r
 spring.jersey.application-path=/engine-rest\r
 spring.profiles.active=clamp-default,clamp-spring-authentication\r
-spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration\r
 \r
 #The max number of active threads in this pool\r
 server.tomcat.max-threads=200\r
@@ -93,43 +92,47 @@ camel.defaultthreadpool.rejectpolicy=CallerRuns
 kubernetes.namespace=com-att-ajsc\r
 \r
 #server.port=0\r
-\r
 #Camunda Process Engine DataSource connection Details\r
-spring.datasource.camunda.url=jdbc:mysql://localhost:${docker.mariadb.port.host}/camundabpm?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100\r
+spring.datasource.camunda.driverClassName=org.mariadb.jdbc.Driver\r
+spring.datasource.camunda.url=jdbc:mariadb:sequential://localhost:${docker.mariadb.port.host}/camundabpm?autoReconnect=true&retriesAllDown=2147483647&failoverLoopRetries=2147483647\r
 spring.datasource.camunda.username=camunda\r
 spring.datasource.camunda.password=ndMSpw4CAM\r
-spring.datasource.camunda.driverClassName=com.mysql.jdbc.Driver\r
 spring.datasource.camunda.validationQuery=SELECT 1\r
 spring.datasource.camunda.validationQueryTimeout=20000\r
-spring.datasource.camunda.validationInterval=60000\r
+spring.datasource.camunda.validationInterval=30000\r
 spring.datasource.camunda.testWhileIdle = true\r
+spring.datasource.camunda.minIdle = 0\r
+spring.datasource.camunda.initialSize=0\r
 # Automatically test whether a connection provided is good or not\r
 spring.datasource.camunda.testOnBorrow=true\r
+spring.datasource.camunda.ignoreExceptionOnPreLoad=true\r
 \r
 #Camunda application properties\r
 #Camunda history level\r
 camunda.bpm.history-level=auto\r
+camunda.bpm.database.type=mariadb\r
+camunda.bpm.database.schema-update=false\r
 \r
 #clds datasource connection details\r
-spring.datasource.cldsdb.driver-class-name=com.mysql.jdbc.Driver\r
-spring.datasource.cldsdb.url=jdbc:mysql://localhost:${docker.mariadb.port.host}/cldsdb4?verifyServerCertificate=false&useSSL=false&requireSSL=false&autoReconnect=true&maxReconnects=100\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&retriesAllDown=2147483647&failoverLoopRetries=2147483647\r
 spring.datasource.cldsdb.username=clds\r
 spring.datasource.cldsdb.password=sidnnd83K\r
-spring.datasource.cldsdb.driverClassName=com.mysql.jdbc.Driver\r
 spring.datasource.cldsdb.validationQuery=SELECT 1\r
 spring.datasource.cldsdb.validationQueryTimeout=20000\r
-spring.datasource.cldsdb.validationInterval=60000\r
+spring.datasource.cldsdb.validationInterval=30000\r
 spring.datasource.cldsdb.testWhileIdle = true\r
+spring.datasource.cldsdb.minIdle = 0\r
+spring.datasource.cldsdb.initialSize=0\r
 # Automatically test whether a connection provided is good or not\r
 spring.datasource.cldsdb.testOnBorrow=true\r
+spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true\r
 \r
 #Async Executor default Parameters\r
 async.core.pool.size=10\r
 async.max.pool.size=20\r
 async.queue.capacity=500\r
 \r
-org.onap.clamp.config.dcae.url=http://localhost:9000/closedloop-dcae-services\r
-\r
 #GRM Edge endpoint details\r
 service.name=ajsc6camundademo\r
 service.version=1.0.0.0\r