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: |
| 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 | key-store-type: PKCS12 |
| 56 | key-store-password: ${KEYSTORE_PASSWORD} |
| 57 | key-store: {{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12 |
| 58 | key-password: ${KEYSTORE_PASSWORD} |
| 59 | key-alias: {{ .Values.certInitializer.fqi }} |
| 60 | app: |
| 61 | # Location of the component configuration file. The file will only be used if the Consul database is not used; |
| 62 | # configuration from the Consul will override the file. |
| 63 | filepath: /opt/app/policy-agent/data/application_configuration.json |
| 64 | webclient: |
| 65 | # Configuration of the trust store used for the HTTP client (outgoing requests) |
| 66 | # The file location and the password for the truststore is only relevant if trust-store-used == true |
| 67 | # Note that the same keystore as for the server is used. |
| 68 | trust-store-used: false |
| 69 | trust-store-password: ${TRUSTSORE_PASSWORD} |
| 70 | trust-store: {{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks |
| 71 | # Configuration of usage of HTTP Proxy for the southbound accesses. |
| 72 | # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s |
| 73 | http.proxy-host: |
| 74 | http.proxy-port: 0 |