1 # ============LICENSE_START==========================================
2 # ===================================================================
3 # Copyright (c) 2020 QCT
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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============================================
19 #####################App general
21 server.servlet.context-path = /datalake/v1
23 #tolerate inconsistency when system crash, see PullThread.run()
26 #SSL global flag, if enabled, still need to check each individual DB SSL flag
29 #names for extra fields that DL adds to each record
30 timestampLabel=datalake_ts_
31 rawDataLabel=datalake_text_
33 defaultTopicName=_DL_DEFAULT_
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
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
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
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
64 #####################Elasticsearch
67 #####################HDFS
69 #how often we flush stall updates, in millisecond
70 hdfsFlushInterval=30000
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
78 #####################Verison
81 #####################KibanaDashboardImportApi
82 kibanaDashboardImportApi=/api/kibana/dashboards/import?exclude=index-pattern
84 #####################KibanaPort
87 #####################Elasticsearch Template API
88 esTemplateMappingApi=/_template/
90 #####################Elasticsearch port