Fix log location
[clamp.git] / src / main / resources / application.properties
index a7b16f2..179553d 100644 (file)
@@ -2,7 +2,7 @@
 # ============LICENSE_START=======================================================\r
 # ONAP CLAMP\r
 # ================================================================================\r
-# Copyright (C) 2017 AT&T Intellectual Property. All rights\r
+# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights\r
 #                             reserved.\r
 # ================================================================================\r
 # Licensed under the Apache License, Version 2.0 (the "License");\r
@@ -18,7 +18,7 @@
 # limitations under the License.\r
 # ============LICENSE_END============================================\r
 # ===================================================================\r
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
+#\r
 ###\r
 \r
 info.build.artifact=@project.artifactId@\r
@@ -62,8 +62,7 @@ server.port=8080
 \r
 server.contextPath=/\r
 #Modified engine-rest applicationpath\r
-spring.jersey.application-path=/engine-rest\r
-spring.profiles.active=clamp-default,clamp-spring-authentication\r
+spring.profiles.active=clamp-default,clamp-spring-authentication,clamp-sdc-controller\r
 \r
 #The max number of active threads in this pool\r
 server.tomcat.max-threads=200\r
@@ -72,52 +71,26 @@ server.tomcat.min-Spare-Threads=25
 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads\r
 server.tomcat.max-idle-time=60000\r
 \r
-\r
-#Add this properties only if you want to change the URL, AJSC Framework interceptors will intercept\r
-#com.att.ajsc.common.interceptors.PreInterceptor.url=/**\r
-#com.att.ajsc.common.interceptors.PostInterceptor.url=/**\r
-\r
 #Servlet context parameters\r
 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.\r
 \r
 camel.springboot.consumer-template-cache-size=1000\r
 camel.springboot.producer-template-cache-size=1000\r
-camel.springboot.jmx-enabled=true\r
+camel.springboot.jmx-enabled=false\r
 camel.defaultthreadpool.poolsize=10\r
 camel.defaultthreadpool.maxpoolsize=20\r
 camel.defaultthreadpool.maxqueuesize=1000\r
 camel.defaultthreadpool.keepaliveTime=60\r
 camel.defaultthreadpool.rejectpolicy=CallerRuns\r
-\r
-kubernetes.namespace=com-att-ajsc\r
-\r
-#server.port=0\r
-#Camunda Process Engine DataSource connection Details\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.validationQuery=SELECT 1\r
-spring.datasource.camunda.validationQueryTimeout=20000\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
+#camel.springboot.xmlRoutes = false\r
+camel.springboot.xmlRoutes=classpath:/clds/camel/*.xml\r
+#camel.springboot.typeConversion = false\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&retriesAllDown=2147483647&failoverLoopRetries=2147483647\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.username=clds\r
-spring.datasource.cldsdb.password=sidnnd83K\r
+spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067\r
 spring.datasource.cldsdb.validationQuery=SELECT 1\r
 spring.datasource.cldsdb.validationQueryTimeout=20000\r
 spring.datasource.cldsdb.validationInterval=30000\r
@@ -133,25 +106,112 @@ async.core.pool.size=10
 async.max.pool.size=20\r
 async.queue.capacity=500\r
 \r
-org.onap.clamp.config.dcae.url=http://dcae.api.simpledemo.openecomp.org:9000/closedloop-dcae-services\r
+clamp.config.log.path=/var/log/onap\r
+clamp.config.files.systemProperties=classpath:/system.properties\r
+clamp.config.files.cldsUsers=classpath:/clds/clds-users.json\r
+clamp.config.files.globalProperties=classpath:/clds/templates/globalProperties.json\r
+clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json\r
+\r
+# Properties for Clamp\r
+# DCAE request build properties\r
+#\r
+clamp.config.dcae.template=classpath:/clds/templates/dcae-template.json\r
+clamp.config.dcae.decode.service_ids=classpath:/clds/templates/dcae-decode-service_ids.json\r
+clamp.config.dcae.deployment.template=classpath:/clds/templates/dcae-deployment-template.json\r
+#\r
+# SDC request blueprint properties\r
+#\r
+clamp.config.sdc.template=classpath:/clds/templates/sdc-template.json\r
+clamp.config.sdc.decode.service_ids=classpath:/clds/templates/sdc-decode-service_ids.json\r
+#\r
+#\r
+# Configuration Settings for Policy Engine Components\r
+clamp.config.policy.pdpUrl1=http://policy.api.simpledemo.onap.org:8081/pdp/ , testpdp, alpha123\r
+clamp.config.policy.pdpUrl2=http://policy.api.simpledemo.onap.org:8081/pdp/ , testpdp, alpha123\r
+clamp.config.policy.papUrl=http://policy.api.simpledemo.onap.org:8081/pap/ , testpap, alpha123\r
+clamp.config.policy.notificationType=websocket\r
+clamp.config.policy.notificationUebServers=localhost\r
+clamp.config.policy.notificationTopic=PDPD-CONFIGURATION\r
+clamp.config.policy.clientId=python\r
+# base64 encoding\r
+\r
+clamp.config.policy.clientKey=dGVzdA==\r
+#DEVL for development\r
+#TEST for Test environments\r
+#PROD for prod environments\r
+clamp.config.policy.policyEnvironment=TEST\r
+# General Policy request properties\r
+#\r
+clamp.config.policy.onap.name=DCAE\r
+clamp.config.policy.pdp.group=default\r
+clamp.config.policy.ms.type=MicroService\r
+clamp.config.policy.ms.policyNamePrefix=Config_MS_\r
+clamp.config.policy.op.policyNamePrefix=Config_BRMS_Param_\r
+clamp.config.policy.base.policyNamePrefix=Config_\r
+clamp.config.policy.op.type=BRMS_Param\r
+\r
 \r
-#GRM Edge endpoint details\r
-service.name=ajsc6camundademo\r
-service.version=1.0.0.0\r
-routeoffer=TEST\r
-#Update with your application name\r
-application.name=AJSC6CAMUNDA\r
+# TCA MicroService Policy request build properties\r
+#\r
+clamp.config.tca.policyid.prefix=DCAE.Config_\r
+clamp.config.tca.policy.template=classpath:/clds/templates/tca-policy-template.json\r
+clamp.config.tca.template=classpath:/clds/templates/tca-template.json\r
+clamp.config.tca.thresholds.template=classpath:/clds/templates/tca-thresholds-template.json\r
 \r
-org.onap.clamp.config.files.cldsReference=classpath:/clds/clds-reference.properties\r
-org.onap.clamp.config.files.cldsPolicyConfig=classpath:/clds/clds-policy-config.properties\r
-org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json\r
-org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties\r
+#\r
+#\r
+# Operational Policy request build properties\r
+#\r
+clamp.config.op.policyDescription=from clds\r
+# default\r
+clamp.config.op.templateName=ClosedLoopControlName\r
+clamp.config.op.operationTopic=APPC-CL\r
+clamp.config.op.notificationTopic=POLICY-CL-MGT\r
+clamp.config.op.controller=amsterdam\r
+clamp.config.op.policy.appc=APPC\r
+#\r
+# Sdc service properties\r
+clamp.config.sdc.catalog.url=http://sdc.api.simpledemo.onap.org:8080/sdc/v1/catalog/\r
+clamp.config.sdc.hostUrl=http://sdc.api.simpledemo.onap.org:8080\r
+clamp.config.sdc.serviceUrl=http://sdc.api.simpledemo.onap.org:8080/sdc/v1/catalog/services\r
+clamp.config.sdc.serviceUsername=clamp\r
+clamp.config.sdc.servicePassword=b7acccda32b98c5bb7acccda32b98c5b05D511BD6D93626E90D18E9D24D9B78CD34C7EE8012F0A189A28763E82271E50A5D4EC10C7D93E06E0A2D27CAE66B981\r
+clamp.config.sdc.artifactLabel=blueprintclampcockpit\r
+clamp.config.sdc.sdcX-InstanceID=CLAMP\r
+clamp.config.sdc.artifactType=DCAE_INVENTORY_BLUEPRINT\r
+clamp.config.sdc.locationArtifactLabel=locationclampcockpit\r
+clamp.config.sdc.locationArtifactType=DCAE_INVENTORY_JSON\r
+clamp.config.sdc.InstanceID=X-ECOMP-InstanceID\r
+clamp.config.sdc.header.requestId = X-ECOMP-RequestID\r
+#\r
+clamp.config.sdc.csarFolder = /tmp/sdc-controllers\r
+clamp.config.sdc.blueprint.parser.mapping = classpath:/clds/blueprint-parser-mapping.json\r
+#\r
+clamp.config.ui.location.default=classpath:/clds/templates/ui-location-default.json\r
+clamp.config.ui.alarm.default=classpath:/clds/templates/ui-alarm-default.json\r
+#\r
+# if action.test.override is true, then any action will be marked as test=true (even if incoming action request had test=false); otherwise, test flag will be unchanged on the action request\r
+clamp.config.action.test.override=false\r
+# if action.insert.test.event is true, then insert event even if the action is set to test\r
+clamp.config.action.insert.test.event=false\r
+clamp.config.clds.service.cache.invalidate.after.seconds=120\r
+\r
+#DCAE Inventory Url Properties\r
+clamp.config.dcae.inventory.url=http://dcae.api.simpledemo.onap.org:8080\r
+clamp.config.dcae.intentory.retry.interval=10000\r
+clamp.config.dcae.intentory.retry.limit=3\r
+\r
+#DCAE Dispatcher Url Properties\r
+clamp.config.dcae.dispatcher.url=http://dcae.api.simpledemo.onap.org:8188\r
+clamp.config.dcae.dispatcher.retry.interval=10000\r
+clamp.config.dcae.dispatcher.retry.limit=10\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
-CLDS_PERMISSION_TYPE_CL=permission-type-cl\r
-CLDS_PERMISSION_TYPE_CL_MANAGE=permission-type-cl-manage\r
-CLDS_PERMISSION_TYPE_CL_EVENT=permission-type-cl-event\r
-CLDS_PERMISSION_TYPE_FILTER_VF=permission-type-filter-vf\r
-CLDS_PERMISSION_TYPE_TEMPLATE=permission-type-template\r
+clamp.config.security.permission.type.cl=permission-type-cl\r
+clamp.config.security.permission.type.cl.manage=permission-type-cl-manage\r
+clamp.config.security.permission.type.cl.event=permission-type-cl-event\r
+clamp.config.security.permission.type.filter.vf=permission-type-filter-vf\r
+clamp.config.security.permission.type.template=permission-type-template\r
 #This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties\r
-CLDS_PERMISSION_INSTANCE=dev
\ No newline at end of file
+clamp.config.security.permission.instance=dev\r