[AAI] Make AAI helm3 compatible
[oom.git] / kubernetes / aai / components / aai-traversal / resources / config / application.properties
1 {{/*
2 # Copyright © 2018 Amdocs, Bell Canada, AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 # The following info parameters are being referenced by ajsc6
17 */}}
18 info.build.artifact=aai-traversal
19 info.build.name=traversal
20 info.build.description=Traversal Microservice
21 info.build.version=1.3.0
22
23 spring.application.name=aai-traversal
24 spring.jersey.type=filter
25
26 spring.main.allow-bean-definition-overriding=true
27 server.servlet.context-path=/
28
29 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
30
31 spring.profiles.active={{ .Values.global.config.profiles.active }}
32 spring.jersey.application-path=${schema.uri.base.path}
33 #The max number of active threads in this pool
34 server.tomcat.max-threads=200
35 #The minimum number of threads always kept alive
36 server.tomcat.min-Spare-Threads=25
37 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
38 server.tomcat.max-idle-time=60000
39
40 # If you get an application startup failure that the port is already taken
41 # If thats not it, please check if the key-store file path makes sense
42 server.local.startpath=aai-traversal/src/main/resources/
43 server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
44
45 server.port=8446
46 server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
47 server.ssl.key-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.keystore.filename }}
48 server.ssl.key-store-password=password({{ .Values.global.config.keystore.passwd }})
49 server.ssl.trust-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.truststore.filename }}
50 server.ssl.trust-store-password=password({{ .Values.global.config.truststore.passwd }})
51 server.ssl.client-auth=want
52 server.ssl.key-store-type=JKS
53
54 # JMS bind address host port
55 jms.bind.address=tcp://localhost:61647
56 dmaap.ribbon.listOfServers=message-router.{{ include "common.namespace" . }}:3905
57 dmaap.ribbon.transportType=https
58
59 # Schema related attributes for the oxm and edges
60 # Any additional schema related attributes should start with prefix schema
61 schema.configuration.location=N/A
62 schema.source.name={{ .Values.global.config.schema.source.name }}
63 schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
64 schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
65 # Location of where the stored queries are
66 schema.queries.location=${server.local.startpath}/schema/${schema.source.name}/query/
67
68 schema.ingest.file=${server.local.startpath}/application.properties
69
70 # Schema Version Related Attributes
71
72 schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}
73 # Lists all of the versions in the schema
74 schema.version.list={{ .Values.global.config.schema.version.list }}
75 # Specifies from which version should the depth parameter to default to zero
76 schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
77 # Specifies from which version should the related link be displayed in response payload
78 schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}
79
80 # Specifies from which version should the client see only the uri excluding host info
81 # Before this version server base will also be included
82 schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
83 # Specifies from which version should the namespace be changed
84 schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
85 # Specifies from which version should the client start seeing the edge label in payload
86 schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
87 # Specifies the version that the application should default to
88 schema.version.api.default={{ .Values.global.config.schema.version.api.default }}
89
90 schema.translator.list={{ .Values.global.config.schema.translator.list }}
91 schema.service.base.url=https://aai-schema-service.{{ include "common.namespace" . }}:8452/aai/schema-service/v1/
92 schema.service.nodes.endpoint=nodes?version=
93 schema.service.edges.endpoint=edgerules?version=
94 schema.service.versions.endpoint=versions
95 schema.service.custom.queries.endpoint=stored-queries
96 schema.service.client={{ .Values.global.config.schema.service.client }}
97
98 schema.service.ssl.key-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.keystore.filename }}
99 schema.service.ssl.trust-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.truststore.filename }}
100 schema.service.ssl.key-store-password=password({{ .Values.global.config.keystore.passwd }})
101 schema.service.ssl.trust-store-password=password({{ .Values.global.config.truststore.passwd }})