X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fresources%2Fapplication.properties;h=f41b68dfb289d30ce339b427c279d804ef4faf34;hb=aef5d4ba9128c0cc4418b6dd9e12533b3d76bc84;hp=fb11595a84bccb98c5c888ebb3a45d6aac7464f7;hpb=8c61814411a5390a946476dee876a320f3c5a4d7;p=clamp.git diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties index fb11595a..f41b68df 100644 --- a/src/test/resources/application.properties +++ b/src/test/resources/application.properties @@ -30,7 +30,7 @@ info.build.version=@project.version@ ### (See below for the parameter 'server.http.port' if you want to have both enabled) ### To have only HTTP, keep the lines server.ssl.* commented ### To have only HTTPS enabled, uncomment the server.ssl.* lines and specify a right keystore location -server.port=8080 +server.port=${clamp.it.tests.http} ### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port') #server.ssl.key-store=file:/tmp/mykey.jks #server.ssl.key-store-password=pass @@ -60,9 +60,9 @@ server.port=8080 ### server.ssl.key-password=mypass ### server.http-to-https-redirection.port=8090 <-- The HTTP port -server.contextPath=/ +server.servlet.context-path=/ #Modified engine-rest applicationpath -spring.profiles.active=clamp-default,clamp-spring-authentication,clamp-sdc-controller +spring.profiles.active=clamp-default,clamp-default-user,clamp-sdc-controller #The max number of active threads in this pool server.tomcat.max-threads=200 @@ -76,14 +76,16 @@ server.context_parameters.p-name=value #context parameter with p-name as key and camel.springboot.consumer-template-cache-size=1000 camel.springboot.producer-template-cache-size=1000 -camel.springboot.jmx-enabled=false +# JMX enabled to have Camel Swagger runtime working +camel.springboot.jmx-enabled=true camel.defaultthreadpool.poolsize=10 camel.defaultthreadpool.maxpoolsize=20 camel.defaultthreadpool.maxqueuesize=1000 camel.defaultthreadpool.keepaliveTime=60 camel.defaultthreadpool.rejectpolicy=CallerRuns #camel.springboot.xmlRoutes = false -camel.springboot.xmlRoutes=classpath:/clds/camel/*.xml +camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml +camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml #camel.springboot.typeConversion = false #clds datasource connection details @@ -106,7 +108,12 @@ async.core.pool.size=10 async.max.pool.size=20 async.queue.capacity=500 -clamp.config.files.cldsPolicyConfig=classpath:/clds/clds-policy-config.properties +#For EELF logback file +#com.att.eelf.logging.path= +clamp.config.logback.filename=logback-default.xml +#The log folder that will be used in logback.xml file +clamp.config.log.path=log +clamp.config.files.systemProperties=classpath:/system.properties clamp.config.files.cldsUsers=classpath:/clds/clds-users.json clamp.config.files.globalProperties=classpath:/clds/templates/globalProperties.json clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json @@ -115,14 +122,8 @@ clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json # DCAE request build properties # clamp.config.dcae.template=classpath:/clds/templates/dcae-template.json -clamp.config.dcae.decode.service_ids=classpath:/clds/templates/dcae-decode-service_ids.json clamp.config.dcae.deployment.template=classpath:/clds/templates/dcae-deployment-template.json # -# SDC request blueprint properties -# -clamp.config.sdc.template=classpath:/clds/templates/sdc-template.json -clamp.config.sdc.decode.service_ids=classpath:/clds/templates/sdc-decode-service_ids.json -# # # Configuration Settings for Policy Engine Components clamp.config.policy.pdpUrl1=http://localhost:${docker.http-cache.port.host}/pdp/ , testpdp, alpha123 @@ -131,9 +132,9 @@ clamp.config.policy.papUrl=http://localhost:${docker.http-cache.port.host}/pap/ clamp.config.policy.notificationType=websocket clamp.config.policy.notificationUebServers=localhost clamp.config.policy.notificationTopic= -clamp.config.policy.clientId=myclientid +clamp.config.policy.clientId=python # base64 encoding -clamp.config.policy.clientKey=5CE79532B3A2CB4D132FC0C04BF916A7 +clamp.config.policy.clientKey=dGVzdA== #DEVL for development #TEST for Test environments #PROD for prod environments @@ -148,6 +149,10 @@ clamp.config.policy.op.policyNamePrefix=Config_BRMS_Param_ clamp.config.policy.base.policyNamePrefix=Config_ clamp.config.policy.op.type=BRMS_Param +clamp.config.import.tosca.model=false +clamp.config.tosca.policyTypes=tca +clamp.config.tosca.filePath=/tmp/tosca-models + # TCA MicroService Policy request build properties # clamp.config.tca.policyid.prefix=DCAE.Config_ @@ -161,31 +166,18 @@ clamp.config.tca.thresholds.template=classpath:/clds/templates/tca-thresholds-te # clamp.config.op.policyDescription=from clds # default -clamp.config.op.templateName=ClosedLoopvUSP +clamp.config.op.templateName=ClosedLoopControlName clamp.config.op.operationTopic=APPC-CL clamp.config.op.notificationTopic=POLICY-CL-MGT clamp.config.op.controller=amsterdam clamp.config.op.policy.appc=APPC # # Sdc service properties -clamp.config.sdc.catalog.url=http://localhost:${docker.http-cache.port.host}/sdc/v1/catalog/ -clamp.config.sdc.hostUrl=http://localhost:${docker.http-cache.port.host} -clamp.config.sdc.serviceUrl=http://localhost:${docker.http-cache.port.host}/sdc/v1/catalog/services -clamp.config.sdc.serviceUsername=clamp -clamp.config.sdc.servicePassword=b7acccda32b98c5bb7acccda32b98c5b05D511BD6D93626E90D18E9D24D9B78CD34C7EE8012F0A189A28763E82271E50A5D4EC10C7D93E06E0A2D27CAE66B981 -clamp.config.sdc.artifactLabel=blueprintclampcockpit -clamp.config.sdc.sdcX-InstanceID=CLAMP -clamp.config.sdc.artifactType=DCAE_INVENTORY_BLUEPRINT -clamp.config.sdc.locationArtifactLabel=locationclampcockpit -clamp.config.sdc.locationArtifactType=DCAE_INVENTORY_JSON -clamp.config.sdc.InstanceID=X-ECOMP-InstanceID -clamp.config.sdc.header.requestId = X-ECOMP-RequestID # -clamp.config.sdc.csarFolder = /tmp/sdc-tests +clamp.config.sdc.csarFolder = ${project.build.directory}/sdc-tests clamp.config.sdc.blueprint.parser.mapping = classpath:/clds/blueprint-parser-mapping.json # clamp.config.ui.location.default=classpath:/clds/templates/ui-location-default.json -clamp.config.ui.alarm.default=classpath:/clds/templates/ui-alarm-default.json # # 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 clamp.config.action.test.override=false @@ -195,9 +187,13 @@ clamp.config.clds.service.cache.invalidate.after.seconds=120 #DCAE Inventory Url Properties clamp.config.dcae.inventory.url=http://localhost:${docker.http-cache.port.host} +clamp.config.dcae.intentory.retry.interval=100 +clamp.config.dcae.intentory.retry.limit=1 #DCAE Dispatcher Url Properties clamp.config.dcae.dispatcher.url=http://localhost:${docker.http-cache.port.host} +clamp.config.dcae.dispatcher.retry.interval=100 +clamp.config.dcae.dispatcher.retry.limit=1 clamp.config.dcae.header.requestId = X-ECOMP-RequestID #Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case ! @@ -206,5 +202,7 @@ clamp.config.security.permission.type.cl.manage=permission-type-cl-manage clamp.config.security.permission.type.cl.event=permission-type-cl-event clamp.config.security.permission.type.filter.vf=permission-type-filter-vf clamp.config.security.permission.type.template=permission-type-template +clamp.config.security.permission.type.tosca=permission-type-tosca #This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties -clamp.config.security.permission.instance=dev \ No newline at end of file +clamp.config.security.permission.instance=dev +clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal \ No newline at end of file