Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / aai / components / aai-schema-service / 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-schema-service
19 info.build.name=schema-service
20 info.build.description=Schema Service Microservice
21 info.build.version=1.1.0
22
23 spring.application.name=aai-schema-service
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.jersey.application-path=${schema.uri.base.path}
32 server.tomcat.max-threads=200
33 server.tomcat.min-Spare-Threads=25
34 server.tomcat.max-idle-time=60000
35
36 server.local.startpath=aai-schema-service/src/main/resources/
37 server.basic.auth.location=${server.local.startpath}/etc/auth/realm.properties
38
39 server.port=8452
40 {{ if ( include "common.needTLS" .) }}
41 server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
42 server.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
43 server.ssl.key-store-password=${KEYSTORE_PASSWORD}
44 server.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
45 server.ssl.trust-store-password=${TRUSTSTORE_PASSWORD}
46 server.ssl.client-auth=want
47 server.ssl.key-store-type=PKCS12
48 {{ else }}
49 security.require-ssl=false
50 server.ssl.enabled=false
51 {{ end }}
52
53 schema.configuration.location=N/A
54 schema.source.name={{ .Values.global.config.schema.source.name }}
55 schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
56 schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
57 schema.query.location=${server.local.startpath}/schema/${schema.source.name}/query/
58
59 schema.ingest.file=${server.local.startpath}/application.properties
60
61 # Schema Version Related Attributes
62 schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}/schema-service
63 # Lists all of the versions in the schema
64 schema.version.list={{ .Values.global.config.schema.version.list }}
65 # Specifies from which version should the depth parameter to default to zero
66 schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
67 # Specifies from which version should the related link be displayed in response payload
68 schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}
69
70 # Specifies from which version should the client see only the uri excluding host info
71 # Before this version server base will also be included
72 schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
73 # Specifies from which version should the namespace be changed
74 schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
75 # Specifies from which version should the client start seeing the edge label in payload
76 schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
77 # Specifies the version that the application should default to
78 schema.version.api.default={{ .Values.global.config.schema.version.api.default }}