Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / aai / components / aai-traversal / resources / config / aaiconfig.properties
1 {{/*
2 #
3 # ============LICENSE_START=======================================================
4 # org.onap.aai
5 # ================================================================================
6 # Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7 # Modifications Copyright © 2020 Orange
8 # ================================================================================
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 aai.config.checktime=1000
27
28 # this could come from siteconfig.pl?
29 aai.config.nodename=AutomaticallyOverwritten
30
31 {{ if ( include "common.needTLS" .) }}
32 aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/
33 aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/
34 aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/
35 {{else}}
36 aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/
37 aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/
38 aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/
39 {{ end }}
40
41 {{ if or (.Values.global.config.basic.auth.enabled) ( include "common.onServiceMesh" .) }}
42 aai.tools.enableBasicAuth=true
43 aai.tools.username={{ .Values.global.config.basic.auth.username }}
44 aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
45 {{ end }}
46
47 {{ if ( include "common.needTLS" .) }}
48 aai.truststore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
49 aai.truststore.passwd.x=${TRUSTSTORE_PASSWORD}
50 aai.keystore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
51 aai.keystore.passwd.x=${KEYSTORE_PASSWORD}
52 {{ end }}
53
54 aai.notification.current.version={{ .Values.global.config.schema.version.api.default }}
55 aai.notificationEvent.default.status=UNPROCESSED
56 aai.notificationEvent.default.eventType={{ .Values.global.config.notification.eventType }}
57 aai.notificationEvent.default.domain={{ .Values.global.config.notification.domain }}
58 aai.notificationEvent.default.sourceName=aai
59 aai.notificationEvent.default.sequenceNumber=0
60 aai.notificationEvent.default.severity=NORMAL
61 aai.notificationEvent.default.version={{ .Values.global.config.schema.version.api.default }}
62 # This one lets us enable/disable resource-version checking on updates/deletes
63 aai.resourceversion.enableflag=true
64 aai.logging.maxStackTraceEntries=10
65 aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
66
67 # Used by Model-processing code
68 aai.model.delete.sleep.per.vtx.msec=500
69 aai.model.query.resultset.maxcount=50
70 aai.model.query.timeout.sec=90
71
72 aai.model.proc.max.levels=50
73 aai.edgeTag.proc.max.levels=50
74
75 aai.logging.trace.enabled=true
76 aai.logging.trace.logrequest=false
77 aai.logging.trace.logresponse=false
78
79 aai.transaction.logging=true
80 aai.transaction.logging.get=false
81 aai.transaction.logging.post=false
82
83 aai.realtime.clients={{ .Values.global.config.realtime.clients }}
84
85 #timeout for traversal enabled flag
86 aai.traversal.timeoutenabled={{ .Values.config.timeout.enabled }}
87
88 #timeout app specific
89 aai.traversal.timeout.appspecific={{ .Values.config.timeout.appspecific }}
90
91 #default timeout limit added for traversal if not overridden (in ms)
92 aai.traversal.timeoutlimit={{ .Values.config.timeout.limit | int }}
93
94 #timeout for traversal dsl enabled flag
95 aai.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)
98 aai.traversal.dsl.timeout.appspecific={{ .Values.config.dsl.timeout.appspecific | join "|" }}
99
100 #default timeout limit added for traversal dsl if not overridden (in ms)
101 aai.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
104 aai.resource.formatter.threshold=10
105 aai.dsl.override={{ .Values.config.dslOverride }}