Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
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
huluobin
dc-java
Commits
be70999d
Commit
be70999d
authored
Aug 17, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头程费用 日志
parent
3749b715
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
job.properties
...se/base-sync-cost-first/src/main/resources/job.properties
+4
-4
SyncCostFirstTest.java
...base-sync-cost-first/src/test/java/SyncCostFirstTest.java
+3
-3
No files found.
data-base/base-sync-cost-first/src/main/resources/job.properties
View file @
be70999d
#EVENT_RDB_STORAGE_DRIVER=com.mysql.jdbc.Driver
EVENT_RDB_STORAGE_URL
=
jdbc:mysql://192.168.6.140:3306/bailun_datacenter?serverTimezone=GMT%2B8&characterEncoding=utf-8
#
EVENT_RDB_STORAGE_URL=jdbc:mysql://192.168.6.140:3306/bailun_datacenter?serverTimezone=GMT%2B8&characterEncoding=utf-8
#EVENT_RDB_STORAGE_USERNAME=root
#EVENT_RDB_STORAGE_PASSWORD=123456
ZOOKEEPER_SERVER
=
127.0.0.1:2181
#
ZOOKEEPER_SERVER=127.0.0.1:2181
EVENT_RDB_STORAGE_DRIVER
=
com.mysql.jdbc.Driver
#
EVENT_RDB_STORAGE_URL=jdbc:mysql://10.0.8.15:3306/bailun_datacenter?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
EVENT_RDB_STORAGE_URL
=
jdbc:mysql://10.0.8.15:3306/bailun_datacenter?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
EVENT_RDB_STORAGE_USERNAME
=
root
EVENT_RDB_STORAGE_PASSWORD
=
#7kfnymAM$Y9-Ntf
#
ZOOKEEPER_SERVER=172.31.255.120:2181
ZOOKEEPER_SERVER=172.31.255.120:2181
NAME_SPACE
=
data-center
JOB_NAME
=
base-sync-cost-first
JOB_CRON
=
0 10 0/1 * * ? *
...
...
data-base/base-sync-cost-first/src/test/java/SyncCostFirstTest.java
View file @
be70999d
...
...
@@ -9,9 +9,9 @@ public class SyncCostFirstTest {
@Test
public
void
test
()
{
SyncCostFirstJob
syncCostFirstJob
=
new
SyncCostFirstJob
();
JobPointLog
jobPointLog
=
new
JobPointLog
(
"base-sync-cost-first"
,
1
01
,
1
,
1
,
1
,
LocalDateTime
.
of
(
2020
,
5
,
1
,
0
,
0
,
0
),
LocalDateTime
.
of
(
2020
,
8
,
1
4
,
9
,
0
,
0
));
JobPointLog
jobPointLog
=
new
JobPointLog
(
"base-sync-cost-first"
,
1
,
1
,
1
,
1
,
LocalDateTime
.
of
(
2020
,
8
,
14
,
9
,
0
,
0
),
LocalDateTime
.
of
(
2020
,
8
,
1
7
,
13
,
0
,
0
));
syncCostFirstJob
.
executeJob
(
null
,
jobPointLog
);
}
}
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