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