Lathish | 2d11733 | 2021-03-11 16:29:34 +0000 | [diff] [blame] | 1 | # ========================LICENSE_START================================= |
| 2 | # Copyright (C) 2021 Nordix Foundation. All rights reserved. |
| 3 | # ====================================================================== |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # ========================LICENSE_END=================================== |
PatrikBuhr | f22e6f6 | 2021-03-16 16:55:05 +0100 | [diff] [blame] | 16 | spring: |
| 17 | profiles: |
| 18 | active: prod |
| 19 | main: |
| 20 | allow-bean-definition-overriding: true |
| 21 | aop: |
| 22 | auto: false |
Lathish | 2d11733 | 2021-03-11 16:29:34 +0000 | [diff] [blame] | 23 | management: |
| 24 | endpoints: |
| 25 | web: |
| 26 | exposure: |
| 27 | include: "loggers,logfile,health,info,metrics,threaddump,heapdump" |
| 28 | server: |
PatrikBuhr | 4287776 | 2021-03-15 16:37:47 +0100 | [diff] [blame] | 29 | # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework. |
| 30 | # See springboot documentation. |
Lathish | 2d11733 | 2021-03-11 16:29:34 +0000 | [diff] [blame] | 31 | port : 8080 |
PatrikBuhr | 55f00b6 | 2021-03-12 15:41:00 +0100 | [diff] [blame] | 32 | http-port: 8083 |
| 33 | ssl: |
| 34 | key-store-type: JKS |
| 35 | key-store-password: policy_agent |
PatrikBuhr | 4287776 | 2021-03-15 16:37:47 +0100 | [diff] [blame] | 36 | key-store: /opt/app/rapp-manager/etc/cert/keystore.jks |
PatrikBuhr | 55f00b6 | 2021-03-12 15:41:00 +0100 | [diff] [blame] | 37 | key-password: policy_agent |
| 38 | key-alias: policy_agent |
Lathish | 2d11733 | 2021-03-11 16:29:34 +0000 | [diff] [blame] | 39 | logging: |
PatrikBuhr | 4287776 | 2021-03-15 16:37:47 +0100 | [diff] [blame] | 40 | # Configuration of logging |
Lathish | 2d11733 | 2021-03-11 16:29:34 +0000 | [diff] [blame] | 41 | level: |
| 42 | ROOT: INFO |
PatrikBuhr | 4287776 | 2021-03-15 16:37:47 +0100 | [diff] [blame] | 43 | org.springframework: ERROR |
| 44 | org.springframework.data: ERROR |
| 45 | org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR |
PatrikBuhr | ae71866 | 2021-03-19 12:49:40 +0100 | [diff] [blame] | 46 | org.oransc.rappmanager: DEBUG |
PatrikBuhr | 4287776 | 2021-03-15 16:37:47 +0100 | [diff] [blame] | 47 | file: |
| 48 | name: /var/log/rapp-manager/application.log |
Lathish | 2d11733 | 2021-03-11 16:29:34 +0000 | [diff] [blame] | 49 | app: |
| 50 | basepath: https://kubernetes.docker.internal:6443 |
| 51 | certpath: /opt/app/rapp-manager/cert/ca.crt |
| 52 | tokenpath: /opt/app/rapp-manager/cert/token.txt |
| 53 | chartregistry: http://localhost:30081 |
PatrikBuhr | 55f00b6 | 2021-03-12 15:41:00 +0100 | [diff] [blame] | 54 | webclient: |
| 55 | # Configuration of the trust store used for the HTTP client (outgoing requests) |
| 56 | # The file location and the password for the truststore is only relevant if trust-store-used == true |
| 57 | # Note that the same keystore as for the server is used. |
| 58 | trust-store-used: false |
| 59 | trust-store-password: policy_agent |
PatrikBuhr | 4287776 | 2021-03-15 16:37:47 +0100 | [diff] [blame] | 60 | trust-store: /opt/app/rapp-manager/etc/cert/truststore.jks |
PatrikBuhr | 55f00b6 | 2021-03-12 15:41:00 +0100 | [diff] [blame] | 61 | # Configuration of usage of HTTP Proxy for the southbound accesses. |
| 62 | # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s |
| 63 | http.proxy-host: |
PatrikBuhr | f22e6f6 | 2021-03-16 16:55:05 +0100 | [diff] [blame] | 64 | http.proxy-port: 0 |
| 65 | vardata-directory: /var/rapp-manager |
PatrikBuhr | 55f00b6 | 2021-03-12 15:41:00 +0100 | [diff] [blame] | 66 | |