PatrikBuhr | a363dc5 | 2023-03-03 14:02:50 +0100 | [diff] [blame] | 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 |
PatrikBuhr | f0af184 | 2023-03-23 15:04:00 +0100 | [diff] [blame] | 24 | org.oran.datafile: INFO |
PatrikBuhr | a363dc5 | 2023-03-03 14:02:50 +0100 | [diff] [blame] | 25 | |
| 26 | file: |
| 27 | name: /var/log/ONAP/application.log |
| 28 | app: |
PatrikBuhr | f080159 | 2023-03-15 14:46:05 +0100 | [diff] [blame] | 29 | collected-files-path: "/tmp/oran_datafile/" |
PatrikBuhr | 297f5f9 | 2023-03-13 09:59:59 +0100 | [diff] [blame] | 30 | # Numer of worker threads. Increased number may increase throughput, but will require more executing resources. |
| 31 | number-of-worker-treads: 200 |
PatrikBuhr | 32de6c4 | 2023-04-20 06:42:23 +0200 | [diff] [blame^] | 32 | # If specified, and authorization token will be loaded from file and inserted in each HTTP header when using HTTP/HTTPS. |
PatrikBuhr | f0af184 | 2023-03-23 15:04:00 +0100 | [diff] [blame] | 33 | # If the file name is empty, no authorization token is used |
| 34 | auth-token-file: |
PatrikBuhr | a363dc5 | 2023-03-03 14:02:50 +0100 | [diff] [blame] | 35 | kafka: |
PatrikBuhr | 32de6c4 | 2023-04-20 06:42:23 +0200 | [diff] [blame^] | 36 | # KAFKA boostrap servers. |
| 37 | # several redundant boostrap servers can be specified, separated by a comma ','. |
PatrikBuhr | a363dc5 | 2023-03-03 14:02:50 +0100 | [diff] [blame] | 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 |
PatrikBuhr | 3a9d09f | 2023-03-24 08:53:47 +0100 | [diff] [blame] | 44 | # Configures if oath2 tokens shall be used. If set to true, auth-token-file must also be configured |
PatrikBuhr | f0af184 | 2023-03-23 15:04:00 +0100 | [diff] [blame] | 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: |
PatrikBuhr | a363dc5 | 2023-03-03 14:02:50 +0100 | [diff] [blame] | 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: |
PatrikBuhr | 32de6c4 | 2023-04-20 06:42:23 +0200 | [diff] [blame^] | 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 |
PatrikBuhr | a363dc5 | 2023-03-03 14:02:50 +0100 | [diff] [blame] | 73 | springdoc: |
| 74 | show-actuator: true |
PatrikBuhr | 32de6c4 | 2023-04-20 06:42:23 +0200 | [diff] [blame^] | 75 | swagger-ui.disable-swagger-default-url: true |