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