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