Commit a836731b by shenjunjie

Merge branch 'feature' into 'dev'

升级es账号

See merge request !113
parents c9295992 374e17a8
...@@ -267,9 +267,6 @@ public class EventDaoImpl extends BaseMongoDaoImpl<Event> implements EventDao { ...@@ -267,9 +267,6 @@ public class EventDaoImpl extends BaseMongoDaoImpl<Event> implements EventDao {
} }
for (String eventId : eventDataDao.findEventIdsByChannelFid(channelIndex.getFid(), startTime, endTime)) { for (String eventId : eventDataDao.findEventIdsByChannelFid(channelIndex.getFid(), startTime, endTime)) {
Event event = findOneById(eventId); Event event = findOneById(eventId);
if (event == null) {
System.out.println("error:"+eventId);
}
Long mapKey = Tools.truncDate(event.getStartTime(), pattern); Long mapKey = Tools.truncDate(event.getStartTime(), pattern);
res.putIfAbsent(mapKey,new ArrayList<>()); res.putIfAbsent(mapKey,new ArrayList<>());
res.get(mapKey).add(event); res.get(mapKey).add(event);
......
...@@ -32,8 +32,10 @@ secondary.uri=mongodb://qbjcuser:qbjc1q2w3e4r@192.168.0.150:27017,192.168.0.151: ...@@ -32,8 +32,10 @@ secondary.uri=mongodb://qbjcuser:qbjc1q2w3e4r@192.168.0.150:27017,192.168.0.151:
es.clusterNodes=192.168.0.130:9200 es.clusterNodes=192.168.0.130:9200
es.clusterName=zhiweidata-new-es es.clusterName=zhiweidata-new-es
es.httpClusterNodes=192.168.0.130:9200:qbjc-back:yuqing.zhiweidata.com,192.168.0.51:9400:elastic:qWxZRW42OHkuOhmF5AXX es.httpClusterNodes=192.168.0.130:9200:qbjc-back:yuqing.zhiweidata.com,192.168.0.51:9400:elastic:qWxZRW42OHkuOhmF5AXX
es.username=brandkbs2_test #es.username=brandkbs2_test
es.password=3vh65l$i6qQA #es.password=3vh65l$i6qQA
es.username=joker
es.password=jokerdevops
es.index.test = true es.index.test = true
#channel-index #channel-index
......
...@@ -34,8 +34,10 @@ secondary.uri=mongodb://qbjcuser:qbjc1q2w3e4r@202.107.192.94:17152/qbjc?authSour ...@@ -34,8 +34,10 @@ secondary.uri=mongodb://qbjcuser:qbjc1q2w3e4r@202.107.192.94:17152/qbjc?authSour
es.clusterNodes=202.107.192.94:1443 es.clusterNodes=202.107.192.94:1443
es.clusterName=zhiweidata-new-es es.clusterName=zhiweidata-new-es
es.httpClusterNodes=202.107.192.94:1443:brandkbs2:3vh65l$i6qQA es.httpClusterNodes=202.107.192.94:1443:brandkbs2:3vh65l$i6qQA
es.username=brandkbs2_test #es.username=brandkbs2_test jokerdevops
es.password=3vh65l$i6qQA #es.password=3vh65l$i6qQA
es.username=joker
es.password=jokerdevops
es.index.test = true es.index.test = true
#channel-index #channel-index
......
...@@ -32,8 +32,10 @@ secondary.uri=mongodb://qbjcuser:qbjc1q2w3e4r@192.168.0.150:27017,192.168.0.151: ...@@ -32,8 +32,10 @@ secondary.uri=mongodb://qbjcuser:qbjc1q2w3e4r@192.168.0.150:27017,192.168.0.151:
es.clusterNodes=192.168.0.130:9200 es.clusterNodes=192.168.0.130:9200
es.clusterName=zhiweidata-new-es es.clusterName=zhiweidata-new-es
es.httpClusterNodes=192.168.0.130:9200:qbjc-back:yuqing.zhiweidata.com,192.168.0.51:9400:elastic:qWxZRW42OHkuOhmF5AXX es.httpClusterNodes=192.168.0.130:9200:qbjc-back:yuqing.zhiweidata.com,192.168.0.51:9400:elastic:qWxZRW42OHkuOhmF5AXX
es.username=brandkbs2_test #es.username=brandkbs2_test
es.password=3vh65l$i6qQA #es.password=3vh65l$i6qQA
es.username=joker
es.password=jokerdevops
es.index.test = true es.index.test = true
#channel-index #channel-index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment