blob: b0ed0e89a04d6cd4f6665ac018f3c4c6a11eaa5d [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 © 2019 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
osk1146127fd7d82021-06-18 00:51:17 +020022{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010023aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/
24aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/
25aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/
osk1146127fd7d82021-06-18 00:51:17 +020026{{ else }}
27aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/
28aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/
29aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/
30{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010031
osk1146127fd7d82021-06-18 00:51:17 +020032{{ if or (.Values.global.config.basic.auth.enabled) ( include "common.onServiceMesh" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010033aai.tools.enableBasicAuth=true
34aai.tools.username={{ .Values.global.config.basic.auth.username }}
35aai.tools.password={{ .Values.global.config.basic.auth.passwd }}
36{{ end }}
37
osk1146127fd7d82021-06-18 00:51:17 +020038{{ if ( include "common.needTLS" .) }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010039aai.truststore.filename={{ .Values.global.config.truststore.filename }}
40aai.truststore.passwd.x={{ .Values.global.config.truststore.passwd }}
41aai.keystore.filename={{ .Values.global.config.keystore.filename }}
42aai.keystore.passwd.x={{ .Values.global.config.keystore.passwd }}
osk1146127fd7d82021-06-18 00:51:17 +020043{{ end }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010044
45aai.default.api.version={{ .Values.global.config.schema.version.api.default }}
46
47aai.logging.trace.enabled=true
48aai.logging.trace.logrequest=false
49aai.logging.trace.logresponse=false
50
51aai.transaction.logging=true
52aai.transaction.logging.get=false
53aai.transaction.logging.post=false