Fix policy TemplateName
[clamp.git] / src / main / resources / application.properties
index 2ac53e0..8985d00 100644 (file)
@@ -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,7 +62,7 @@ server.port=8080
 \r
 server.contextPath=/\r
 #Modified engine-rest applicationpath\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
@@ -106,17 +106,108 @@ async.core.pool.size=10
 async.max.pool.size=20\r
 async.queue.capacity=500\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
-org.onap.clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json\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
+# 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
+#\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:8080\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