Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[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 # ================================================================================
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
23 aai.config.checktime=1000
24
25 # this could come from siteconfig.pl?
26 aai.config.nodename=AutomaticallyOverwritten
27
28 {{ if ( include "common.needTLS" .) }}
29 aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/
30 aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/
31 aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/
32 {{ else }}
33 aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/
34 aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/
35 aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/
36 {{ end }}
37
38 {{ if or (.Values.global.config.basic.auth.enabled) ( include "common.onServiceMesh" .) }}
39 aai.tools.enableBasicAuth=true
40 aai.tools.username={{ .Values.global.config.basic.auth.username }}
41 aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
42 {{ end }}
43
44 {{ if ( include "common.needTLS" .) }}
45 aai.truststore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
46 aai.truststore.passwd.x=${TRUSTSTORE_PASSWORD}
47 aai.keystore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
48 aai.keystore.passwd.x=${KEYSTORE_PASSWORD}
49 {{ end }}
50
51 aai.notification.current.version={{ .Values.global.config.schema.version.api.default }}
52 aai.notificationEvent.default.status=UNPROCESSED
53 aai.notificationEvent.default.eventType={{ .Values.global.config.notification.eventType }}
54 aai.notificationEvent.default.domain={{ .Values.global.config.notification.domain }}
55 aai.notificationEvent.default.sourceName=aai
56 aai.notificationEvent.default.sequenceNumber=0
57 aai.notificationEvent.default.severity=NORMAL
58 aai.notificationEvent.default.version={{ .Values.global.config.schema.version.api.default }}
59 # This one lets us enable/disable resource-version checking on updates/deletes
60 aai.resourceversion.enableflag=true
61 aai.logging.maxStackTraceEntries=10
62 aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
63
64 # Used by Data Grooming
65 aai.grooming.default.max.fix={{ .Values.config.maxFix.dataGrooming | int }}
66 aai.grooming.default.sleep.minutes={{ .Values.config.sleepMinutes.dataGrooming | int }}
67
68 # Used by DupeTool
69 aai.dupeTool.default.max.fix={{ .Values.config.maxFix.dupeTool | int }}
70 aai.dupeTool.default.sleep.minutes={{ .Values.config.sleepMinutes.dupeTool | int }}
71
72
73 aai.model.proc.max.levels=50
74 aai.edgeTag.proc.max.levels=50
75
76 # Used by the ForceDelete tool
77 aai.forceDel.protected.nt.list=cloud-region
78 aai.forceDel.protected.edge.count=10
79 aai.forceDel.protected.descendant.count=10
80
81 #used by the dataGrooming and dataSnapshot cleanup tasks
82 aai.cron.enable.datagroomingcleanup={{ .Values.config.cron.dataCleanup.dataGrooming.enabled }}
83 aai.cron.enable.datasnapshotcleanup={{ .Values.config.cron.dataCleanup.dataSnapshot.enabled }}
84 aai.datagrooming.agezip={{ .Values.config.cron.dataCleanup.dataGrooming.ageZip | int }}
85 aai.datagrooming.agedelete={{ .Values.config.cron.dataCleanup.dataGrooming.ageDelete | int  }}
86
87 aai.datasnapshot.agezip={{ .Values.config.cron.dataCleanup.dataSnapshot.ageZip | int }}
88 aai.datasnapshot.agedelete={{ .Values.config.cron.dataCleanup.dataSnapshot.ageDelete | int }}
89
90 #used by the dataSnapshot and dataGrooming tasks
91 aai.cron.enable.dataSnapshot={{ .Values.config.cron.dataSnapshot.enabled }}
92
93 aai.cron.enable.dataGrooming={{ .Values.config.cron.dataGrooming.enabled }}
94
95 #used by the dataGrooming tasks
96 aai.datagrooming.enableautofix=true
97 aai.datagrooming.enabledupefixon=true
98 aai.datagrooming.enabledontfixorphans=true
99 aai.datagrooming.enabletimewindowminutes=true
100 aai.datagrooming.enableskiphostcheck=false
101 aai.datagrooming.enablesleepminutes=false
102 aai.datagrooming.enableedgesonly=false
103 aai.datagrooming.enableskipedgechecks=false
104 aai.datagrooming.enablemaxfix=false
105 aai.datagrooming.enablesinglecommits=false
106 aai.datagrooming.enabledupecheckoff=false
107 aai.datagrooming.enableghost2checkoff=false
108 aai.datagrooming.enableghost2fixon=false
109 aai.datagrooming.enablef=false
110
111 # used by the dataGrooming to set values
112 aai.datagrooming.timewindowminutesvalue=10500
113 aai.datagrooming.sleepminutesvalue=100
114 aai.datagrooming.maxfixvalue=10
115 aai.datagrooming.fvalue=10
116
117 #timeout for traversal enabled flag
118 aai.graphadmin.timeoutenabled={{ .Values.config.timeout.enabled }}
119 #default timeout limit added for graphadmin if not overridden (in ms)
120 aai.graphadmin.timeoutlimit={{ .Values.config.timeout.limit }}
121
122 #timeout app specific -1 to bypass for that app id, a whole number to override the timeout with that value (in ms)
123 aai.graphadmin.timeout.appspecific={{ .Values.global.config.realtime.clients }}
124
125 # Disable the process check which are oriented towards linux OS
126 # These props should only be true for local on windows
127 aai.disable.check.snapshot.running=false
128 aai.disable.check.grooming.running=false
129
130 # Specify the params listed right here that you would have send to the dataSnapshot shell script
131 # JUST_TAKE_SNAPSHOT
132 # THREADED_SNAPSHOT 2 DEBUG
133 # THREADED_SNAPSHOT 2
134 aai.datasnapshot.params={{ .Values.config.cron.dataSnapshot.params }}
135
136 # Concurrency lock control flag
137 aai.lock.uri.enabled={{ .Values.config.aai.lock.uri.enabled }}