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