6d3f3d2108202034d6db5e12b42b189c72067199
[dcaegen2/services.git] /
1 # ============LICENSE_START==========================================
2 # ===================================================================
3 #  Copyright (c) 2020 QCT
4 #
5 #  Licensed under the Apache License, Version 2.0 (the "License");
6 #  you may not use this file except in compliance with the License.
7 #  You may obtain a copy of the License at
8 #
9 #         http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #============LICENSE_END============================================
17
18
19 #####################App general
20 server.port = 1680
21 server.servlet.context-path = /datalake/v1
22
23 #tolerate inconsistency when system crash, see PullThread.run()
24 async=true
25
26 #SSL global flag, if enabled, still need to check each individual DB SSL flag
27 enableSSL=false
28
29 #names for extra fields that DL adds to each record
30 timestampLabel=datalake_ts_
31 rawDataLabel=datalake_text_
32
33 defaultTopicName=_DL_DEFAULT_
34
35 #####################Spring connection to MariaDB for ORM
36 #spring.jpa.hibernate.ddl-auto=update
37 spring.jpa.hibernate.ddl-auto=none
38 spring.jpa.show-sql=false
39
40 #spring.datasource.driver-class-name=com.mysql.jdbc.Driver
41 spring.datasource.url=jdbc:mariadb://dl-mariadb:3306/datalake?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
42 spring.datasource.username=dl
43 spring.datasource.password=dl1234
44
45
46 #####################DMaaP
47 dmaapZookeeperHostPort=message-router-zookeeper:2181
48 dmaapKafkaHostPort=message-router-kafka:9092
49 dmaapKafkaGroup=dlgroup44
50 #dmaapKafkaLogin=admin
51 #dmaapKafkaPass=admin-secret
52 #dmaapKafkaSecurityProtocol=SASL_PLAINTEXT
53
54 #in second
55 dmaapKafkaTimeout=10
56 dmaapKafkaExclude[0]=__consumer_offsets
57 dmaapKafkaExclude[1]=__transaction_state
58 #dmaapKafkaExclude[2]=msgrtr.apinode.metrics.dmaap
59 #check for new topics , in millisecond
60 dmaapCheckNewTopicInterval=10000
61
62 kafkaConsumerCount=3
63
64 #####################Elasticsearch
65 elasticsearchType=doc
66
67 #####################HDFS
68 hdfsBufferSize=4096
69 #how often we flush stall updates, in millisecond
70 hdfsFlushInterval=30000
71 hdfsBatchSize=500
72
73 #####################Logging
74 logging.level.org.springframework.web=ERROR
75 logging.level.com.att.nsa.apiClient.http=ERROR
76 logging.level.org.onap.datalake=DEBUG
77
78 #####################Verison
79 datalakeVersion=0.0.1
80
81 #####################KibanaDashboardImportApi
82 kibanaDashboardImportApi=/api/kibana/dashboards/import?exclude=index-pattern
83
84 #####################KibanaPort
85 kibanaPort=5601
86
87 #####################Elasticsearch Template API
88 esTemplateMappingApi=/_template/
89
90 #####################Elasticsearch port
91 esPort=9200