blob: 512e906b00e9291e2c6330cd6339a6266d47ea08 [file] [log] [blame]
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01001{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01002#
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=========================================================
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010020*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010021
22aai.config.checktime=1000
23
24# this could come from siteconfig.pl?
25aai.config.nodename=AutomaticallyOverwritten
26
osk1146127fd7d82021-06-18 00:51:17 +020027{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010028aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/
29aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/
30aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/
osk1146127fd7d82021-06-18 00:51:17 +020031{{ else }}
32aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/
33aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/
34aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/
35{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010036
osk1146127fd7d82021-06-18 00:51:17 +020037{{ if or (.Values.global.config.basic.auth.enabled) ( include "common.onServiceMesh" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010038aai.tools.enableBasicAuth=true
39aai.tools.username={{ .Values.global.config.basic.auth.username }}
40aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
41{{ end }}
42
osk1146127fd7d82021-06-18 00:51:17 +020043{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010044aai.truststore.filename={{ .Values.global.config.truststore.filename }}
45aai.truststore.passwd.x={{ .Values.global.config.truststore.passwd }}
46aai.keystore.filename={{ .Values.global.config.keystore.filename }}
47aai.keystore.passwd.x={{ .Values.global.config.keystore.passwd }}
osk1146127fd7d82021-06-18 00:51:17 +020048{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010049
50aai.notification.current.version={{ .Values.global.config.schema.version.api.default }}
51aai.notificationEvent.default.status=UNPROCESSED
52aai.notificationEvent.default.eventType={{ .Values.global.config.notification.eventType }}
53aai.notificationEvent.default.domain={{ .Values.global.config.notification.domain }}
54aai.notificationEvent.default.sourceName=aai
55aai.notificationEvent.default.sequenceNumber=0
56aai.notificationEvent.default.severity=NORMAL
57aai.notificationEvent.default.version={{ .Values.global.config.schema.version.api.default }}
58# This one lets us enable/disable resource-version checking on updates/deletes
59aai.resourceversion.enableflag=true
60aai.logging.maxStackTraceEntries=10
61aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
62
63# Used by Data Grooming
64aai.grooming.default.max.fix={{ .Values.config.maxFix.dataGrooming | int }}
65aai.grooming.default.sleep.minutes={{ .Values.config.sleepMinutes.dataGrooming | int }}
66
67# Used by DupeTool
68aai.dupeTool.default.max.fix={{ .Values.config.maxFix.dupeTool | int }}
69aai.dupeTool.default.sleep.minutes={{ .Values.config.sleepMinutes.dupeTool | int }}
70
71
72aai.model.proc.max.levels=50
73aai.edgeTag.proc.max.levels=50
74
75# Used by the ForceDelete tool
76aai.forceDel.protected.nt.list=cloud-region
77aai.forceDel.protected.edge.count=10
78aai.forceDel.protected.descendant.count=10
79
80#used by the dataGrooming and dataSnapshot cleanup tasks
81aai.cron.enable.datagroomingcleanup={{ .Values.config.cron.dataCleanup.dataGrooming.enabled }}
82aai.cron.enable.datasnapshotcleanup={{ .Values.config.cron.dataCleanup.dataSnapshot.enabled }}
83aai.datagrooming.agezip={{ .Values.config.cron.dataCleanup.dataGrooming.ageZip | int }}
84aai.datagrooming.agedelete={{ .Values.config.cron.dataCleanup.dataGrooming.ageDelete | int }}
85
86aai.datasnapshot.agezip={{ .Values.config.cron.dataCleanup.dataSnapshot.ageZip | int }}
87aai.datasnapshot.agedelete={{ .Values.config.cron.dataCleanup.dataSnapshot.ageDelete | int }}
88
89#used by the dataSnapshot and dataGrooming tasks
90aai.cron.enable.dataSnapshot={{ .Values.config.cron.dataSnapshot.enabled }}
91
92aai.cron.enable.dataGrooming={{ .Values.config.cron.dataGrooming.enabled }}
93
94#used by the dataGrooming tasks
95aai.datagrooming.enableautofix=true
96aai.datagrooming.enabledupefixon=true
97aai.datagrooming.enabledontfixorphans=true
98aai.datagrooming.enabletimewindowminutes=true
99aai.datagrooming.enableskiphostcheck=false
100aai.datagrooming.enablesleepminutes=false
101aai.datagrooming.enableedgesonly=false
102aai.datagrooming.enableskipedgechecks=false
103aai.datagrooming.enablemaxfix=false
104aai.datagrooming.enablesinglecommits=false
105aai.datagrooming.enabledupecheckoff=false
106aai.datagrooming.enableghost2checkoff=false
107aai.datagrooming.enableghost2fixon=false
108aai.datagrooming.enablef=false
109
110# used by the dataGrooming to set values
111aai.datagrooming.timewindowminutesvalue=10500
112aai.datagrooming.sleepminutesvalue=100
113aai.datagrooming.maxfixvalue=10
114aai.datagrooming.fvalue=10
115
116#timeout for traversal enabled flag
117aai.graphadmin.timeoutenabled={{ .Values.config.timeout.enabled }}
118#default timeout limit added for graphadmin if not overridden (in ms)
119aai.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)
122aai.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
126aai.disable.check.snapshot.running=false
127aai.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
133aai.datasnapshot.params={{ .Values.config.cron.dataSnapshot.params }}
134
135# Concurrency lock control flag
136aai.lock.uri.enabled={{ .Values.config.aai.lock.uri.enabled }}