blob: 24a5241fe2db5ceba2d3bc994caa143d45559113 [file] [log] [blame]
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01001{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01002# Copyright © 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureauxa41dfc02021-02-15 10:14:22 +01003# Modifications Copyright © 2020 Orange
Sylvain Desbureaux70070412020-11-09 21:58:48 +01004#
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
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010018*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010019info.build.artifact=aai-traversal
20info.build.name=traversal
21info.build.description=Traversal Microservice
22info.build.version=1.3.0
23
24spring.application.name=aai-traversal
25spring.jersey.type=filter
26
27spring.main.allow-bean-definition-overriding=true
28server.servlet.context-path=/
29
wr148d77086d72021-08-27 16:15:36 -040030spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,org.keycloak.adapters.springboot.KeycloakAutoConfiguration,org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration,org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
osk1146127fd7d82021-06-18 00:51:17 +020031spring.profiles.active={{ .Values.global.config.profiles.active }}{{ (eq "true" (include "common.needTLS" .)) | ternary ",one-way-ssl" "" }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010032spring.jersey.application-path=${schema.uri.base.path}
33#The max number of active threads in this pool
34server.tomcat.max-threads=200
35#The minimum number of threads always kept alive
36server.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
38server.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
42server.local.startpath=aai-traversal/src/main/resources/
43server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
44
45server.port=8446
osk1146127fd7d82021-06-18 00:51:17 +020046{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010047server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
Sylvain Desbureauxa41dfc02021-02-15 10:14:22 +010048server.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
49server.ssl.key-store-password=${KEYSTORE_PASSWORD}
50server.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
51server.ssl.trust-store-password=${TRUSTSTORE_PASSWORD}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010052server.ssl.client-auth=want
53server.ssl.key-store-type=JKS
osk1146127fd7d82021-06-18 00:51:17 +020054{{ else }}
55security.require-ssl=false
56server.ssl.enabled=false
57{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010058
59# JMS bind address host port
60jms.bind.address=tcp://localhost:61647
osk1146127fd7d82021-06-18 00:51:17 +020061dmaap.ribbon.listOfServers=message-router.{{ include "common.namespace" . }}:{{ (eq "true" (include "common.needTLS" .)) | ternary 3905 3904 }}
62dmaap.ribbon.transportType={{ include "common.scheme" . }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010063
64# Schema related attributes for the oxm and edges
65# Any additional schema related attributes should start with prefix schema
66schema.configuration.location=N/A
67schema.source.name={{ .Values.global.config.schema.source.name }}
68schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
69schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
70# Location of where the stored queries are
71schema.queries.location=${server.local.startpath}/schema/${schema.source.name}/query/
72
73schema.ingest.file=${server.local.startpath}/application.properties
74
75# Schema Version Related Attributes
76
77schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}
78# Lists all of the versions in the schema
79schema.version.list={{ .Values.global.config.schema.version.list }}
80# Specifies from which version should the depth parameter to default to zero
81schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
82# Specifies from which version should the related link be displayed in response payload
83schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}
84
85# Specifies from which version should the client see only the uri excluding host info
86# Before this version server base will also be included
87schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
88# Specifies from which version should the namespace be changed
89schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
90# Specifies from which version should the client start seeing the edge label in payload
91schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
92# Specifies the version that the application should default to
93schema.version.api.default={{ .Values.global.config.schema.version.api.default }}
94
95schema.translator.list={{ .Values.global.config.schema.translator.list }}
osk1146127fd7d82021-06-18 00:51:17 +020096schema.service.base.url={{ include "common.scheme" . }}://aai-schema-service.{{ include "common.namespace" . }}:8452/aai/schema-service/v1/
Sylvain Desbureaux70070412020-11-09 21:58:48 +010097schema.service.nodes.endpoint=nodes?version=
98schema.service.edges.endpoint=edgerules?version=
99schema.service.versions.endpoint=versions
100schema.service.custom.queries.endpoint=stored-queries
osk1146127fd7d82021-06-18 00:51:17 +0200101schema.service.client={{ (eq "true" (include "common.needTLS" .)) | ternary .Values.global.config.schema.service.client "no-auth" }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100102
osk1146127fd7d82021-06-18 00:51:17 +0200103{{ if ( include "common.needTLS" .) }}
Sylvain Desbureauxa41dfc02021-02-15 10:14:22 +0100104schema.service.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
105schema.service.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
106schema.service.ssl.key-store-password=${KEYSTORE_PASSWORD}
107schema.service.ssl.trust-store-password=${TRUSTSTORE_PASSWORD}
osk1146127fd7d82021-06-18 00:51:17 +0200108{{ end }}