Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 1 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 2 | # |
| 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 Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 20 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 21 | |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 22 | {{ if ( include "common.needTLS" .) }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 23 | aai.server.url.base=https://aai.{{ include "common.namespace" . }}:8443/aai/ |
| 24 | aai.server.url=https://aai.{{ include "common.namespace" . }}:8443/aai/{{ .Values.global.config.schema.version.api.default }}/ |
| 25 | aai.global.callback.url=https://aai.{{ include "common.namespace" . }}:8443/aai/ |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 26 | {{ else }} |
| 27 | aai.server.url.base=http://aai.{{ include "common.namespace" . }}/aai/ |
| 28 | aai.server.url=http://aai.{{ include "common.namespace" . }}/aai/{{ .Values.global.config.schema.version.api.default }}/ |
| 29 | aai.global.callback.url=http://aai.{{ include "common.namespace" . }}/aai/ |
| 30 | {{ end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 31 | |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 32 | {{ if or (.Values.global.config.basic.auth.enabled) ( include "common.onServiceMesh" .) }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 33 | aai.tools.enableBasicAuth=true |
| 34 | aai.tools.username={{ .Values.global.config.basic.auth.username }} |
| 35 | aai.tools.password={{ .Values.global.config.basic.auth.passwd }} |
| 36 | {{ end }} |
| 37 | |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 38 | {{ if ( include "common.needTLS" .) }} |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 39 | aai.truststore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks |
| 40 | aai.truststore.passwd.x=${TRUSTSTORE_PASSWORD} |
| 41 | aai.keystore.filename={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12 |
| 42 | aai.keystore.passwd.x=${KEYSTORE_PASSWORD} |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 43 | {{ end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 44 | |
| 45 | aai.default.api.version={{ .Values.global.config.schema.version.api.default }} |
| 46 | |
| 47 | aai.logging.trace.enabled=true |
| 48 | aai.logging.trace.logrequest=false |
| 49 | aai.logging.trace.logresponse=false |
| 50 | |
| 51 | aai.transaction.logging=true |
| 52 | aai.transaction.logging.get=false |
| 53 | aai.transaction.logging.post=false |