[AAI] OOM AAI resources healthcheck based on Cassandra DB Healthcheck
[oom.git] / kubernetes / aai / components / aai-resources / 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 #  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 ####################################################################
34 */}}
35
36 aai.config.checktime=1000
37
38 # this could come from siteconfig.pl?
39 aai.config.nodename=AutomaticallyOverwritten
40
41 {{ if ( include "common.needTLS" .) }}
42 aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/
43 aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/
44 aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/
45 {{ else }}
46 aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/
47 aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/
48 aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/
49 {{ end }}
50
51 {{ if .Values.global.config.basic.auth.enabled }}
52 aai.tools.enableBasicAuth=true
53 aai.tools.username={{ .Values.global.config.basic.auth.username }}
54 aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
55 {{ end }}
56
57 {{ if ( include "common.needTLS" .) }}
58 aai.truststore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
59 aai.truststore.passwd.x=${TRUSTSTORE_PASSWORD}
60 aai.keystore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
61 aai.keystore.passwd.x=${KEYSTORE_PASSWORD}
62 {{ end }}
63
64 aai.notification.current.version={{ .Values.global.config.schema.version.api.default }}
65 aai.notificationEvent.default.status=UNPROCESSED
66 aai.notificationEvent.default.eventType={{ .Values.global.config.notification.eventType }}
67 aai.notificationEvent.default.domain={{ .Values.global.config.notification.domain }}
68 aai.notificationEvent.default.sourceName=aai
69 aai.notificationEvent.default.sequenceNumber=0
70 aai.notificationEvent.default.severity=NORMAL
71 aai.notificationEvent.default.version={{ .Values.global.config.schema.version.api.default }}
72 # This one lets us enable/disable resource-version checking on updates/deletes
73 aai.resourceversion.enableflag=true
74 aai.logging.maxStackTraceEntries=10
75 aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
76
77 aai.logging.trace.enabled=true
78 aai.logging.trace.logrequest=false
79 aai.logging.trace.logresponse=false
80
81 aai.transaction.logging=true
82 aai.transaction.logging.get=false
83 aai.transaction.logging.post=true
84
85 aai.realtime.clients={{ .Values.global.config.realtime.clients }}
86
87 # Timeout for crud enabled flag
88 aai.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)
91 aai.crud.timeout.appspecific={{ .Values.config.crud.timeout.appspecific }}
92
93 #default timeout limit added for crud if not overridden (in ms)
94 aai.crud.timeoutlimit={{ .Values.config.crud.timeout.limit }}
95 #limit set for bulk consumer APIS
96 aai.bulkconsumer.payloadlimit={{ .Values.config.bulk.limit }}
97
98 #uncomment and use header X-OverrideLimit with the value to override the bulk api limit
99 aai.bulkconsumer.payloadoverride={{ .Values.config.bulk.override }}
100
101 #
102 # AAI Graph DB checker task
103 #
104
105 # Indicator to enable or disable scheduled task (true/false)
106 aai.graph.checker.task.enabled=true
107
108 # Delay, in seconds, before the scheduled task is started, if enabled
109 aai.graph.checker.task.delay=5
110
111 # Period, in seconds, between two consecutive executions of the scheduled task, if enabled
112 aai.graph.checker.task.period=10