This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
web-sketch-webskt-query-agent/src/main/resources/application-sketch.properties
2023-02-20 15:30:13 +08:00

51 lines
1.5 KiB
Properties

#datasource
spring.datasource.url=jdbc:mysql://192.168.44.12:3306/web_sketch_v2?useUnicode=true&characterEncoding=utf-8&useSSL=true
spring.datasource.username=root
spring.datasource.password=galaxy2019
################### application ####################
query.output.dir = c:\\test\\output_file
# offline读取批处理量
query.readin.batch = 10000
# 打印进度日志的查询条数
query.log.file.line.interval = 10000
################### mariadb ########################
database = web_sketch_v2
db.query.batch.size = 10000
###################### api #########################
query.isLocal=true
##### bright cloud #######
bright-cloud.oemid = GeedgeNet
bright-cloud.deviceid = TSG-Dev
bright-cloud.uid = GN0001
bright-cloud.url = https://api.bcti.brightcloud.com/1.0/url/getinfo
bright-cloud.method = POST
bright-cloud.queryType = getinfo
bright-cloud.isa1cat = 1
bright-cloud.isReputation = 1
#bright-cloud返回json格式
bright-cloud.isxml = 0
# api单次查询url长度限制 API最高限制
bright-cloud.maximum-query-num = 100
bright-cloud.cateinfo-filepath = categoryinfo.json
bright-cloud.usereport-filepath = bright_cloud_query_count.csv
######### chinaz #########
chinaz.url-single = https://apidatav2.chinaz.com/single
chinaz.url-batch = https://apidatav2.chinaz.com/batch
chinaz.key = ffc9be4141bd49a093ed0185a54dc6a2
chinaz.maximum-query-num = 50
chinaz.usereport-filepath = chinaz_query_count.csv
###################### 其他 #########################
#顶级域名
sketch.tld.file = public_suffix_list_only.dat
sketch.home.path=C:\\test