71f3172cb016990a61dcd837110b9a79d5acd71c
[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.onap.dcaegen2.collectors.datafile: INFO
25
26   file:
27     name: /var/log/ONAP/application.log
28 app:
29   filepath: config/datafile_endpoints_test.json
30   collected-files-path: "/tmp/onap_datafile/"
31    # KAFKA boostrap servers. This is only needed if there are Information Types that uses a kafkaInputTopic
32   # several redundant boostrap servers can be specified, separated by a comma ','.
33   kafka:
34     bootstrap-servers: localhost:9092
35     # output topic
36     collected-file-topic: collected-file
37     client-id: datafile-1
38     # input topic
39     file-ready-event-topic: file-ready
40   sftp:
41     known-hosts-file-path:
42     strict-host-key-checking: false
43   ssl:
44      key-store-password-file: /opt/app/datafile/config/ftps_keystore.pass
45      key-store: /opt/app/datafile/config/ftps_keystore.p12
46      trust-store-password-file: /opt/app/datafile/config/truststore.pass
47      trust-store: /opt/app/datafile/config/truststore.jks
48   s3:
49     endpointOverride:
50     accessKeyId:
51     secretAccessKey:
52     bucket:
53     locksBucket:
54 springdoc:
55   show-actuator: true
56   swagger-ui.disable-swagger-default-url: true