Helm charts and apps for pm-setup
[nonrtric/plt/ranpm.git] / install / helm / nrt-pm / charts / dfc / config / application.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     org.springframework.data: WARN
40     org.springframework.web.reactive.function.client.ExchangeFunctions: WARN
41     #org.oran.datafile: WARN
42     org.oran.datafile: TRACE
43
44   file:
45     name: /var/log/ONAP/application.log
46 app:
47   collected-files-path: "/tmp/oran_datafile/"
48   # Numer of worker threads. Increased number may increase throughput, but will require more executing resources.
49   number-of-worker-treads: 50
50    # If the file name is empty, no authorization token is used
51   auth-token-file: /token-cache/jwt.txt
52    # KAFKA boostrap servers. This is only needed if there are Information Types that uses a kafkaInputTopic
53   # several redundant boostrap servers can be specified, separated by a comma ','.
54   kafka:
55     bootstrap-servers: kafka-1-kafka-bootstrap.nonrtric:9097
56
57     # output topic
58     collected-file-topic: collected-file
59     # Override by env var
60     client-id:
61     # input topic
62     file-ready-event-topic: file-ready
63       # Configues if oath2 tokens shall be used. If set to true, auth-token-file must also be configured
64     use-oath-token: true
65     ssl:
66       key-store-type: PEM
67       key-store-location:
68       # key password is needed if the private key is encrypted
69       key-store-password:
70       trust-store-type: PEM
71       trust-store-location:
72   sftp:
73     known-hosts-file-path:
74     strict-host-key-checking: false
75   ssl:
76      key-store-password-file: /opt/app/datafile/config/ftps_keystore.pass
77      key-store: /opt/app/datafile/config/ftps_keystore.p12
78      trust-store-password-file: /opt/app/datafile/config/truststore.pass
79      trust-store: /opt/app/datafile/config/truststore.jks
80   s3:
81     endpointOverride: http://minio.nonrtric:9000
82     accessKeyId: admin
83     secretAccessKey: adminadmin
84     bucket: ropfiles
85
86 springdoc:
87   show-actuator: true
88   swagger-ui.disable-swagger-default-url: true
89 ################
90