[SO] 16.0.4 release
[oom.git] / kubernetes / aai / components / aai-schema-service / config / application.properties
1 {{/*
2 # Copyright © 2018 Amdocs, Bell Canada, AT&T
3 # Modifications Copyright © 2023 Nordix Foundation
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 # The following info parameters are being referenced by ajsc6
18 */}}
19 info.build.artifact=aai-schema-service
20 info.build.name=schema-service
21 info.build.description=Schema Service Microservice
22 info.build.version=1.1.0
23
24 spring.application.name=aai-schema-service
25 spring.jersey.type=filter
26 spring.jersey.application-path=${schema.uri.base.path}
27 spring.main.allow-bean-definition-overriding=true
28 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
29 spring.sleuth.enabled={{ .Values.global.tracing.enabled }}
30 spring.zipkin.baseUrl={{ .Values.global.tracing.collector.baseUrl }}
31 spring.sleuth.trace-id128=true
32 spring.sleuth.sampler.probability={{ .Values.global.tracing.sampling.probability }}
33 spring.sleuth.propagation.type=w3c, b3
34 spring.sleuth.supports-join=false
35 {{- if and .Values.tracing .Values.tracing.ignorePatterns }}
36 spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }}
37 {{- end }}
38
39 server.servlet.context-path=/
40 server.tomcat.max-threads=200
41 server.tomcat.min-Spare-Threads=25
42 server.tomcat.max-idle-time=60000
43
44 server.local.startpath=aai-schema-service/src/main/resources/
45
46 server.port=8452
47 security.require-ssl=false
48 server.ssl.enabled=false
49
50 schema.configuration.location=N/A
51 schema.source.name={{ .Values.global.config.schema.source.name }}
52 schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
53 schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
54 schema.query.location=${server.local.startpath}/schema/${schema.source.name}/query/
55
56 schema.ingest.file=${server.local.startpath}/application.properties
57
58 # Schema Version Related Attributes
59 schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}/schema-service
60 # Lists all of the versions in the schema
61 schema.version.list={{ .Values.global.config.schema.version.list }}
62 # Specifies from which version should the depth parameter to default to zero
63 schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
64 # Specifies from which version should the related link be displayed in response payload
65 schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}
66
67 # Specifies from which version should the client see only the uri excluding host info
68 # Before this version server base will also be included
69 schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
70 # Specifies from which version should the namespace be changed
71 schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
72 # Specifies from which version should the client start seeing the edge label in payload
73 schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
74 # Specifies the version that the application should default to
75 schema.version.api.default={{ .Values.global.config.schema.version.api.default }}