Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenjunjie
brandkbs2
Commits
374e17a8
Commit
374e17a8
authored
Dec 01, 2022
by
shenjunjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级es账号
parent
7445bb5d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
src/main/java/com/zhiwei/brandkbs2/dao/impl/EventDaoImpl.java
+0
-3
src/main/resources/application-dev.properties
+4
-2
src/main/resources/application-local.properties
+4
-2
src/main/resources/application-prod.properties
+4
-2
No files found.
src/main/java/com/zhiwei/brandkbs2/dao/impl/EventDaoImpl.java
View file @
374e17a8
...
...
@@ -267,9 +267,6 @@ public class EventDaoImpl extends BaseMongoDaoImpl<Event> implements EventDao {
}
for
(
String
eventId
:
eventDataDao
.
findEventIdsByChannelFid
(
channelIndex
.
getFid
(),
startTime
,
endTime
))
{
Event
event
=
findOneById
(
eventId
);
if
(
event
==
null
)
{
System
.
out
.
println
(
"error:"
+
eventId
);
}
Long
mapKey
=
Tools
.
truncDate
(
event
.
getStartTime
(),
pattern
);
res
.
putIfAbsent
(
mapKey
,
new
ArrayList
<>());
res
.
get
(
mapKey
).
add
(
event
);
...
...
src/main/resources/application-dev.properties
View file @
374e17a8
...
...
@@ -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.clusterName
=
zhiweidata-new-es
es.httpClusterNodes
=
192.168.0.130:9200:qbjc-back:yuqing.zhiweidata.com,192.168.0.51:9400:elastic:qWxZRW42OHkuOhmF5AXX
es.username
=
brandkbs2_test
es.password
=
3vh65l$i6qQA
#es.username=brandkbs2_test
#es.password=3vh65l$i6qQA
es.username
=
joker
es.password
=
jokerdevops
es.index.test
=
true
#channel-index
...
...
src/main/resources/application-local.properties
View file @
374e17a8
...
...
@@ -34,8 +34,10 @@ secondary.uri=mongodb://qbjcuser:qbjc1q2w3e4r@202.107.192.94:17152/qbjc?authSour
es.clusterNodes
=
202.107.192.94:1443
es.clusterName
=
zhiweidata-new-es
es.httpClusterNodes
=
202.107.192.94:1443:brandkbs2:3vh65l$i6qQA
es.username
=
brandkbs2_test
es.password
=
3vh65l$i6qQA
#es.username=brandkbs2_test jokerdevops
#es.password=3vh65l$i6qQA
es.username
=
joker
es.password
=
jokerdevops
es.index.test
=
true
#channel-index
...
...
src/main/resources/application-prod.properties
View file @
374e17a8
...
...
@@ -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.clusterName
=
zhiweidata-new-es
es.httpClusterNodes
=
192.168.0.130:9200:qbjc-back:yuqing.zhiweidata.com,192.168.0.51:9400:elastic:qWxZRW42OHkuOhmF5AXX
es.username
=
brandkbs2_test
es.password
=
3vh65l$i6qQA
#es.username=brandkbs2_test
#es.password=3vh65l$i6qQA
es.username
=
joker
es.password
=
jokerdevops
es.index.test
=
true
#channel-index
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment