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