RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 1 | # |
| 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 | # |
| 22 | spring: |
| 23 | profiles: |
| 24 | active: prod |
| 25 | main: |
| 26 | allow-bean-definition-overriding: true |
| 27 | aop: |
| 28 | auto: false |
| 29 | management: |
| 30 | endpoints: |
| 31 | web: |
| 32 | exposure: |
PatrikBuhr | cd53b0c | 2020-11-10 13:59:49 +0100 | [diff] [blame] | 33 | # Enabling of springboot actuator features. See springboot documentation. |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 34 | include: "loggers,logfile,health,info,metrics,threaddump,heapdump" |
| 35 | |
| 36 | logging: |
PatrikBuhr | cd53b0c | 2020-11-10 13:59:49 +0100 | [diff] [blame] | 37 | # Configuration of logging |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 38 | 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 |
RehanRaza | 0e63aeb | 2020-09-09 13:07:37 +0200 | [diff] [blame] | 44 | file: |
| 45 | name: /var/log/policy-agent/application.log |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 46 | server: |
PatrikBuhr | cd53b0c | 2020-11-10 13:59:49 +0100 | [diff] [blame] | 47 | # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework. |
| 48 | # See springboot documentation. |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 49 | 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 |
| 57 | app: |
PatrikBuhr | cd53b0c | 2020-11-10 13:59:49 +0100 | [diff] [blame] | 58 | # 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. |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 60 | filepath: /opt/app/policy-agent/data/application_configuration.json |
| 61 | webclient: |
PatrikBuhr | cd53b0c | 2020-11-10 13:59:49 +0100 | [diff] [blame] | 62 | # 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. |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 65 | trust-store-used: false |
| 66 | trust-store-password: policy_agent |
| 67 | trust-store: /opt/app/policy-agent/etc/cert/truststore.jks |
PatrikBuhr | cd53b0c | 2020-11-10 13:59:49 +0100 | [diff] [blame] | 68 | # 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: |
PatrikBuhr | cef5a0b | 2020-11-06 12:07:28 +0100 | [diff] [blame] | 71 | http.proxy-port: 0 |
RehanRaza | 0e3740a | 2020-08-03 15:56:03 +0200 | [diff] [blame] | 72 | |