xuxueli 8 年之前
父節點
當前提交
db703eb9d7

+ 1 - 1
doc/XXL-JOB-English-Documentation.md 查看文件

797
 
797
 
798
 The scheduling center API service location: com.xxl.job.core.biz.AdminBiz.java
798
 The scheduling center API service location: com.xxl.job.core.biz.AdminBiz.java
799
 
799
 
800
-The scheduling center API service requests reference code:com.xxl.job.dao.impl.AdminBizTest.java
800
+The scheduling center API service requests reference code:com.xxl.job.adminbiz.AdminBizTest.java
801
 
801
 
802
 
802
 
803
 ## 6 Version update log
803
 ## 6 Version update log

+ 2 - 1
doc/XXL-JOB官方文档.md 查看文件

1157
 - 1、[迭代中]支持通过API服务操作任务信息;
1157
 - 1、[迭代中]支持通过API服务操作任务信息;
1158
 - 2、[迭代中]任务告警逻辑调整:任务调度,以及任务回调失败时,均推送监控队列。后期考虑通过任务Log字段控制告警状态;
1158
 - 2、[迭代中]任务告警逻辑调整:任务调度,以及任务回调失败时,均推送监控队列。后期考虑通过任务Log字段控制告警状态;
1159
 - 3、[迭代中]任务超时设置,超时任务主动终止;
1159
 - 3、[迭代中]任务超时设置,超时任务主动终止;
1160
+- 4、[迭代中]依赖JAR中枚举国际化问题处理;
1160
 
1161
 
1161
 
1162
 
1162
 ### TODO LIST
1163
 ### TODO LIST
1180
 - 18、告警邮件中展示失败告警信息;
1181
 - 18、告警邮件中展示失败告警信息;
1181
 - 19、提供多版本执行器:不依赖容器版本、不内嵌Jetty版本(通过配置executoraddress替换jetty通讯)等;
1182
 - 19、提供多版本执行器:不依赖容器版本、不内嵌Jetty版本(通过配置executoraddress替换jetty通讯)等;
1182
 - 20、注册中心支持扩展,除默认基于DB之外,支持扩展接入第三方注册中心如zk、eureka等;
1183
 - 20、注册中心支持扩展,除默认基于DB之外,支持扩展接入第三方注册中心如zk、eureka等;
1183
-
1184
+- 21、依赖Core内部国际化处理;
1184
 
1185
 
1185
 
1186
 
1186
 ## 七、其他
1187
 ## 七、其他

+ 1 - 1
xxl-job-admin/src/main/java/com/xxl/job/admin/core/util/I18nUtil.java 查看文件

30
             return prop;
30
             return prop;
31
         }
31
         }
32
         try {
32
         try {
33
-            // bild i18n prop
33
+            // build i18n prop
34
             String i18n = XxlJobAdminConfig.getAdminConfig().getI18n();
34
             String i18n = XxlJobAdminConfig.getAdminConfig().getI18n();
35
             i18n = StringUtils.isNotBlank(i18n)?("_"+i18n):i18n;
35
             i18n = StringUtils.isNotBlank(i18n)?("_"+i18n):i18n;
36
             String i18nFile = MessageFormat.format("i18n/message{0}.properties", i18n);
36
             String i18nFile = MessageFormat.format("i18n/message{0}.properties", i18n);

+ 8 - 0
xxl-job-core/src/main/java/com/xxl/job/core/biz/AdminBiz.java 查看文件

13
 
13
 
14
     public static final String MAPPING = "/api";
14
     public static final String MAPPING = "/api";
15
 
15
 
16
+
17
+    // ---------------------- callback ----------------------
18
+
16
     /**
19
     /**
17
      * callback
20
      * callback
18
      *
21
      *
21
      */
24
      */
22
     public ReturnT<String> callback(List<HandleCallbackParam> callbackParamList);
25
     public ReturnT<String> callback(List<HandleCallbackParam> callbackParamList);
23
 
26
 
27
+
28
+    // ---------------------- registry ----------------------
29
+
24
     /**
30
     /**
25
      * registry
31
      * registry
26
      *
32
      *
38
     public ReturnT<String> registryRemove(RegistryParam registryParam);
44
     public ReturnT<String> registryRemove(RegistryParam registryParam);
39
 
45
 
40
 
46
 
47
+    // ---------------------- job opt ----------------------
48
+
41
     /**
49
     /**
42
      * trigger job for once
50
      * trigger job for once
43
      *
51
      *

+ 5 - 5
xxl-job-core/src/main/java/com/xxl/job/core/glue/GlueTypeEnum.java 查看文件

5
  */
5
  */
6
 public enum GlueTypeEnum {
6
 public enum GlueTypeEnum {
7
 
7
 
8
-    BEAN("BEAN模式", false, null, null),
9
-    GLUE_GROOVY("GLUE模式(Java)", false, null, null),
10
-    GLUE_SHELL("GLUE模式(Shell)", true, "bash", ".sh"),
11
-    GLUE_PYTHON("GLUE模式(Python)", true, "python", ".py"),
12
-    GLUE_NODEJS("GLUE模式(Nodejs)", true, "node", ".js");
8
+    BEAN("BEAN", false, null, null),
9
+    GLUE_GROOVY("GLUE(Java)", false, null, null),
10
+    GLUE_SHELL("GLUE(Shell)", true, "bash", ".sh"),
11
+    GLUE_PYTHON("GLUE(Python)", true, "python", ".py"),
12
+    GLUE_NODEJS("GLUE(Nodejs)", true, "node", ".js");
13
 
13
 
14
     private String desc;
14
     private String desc;
15
     private boolean isScript;
15
     private boolean isScript;