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