Fix the accidental openecomp to onap
[aai/test-config.git] / aai-resources / appconfig / application.properties
1 # The following info parameters are being referenced by ajsc6
2 info.build.artifact=aai-resources
3 info.build.name=resources
4 info.build.description=Resources Microservice
5 info.build.version=1.2.0
6
7 spring.application.name=aai-resources
8 spring.jersey.type=filter
9
10 server.contextPath=/
11 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
12
13 spring.profiles.active=production,dmaap
14 #The max number of active threads in this pool
15 server.tomcat.max-threads=200
16 #The minimum number of threads always kept alive
17 server.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
19 server.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
27 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
28 kubernetes.namespace=org-onap-aai
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
32 server.local.startpath=aai-resources/src/main/resources/
33 server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
34
35 server.port=8447
36 server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
37 server.ssl.key-store=${server.local.startpath}etc/auth/aai_keystore
38 server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
39 server.ssl.trust-store=${server.local.startpath}etc/auth/aai_keystore
40 server.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
41 server.ssl.client-auth=want
42 server.ssl.key-store-type=JKS
43
44 # JMS bind address host port
45 jms.bind.address=tcp://localhost:61647
46 dmaap.ribbon.eureka.enabled=false
47 dmaap.ribbon.listOfServers=mr.api.simpledemo.onap.org:3904
48 # Number of milliseconds to wait before making ping requests again
49 dmaap.ribbon.ServerListRefreshInterval=75000
50 dmaap.ribbon.NFLoadBalancerPingInterval=75000
51 dmaap.ribbon.NFLoadBalancerRuleClassName=com.netflix.loadbalancer.AvailabilityFilteringRule
52 dmaap.ribbon.NFLoadBalancerPingClassName=org.onap.aai.config.HttpPingImpl
53 dmaap.ribbon.EnableMarkingServerDownOnReachingFailureLimit=true
54 dmaap.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
57 dmaap.ribbon.securePorts=3905
58
59 # Custom Dmaap Specific Configuration
60 dmaap.ribbon.username=
61 dmaap.ribbon.password=
62 dmaap.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
64 dmaap.ribbon.pingport.timeout=3
65
66 niws.loadbalancer.dmaap.filterCircuitTripped=true
67 niws.loadbalancer.dmaap.connectionFailureCountThreshold=3
68 niws.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