Documentation of Data file collector
[nonrtric/plt/ranpm.git] / datafilecollector / config / application.yaml
1 spring:
2   profiles:
3     active: prod
4 management:
5   endpoints:
6     web:
7       exposure:
8         include: "loggers,logfile,health,info,metrics"
9 server:
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
17 logging:
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
24     org.oran.datafile: INFO
25
26   file:
27     name: /var/log/ONAP/application.log
28 app:
29   collected-files-path: "/tmp/oran_datafile/"
30   # Numer of worker threads. Increased number may increase throughput, but will require more executing resources.
31   number-of-worker-treads: 200
32    # If specified, and authorization token will be loaded from file and inserted in each HTTP header when using HTTP/HTTPS.
33    # If the file name is empty, no authorization token is used
34   auth-token-file:
35   kafka:
36     # KAFKA boostrap servers.
37     # several redundant boostrap servers can be specified, separated by a comma ','.
38     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
44       # Configures if oath2 tokens shall be used. If set to true, auth-token-file must also be configured
45     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:
53   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:
62     # 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
73 springdoc:
74   show-actuator: true
75   swagger-ui.disable-swagger-default-url: true