blob: 2e6fd25c2b2e291e459285b7c33530abd9300462 [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# ================================================================================
6# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
Sylvain Desbureauxb4e038d2020-12-15 12:00:26 +01007# Modifications Copyright © 2020 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# ECOMP is a trademark and service mark of AT&T Intellectual Property.
23#
24
25####################################################################
26# REMEMBER TO THINK ABOUT ENVIRONMENTAL DIFFERENCES AND CHANGE THE
27# TEMPLATE AND *ALL* DATAFILES
28####################################################################
29
30####################################################################
31# REMEMBER TO THINK ABOUT ENVIRONMENTAL DIFFERENCES AND CHANGE THE
32# TEMPLATE AND *ALL* DATAFILES
33####################################################################
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010034*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010035
36aai.config.checktime=1000
37
38# this could come from siteconfig.pl?
39aai.config.nodename=AutomaticallyOverwritten
40
osk1146127fd7d82021-06-18 00:51:17 +020041{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010042aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/
43aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/
44aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/
osk1146127fd7d82021-06-18 00:51:17 +020045{{ else }}
46aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/
47aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/
48aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/
49{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010050
51{{ if .Values.global.config.basic.auth.enabled }}
52aai.tools.enableBasicAuth=true
53aai.tools.username={{ .Values.global.config.basic.auth.username }}
54aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
55{{ end }}
56
osk1146127fd7d82021-06-18 00:51:17 +020057{{ if ( include "common.needTLS" .) }}
Sylvain Desbureauxb4e038d2020-12-15 12:00:26 +010058aai.truststore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
59aai.truststore.passwd.x=${TRUSTSTORE_PASSWORD}
60aai.keystore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
61aai.keystore.passwd.x=${KEYSTORE_PASSWORD}
osk1146127fd7d82021-06-18 00:51:17 +020062{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010063
64aai.notification.current.version={{ .Values.global.config.schema.version.api.default }}
65aai.notificationEvent.default.status=UNPROCESSED
66aai.notificationEvent.default.eventType={{ .Values.global.config.notification.eventType }}
67aai.notificationEvent.default.domain={{ .Values.global.config.notification.domain }}
68aai.notificationEvent.default.sourceName=aai
69aai.notificationEvent.default.sequenceNumber=0
70aai.notificationEvent.default.severity=NORMAL
71aai.notificationEvent.default.version={{ .Values.global.config.schema.version.api.default }}
72# This one lets us enable/disable resource-version checking on updates/deletes
73aai.resourceversion.enableflag=true
74aai.logging.maxStackTraceEntries=10
75aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
76
77aai.logging.trace.enabled=true
78aai.logging.trace.logrequest=false
79aai.logging.trace.logresponse=false
80
81aai.transaction.logging=true
82aai.transaction.logging.get=false
83aai.transaction.logging.post=true
84
85aai.realtime.clients={{ .Values.global.config.realtime.clients }}
86
87# Timeout for crud enabled flag
88aai.crud.timeoutenabled={{ .Values.config.crud.timeout.enabled }}
89
90# Timeout app specific -1 to bypass for that app id, a whole number to override the timeout with that value (in ms)
91aai.crud.timeout.appspecific={{ .Values.config.crud.timeout.appspecific }}
92
93#default timeout limit added for crud if not overridden (in ms)
94aai.crud.timeoutlimit={{ .Values.config.crud.timeout.limit }}
95#limit set for bulk consumer APIS
96aai.bulkconsumer.payloadlimit={{ .Values.config.bulk.limit }}
97
98#uncomment and use header X-OverrideLimit with the value to override the bulk api limit
99aai.bulkconsumer.payloadoverride={{ .Values.config.bulk.override }}