b40acf1d2c8a5ba89c5fec89198190b6e17421d7
[oom.git] / kubernetes / aai / charts / aai-resources / resources / config / application.properties
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
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 # The following info parameters are being referenced by ajsc6
16 info.build.artifact=aai-resources
17 info.build.name=resources
18 info.build.description=Resources Microservice
19 info.build.version=1.2.0
20
21 spring.application.name=aai-resources
22 spring.jersey.type=filter
23
24 server.contextPath=/
25 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
26
27 spring.profiles.active=production,dmaap
28 #The max number of active threads in this pool
29 server.tomcat.max-threads=200
30 #The minimum number of threads always kept alive
31 server.tomcat.min-Spare-Threads=25
32 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
33 server.tomcat.max-idle-time=60000
34
35
36 #Add this properties only if you want to change the URL, AJSC Framework interceptors will intercept
37 #com.att.ajsc.common.interceptors.PreInterceptor.url=/**
38 #com.att.ajsc.common.interceptors.PostInterceptor.url=/**
39
40 #Servlet context parameters
41 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
42 kubernetes.namespace={{ include "common.namespace" . }}
43
44 # If you get an application startup failure that the port is already taken
45 # If thats not it, please check if the key-store file path makes sense
46 server.local.startpath=aai-resources/src/main/resources/
47 server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
48
49 server.port=8447
50 server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
51 server.ssl.key-store=${server.local.startpath}etc/auth/aai_keystore
52 server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
53 server.ssl.trust-store=${server.local.startpath}etc/auth/aai_keystore
54 server.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
55 server.ssl.client-auth=want
56 server.ssl.key-store-type=JKS
57
58 # JMS bind address host port
59 jms.bind.address=tcp://localhost:61647
60 dmaap.ribbon.eureka.enabled=false
61 dmaap.ribbon.listOfServers=message-router.{{.Release.Namespace}}:3904
62 # Number of milliseconds to wait before making ping requests again
63 dmaap.ribbon.ServerListRefreshInterval=75000
64 dmaap.ribbon.NFLoadBalancerPingInterval=75000
65 dmaap.ribbon.NFLoadBalancerRuleClassName=com.netflix.loadbalancer.AvailabilityFilteringRule
66 dmaap.ribbon.NFLoadBalancerPingClassName=org.onap.aai.config.HttpPingImpl
67 dmaap.ribbon.EnableMarkingServerDownOnReachingFailureLimit=true
68 dmaap.ribbon.ServerDownFailureLimit=1
69 # This needs to be verified but it seems that adding this property should automatically
70 # Make the dmaap client change the url from http to https depending on the server
71 dmaap.ribbon.securePorts=3905
72
73 # Custom Dmaap Specific Configuration
74 dmaap.ribbon.username=
75 dmaap.ribbon.password=
76 dmaap.ribbon.health.endpoint=/topics/AAI-EVENT
77 # Number of seconds to wait for the ping to work and might need to increase this if the pings are all failing
78 dmaap.ribbon.pingport.timeout=3
79
80 niws.loadbalancer.dmaap.filterCircuitTripped=true
81 niws.loadbalancer.dmaap.connectionFailureCountThreshold=3
82 niws.loadbalancer.dmaap.circuitTripMaxTimeoutSeconds=180
83 #dmaap.ribbon.retryableStatusCodes=404,503
84 #dmaap.ribbon.retryableStatusCodes.MaxAutoRetriesNextServer=2
85 #dmaap.ribbon.retryableStatusCodes.MaxAutoRetries=2
86 #dmaap.ribbon.retryableStatusCodes.OkToRetryOnAllOperations=true