1 # ============LICENSE_START===============================================
2 # Copyright (C) 2023 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
8 # http://www.apache.org/licenses/LICENSE-2.0
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=================================================
22 allow-bean-definition-overriding: true
29 # Enabling of springboot actuator features. See springboot documentation.
30 include: "loggers,logfile,health,info,metrics,threaddump,heapdump,shutdown"
35 timeout-per-shutdown-phase: "20s"
39 # Configuration of logging
42 org.apache.kafka: WARN
43 org.springframework: ERROR
44 org.springframework.data: TRACE #ERROR
45 org.springframework.web.reactive.function.client.ExchangeFunctions: TRACE #ERROR
46 org.oran.pmlog: TRACE #DEBUG
48 console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] %logger{20} - %msg%n"
49 file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] %logger{20} - %msg%n"
52 name: /var/log/pmlog-service/application.log
54 # Configuration of the HTTP/REST server. The parameters are defined and handeled by the springboot framework.
55 # See springboot documentation.
60 key-store-password: policy_agent
61 key-store: /opt/app/pmlog-service/etc/cert/keystore.jks
62 key-password: policy_agent
63 key-alias: policy_agent
67 # Configuration of the trust store used for the HTTP client (outgoing requests)
68 # The file location and the password for the truststore is only relevant if trust-store-used == true
69 # Note that the same keystore as for the server is used.
70 trust-store-used: false
71 trust-store-password: policy_agent
72 trust-store: /opt/app/pmlog-service/etc/cert/truststore.jks
73 # Configuration of usage of HTTP Proxy for the southbound accesses.
74 # The HTTP proxy (if configured) will only be used for accessing NearRT RIC:s
78 # KAFKA boostrap servers.
79 # several redundant boostrap servers can be specified, separated by a comma ','.
80 # bootstrap-servers and input-topic is overriden if defined in deliveryInfo in config/jobDefinition.json
81 bootstrap-servers: kafka-1:9097
83 # The maximum number of records returned in a single call to poll() (default 100)
85 group-id: kafkaGroupId
86 client-id: kafkaClientId
87 # Configues if oath2 tokens shall be used. If set to true, auth-token-file must also be configured
92 # key password is needed if the private key is encrypted
97 url: http://influxdb2-0:8086
100 bucket: pm-logg-bucket
102 # The user, password and database can be blank if the access-token is defined
106 ics-base-url: http://ics:8083
107 consumer-job-id: "pmlog"
108 # If the file name is empty, no authorization token is used
109 auth-token-file: /token-cache/jwt.txt