diff --git a/dsp/src/main/resources/application.yml b/dsp/src/main/resources/application.yml index 29640d3..7d3d648 100644 --- a/dsp/src/main/resources/application.yml +++ b/dsp/src/main/resources/application.yml @@ -59,6 +59,7 @@ topics: stream-db: com.jsc.dsp.service.StorageService stream-file-dl: com.jsc.dsp.service.FileDlService +# 本地调试时这几个开关设置为 false switch: enable-storage-service: false enable-file-dl-service: false @@ -73,6 +74,12 @@ ftp: timeout: 5000 passive-mode: true +sftp: + host: 74.121.148.204 + port: 22 + username: root + password: NSgRMhIXL6gp + custom: dev-mode: false filter-words-query-api: http://47.115.228.133:28081/api/open/wordBank/queryAll @@ -87,10 +94,12 @@ custom: websiteUpdateAPI: http://47.115.228.133:28081/api/open/target/website/update socialQueryAPI: http://47.115.228.133:28081/api/open/target/social/queryAll?sortBy=id&shuffleResult=false socialUpdateAPI: http://47.115.228.133:28081/api/open/target/social/update - websiteWhiteList: 能源界(国内信息);能源界(国际信息);中国能源新闻网;新华能源网;中国能源网(能源战略);中国农网(三农要闻);中国经济网(三农经济);中华粮网(粮食安全);美国之音(中国版面);美国之音(中美关系);美国之音(台海两岸版面);美国之音(港澳版面);看中国(看大陆版面);看中国(重点新闻);德国之声(中国报道);纽约时报中文网(中国版面);大纪元(一周大陆新闻);EnergyNow;联合国粮农组织;路透社(中国版面) + websiteWhiteList: 能源界(国内信息);能源界(国际信息);中国能源新闻网;新华能源网;中国能源网(能源战略);中国农网(三农要闻);中国经济网(三农经济);中华粮网(粮食安全);美国之音(中国版面);美国之音(中美关系);美国之音(台海两岸版面);美国之音(港澳版面);看中国(看大陆版面);看中国(重点新闻);德国之声(中国报道);纽约时报中文网(中国版面);大纪元(一周大陆新闻);EnergyNow;联合国粮农组织;路透社(中国版面);朝中社;劳动新闻;美国农业部食品和营养服务局;布鲁金斯学会(亚太版面);俄罗斯新闻社;美国能源部;朝鲜新闻;联邦能源管理委员会;华盛顿邮报;ChinaAid;美国战略与国际研究中心;美国外交关系委员会;美国兰德;国际危机组织;美国国务院东亚与太平洋事务局;俄罗斯卫星通讯社;尤里·列瓦达分析中心;塔斯社;韩国外交部 twitterWhiteList: nytchinese;YesterdayBigcat;takaichi_sanae;yonhapcn;VOAChinese;ChineseWSJ;whyyoutouzhele;Jaemyung_Lee - excelOutputPath: D:/data/output/upload + newsExcelOutputPath: D:/data/output/upload + twitterExcelOutputPath: D:/data/output/twitter backupFilePath: D:/data/output/backup pagesOutputPath: D:/data/output/pdf ftpUploadPath: /home/jsc-2b - exportTaskSchedule: "0 0 12 * * 1,3,5" \ No newline at end of file + exportNewsTaskSchedule: "0 30 8 * * 1,2,3,4,5,6,7" + exportTwitterTaskSchedule: "0 30 6 * * 1,2,3,4,5,6,7" \ No newline at end of file