[AAI][RESOURCES] Remove Hardcoded certificates
[oom.git] / kubernetes / aai / components / aai-resources / resources / config / aaiconfig.properties
1 {{/*
2 #
3 # ============LICENSE_START=======================================================
4 # org.onap.aai
5 # ================================================================================
6 # Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7 # Modifications Copyright © 2020 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 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 #
24
25 ####################################################################
26 #  REMEMBER TO THINK ABOUT ENVIRONMENTAL DIFFERENCES AND CHANGE THE
27 #  TEMPLATE AND *ALL* DATAFILES
28 ####################################################################
29
30 ####################################################################
31 #  REMEMBER TO THINK ABOUT ENVIRONMENTAL DIFFERENCES AND CHANGE THE
32 #  TEMPLATE AND *ALL* DATAFILES
33 ####################################################################
34 */}}
35
36 aai.config.checktime=1000
37
38 # this could come from siteconfig.pl?
39 aai.config.nodename=AutomaticallyOverwritten
40
41 aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/
42 aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/
43 aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/
44
45 {{ if .Values.global.config.basic.auth.enabled }}
46 aai.tools.enableBasicAuth=true
47 aai.tools.username={{ .Values.global.config.basic.auth.username }}
48 aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
49 {{ end }}
50
51 aai.truststore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
52 aai.truststore.passwd.x=${TRUSTSTORE_PASSWORD}
53 aai.keystore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
54 aai.keystore.passwd.x=${KEYSTORE_PASSWORD}
55
56 aai.notification.current.version={{ .Values.global.config.schema.version.api.default }}
57 aai.notificationEvent.default.status=UNPROCESSED
58 aai.notificationEvent.default.eventType={{ .Values.global.config.notification.eventType }}
59 aai.notificationEvent.default.domain={{ .Values.global.config.notification.domain }}
60 aai.notificationEvent.default.sourceName=aai
61 aai.notificationEvent.default.sequenceNumber=0
62 aai.notificationEvent.default.severity=NORMAL
63 aai.notificationEvent.default.version={{ .Values.global.config.schema.version.api.default }}
64 # This one lets us enable/disable resource-version checking on updates/deletes
65 aai.resourceversion.enableflag=true
66 aai.logging.maxStackTraceEntries=10
67 aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
68
69 aai.logging.trace.enabled=true
70 aai.logging.trace.logrequest=false
71 aai.logging.trace.logresponse=false
72
73 aai.transaction.logging=true
74 aai.transaction.logging.get=false
75 aai.transaction.logging.post=true
76
77 aai.realtime.clients={{ .Values.global.config.realtime.clients }}
78
79 # Timeout for crud enabled flag
80 aai.crud.timeoutenabled={{ .Values.config.crud.timeout.enabled }}
81
82 # Timeout app specific -1 to bypass for that app id, a whole number to override the timeout with that value (in ms)
83 aai.crud.timeout.appspecific={{ .Values.config.crud.timeout.appspecific }}
84
85 #default timeout limit added for crud if not overridden (in ms)
86 aai.crud.timeoutlimit={{ .Values.config.crud.timeout.limit }}
87 #limit set for bulk consumer APIS
88 aai.bulkconsumer.payloadlimit={{ .Values.config.bulk.limit }}
89
90 #uncomment and use header X-OverrideLimit with the value to override the bulk api limit
91 aai.bulkconsumer.payloadoverride={{ .Values.config.bulk.override }}