Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
X
XXL-JOB
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
靳帅
XXL-JOB
Commits
db703eb9
提交
db703eb9
authored
3月 07, 2018
作者:
xuxueli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新RM
上级
9992d94f
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
17 行增加
和
8 行删除
+17
-8
XXL-JOB-English-Documentation.md
doc/XXL-JOB-English-Documentation.md
+1
-1
XXL-JOB官方文档.md
doc/XXL-JOB官方文档.md
+2
-1
I18nUtil.java
...n/src/main/java/com/xxl/job/admin/core/util/I18nUtil.java
+1
-1
AdminBiz.java
...job-core/src/main/java/com/xxl/job/core/biz/AdminBiz.java
+8
-0
GlueTypeEnum.java
...ore/src/main/java/com/xxl/job/core/glue/GlueTypeEnum.java
+5
-5
没有找到文件。
doc/XXL-JOB-English-Documentation.md
浏览文件 @
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
浏览文件 @
db703eb9
...
...
@@ -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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论