Remove legacy operational Policy
[clamp.git] / src / main / resources / application-noaaf.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ONAP CLAMP
4 # ================================================================================
5 # Copyright (C) 2017-2019 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
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=8080
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 server.port=8443
50 ## Config part for Server certificates
51 # Can be a classpath parameter instead of file:/
52 server.ssl.key-store=classpath:/clds/aaf/org.onap.clamp.p12
53 server.ssl.key-store-password=enc:WWCxchk4WGBNSvuzLq3MLjMs5ObRybJtts5AI0XD1Vc
54 server.ssl.key-password=enc:WWCxchk4WGBNSvuzLq3MLjMs5ObRybJtts5AI0XD1Vc
55 server.ssl.key-store-type=PKCS12
56 server.ssl.key-alias=clamp@clamp.onap.org
57
58 ## Config part for Client certificates
59 server.ssl.client-auth=want
60 server.ssl.trust-store=classpath:/clds/aaf/truststoreONAPall.jks
61 server.ssl.trust-store-password=enc:iDnPBBLq_EMidXlMa1FEuBR8TZzYxrCg66vq_XfLHdJ
62
63 # The key file used to decode the key store and trust store password
64 # If not defined, the key store and trust store password will not be decrypted
65 clamp.config.keyFile=classpath:/clds/aaf/org.onap.clamp.keyfile
66
67 #server.http-to-https-redirection.port=8080
68
69 server.servlet.context-path=/
70 #Modified engine-rest applicationpath
71 spring.profiles.active=clamp-default,clamp-default-user,clamp-sdc-controller,clamp-ssl-config,clamp-policy-controller,default-dictionary-elements
72 spring.http.converters.preferred-json-mapper=gson
73
74 #The max number of active threads in this pool
75 server.tomcat.max-threads=200
76 #The minimum number of threads always kept alive
77 server.tomcat.min-Spare-Threads=25
78 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
79 server.tomcat.max-idle-time=60000
80
81 #Servlet context parameters
82 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
83
84 camel.springboot.tracing=true
85 camel.springboot.consumer-template-cache-size=1000
86 camel.springboot.producer-template-cache-size=1000
87 camel.springboot.jmx-enabled=true
88 camel.defaultthreadpool.poolsize=10
89 camel.defaultthreadpool.maxpoolsize=20
90 camel.defaultthreadpool.maxqueuesize=1000
91 camel.defaultthreadpool.keepaliveTime=60
92 camel.defaultthreadpool.rejectpolicy=CallerRuns
93 #camel.springboot.xmlRoutes = false
94 camel.springboot.xmlRoutes=classpath:/clds/camel/routes/*.xml
95 camel.springboot.xmlRests=classpath:/clds/camel/rest/*.xml
96 #camel.springboot.typeConversion = false
97
98 #clds datasource connection details
99 spring.datasource.driverClassName=org.mariadb.jdbc.Driver
100 spring.datasource.url=jdbc:mariadb:sequential://localhost:3306/cldsdb4?autoReconnect=true&connectTimeout=10000&socketTimeout=10000&retriesAllDown=3
101 spring.datasource.username=clds
102 spring.datasource.password=sidnnd83K
103 spring.datasource.validationQuery=SELECT 1
104 spring.datasource.validationQueryTimeout=20000
105 spring.datasource.validationInterval=30000
106 spring.datasource.testWhileIdle = true
107 spring.datasource.minIdle = 0
108 spring.datasource.initialSize=0
109 # Automatically test whether a connection provided is good or not
110 spring.datasource.testOnBorrow=true
111 spring.datasource.ignoreExceptionOnPreLoad=true
112 # control the sql db initialization (from schema.sql and data.sql)
113 spring.datasource..initialize=false
114
115 spring.jpa.properties.javax.persistence.schema-generation.database.action=none
116 s#pring.jpa.properties.javax.persistence.schema-generation.create-source=metadata
117 #spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create
118 #spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=create.sql
119 # disable Hibernate DDL generation because the schema will be generated from a sql script
120 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
121 spring.jpa.properties.hibernate.ddl-auto=validate
122 spring.jpa.properties.hibernate.hbm2ddl.delimiter=;
123 spring.jpa.properties.hibernate.format_sql=true
124 spring.jpa.properties.hibernate.use-new-id-generator-mappings=true
125
126 # Whether to enable logging of SQL statements.
127 #spring.jpa.show-sql=true
128
129 #Async Executor default Parameters
130 async.core.pool.size=10
131 async.max.pool.size=20
132 async.queue.capacity=500
133
134 #For EELF logback file
135 #clamp.config.logback.path=
136 clamp.config.logback.filename=logback-default.xml
137 #The log folder that will be used in logback.xml file
138 clamp.config.log.path=/var/log/onap/clamp
139 clamp.config.files.systemProperties=classpath:/system.properties
140 clamp.config.files.cldsUsers=classpath:/clds/clds-users.json
141 clamp.config.files.globalProperties=classpath:/clds/templates/globalProperties.json
142 clamp.config.files.sdcController=classpath:/clds/sdc-controllers-config.json
143
144 #
145 # Configuration Settings for Policy Engine Components
146 clamp.config.policy.api.url=http4://localhost:8085
147 clamp.config.policy.api.userName=healthcheck
148 clamp.config.policy.api.password=zb!XztG34
149 clamp.config.policy.pap.url=http4://localhost:8085
150 clamp.config.policy.pap.userName=healthcheck
151 clamp.config.policy.pap.password=zb!XztG34
152
153 #
154 # Sdc service properties
155 clamp.config.sdc.csarFolder = /tmp/sdc-controllers
156
157 #DCAE Inventory Url Properties
158 clamp.config.dcae.inventory.url=http4://localhost:8085
159 clamp.config.dcae.intentory.retry.interval=10000
160 clamp.config.dcae.intentory.retry.limit=5
161
162 #DCAE Deployment Url Properties
163 clamp.config.dcae.deployment.url=http4://localhost:8085
164 clamp.config.dcae.deployment.userName=test
165 clamp.config.dcae.deployment.password=test
166
167 #Define user permission related parameters, the permission type can be changed but MUST be redefined in clds-users.properties in that case !
168 clamp.config.security.permission.type.cl=org.onap.clamp.clds.cl
169 clamp.config.security.permission.type.cl.manage=org.onap.clamp.clds.cl.manage
170 clamp.config.security.permission.type.cl.event=org.onap.clamp.clds.cl.event
171 clamp.config.security.permission.type.filter.vf=org.onap.clamp.clds.filter.vf
172 clamp.config.security.permission.type.template=org.onap.clamp.clds.template
173 clamp.config.security.permission.type.tosca=org.onap.clamp.clds.tosca
174 #This one indicates the type of instances (dev|prod|perf...), this must be set accordingly in clds-users.properties
175 clamp.config.security.permission.instance=dev
176 clamp.config.security.authentication.class=org.onap.aaf.cadi.principal.X509Principal
177
178 ## Tosca converter
179 clamp.config.tosca.converter.json.schema.templates=classpath:/clds/tosca-converter/templates.json
180 clamp.config.tosca.converter.default.datatypes=classpath:/clds/tosca-converter/default-tosca-types.yaml
181 clamp.config.tosca.converter.dictionary.support.enabled=true
182
183 # Configuration settings for CDS
184 clamp.config.cds.url=http4://cds-blueprints-processor-http:8080
185 clamp.config.cds.userName=ccsdkapps
186 clamp.config.cds.password=ccsdkapps