blob: 5352f1bab67d0c3827a6b7d20f6b09e671bd96cf [file] [log] [blame]
PatrikBuhra363dc52023-03-03 14:02:50 +01001spring:
2 profiles:
3 active: prod
4management:
5 endpoints:
6 web:
7 exposure:
8 include: "loggers,logfile,health,info,metrics"
9server:
10 port: 8433
11 ssl:
12 key-store-type: JKS
13 key-store-password: policy_agent
14 key-store: config/keystore.jks
15 key-password: policy_agent
16 key-alias: policy_agent
17logging:
18 level:
19 ROOT: WARN
20 org.onap: WARN
21 org.springframework: WARN
22 org.springframework.data: WARN
23 org.springframework.web.reactive.function.client.ExchangeFunctions: WARN
PatrikBuhrf0af1842023-03-23 15:04:00 +010024 org.oran.datafile: INFO
PatrikBuhra363dc52023-03-03 14:02:50 +010025
26 file:
27 name: /var/log/ONAP/application.log
28app:
PatrikBuhrf0801592023-03-15 14:46:05 +010029 collected-files-path: "/tmp/oran_datafile/"
PatrikBuhr297f5f92023-03-13 09:59:59 +010030 # Numer of worker threads. Increased number may increase throughput, but will require more executing resources.
31 number-of-worker-treads: 200
PatrikBuhr32de6c42023-04-20 06:42:23 +020032 # If specified, and authorization token will be loaded from file and inserted in each HTTP header when using HTTP/HTTPS.
PatrikBuhrf0af1842023-03-23 15:04:00 +010033 # If the file name is empty, no authorization token is used
34 auth-token-file:
PatrikBuhra363dc52023-03-03 14:02:50 +010035 kafka:
PatrikBuhr32de6c42023-04-20 06:42:23 +020036 # KAFKA boostrap servers.
37 # several redundant boostrap servers can be specified, separated by a comma ','.
PatrikBuhra363dc52023-03-03 14:02:50 +010038 bootstrap-servers: localhost:9092
39 # output topic
40 collected-file-topic: collected-file
41 client-id: datafile-1
42 # input topic
43 file-ready-event-topic: file-ready
PatrikBuhr3a9d09f2023-03-24 08:53:47 +010044 # Configures if oath2 tokens shall be used. If set to true, auth-token-file must also be configured
PatrikBuhrf0af1842023-03-23 15:04:00 +010045 use-oath-token: false
46 ssl:
47 key-store-type: PEM
48 key-store-location:
49 # key password is needed if the private key is encrypted
50 key-store-password:
51 trust-store-type: PEM
52 trust-store-location:
PatrikBuhra363dc52023-03-03 14:02:50 +010053 sftp:
54 known-hosts-file-path:
55 strict-host-key-checking: false
56 ssl:
57 key-store-password-file: /opt/app/datafile/config/ftps_keystore.pass
58 key-store: /opt/app/datafile/config/ftps_keystore.p12
59 trust-store-password-file: /opt/app/datafile/config/truststore.pass
60 trust-store: /opt/app/datafile/config/truststore.jks
61 s3:
PatrikBuhr32de6c42023-04-20 06:42:23 +020062 # S3 endpoint
63 endpointOverride: http://localhost:9000
64 # S3 access key ID
65 accessKeyId: miniostorage
66 # S3 password
67 secretAccessKey: secret
68 # The bucket to store collected files
69 bucket: ropfiles
70 # The bucket where DFC keeps lockfiles. This is to avoid that the same file is transfered more than once if
71 # several load sharing DFC instances are running.
72 locksBucket: dfclocks
PatrikBuhra363dc52023-03-03 14:02:50 +010073springdoc:
74 show-actuator: true
PatrikBuhr32de6c42023-04-20 06:42:23 +020075 swagger-ui.disable-swagger-default-url: true