blob: 150dca47b13b13e4685533170d5e5f66c4e4db63 [file] [log] [blame]
RehanRaza0e3740a2020-08-03 15:56:03 +02001#
2# ============LICENSE_START=======================================================
3# ONAP : ccsdk oran
4# ================================================================================
5# Copyright (C) 2020 Nordix Foundation. All rights reserved.
6# ================================================================================
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18#
19# SPDX-License-Identifier: Apache-2.0
20# ============LICENSE_END=========================================================
21#
22spring:
23 profiles:
24 active: prod
25 main:
26 allow-bean-definition-overriding: true
27 aop:
28 auto: false
29management:
30 endpoints:
31 web:
32 exposure:
PatrikBuhrcd53b0c2020-11-10 13:59:49 +010033 # Enabling of springboot actuator features. See springboot documentation.
RehanRaza0e3740a2020-08-03 15:56:03 +020034 include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
35
36logging:
PatrikBuhrcd53b0c2020-11-10 13:59:49 +010037 # Configuration of logging
RehanRaza0e3740a2020-08-03 15:56:03 +020038 level:
39 ROOT: ERROR
40 org.springframework: ERROR
41 org.springframework.data: ERROR
42 org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
43 org.onap.ccsdk.oran.a1policymanagementservice: INFO
RehanRaza0e63aeb2020-09-09 13:07:37 +020044 file:
45 name: /var/log/policy-agent/application.log
RehanRaza0e3740a2020-08-03 15:56:03 +020046server:
PatrikBuhrcd53b0c2020-11-10 13:59:49 +010047 # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
48 # See springboot documentation.
RehanRaza0e3740a2020-08-03 15:56:03 +020049 port : 8433
50 http-port: 8081
51 ssl:
52 key-store-type: JKS
53 key-store-password: policy_agent
54 key-store: /opt/app/policy-agent/etc/cert/keystore.jks
55 key-password: policy_agent
56 key-alias: policy_agent
57app:
PatrikBuhrcd53b0c2020-11-10 13:59:49 +010058 # Location of the component configuration file. The file will only be used if the Consul database is not used;
59 # configuration from the Consul will override the file.
RehanRaza0e3740a2020-08-03 15:56:03 +020060 filepath: /opt/app/policy-agent/data/application_configuration.json
61 webclient:
PatrikBuhrcd53b0c2020-11-10 13:59:49 +010062 # Configuration of the trust store used for the HTTP client (outgoing requests)
63 # The file location and the password for the truststore is only relevant if trust-store-used == true
64 # Note that the same keystore as for the server is used.
RehanRaza0e3740a2020-08-03 15:56:03 +020065 trust-store-used: false
66 trust-store-password: policy_agent
67 trust-store: /opt/app/policy-agent/etc/cert/truststore.jks
PatrikBuhrcd53b0c2020-11-10 13:59:49 +010068 # Configuration of usage of HTTP Proxy for the southbound accesses.
69 # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
70 http.proxy-host:
PatrikBuhrcef5a0b2020-11-06 12:07:28 +010071 http.proxy-port: 0
RehanRaza0e3740a2020-08-03 15:56:03 +020072