Added docker-compose ranpm
[nonrtric/plt/ranpm.git] / docker-proj / config / dfc1 / application-template.yaml
1 #  ============LICENSE_START===============================================
2 #  Copyright (C) 2023 Nordix Foundation. All rights reserved.
3 #  ========================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #  ============LICENSE_END=================================================
16 #
17
18 spring:
19   profiles:
20     active: prod
21 management:
22   endpoints:
23     web:
24       exposure:
25         include: "loggers,logfile,health,info,metrics"
26 server:
27   port: 8433
28   ssl:
29       key-store-type: JKS
30       key-store-password: policy_agent
31       key-store: config/keystore.jks
32       key-password: policy_agent
33       key-alias: policy_agent
34 logging:
35   level:
36     ROOT: WARN
37     org.onap: WARN
38     org.springframework: WARN
39     #TRACE
40     org.springframework.data: WARN
41     org.springframework.web.reactive.function.client.ExchangeFunctions: WARN
42     #org.onap.dcaegen2.collectors.datafile: WARN
43     org.onap.dcaegen2.collectors.datafile: TRACE
44
45   file:
46     name: /var/log/ONAP/application.log
47 app:
48   #filepath: config/datafile_endpoints_test.json
49   collected-files-path: "/tmp/onap_datafile/"
50   # Numer of worker threads. Increased number may increase throughput, but will require more executing resources.
51   number-of-worker-treads: 50
52   # If the file name is empty, no authorization token is used
53   auth-token-file: /token-cache/jwt.txt
54    # KAFKA boostrap servers. This is only needed if there are Information Types that uses a kafkaInputTopic
55   # several redundant boostrap servers can be specified, separated by a comma ','.
56   kafka:
57     bootstrap-servers: kafka-1:9097
58     # output topic
59     collected-file-topic: collected-file
60     client-id: datafile-1
61     # input topic
62     file-ready-event-topic: file-ready
63     use-oath-token: true
64     ssl:
65       key-store-type: PEM
66       key-store-location:
67       # key password is needed if the private key is encrypted
68       key-store-password:
69       trust-store-type: PEM
70       trust-store-location:
71   sftp:
72     known-hosts-file-path:
73     strict-host-key-checking: false
74   ssl:
75      key-store-password-file: /opt/app/datafile/config/ftps_keystore.pass
76      key-store: /opt/app/datafile/config/ftps_keystore.p12
77      trust-store-password-file: /opt/app/datafile/config/truststore.pass
78      trust-store: /opt/app/datafile/config/truststore.jks
79   s3:
80     endpointOverride: $DFC_MINIO
81     accessKeyId: admin
82     secretAccessKey: adminadmin
83     bucket: ropfiles
84
85 springdoc:
86   show-actuator: true
87   swagger-ui.disable-swagger-default-url: true
88 ################
89
90
91
92