blob: 6e64fd8400e8a0aab732dbd2bb08598f9826dd83 [file] [log] [blame]
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01001{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01002#
3# ============LICENSE_START=======================================================
4# org.onap.aai
5# ================================================================================
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01006# Copyright � 2018 AT&T Intellectual Property. All rights reserved.
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +01007# Modifications Copyright © 2021 Orange
Sylvain Desbureaux70070412020-11-09 21:58:48 +01008# ================================================================================
9# Licensed under the Apache License, Version 2.0 (the "License");
10# you may not use this file except in compliance with the License.
11# You may obtain a copy of the License at
12#
13# http://www.apache.org/licenses/LICENSE-2.0
14#
15# Unless required by applicable law or agreed to in writing, software
16# distributed under the License is distributed on an "AS IS" BASIS,
17# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18# See the License for the specific language governing permissions and
19# limitations under the License.
20# ============LICENSE_END=========================================================
21
22# The following info parameters are being referenced by ajsc6
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010023*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010024info.build.artifact=aai-graphadmin
25info.build.name=resources
26info.build.description=Resources Microservice
27info.build.version=1.2.0
28
29spring.application.name=aai-graphadmin
30spring.jersey.type=filter
31
32spring.main.allow-bean-definition-overriding=true
33server.servlet.context-path=/
34
35spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
36
osk1146127fd7d82021-06-18 00:51:17 +020037spring.profiles.active={{ .Values.config.profiles.active }}{{ (eq "true" (include "common.needTLS" .)) | ternary ",one-way-ssl" "" }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010038spring.jersey.application-path=${schema.uri.base.path}
39#The max number of active threads in this pool
40server.tomcat.max-threads=200
41#The minimum number of threads always kept alive
42server.tomcat.min-Spare-Threads=25
43#The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
44server.tomcat.max-idle-time=60000
45
46# If you get an application startup failure that the port is already taken
47# If thats not it, please check if the key-store file path makes sense
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +010048server.local.startpath=/opt/app/aai-graphadmin/resources/
Sylvain Desbureaux70070412020-11-09 21:58:48 +010049server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
50
51server.port=8449
osk1146127fd7d82021-06-18 00:51:17 +020052{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010053server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +010054server.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.jks
55server.ssl.key-store-password=password(${KEYSTORE_JKS_PASSWORD})
56server.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
57server.ssl.trust-store-password=password(${TRUSTSTORE_PASSWORD})
Sylvain Desbureaux70070412020-11-09 21:58:48 +010058server.ssl.client-auth=want
59server.ssl.key-store-type=JKS
osk1146127fd7d82021-06-18 00:51:17 +020060{{ else }}
61security.require-ssl=false
62server.ssl.enabled=false
63{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010064
65# JMS bind address host port
66jms.bind.address=tcp://localhost:61649
osk1146127fd7d82021-06-18 00:51:17 +020067dmaap.ribbon.listOfServers=message-router.{{.Release.Namespace}}:{{ (eq "true" (include "common.needTLS" .)) | ternary 3905 3904 }}
68dmaap.ribbon.transportType={{ include "common.scheme" . }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010069
70# Schema related attributes for the oxm and edges
71# Any additional schema related attributes should start with prefix schema
72schema.configuration.location=N/A
73schema.source.name={{ .Values.global.config.schema.source.name }}
74schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
75schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
76
77schema.ingest.file=${server.local.startpath}/application.properties
78
79# Schema Version Related Attributes
80
81schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}
82# Lists all of the versions in the schema
83schema.version.list={{ .Values.global.config.schema.version.list }}
84# Specifies from which version should the depth parameter to default to zero
85schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
86# Specifies from which version should the related link be displayed in response payload
87schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}
88
89# Specifies from which version should the client see only the uri excluding host info
90# Before this version server base will also be included
91schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
92# Specifies from which version should the namespace be changed
93schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
94# Specifies from which version should the client start seeing the edge label in payload
95schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
96# Specifies the version that the application should default to
97schema.version.api.default={{ .Values.global.config.schema.version.api.default }}
98
99schema.translator.list={{ .Values.global.config.schema.translator.list }}
osk1146127fd7d82021-06-18 00:51:17 +0200100schema.service.base.url={{ include "common.scheme" . }}://aai-schema-service.{{ include "common.namespace" . }}:8452/aai/schema-service/v1/
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100101schema.service.nodes.endpoint=nodes?version=
102schema.service.edges.endpoint=edgerules?version=
103schema.service.versions.endpoint=versions
osk1146127fd7d82021-06-18 00:51:17 +0200104schema.service.client={{ (eq "true" (include "common.needTLS" .)) | ternary .Values.global.config.schema.service.client "no-auth" }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100105
osk1146127fd7d82021-06-18 00:51:17 +0200106{{ if ( include "common.needTLS" .) }}
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100107schema.service.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.jks
108schema.service.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
109schema.service.ssl.key-store-password=password(${KEYSTORE_JKS_PASSWORD})
110schema.service.ssl.trust-store-password=password(${TRUSTSTORE_PASSWORD})
osk1146127fd7d82021-06-18 00:51:17 +0200111{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100112
113aperture.rdbmsname=aai_relational
114
osk1146127fd7d82021-06-18 00:51:17 +0200115aperture.service.client={{ (eq "true" (include "common.needTLS" .)) | ternary .Values.global.config.schema.service.client "no-auth" }}
116
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100117aperture.service.base.url=http://localhost:8457/aai/aperture
osk1146127fd7d82021-06-18 00:51:17 +0200118{{ if ( include "common.needTLS" .) }}
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100119aperture.service.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.jks
120aperture.service.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
121aperture.service.ssl.key-store-password=password(${KEYSTORE_JKS_PASSWORD})
122aperture.service.ssl.trust-store-password=password(${TRUSTSTORE_PASSWORD})
osk1146127fd7d82021-06-18 00:51:17 +0200123{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100124aperture.service.timeout-in-milliseconds=300000
leila46fb5802022-11-15 11:33:21 -0500125
126#To Expose the Prometheus scraping endpoint
127management.port=8448
128endpoints.enabled=false
129management.security.enabled=false