lapentafd | 6360bbb | 2024-04-05 09:49:44 +0100 | [diff] [blame] | 1 | # ============LICENSE_START=============================================== |
| 2 | # Copyright (C) 2019-2022 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================================================= |
| 16 | # |
| 17 | |
| 18 | spring: |
| 19 | profiles: |
| 20 | active: prod |
| 21 | main: |
| 22 | allow-bean-definition-overriding: true |
| 23 | aop: |
| 24 | auto: false |
| 25 | springdoc: |
| 26 | show-actuator: true |
| 27 | management: |
| 28 | endpoints: |
| 29 | web: |
| 30 | exposure: |
| 31 | # Enabling of springboot actuator features. See springboot documentation. |
| 32 | include: "loggers,logfile,health,info,metrics,threaddump,heapdump,shutdown" |
| 33 | endpoint: |
| 34 | shutdown: |
| 35 | enabled: true |
| 36 | lifecycle: |
| 37 | timeout-per-shutdown-phase: "20s" |
| 38 | logging: |
| 39 | # Configuration of logging |
| 40 | level: |
| 41 | ROOT: INFO |
| 42 | org.springframework: INFO |
| 43 | org.springframework.data: INFO |
| 44 | org.springframework.web.reactive.function.client.ExchangeFunctions: INFO |
| 45 | org.oransc.ics: DEBUG |
| 46 | file: |
| 47 | name: /var/log/information-coordinator-service/application.log |
| 48 | server: |
| 49 | # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework. |
| 50 | # See springboot documentation. |
| 51 | port : 8434 |
| 52 | http-port: 8083 |
| 53 | ssl: |
| 54 | key-store-type: JKS |
| 55 | key-store-password: policy_agent |
| 56 | key-store: /opt/app/information-coordinator-service/etc/cert/keystore.jks |
| 57 | key-password: policy_agent |
| 58 | key-alias: policy_agent |
| 59 | shutdown: "graceful" |
| 60 | app: |
| 61 | webclient: |
| 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. |
| 65 | trust-store-used: false |
| 66 | trust-store-password: policy_agent |
| 67 | trust-store: /opt/app/information-coordinator-service/etc/cert/truststore.jks |
| 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: |
| 71 | http.proxy-port: 0 |
| 72 | vardata-directory: /var/information-coordinator-service |
| 73 | # If the file name is empty, no authorization token is used |
| 74 | auth-token-file: |
| 75 | # A URL to authorization provider such as OPA. Each time a information job is accessed, a call to this |
| 76 | # authorization provider is done for access control. If this is empty, no fine grained access control is done. |
| 77 | info-job-authorization-agent: |
| 78 | # S3 object store usage is enabled by defining the bucket to use. This will override the vardata-directory parameter. |
| 79 | s3: |
| 80 | endpointOverride: http://localhost:9000 |
| 81 | accessKeyId: minio |
| 82 | secretAccessKey: miniostorage |
| 83 | bucket: |