blob: ca02055abebf275d74df98df5046c67cb73eab99 [file] [log] [blame]
toshrajbhardwaj84d73b12018-08-06 07:35:14 +00001# 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
vagrant62ddc7d2018-03-10 23:56:32 +000015# The following info parameters are being referenced by ajsc6
16info.build.artifact=aai-traversal
17info.build.name=traversal
18info.build.description=Traversal Microservice
19info.build.version=1.2.0
20
21spring.application.name=aai-traversal
22spring.jersey.type=filter
23
24server.contextPath=/
25spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
26
27spring.profiles.active=production,dmaap
28#The max number of active threads in this pool
29server.tomcat.max-threads=200
30#The minimum number of threads always kept alive
31server.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
33server.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
41server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
42kubernetes.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
46server.local.startpath=aai-traversal/src/main/resources/
47server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
48
49server.port=8446
50server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
51server.ssl.key-store=${server.local.startpath}etc/auth/aai_keystore
52server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
53server.ssl.trust-store=${server.local.startpath}etc/auth/aai_keystore
54server.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
55server.ssl.client-auth=want
56server.ssl.key-store-type=JKS
57
58# JMS bind address host port
59jms.bind.address=tcp://localhost:61647
60dmaap.ribbon.eureka.enabled=false
BorislavGe7500682018-04-24 07:56:27 +000061dmaap.ribbon.listOfServers=message-router.{{ include "common.namespace" . }}:3904
vagrant62ddc7d2018-03-10 23:56:32 +000062# Number of milliseconds to wait before making ping requests again
63dmaap.ribbon.ServerListRefreshInterval=75000
64dmaap.ribbon.NFLoadBalancerPingInterval=75000
65dmaap.ribbon.NFLoadBalancerRuleClassName=com.netflix.loadbalancer.AvailabilityFilteringRule
66dmaap.ribbon.NFLoadBalancerPingClassName=org.onap.aai.config.HttpPingImpl
67dmaap.ribbon.EnableMarkingServerDownOnReachingFailureLimit=true
68dmaap.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
71dmaap.ribbon.securePorts=3905
72
73# Custom Dmaap Specific Configuration
74dmaap.ribbon.username=
75dmaap.ribbon.password=
76dmaap.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
78dmaap.ribbon.pingport.timeout=3
79
80niws.loadbalancer.dmaap.filterCircuitTripped=true
81niws.loadbalancer.dmaap.connectionFailureCountThreshold=3
82niws.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