BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 1 | ################################################################################ |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 2 | # Copyright (c) 2021 Nordix Foundation. # |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 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 | ################################################################################ |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 16 | spring: |
| 17 | profiles: |
| 18 | active: prod |
| 19 | main: |
| 20 | allow-bean-definition-overriding: true |
| 21 | aop: |
| 22 | auto: false |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 23 | springdoc: |
| 24 | show-actuator: true |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 25 | management: |
| 26 | endpoints: |
| 27 | web: |
| 28 | exposure: |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 29 | # Enabling of springboot actuator features. See springboot documentation. |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 30 | include: "loggers,logfile,health,info,metrics,threaddump,heapdump" |
| 31 | |
| 32 | logging: |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 33 | # Configuration of logging |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 34 | level: |
| 35 | ROOT: ERROR |
| 36 | org.springframework: ERROR |
| 37 | org.springframework.data: ERROR |
| 38 | org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 39 | org.oransc.ics: INFO |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 40 | file: |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 41 | name: $ICS_LOGPATH |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 42 | server: |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 43 | # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework. |
| 44 | # See springboot documentation. |
| 45 | port : $ICS_INTERNAL_SECURE_PORT |
| 46 | http-port: $ICS_INTERNAL_PORT |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 47 | ssl: |
| 48 | key-store-type: JKS |
| 49 | key-store-password: policy_agent |
BjornMagnussonXA | 007b645 | 2021-11-29 08:03:38 +0100 | [diff] [blame] | 50 | key-store: /opt/app/information-coordinator-service/etc/cert/keystore.jks |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 51 | key-password: policy_agent |
| 52 | key-alias: policy_agent |
| 53 | app: |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 54 | webclient: |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 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. |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 58 | trust-store-used: false |
| 59 | trust-store-password: policy_agent |
BjornMagnussonXA | 007b645 | 2021-11-29 08:03:38 +0100 | [diff] [blame] | 60 | trust-store: /opt/app/information-coordinator-service/etc/cert/truststore.jks |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +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 |
BjornMagnussonXA | 007b645 | 2021-11-29 08:03:38 +0100 | [diff] [blame] | 63 | http.proxy-host: $ICS_HTTP_PROXY_CONFIG_HOST_NAME |
| 64 | http.proxy-port: $ICS_HTTP_PROXY_CONFIG_PORT |
BjornMagnussonXA | 05bfe48 | 2021-12-02 08:47:41 +0100 | [diff] [blame] | 65 | vardata-directory: $ICS_CONTAINER_MNT_DIR |
BjornMagnussonXA | 145762b | 2022-03-22 10:35:10 +0100 | [diff] [blame^] | 66 | # If the file name is empty, no authorzation token is sent |
| 67 | auth-token-file: $ICS_SIDECAR_JWT_FILE |