blob: 367e9038cd47263cfb6e473a32bacdba31d6222f [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 Desbureaux70070412020-11-09 21:58:48 +01007# ================================================================================
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19# ============LICENSE_END=========================================================
20
21# The following info parameters are being referenced by ajsc6
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010022*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010023info.build.artifact=aai-graphadmin
24info.build.name=resources
25info.build.description=Resources Microservice
26info.build.version=1.2.0
27
28spring.application.name=aai-graphadmin
29spring.jersey.type=filter
30
31spring.main.allow-bean-definition-overriding=true
32server.servlet.context-path=/
33
34spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
35
osk1146127fd7d82021-06-18 00:51:17 +020036spring.profiles.active={{ .Values.config.profiles.active }}{{ (eq "true" (include "common.needTLS" .)) | ternary ",one-way-ssl" "" }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010037spring.jersey.application-path=${schema.uri.base.path}
38#The max number of active threads in this pool
39server.tomcat.max-threads=200
40#The minimum number of threads always kept alive
41server.tomcat.min-Spare-Threads=25
42#The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
43server.tomcat.max-idle-time=60000
44
45# If you get an application startup failure that the port is already taken
46# If thats not it, please check if the key-store file path makes sense
47server.local.startpath=aai-graphadmin/src/main/resources/
48server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
49
50server.port=8449
osk1146127fd7d82021-06-18 00:51:17 +020051{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010052server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
53server.ssl.key-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.keystore.filename }}
54server.ssl.key-store-password=password({{ .Values.global.config.keystore.passwd }})
55server.ssl.trust-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.truststore.filename }}
56server.ssl.trust-store-password=password({{ .Values.global.config.truststore.passwd }})
57server.ssl.client-auth=want
58server.ssl.key-store-type=JKS
osk1146127fd7d82021-06-18 00:51:17 +020059{{ else }}
60security.require-ssl=false
61server.ssl.enabled=false
62{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010063
64# JMS bind address host port
65jms.bind.address=tcp://localhost:61649
osk1146127fd7d82021-06-18 00:51:17 +020066dmaap.ribbon.listOfServers=message-router.{{.Release.Namespace}}:{{ (eq "true" (include "common.needTLS" .)) | ternary 3905 3904 }}
67dmaap.ribbon.transportType={{ include "common.scheme" . }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010068
69# Schema related attributes for the oxm and edges
70# Any additional schema related attributes should start with prefix schema
71schema.configuration.location=N/A
72schema.source.name={{ .Values.global.config.schema.source.name }}
73schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
74schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
75
76schema.ingest.file=${server.local.startpath}/application.properties
77
78# Schema Version Related Attributes
79
80schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}
81# Lists all of the versions in the schema
82schema.version.list={{ .Values.global.config.schema.version.list }}
83# Specifies from which version should the depth parameter to default to zero
84schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
85# Specifies from which version should the related link be displayed in response payload
86schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}
87
88# Specifies from which version should the client see only the uri excluding host info
89# Before this version server base will also be included
90schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
91# Specifies from which version should the namespace be changed
92schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
93# Specifies from which version should the client start seeing the edge label in payload
94schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
95# Specifies the version that the application should default to
96schema.version.api.default={{ .Values.global.config.schema.version.api.default }}
97
98schema.translator.list={{ .Values.global.config.schema.translator.list }}
osk1146127fd7d82021-06-18 00:51:17 +020099schema.service.base.url={{ include "common.scheme" . }}://aai-schema-service.{{ include "common.namespace" . }}:8452/aai/schema-service/v1/
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100100schema.service.nodes.endpoint=nodes?version=
101schema.service.edges.endpoint=edgerules?version=
102schema.service.versions.endpoint=versions
osk1146127fd7d82021-06-18 00:51:17 +0200103schema.service.client={{ (eq "true" (include "common.needTLS" .)) | ternary .Values.global.config.schema.service.client "no-auth" }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100104
osk1146127fd7d82021-06-18 00:51:17 +0200105{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100106schema.service.ssl.key-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.keystore.filename }}
107schema.service.ssl.trust-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.truststore.filename }}
108schema.service.ssl.key-store-password=password({{ .Values.global.config.keystore.passwd }})
109schema.service.ssl.trust-store-password=password({{ .Values.global.config.truststore.passwd }})
osk1146127fd7d82021-06-18 00:51:17 +0200110{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100111
112aperture.rdbmsname=aai_relational
113
osk1146127fd7d82021-06-18 00:51:17 +0200114aperture.service.client={{ (eq "true" (include "common.needTLS" .)) | ternary .Values.global.config.schema.service.client "no-auth" }}
115
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100116aperture.service.base.url=http://localhost:8457/aai/aperture
osk1146127fd7d82021-06-18 00:51:17 +0200117{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100118aperture.service.ssl.key-store=${server.local.startpath}etc/auth/{{ .Values.global.config.keystore.filename }}
119aperture.service.ssl.trust-store=${server.local.startpath}etc/auth/{{ .Values.global.config.truststore.filename }}
120aperture.service.ssl.key-store-password=password({{ .Values.global.config.keystore.passwd }})
121aperture.service.ssl.trust-store-password=password({{ .Values.global.config.truststore.passwd }})
osk1146127fd7d82021-06-18 00:51:17 +0200122{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100123aperture.service.timeout-in-milliseconds=300000