Sylvain Desbureaux | b5353c9 | 2021-02-15 11:30:29 +0100 | [diff] [blame] | 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: |
PatrikBuhr | 56bfeb0 | 2023-02-28 12:49:23 +0100 | [diff] [blame] | 42 | ROOT: ERROR |
| 43 | org.springframework: ERROR |
| 44 | org.springframework.data: ERROR |
| 45 | org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR |
| 46 | org.onap.ccsdk.oran.a1policymanagementservice: INFO |
Sylvain Desbureaux | b5353c9 | 2021-02-15 11:30:29 +0100 | [diff] [blame] | 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. |
Andreas Geissler | 353a8c9 | 2023-03-15 16:15:11 +0100 | [diff] [blame] | 52 | #port: 8081 |
Sylvain Desbureaux | b5353c9 | 2021-02-15 11:30:29 +0100 | [diff] [blame] | 53 | http-port: 8081 |
| 54 | ssl: |
Andreas Geissler | 353a8c9 | 2023-03-15 16:15:11 +0100 | [diff] [blame] | 55 | enabled: false |
Sylvain Desbureaux | b5353c9 | 2021-02-15 11:30:29 +0100 | [diff] [blame] | 56 | key-store-type: PKCS12 |
Andreas Geissler | 353a8c9 | 2023-03-15 16:15:11 +0100 | [diff] [blame] | 57 | key-store-password: "" |
| 58 | key-store: "" |
| 59 | key-password: "" |
| 60 | key-alias: "" |
Sylvain Desbureaux | b5353c9 | 2021-02-15 11:30:29 +0100 | [diff] [blame] | 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: |
Sylvain Desbureaux | b5353c9 | 2021-02-15 11:30:29 +0100 | [diff] [blame] | 66 | trust-store-used: false |
Andreas Geissler | 353a8c9 | 2023-03-15 16:15:11 +0100 | [diff] [blame] | 67 | trust-store-password: "" |
| 68 | trust-store: "" |
Sylvain Desbureaux | b5353c9 | 2021-02-15 11:30:29 +0100 | [diff] [blame] | 69 | # Configuration of usage of HTTP Proxy for the southbound accesses. |
| 70 | # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s |
| 71 | http.proxy-host: |
| 72 | http.proxy-port: 0 |