Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / aai / components / aai-graphadmin / resources / config / aaiconfig.properties
1 {{/*
2 #
3 # ============LICENSE_START=======================================================
4 # org.onap.aai
5 # ================================================================================
6 # Copyright © 2018 AT&T Intellectual Property. All rights reserved.
7 # Modifications Copyright © 2021 Orange
8 # Modifications Copyright © 2023 Nordix Foundation
9 # ================================================================================
10 # Licensed under the Apache License, Version 2.0 (the "License");
11 # you may not use this file except in compliance with the License.
12 # You may obtain a copy of the License at
13 #
14 #    http://www.apache.org/licenses/LICENSE-2.0
15 #
16 # Unless required by applicable law or agreed to in writing, software
17 # distributed under the License is distributed on an "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 # See the License for the specific language governing permissions and
20 # limitations under the License.
21 # ============LICENSE_END=========================================================
22 */}}
23
24 aai.config.checktime=1000
25
26 # this could come from siteconfig.pl?
27 aai.config.nodename=AutomaticallyOverwritten
28 aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/
29 aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/
30 aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/
31
32 {{ if or (.Values.global.config.basic.auth.enabled) ( include "common.onServiceMesh" .) }}
33 aai.tools.enableBasicAuth=true
34 aai.tools.username={{ .Values.global.config.basic.auth.username }}
35 aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
36 {{ end }}
37
38 aai.notification.current.version={{ .Values.global.config.schema.version.api.default }}
39 aai.notificationEvent.default.status=UNPROCESSED
40 aai.notificationEvent.default.eventType={{ .Values.global.config.notification.eventType }}
41 aai.notificationEvent.default.domain={{ .Values.global.config.notification.domain }}
42 aai.notificationEvent.default.sourceName=aai
43 aai.notificationEvent.default.sequenceNumber=0
44 aai.notificationEvent.default.severity=NORMAL
45 aai.notificationEvent.default.version={{ .Values.global.config.schema.version.api.default }}
46 # This one lets us enable/disable resource-version checking on updates/deletes
47 aai.resourceversion.enableflag=true
48 aai.logging.maxStackTraceEntries=10
49 aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
50
51 # Used by Data Grooming
52 aai.grooming.default.max.fix={{ .Values.config.maxFix.dataGrooming | int }}
53 aai.grooming.default.sleep.minutes={{ .Values.config.sleepMinutes.dataGrooming | int }}
54
55 # Used by DupeTool
56 aai.dupeTool.default.max.fix={{ .Values.config.maxFix.dupeTool | int }}
57 aai.dupeTool.default.sleep.minutes={{ .Values.config.sleepMinutes.dupeTool | int }}
58
59
60 aai.model.proc.max.levels=50
61 aai.edgeTag.proc.max.levels=50
62
63 # Used by the ForceDelete tool
64 aai.forceDel.protected.nt.list=cloud-region
65 aai.forceDel.protected.edge.count=10
66 aai.forceDel.protected.descendant.count=10
67
68 #used by the dataGrooming and dataSnapshot cleanup tasks
69 aai.cron.enable.datagroomingcleanup={{ .Values.config.cron.dataCleanup.dataGrooming.enabled }}
70 aai.cron.enable.datasnapshotcleanup={{ .Values.config.cron.dataCleanup.dataSnapshot.enabled }}
71 aai.datagrooming.agezip={{ .Values.config.cron.dataCleanup.dataGrooming.ageZip | int }}
72 aai.datagrooming.agedelete={{ .Values.config.cron.dataCleanup.dataGrooming.ageDelete | int  }}
73
74 aai.datasnapshot.agezip={{ .Values.config.cron.dataCleanup.dataSnapshot.ageZip | int }}
75 aai.datasnapshot.agedelete={{ .Values.config.cron.dataCleanup.dataSnapshot.ageDelete | int }}
76
77 #used by the dataSnapshot and dataGrooming tasks
78 aai.cron.enable.dataSnapshot={{ .Values.config.cron.dataSnapshot.enabled }}
79
80 aai.cron.enable.dataGrooming={{ .Values.config.cron.dataGrooming.enabled }}
81
82 #used by the dataGrooming tasks
83 aai.datagrooming.enableautofix=true
84 aai.datagrooming.enabledupefixon=true
85 aai.datagrooming.enabledontfixorphans=true
86 aai.datagrooming.enabletimewindowminutes=true
87 aai.datagrooming.enableskiphostcheck=false
88 aai.datagrooming.enablesleepminutes=false
89 aai.datagrooming.enableedgesonly=false
90 aai.datagrooming.enableskipedgechecks=false
91 aai.datagrooming.enablemaxfix=false
92 aai.datagrooming.enablesinglecommits=false
93 aai.datagrooming.enabledupecheckoff=false
94 aai.datagrooming.enableghost2checkoff=false
95 aai.datagrooming.enableghost2fixon=false
96 aai.datagrooming.enablef=false
97
98 # used by the dataGrooming to set values
99 aai.datagrooming.timewindowminutesvalue=10500
100 aai.datagrooming.sleepminutesvalue=100
101 aai.datagrooming.maxfixvalue=10
102 aai.datagrooming.fvalue=10
103
104 #timeout for traversal enabled flag
105 aai.graphadmin.timeoutenabled={{ .Values.config.timeout.enabled }}
106 #default timeout limit added for graphadmin if not overridden (in ms)
107 aai.graphadmin.timeoutlimit={{ .Values.config.timeout.limit }}
108
109 #timeout app specific -1 to bypass for that app id, a whole number to override the timeout with that value (in ms)
110 aai.graphadmin.timeout.appspecific={{ .Values.global.config.realtime.clients }}
111
112 # Disable the process check which are oriented towards linux OS
113 # These props should only be true for local on windows
114 aai.disable.check.snapshot.running=false
115 aai.disable.check.grooming.running=false
116
117 # Specify the params listed right here that you would have send to the dataSnapshot shell script
118 # JUST_TAKE_SNAPSHOT
119 # THREADED_SNAPSHOT 2 DEBUG
120 # THREADED_SNAPSHOT 2
121 aai.datasnapshot.params={{ .Values.config.cron.dataSnapshot.params }}
122
123 # Concurrency lock control flag
124 aai.lock.uri.enabled={{ .Values.config.aai.lock.uri.enabled }}