Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / a1policymanagement / resources / config / application.yaml
1 {{/*
2 #
3 # ============LICENSE_START=======================================================
4 # ONAP : ccsdk oran
5 # ================================================================================
6 # Copyright (C) 2020 Nordix Foundation. All rights reserved.
7 # Copyright (C) 2021 Orange. All rights reserved.
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 #
21 # SPDX-License-Identifier: Apache-2.0
22 # ============LICENSE_END=========================================================
23 #
24 */}}
25 spring:
26   profiles:
27     active: prod
28   main:
29     allow-bean-definition-overriding: true
30   aop:
31     auto: false
32 management:
33   endpoints:
34     web:
35       exposure:
36         # Enabling of springboot actuator features. See springboot documentation.
37         include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
38
39 logging:
40   # Configuration of logging
41   level:
42     ROOT: DEBUG
43     org.springframework: DEBUG
44     org.springframework.data: DEBUG
45     org.springframework.web.reactive.function.client.ExchangeFunctions: DEBUG
46     org.onap.ccsdk.oran.a1policymanagementservice: DEBUG
47   file:
48     name: /var/log/policy-agent/application.log
49 server:
50   # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
51   # See springboot documentation.
52   port: 8433
53   http-port: 8081
54   ssl:
55     enabled: {{ (eq "true" (include "common.needTLS" .)) | ternary true false }}
56     key-store-type: PKCS12
57     key-store-password: ${KEYSTORE_PASSWORD}
58     key-store: {{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12
59     key-password: ${KEYSTORE_PASSWORD}
60     key-alias: {{ .Values.certInitializer.fqi }}
61 app:
62   # Location of the component configuration file. The file will only be used if the Consul database is not used;
63   # configuration from the Consul will override the file.
64   filepath: /opt/app/policy-agent/data/application_configuration.json
65   webclient:
66     # Configuration of the trust store used for the HTTP client (outgoing requests)
67     # The file location and the password for the truststore is only relevant if trust-store-used == true
68     # Note that the same keystore as for the server is used.
69     trust-store-used: false
70     trust-store-password: ${TRUSTSORE_PASSWORD}
71     trust-store: {{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks
72     # Configuration of usage of HTTP Proxy for the southbound accesses.
73     # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
74     http.proxy-host:
75     http.proxy-port: 0