Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
db703eb9
authored
Mar 07, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新RM
parent
9992d94f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
9 deletions
doc/XXL-JOB-English-Documentation.md
doc/XXL-JOB官方文档.md
xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/I18nUtil.java
xxl-job-core/src/main/java/com/xxl/job/core/biz/AdminBiz.java
xxl-job-core/src/main/java/com/xxl/job/core/glue/GlueTypeEnum.java
doc/XXL-JOB-English-Documentation.md
View file @
db703eb9
...
...
@@ -797,7 +797,7 @@ The scheduling center provides API services for executors and business parties t
The scheduling center API service location: com.xxl.job.core.biz.AdminBiz.java
The scheduling center API service requests reference code:com.xxl.job.
dao.impl
.AdminBizTest.java
The scheduling center API service requests reference code:com.xxl.job.
adminbiz
.AdminBizTest.java
## 6 Version update log
...
...
doc/XXL-JOB官方文档.md
View file @
db703eb9
## 《分
布式任务调度平台XXL-JOB》
## 《分
布式任务调度平台XXL-JOB》
...
...
@@ -1157,6 +1157,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
1、
[
迭代中
]
支持通过API服务操作任务信息;
-
2、
[
迭代中
]
任务告警逻辑调整:任务调度,以及任务回调失败时,均推送监控队列。后期考虑通过任务Log字段控制告警状态;
-
3、
[
迭代中
]
任务超时设置,超时任务主动终止;
-
4、
[
迭代中
]
依赖JAR中枚举国际化问题处理;
### TODO LIST
...
...
@@ -1180,7 +1181,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
18、告警邮件中展示失败告警信息;
-
19、提供多版本执行器:不依赖容器版本、不内嵌Jetty版本(通过配置executoraddress替换jetty通讯)等;
-
20、注册中心支持扩展,除默认基于DB之外,支持扩展接入第三方注册中心如zk、eureka等;
-
21、依赖Core内部国际化处理;
## 七、其他
...
...
xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/I18nUtil.java
View file @
db703eb9
...
...
@@ -30,7 +30,7 @@ public class I18nUtil {
return
prop
;
}
try
{
// bild i18n prop
// b
u
ild i18n prop
String
i18n
=
XxlJobAdminConfig
.
getAdminConfig
().
getI18n
();
i18n
=
StringUtils
.
isNotBlank
(
i18n
)?(
"_"
+
i18n
):
i18n
;
String
i18nFile
=
MessageFormat
.
format
(
"i18n/message{0}.properties"
,
i18n
);
...
...
xxl-job-core/src/main/java/com/xxl/job/core/biz/AdminBiz.java
View file @
db703eb9
...
...
@@ -13,6 +13,9 @@ public interface AdminBiz {
public
static
final
String
MAPPING
=
"/api"
;
// ---------------------- callback ----------------------
/**
* callback
*
...
...
@@ -21,6 +24,9 @@ public interface AdminBiz {
*/
public
ReturnT
<
String
>
callback
(
List
<
HandleCallbackParam
>
callbackParamList
);
// ---------------------- registry ----------------------
/**
* registry
*
...
...
@@ -38,6 +44,8 @@ public interface AdminBiz {
public
ReturnT
<
String
>
registryRemove
(
RegistryParam
registryParam
);
// ---------------------- job opt ----------------------
/**
* trigger job for once
*
...
...
xxl-job-core/src/main/java/com/xxl/job/core/glue/GlueTypeEnum.java
View file @
db703eb9
...
...
@@ -5,11 +5,11 @@ package com.xxl.job.core.glue;
*/
public
enum
GlueTypeEnum
{
BEAN
(
"BEAN
模式
"
,
false
,
null
,
null
),
GLUE_GROOVY
(
"GLUE
模式
(Java)"
,
false
,
null
,
null
),
GLUE_SHELL
(
"GLUE
模式
(Shell)"
,
true
,
"bash"
,
".sh"
),
GLUE_PYTHON
(
"GLUE
模式
(Python)"
,
true
,
"python"
,
".py"
),
GLUE_NODEJS
(
"GLUE
模式
(Nodejs)"
,
true
,
"node"
,
".js"
);
BEAN
(
"BEAN"
,
false
,
null
,
null
),
GLUE_GROOVY
(
"GLUE(Java)"
,
false
,
null
,
null
),
GLUE_SHELL
(
"GLUE(Shell)"
,
true
,
"bash"
,
".sh"
),
GLUE_PYTHON
(
"GLUE(Python)"
,
true
,
"python"
,
".py"
),
GLUE_NODEJS
(
"GLUE(Nodejs)"
,
true
,
"node"
,
".js"
);
private
String
desc
;
private
boolean
isScript
;
...
...
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