xg353y | a2f90ab | 2019-05-09 13:14:40 +0200 | [diff] [blame] | 1 | ### |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # ONAP CLAMP |
| 4 | # ================================================================================ |
| 5 | # Copyright (C) 2017-2018 AT&T Intellectual Property. All rights |
| 6 | # reserved. |
| 7 | # ================================================================================ |
| 8 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | # you may not use this file except in compliance with the License. |
| 10 | # You may obtain a copy of the License at |
| 11 | # |
| 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | # |
| 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | # See the License for the specific language governing permissions and |
| 18 | # limitations under the License. |
| 19 | # ============LICENSE_END============================================ |
| 20 | # =================================================================== |
| 21 | # |
| 22 | ### |
| 23 | |
xg353y | a2f90ab | 2019-05-09 13:14:40 +0200 | [diff] [blame] | 24 | ### Set the port for HTTP or HTTPS protocol (Controlled by Spring framework, only one at a time). |
| 25 | ### (See below for the parameter 'server.http.port' if you want to have both enabled) |
| 26 | ### To have only HTTP, keep the lines server.ssl.* commented |
| 27 | ### To have only HTTPS enabled, uncomment the server.ssl.* lines and specify a right keystore location |
| 28 | server.port=${clamp.it.tests.http} |
| 29 | ### Settings for HTTPS (this automatically enables the HTTPS on the port 'server.port') |
| 30 | #server.ssl.key-store=file:/tmp/mykey.jks |
| 31 | #server.ssl.key-store-password=pass |
| 32 | #server.ssl.key-password=pass |
| 33 | |
| 34 | ### In order to be user friendly when HTTPS is enabled, |
| 35 | ### you can add another HTTP port that will be automatically redirected to HTTPS |
| 36 | ### by enabling this parameter (server.http.port) and set it to another port (80 or 8080, 8090, etc ...) |
| 37 | #server.http-to-https-redirection.port=8090 |
| 38 | |
| 39 | ### HTTP Example: |
| 40 | ###-------------- |
| 41 | ### server.port=8080 |
| 42 | |
| 43 | ### HTTPS Example: |
| 44 | ### -------------- |
| 45 | ### server.port=8443 |
| 46 | ### server.ssl.key-store=file:/tmp/mykey.jks |
| 47 | ### server.ssl.key-store-password=mypass |
| 48 | ### server.ssl.key-password=mypass |
| 49 | |
| 50 | ### HTTP (Redirected to HTTPS) and HTTPS Example: |
| 51 | ### -------------------------------------------- |
| 52 | ### server.port=8443 <-- The HTTPS port |
| 53 | ### server.ssl.key-store=file:/tmp/mykey.jks |
| 54 | ### server.ssl.key-store-password=mypass |
| 55 | ### server.ssl.key-password=mypass |
| 56 | ### server.http-to-https-redirection.port=8090 <-- The HTTP port |
| 57 | |
| 58 | server.servlet.context-path=/ |
| 59 | #Modified engine-rest applicationpath |
| 60 | spring.profiles.active=clamp-default,clamp-default-user |
| 61 | spring.http.converters.preferred-json-mapper=gson |
| 62 | |
| 63 | #The max number of active threads in this pool |
| 64 | server.tomcat.max-threads=200 |
| 65 | #The minimum number of threads always kept alive |
| 66 | server.tomcat.min-Spare-Threads=25 |
| 67 | #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads |
| 68 | server.tomcat.max-idle-time=60000 |
| 69 | |
| 70 | #Servlet context parameters |
| 71 | server.context_parameters.p-name=value #context parameter with p-name as key and value as value. |
| 72 | |
| 73 | camel.springboot.consumer-template-cache-size=1000 |
| 74 | camel.springboot.producer-template-cache-size=1000 |
| 75 | # JMX enabled to have Camel Swagger runtime working |
| 76 | camel.springboot.jmx-enabled=true |
| 77 | camel.defaultthreadpool.poolsize=10 |
| 78 | camel.defaultthreadpool.maxpoolsize=20 |
| 79 | camel.defaultthreadpool.maxqueuesize=1000 |
| 80 | camel.defaultthreadpool.keepaliveTime=60 |
| 81 | camel.defaultthreadpool.rejectpolicy=CallerRuns |
| 82 | #camel.springboot.xmlRoutes = false |
| 83 | camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml |
| 84 | camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml |
| 85 | #camel.springboot.typeConversion = false |
| 86 | |
| 87 | #clds datasource connection details |
| 88 | spring.datasource.cldsdb.driverClassName=org.mariadb.jdbc.Driver |
| 89 | spring.datasource.cldsdb.url=jdbc:mariadb:sequential://localhost:3306,localhost:${docker.mariadb.port.host}/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3 |
| 90 | spring.datasource.cldsdb.username=clds |
| 91 | spring.datasource.cldsdb.password=4c90a0b48204383f4283448d23e0b885a47237b2a23588e7c4651604f51c1067 |
| 92 | spring.datasource.cldsdb.validationQuery=SELECT 1 |
| 93 | spring.datasource.cldsdb.validationQueryTimeout=20000 |
| 94 | spring.datasource.cldsdb.validationInterval=30000 |
| 95 | spring.datasource.cldsdb.testWhileIdle = true |
| 96 | spring.datasource.cldsdb.minIdle = 0 |
| 97 | spring.datasource.cldsdb.initialSize=0 |
| 98 | # Automatically test whether a connection provided is good or not |
| 99 | spring.datasource.cldsdb.testOnBorrow=true |
| 100 | spring.datasource.cldsdb.ignoreExceptionOnPreLoad=true |
| 101 | |
sebdet | fdfde21 | 2019-09-12 10:59:15 +0200 | [diff] [blame] | 102 | spring.jpa.properties.javax.persistence.schema-generation.database.action=none |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 103 | #spring.jpa.properties.javax.persistence.schema-generation.create-source=metadata |
| 104 | #spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create |
| 105 | #spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=create.sql |
| 106 | # disable Hibernate DDL generation because the schema will be generated from a sql script |
| 107 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect |
| 108 | spring.jpa.properties.hibernate.ddl-auto=validate |
| 109 | spring.jpa.properties.hibernate.hbm2ddl.delimiter=; |
| 110 | spring.jpa.properties.hibernate.format_sql=true |
| 111 | spring.jpa.properties.hibernate.use-new-id-generator-mappings=true |
| 112 | |
| 113 | # Whether to enable logging of SQL statements. |
sebdet | 5d03e8b | 2020-02-03 20:27:59 +0100 | [diff] [blame] | 114 | #spring.jpa.show-sql=true |
sebdet | c2bcf2a | 2019-02-22 08:16:26 +0100 | [diff] [blame] | 115 | |
xg353y | a2f90ab | 2019-05-09 13:14:40 +0200 | [diff] [blame] | 116 | #Async Executor default Parameters |
| 117 | async.core.pool.size=10 |
| 118 | async.max.pool.size=20 |
| 119 | async.queue.capacity=500 |
| 120 | |
| 121 | #For EELF logback file |
| 122 | #com.att.eelf.logging.path= |
| 123 | clamp.config.logback.filename=logback-default.xml |
| 124 | #The log folder that will be used in logback.xml file |
| 125 | clamp.config.log.path=log |
| 126 | clamp.config.files.systemProperties=classpath:/system.properties |
| 127 | clamp.config.files.cldsUsers=classpath:/clds/clds-users.json |
| 128 | clamp.config.files.globalProperties=classpath:/clds/templates/globalProperties.json |
| 129 | clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json |
| 130 | |
xg353y | a2f90ab | 2019-05-09 13:14:40 +0200 | [diff] [blame] | 131 | # |
| 132 | # Configuration Settings for Policy Engine Components |
| 133 | clamp.config.policy.api.url=http4://localhost:${docker.http-cache.port.host} |
| 134 | clamp.config.policy.api.userName=healthcheck |
| 135 | clamp.config.policy.api.password=zb!XztG34 |
| 136 | clamp.config.policy.pap.url=http4://localhost:${docker.http-cache.port.host} |
| 137 | clamp.config.policy.pap.userName=healthcheck |
| 138 | clamp.config.policy.pap.password=zb!XztG34 |
| 139 | |
xg353y | a2f90ab | 2019-05-09 13:14:40 +0200 | [diff] [blame] | 140 | # Sdc service properties |
| 141 | # |
| 142 | clamp.config.sdc.csarFolder = ${project.build.directory}/sdc-tests |
xg353y | a2f90ab | 2019-05-09 13:14:40 +0200 | [diff] [blame] | 143 | |
| 144 | #DCAE Inventory Url Properties |
sebdet | 74303b7 | 2019-10-08 17:53:08 +0200 | [diff] [blame] | 145 | clamp.config.dcae.inventory.url=http4://localhost:${docker.http-cache.port.host} |
xg353y | a2f90ab | 2019-05-09 13:14:40 +0200 | [diff] [blame] | 146 | clamp.config.dcae.intentory.retry.interval=100 |
| 147 | clamp.config.dcae.intentory.retry.limit=1 |
| 148 | |
xg353y | a2f90ab | 2019-05-09 13:14:40 +0200 | [diff] [blame] | 149 | #DCAE Deployment Url Properties |
| 150 | clamp.config.dcae.deployment.url=http4://localhost:${docker.http-cache.port.host} |
| 151 | clamp.config.dcae.deployment.userName=test |
| 152 | clamp.config.dcae.deployment.password=test |
| 153 | |
| 154 | #Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case ! |
| 155 | clamp.config.security.permission.type.cl=permission-type-cl |
| 156 | clamp.config.security.permission.type.cl.manage=permission-type-cl-manage |
| 157 | clamp.config.security.permission.type.cl.event=permission-type-cl-event |
| 158 | clamp.config.security.permission.type.filter.vf=permission-type-filter-vf |
| 159 | clamp.config.security.permission.type.template=permission-type-template |
| 160 | clamp.config.security.permission.type.tosca=permission-type-tosca |
| 161 | #This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties |
| 162 | clamp.config.security.permission.instance=dev |
Vidyashree-Huawei | 3121b5b | 2020-03-04 19:22:08 +0530 | [diff] [blame] | 163 | clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal |
| 164 | |
| 165 | # Configuration settings for CDS |
| 166 | clamp.config.cds.url=http4://localhost:${docker.http-cache.port.host} |
| 167 | clamp.config.cds.userName=ccsdkapps |
sebdet | 3af9347 | 2020-03-09 16:15:19 -0700 | [diff] [blame^] | 168 | clamp.config.cds.password=ccsdkapps |
| 169 | |
| 170 | ## Tosca converter |
| 171 | clamp.config.tosca.converter.templates=classpath:/clds/tosca_updates/templates.json |