aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/test/resources/application-test.properties
blob: 9b6934b838d383b253fe20e7ad3a6a1e532618b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# The following info parameters are being referenced by ajsc6
info.build.artifact=aai-traversal
info.build.name=traversal
info.build.description=Traversal Microservice
info.build.version=1.1.0

spring.application.name=aai-traversal
spring.jersey.type=filter

server.contextPath=/
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration

spring.profiles.active=production
#The max number of active threads in this pool
server.tomcat.max-threads=200
#The minimum number of threads always kept alive
server.tomcat.min-Spare-Threads=25
#The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
server.tomcat.max-idle-time=60000


#Add this properties only if you want to change the URL, AJSC Framework interceptors will intercept
#com.att.ajsc.common.interceptors.PreInterceptor.url=/**
#com.att.ajsc.common.interceptors.PostInterceptor.url=/**

#Servlet context parameters
server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
kubernetes.namespace=org-onap-aai

# If you get an application startup failure that the port is already taken
# If thats not it, please check if the key-store file path makes sense
server.local.startpath=src/main/resources/
server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties

server.port=8446
server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
server.ssl.key-store=${server.local.startpath}etc/auth/aai_keystore
server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
server.ssl.trust-store=${server.local.startpath}etc/auth/aai_keystore
server.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
server.ssl.client-auth=want
server.ssl.key-store-type=JKS

# JMS bind address host port
jms.bind.address=tcp://localhost:61647
dmaap.ribbon.eureka.enabled=false
dmaap.ribbon.listOfServers=localhost:3904
# Number of milliseconds to wait before making ping requests again
dmaap.ribbon.ServerListRefreshInterval=75000
dmaap.ribbon.NFLoadBalancerPingInterval=75000
dmaap.ribbon.NFLoadBalancerRuleClassName=com.netflix.loadbalancer.AvailabilityFilteringRule
dmaap.ribbon.NFLoadBalancerPingClassName=org.onap.aai.config.HttpPingImpl
dmaap.ribbon.EnableMarkingServerDownOnReachingFailureLimit=true
dmaap.ribbon.ServerDownFailureLimit=1
# This needs to be verified but it seems that adding this property should automatically
# Make the dmaap client change the url from http to https depending on the server
dmaap.ribbon.securePorts=3905

# Custom Dmaap Specific Configuration
dmaap.ribbon.health.endpoint=/topics/AAI-EVENT
# Number of seconds to wait for the ping to work and might need to increase this if the pings are all failing
dmaap.ribbon.pingport.timeout=3

niws.loadbalancer.dmaap.filterCircuitTripped=true
niws.loadbalancer.dmaap.connectionFailureCountThreshold=3
niws.loadbalancer.dmaap.circuitTripMaxTimeoutSeconds=180
#dmaap.ribbon.retryableStatusCodes=404,503
#dmaap.ribbon.retryableStatusCodes.MaxAutoRetriesNextServer=2
#dmaap.ribbon.retryableStatusCodes.MaxAutoRetries=2
#dmaap.ribbon.retryableStatusCodes.OkToRetryOnAllOperations=true