Add Pomba components to Pomba Health check
[oom.git] / kubernetes / pomba / charts / pomba-sdncctxbuilder / resources / config / application.properties
1 # Copyright © 2019 Amdocs
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License
14
15 spring.jersey.type=filter
16 spring.mvc.urls=swagger,docs,prometheus,auditevents,info,heapdump,autoconfig,beans,loggers,dump,env,trace,health,configprops,mappings,metrics,webjars
17 camel.springboot.xmlRoutes = file:config/dynamic/routes/*.route
18 service.xml.beans = config/dynamic/conf/*.xml
19
20 server.contextPath=/sdnccontextbuilder
21 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
22
23 #This property is used to set the Tomcat connector attributes.developers can define multiple attributes separated by comma
24 #tomcat.connector.attributes=allowTrace-true
25 #The max number of active threads in this pool
26 server.tomcat.max-threads=200
27 #The minimum number of threads always kept alive
28 server.tomcat.min-spare-threads=25
29
30 # Basic Authorization credentials for SDNC Context Builder REST Service
31 sdncCtxBuilder.userId={{ .Values.config.sdncCtxBuilderUserId }}
32 sdncCtxBuilder.password={{ .Values.config.sdncCtxBuilderPassword }}
33
34 # AAI REST Client Configuration
35 aai.serviceName={{ .Values.config.aaiServiceName }}.{{.Release.Namespace}}
36 aai.servicePort={{ .Values.config.aaiPort }}
37 # AAI APIs authentication mode. Valid values: [basic_auth, client_cert]
38 aai.authentication=basic_auth
39 aai.trustStorePath=n/a
40 aai.keyStorePath=n/a
41 aai.keyStorePassword=n/a
42 aai.username={{ .Values.config.aaiUsername }}
43 aai.password={{ .Values.config.aaiPassword }}
44 aai.httpProtocol={{ .Values.config.aaiHttpProtocol }}
45 aai.authentication={{ .Values.config.aaiAuthentication }}
46 aai.trustStorePath={{ .Values.config.aaiTrustStorePath }}
47 aai.keyStorePath={{ .Values.config.aaiKeyStorePath }}
48 aai.keyStorePassword={{ .Values.config.aaiKeyStorePassword }}
49 aai.connectionTimeout={{ .Values.config.aaiConnectionTimeout }}
50 aai.readTimeout={{ .Values.config.aaiReadTimeout }}
51
52 # HTTP Basic Authorization credentials for AAI Rest Service API
53 aai.http.userId={{ .Values.config.aaiHttpUserId }}
54 aai.http.password={{ .Values.config.aaiHttpPassword }}
55
56 aai.serviceInstanceQuery=/aai/v13/nodes/service-instance/{0}
57
58 # SDNC REST Client Configuration
59 sdnc.serviceName={{ .Values.config.sdncServiceName }}.{{.Release.Namespace}}
60 sdnc.servicePort={{ .Values.config.sdncPort }}
61 sdnc.user={{ .Values.config.sdncUsername }}
62 sdnc.password={{ .Values.config.sdncPassword }}
63 sdnc.httpProtocol={{ .Values.config.sdncHttpProtocol }}
64 sdnc.connectionTimeout={{ .Values.config.sdncConnectionTimeout }}
65 sdnc.readTimeout={{ .Values.config.sdncReadTimeout }}
66 sdnc.genericResourcePath=/restconf/config/GENERIC-RESOURCE-API:services/service/{0}
67 sdnc.portMirrorResourcePath=/restconf/config/GENERIC-RESOURCE-API:port-mirror-configurations/port-mirror-configuration/{0}/configuration-data/configuration-operation-information/port-mirror-configuration-request-input
68 sdnc.vnfPath=/restconf/config/VNF-API:vnfs/vnf-list/{0}
69
70 #Servlet context parameters
71 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.