Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
caopu16
whatsmars
提交
2fa3b280
W
whatsmars
项目概览
caopu16
/
whatsmars
与 Fork 源项目一致
Fork自
武汉红喜 / whatsmars
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
whatsmars
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2fa3b280
编写于
1月 05, 2018
作者:
武汉红喜
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
rename package name
上级
755d4847
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
13 addition
and
13 deletion
+13
-13
whatsmars-elasticjob/src/main/java/org/hongxi/whatsmars/job/Main.java
...asticjob/src/main/java/org/hongxi/whatsmars/job/Main.java
+1
-1
whatsmars-elasticjob/src/main/java/org/hongxi/whatsmars/job/dataflow/SpringDataflowJob.java
.../org/hongxi/whatsmars/job/dataflow/SpringDataflowJob.java
+3
-3
whatsmars-elasticjob/src/main/java/org/hongxi/whatsmars/job/fixture/entity/Foo.java
...ain/java/org/hongxi/whatsmars/job/fixture/entity/Foo.java
+1
-1
whatsmars-elasticjob/src/main/java/org/hongxi/whatsmars/job/fixture/repository/FooRepository.java
...ongxi/whatsmars/job/fixture/repository/FooRepository.java
+2
-2
whatsmars-elasticjob/src/main/java/org/hongxi/whatsmars/job/simple/SpringSimpleJob.java
...java/org/hongxi/whatsmars/job/simple/SpringSimpleJob.java
+3
-3
whatsmars-elasticjob/src/main/resources/META-INF/applicationContext.xml
...ticjob/src/main/resources/META-INF/applicationContext.xml
+1
-1
whatsmars-elasticjob/src/main/resources/conf/job.properties
whatsmars-elasticjob/src/main/resources/conf/job.properties
+2
-2
未找到文件。
whatsmars-elasticjob/src/main/java/
com
/whatsmars/job/Main.java
→
whatsmars-elasticjob/src/main/java/
org/hongxi
/whatsmars/job/Main.java
浏览文件 @
2fa3b280
package
com
.whatsmars.job
;
package
org.hongxi
.whatsmars.job
;
import
org.springframework.context.support.ClassPathXmlApplicationContext
;
...
...
whatsmars-elasticjob/src/main/java/
com
/whatsmars/job/dataflow/SpringDataflowJob.java
→
whatsmars-elasticjob/src/main/java/
org/hongxi
/whatsmars/job/dataflow/SpringDataflowJob.java
浏览文件 @
2fa3b280
...
...
@@ -15,12 +15,12 @@
* </p>
*/
package
com
.whatsmars.job.dataflow
;
package
org.hongxi
.whatsmars.job.dataflow
;
import
com.dangdang.ddframe.job.api.ShardingContext
;
import
com.dangdang.ddframe.job.api.dataflow.DataflowJob
;
import
com
.whatsmars.job.fixture.entity.Foo
;
import
com
.whatsmars.job.fixture.repository.FooRepository
;
import
org.hongxi
.whatsmars.job.fixture.entity.Foo
;
import
org.hongxi
.whatsmars.job.fixture.repository.FooRepository
;
import
javax.annotation.Resource
;
import
java.text.SimpleDateFormat
;
...
...
whatsmars-elasticjob/src/main/java/
com
/whatsmars/job/fixture/entity/Foo.java
→
whatsmars-elasticjob/src/main/java/
org/hongxi
/whatsmars/job/fixture/entity/Foo.java
浏览文件 @
2fa3b280
...
...
@@ -15,7 +15,7 @@
* </p>
*/
package
com
.whatsmars.job.fixture.entity
;
package
org.hongxi
.whatsmars.job.fixture.entity
;
import
java.io.Serializable
;
...
...
whatsmars-elasticjob/src/main/java/
com
/whatsmars/job/fixture/repository/FooRepository.java
→
whatsmars-elasticjob/src/main/java/
org/hongxi
/whatsmars/job/fixture/repository/FooRepository.java
浏览文件 @
2fa3b280
...
...
@@ -15,9 +15,9 @@
* </p>
*/
package
com
.whatsmars.job.fixture.repository
;
package
org.hongxi
.whatsmars.job.fixture.repository
;
import
com
.whatsmars.job.fixture.entity.Foo
;
import
org.hongxi
.whatsmars.job.fixture.entity.Foo
;
import
org.springframework.stereotype.Repository
;
import
java.util.ArrayList
;
...
...
whatsmars-elasticjob/src/main/java/
com
/whatsmars/job/simple/SpringSimpleJob.java
→
whatsmars-elasticjob/src/main/java/
org/hongxi
/whatsmars/job/simple/SpringSimpleJob.java
浏览文件 @
2fa3b280
...
...
@@ -15,12 +15,12 @@
* </p>
*/
package
com
.whatsmars.job.simple
;
package
org.hongxi
.whatsmars.job.simple
;
import
com.dangdang.ddframe.job.api.ShardingContext
;
import
com.dangdang.ddframe.job.api.simple.SimpleJob
;
import
com
.whatsmars.job.fixture.entity.Foo
;
import
com
.whatsmars.job.fixture.repository.FooRepository
;
import
org.hongxi
.whatsmars.job.fixture.entity.Foo
;
import
org.hongxi
.whatsmars.job.fixture.repository.FooRepository
;
import
javax.annotation.Resource
;
import
java.text.SimpleDateFormat
;
...
...
whatsmars-elasticjob/src/main/resources/META-INF/applicationContext.xml
浏览文件 @
2fa3b280
...
...
@@ -13,7 +13,7 @@
http://www.dangdang.com/schema/ddframe/job
http://www.dangdang.com/schema/ddframe/job/job.xsd
"
>
<context:component-scan
base-package=
"
com
.whatsmars.job"
/>
<context:component-scan
base-package=
"
org.hongxi
.whatsmars.job"
/>
<context:property-placeholder
location=
"classpath:conf/*.properties"
/>
<bean
id=
"elasticJobLog"
class=
"org.apache.commons.dbcp.BasicDataSource"
destroy-method=
"close"
>
...
...
whatsmars-elasticjob/src/main/resources/conf/job.properties
浏览文件 @
2fa3b280
...
...
@@ -9,7 +9,7 @@ listener.distributed.startedTimeoutMilliseconds=1000
listener.distributed.completedTimeoutMilliseconds
=
3000
simple.id
=
springSimpleJob
simple.class
=
com
.whatsmars.job.simple.SpringSimpleJob
simple.class
=
org.hongxi
.whatsmars.job.simple.SpringSimpleJob
simple.cron
=
0/5 * * * * ?
simple.shardingTotalCount
=
3
simple.shardingItemParameters
=
0=Beijing,1=Shanghai,2=Guangzhou
...
...
@@ -21,7 +21,7 @@ simple.overwrite=true
simple.monitorPort
=
9888
dataflow.id
=
springDataflowJob
dataflow.class
=
com
.whatsmars.job.dataflow.SpringDataflowJob
dataflow.class
=
org.hongxi
.whatsmars.job.dataflow.SpringDataflowJob
dataflow.cron
=
0/5 * * * * ?
dataflow.shardingTotalCount
=
3
dataflow.shardingItemParameters
=
0=Beijing,1=Shanghai,2=Guangzhou
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录