X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=datafilecollector%2Fconfig%2Fapplication.yaml;h=5352f1bab67d0c3827a6b7d20f6b09e671bd96cf;hb=de7af2c8d8ab11bcfce454a86051cfa8c8d92615;hp=71f3172cb016990a61dcd837110b9a79d5acd71c;hpb=a363dc5ca8922b41768aad60f418647ea1e4e5fe;p=nonrtric%2Fplt%2Franpm.git diff --git a/datafilecollector/config/application.yaml b/datafilecollector/config/application.yaml index 71f3172..5352f1b 100644 --- a/datafilecollector/config/application.yaml +++ b/datafilecollector/config/application.yaml @@ -21,22 +21,35 @@ logging: org.springframework: WARN org.springframework.data: WARN org.springframework.web.reactive.function.client.ExchangeFunctions: WARN - org.onap.dcaegen2.collectors.datafile: INFO + org.oran.datafile: INFO file: name: /var/log/ONAP/application.log app: - filepath: config/datafile_endpoints_test.json - collected-files-path: "/tmp/onap_datafile/" - # KAFKA boostrap servers. This is only needed if there are Information Types that uses a kafkaInputTopic - # several redundant boostrap servers can be specified, separated by a comma ','. + collected-files-path: "/tmp/oran_datafile/" + # Numer of worker threads. Increased number may increase throughput, but will require more executing resources. + number-of-worker-treads: 200 + # If specified, and authorization token will be loaded from file and inserted in each HTTP header when using HTTP/HTTPS. + # If the file name is empty, no authorization token is used + auth-token-file: kafka: + # KAFKA boostrap servers. + # several redundant boostrap servers can be specified, separated by a comma ','. bootstrap-servers: localhost:9092 # output topic collected-file-topic: collected-file client-id: datafile-1 # input topic file-ready-event-topic: file-ready + # Configures if oath2 tokens shall be used. If set to true, auth-token-file must also be configured + use-oath-token: false + ssl: + key-store-type: PEM + key-store-location: + # key password is needed if the private key is encrypted + key-store-password: + trust-store-type: PEM + trust-store-location: sftp: known-hosts-file-path: strict-host-key-checking: false @@ -46,11 +59,17 @@ app: trust-store-password-file: /opt/app/datafile/config/truststore.pass trust-store: /opt/app/datafile/config/truststore.jks s3: - endpointOverride: - accessKeyId: - secretAccessKey: - bucket: - locksBucket: + # S3 endpoint + endpointOverride: http://localhost:9000 + # S3 access key ID + accessKeyId: miniostorage + # S3 password + secretAccessKey: secret + # The bucket to store collected files + bucket: ropfiles + # The bucket where DFC keeps lockfiles. This is to avoid that the same file is transfered more than once if + # several load sharing DFC instances are running. + locksBucket: dfclocks springdoc: show-actuator: true - swagger-ui.disable-swagger-default-url: true \ No newline at end of file + swagger-ui.disable-swagger-default-url: true