Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / aai / components / aai-schema-service / config / aaiconfig.properties
1 {{/*
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=========================================================
20 */}}
21
22 {{ if ( include "common.needTLS" .) }}
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/
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 }}
31
32 {{ if or (.Values.global.config.basic.auth.enabled) ( include "common.onServiceMesh" .) }}
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
38 {{ if ( include "common.needTLS" .) }}
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}
43 {{ end }}
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