blob: b8a2b5fe032019215d193ecfbe0b8d41768f1361 [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 Desbureauxa41dfc02021-02-15 10:14:22 +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#
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010024*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010025
26aai.config.checktime=1000
27
28# this could come from siteconfig.pl?
29aai.config.nodename=AutomaticallyOverwritten
30
osk1146127fd7d82021-06-18 00:51:17 +020031{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010032aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/
33aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/
34aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/
osk1146127fd7d82021-06-18 00:51:17 +020035{{else}}
36aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/
37aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/
38aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/
39{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010040
osk1146127fd7d82021-06-18 00:51:17 +020041{{ if or (.Values.global.config.basic.auth.enabled) ( include "common.onServiceMesh" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010042aai.tools.enableBasicAuth=true
43aai.tools.username={{ .Values.global.config.basic.auth.username }}
44aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
45{{ end }}
46
osk1146127fd7d82021-06-18 00:51:17 +020047{{ if ( include "common.needTLS" .) }}
Sylvain Desbureauxa41dfc02021-02-15 10:14:22 +010048aai.truststore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
49aai.truststore.passwd.x=${TRUSTSTORE_PASSWORD}
50aai.keystore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
51aai.keystore.passwd.x=${KEYSTORE_PASSWORD}
osk1146127fd7d82021-06-18 00:51:17 +020052{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010053
54aai.notification.current.version={{ .Values.global.config.schema.version.api.default }}
55aai.notificationEvent.default.status=UNPROCESSED
56aai.notificationEvent.default.eventType={{ .Values.global.config.notification.eventType }}
57aai.notificationEvent.default.domain={{ .Values.global.config.notification.domain }}
58aai.notificationEvent.default.sourceName=aai
59aai.notificationEvent.default.sequenceNumber=0
60aai.notificationEvent.default.severity=NORMAL
61aai.notificationEvent.default.version={{ .Values.global.config.schema.version.api.default }}
62# This one lets us enable/disable resource-version checking on updates/deletes
63aai.resourceversion.enableflag=true
64aai.logging.maxStackTraceEntries=10
65aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
66
67# Used by Model-processing code
68aai.model.delete.sleep.per.vtx.msec=500
69aai.model.query.resultset.maxcount=50
70aai.model.query.timeout.sec=90
71
72aai.model.proc.max.levels=50
73aai.edgeTag.proc.max.levels=50
74
75aai.logging.trace.enabled=true
76aai.logging.trace.logrequest=false
77aai.logging.trace.logresponse=false
78
79aai.transaction.logging=true
80aai.transaction.logging.get=false
81aai.transaction.logging.post=false
82
83aai.realtime.clients={{ .Values.global.config.realtime.clients }}
84
85#timeout for traversal enabled flag
86aai.traversal.timeoutenabled={{ .Values.config.timeout.enabled }}
87
88#timeout app specific
89aai.traversal.timeout.appspecific={{ .Values.config.timeout.appspecific }}
90
91#default timeout limit added for traversal if not overridden (in ms)
92aai.traversal.timeoutlimit={{ .Values.config.timeout.limit | int }}
93
94#timeout for traversal dsl enabled flag
95aai.traversal.dsl.timeoutenabled={{ .Values.config.dsl.timeout.enabled }}
96
97#timeout app specific -1 to bypass for that app id, a whole number to override the timeout with that value (in ms)
98aai.traversal.dsl.timeout.appspecific={{ .Values.config.dsl.timeout.appspecific | join "|" }}
99
100#default timeout limit added for traversal dsl if not overridden (in ms)
101aai.traversal.dsl.timeoutlimit={{ .Values.config.dsl.timeout.limit | int }}
102
103# Threshold for margin of error (in ms) for resources_with_sot format to derive the most recent http method performed
104aai.resource.formatter.threshold=10
105aai.dsl.override={{ .Values.config.dslOverride }}