升级小版本: V1.4.1 新特性
- 1、groupId从com.xxl改为com.xuxueli,为推送maven中央仓库做前期准备; - 2、系统版本不在维护在项目跟pom中,各个子模块单独配置版本配置,解决子模块无法单独编译的问题; - 3、底层RPC通讯,传输数据的字节长度统计规则优化,可节省50%数据传输量; - 4、系统公共弹框功能,插件化; - 5、底层表结构,表明统一大写; - 6、调度中心,异常处理器JSON响应的ContentType修改,修复浏览器不识别的问题;
This commit is contained in:
parent
c9f2b33e30
commit
845e7e1b30
10
README.md
10
README.md
|
@ -1,4 +1,4 @@
|
||||||
# 《分布式任务调度平台XXL-JOB》(最新版本V1.4.0)
|
# 《分布式任务调度平台XXL-JOB》(最新版本V1.4.1)
|
||||||
## 一、简介
|
## 一、简介
|
||||||
|
|
||||||
#### 1.1 概述
|
#### 1.1 概述
|
||||||
|
@ -584,6 +584,14 @@ XXL-JOB会为每次调度请求生成一个单独的日志文件,通过重写L
|
||||||
- 6.3、调度中心中列表分页参数优化,解决一处因服务器限制post长度而引起的问题;
|
- 6.3、调度中心中列表分页参数优化,解决一处因服务器限制post长度而引起的问题;
|
||||||
- 6.4、执行器Jobhandler注解优化,解决一处因事务代理导致的容器无法加载JobHandler的问题;
|
- 6.4、执行器Jobhandler注解优化,解决一处因事务代理导致的容器无法加载JobHandler的问题;
|
||||||
- 6.5、远程调度优化,禁用retry策略,解决一处可能导致重复调用的问题;
|
- 6.5、远程调度优化,禁用retry策略,解决一处可能导致重复调用的问题;
|
||||||
|
|
||||||
|
#### 6.7 版本 V1.4.1 新特性
|
||||||
|
- 1、groupId从com.xxl改为com.xuxueli,为推送maven中央仓库做前期准备;
|
||||||
|
- 2、系统版本不在维护在项目跟pom中,各个子模块单独配置版本配置,解决子模块无法单独编译的问题;
|
||||||
|
- 3、底层RPC通讯,传输数据的字节长度统计规则优化,可节省50%数据传输量;
|
||||||
|
- 4、系统公共弹框功能,插件化;
|
||||||
|
- 5、底层表结构,表明统一大写;
|
||||||
|
- 6、调度中心,异常处理器JSON响应的ContentType修改,修复浏览器不识别的问题;
|
||||||
|
|
||||||
Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段, 地址见分支 [V1.3](https://github.com/xuxueli/xxl-job/tree/v1.3) 。新特性将会在master分支持续更新。
|
Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段, 地址见分支 [V1.3](https://github.com/xuxueli/xxl-job/tree/v1.3) 。新特性将会在master分支持续更新。
|
||||||
|
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -1,7 +1,7 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.xxl</groupId>
|
<groupId>com.xuxueli</groupId>
|
||||||
<artifactId>xxl-job</artifactId>
|
<artifactId>xxl-job</artifactId>
|
||||||
<version>${xxl-job.version}</version>
|
<version>${xxl-job.version}</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<xxl-job.version>1.4.0</xxl-job.version>
|
<xxl-job.version>1.4.1</xxl-job.version>
|
||||||
<spring.version>3.2.14.RELEASE</spring.version>
|
<spring.version>3.2.14.RELEASE</spring.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.xxl</groupId>
|
<groupId>com.xuxueli</groupId>
|
||||||
<artifactId>xxl-job</artifactId>
|
<artifactId>xxl-job</artifactId>
|
||||||
<version>${xxl-job.version}</version>
|
<version>${xxl-job.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<xxl-job.version>1.4.0</xxl-job.version>
|
<xxl-job.version>1.4.1</xxl-job.version>
|
||||||
<spring.version>3.2.14.RELEASE</spring.version>
|
<spring.version>3.2.14.RELEASE</spring.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
|
|
||||||
<!-- xxl-job-core -->
|
<!-- xxl-job-core -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xxl</groupId>
|
<groupId>com.xuxueli</groupId>
|
||||||
<artifactId>xxl-job-core</artifactId>
|
<artifactId>xxl-job-core</artifactId>
|
||||||
<version>${xxl-job.version}</version>
|
<version>${xxl-job.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.xxl</groupId>
|
<groupId>com.xuxueli</groupId>
|
||||||
<artifactId>xxl-job</artifactId>
|
<artifactId>xxl-job</artifactId>
|
||||||
<version>${xxl-job.version}</version>
|
<version>${xxl-job.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
<version>${xxl-job.version}</version>
|
<version>${xxl-job.version}</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<xxl-job.version>1.4.0</xxl-job.version>
|
<xxl-job.version>1.4.1</xxl-job.version>
|
||||||
<spring.version>3.2.14.RELEASE</spring.version>
|
<spring.version>3.2.14.RELEASE</spring.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
package com.xxl.job.core.util;
|
package com.xxl.job.core.util;
|
||||||
|
|
||||||
|
import org.slf4j.Logger;
|
||||||
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -7,7 +11,8 @@ import java.math.BigInteger;
|
||||||
* @author xuxueli 2015-11-14 22:47:28
|
* @author xuxueli 2015-11-14 22:47:28
|
||||||
*/
|
*/
|
||||||
public class ByteHexConverter {
|
public class ByteHexConverter {
|
||||||
|
private static Logger logger = LoggerFactory.getLogger(ByteHexConverter.class);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* byte - to - radix, use BigInteger
|
* byte - to - radix, use BigInteger
|
||||||
*/
|
*/
|
||||||
|
@ -53,7 +58,15 @@ public class ByteHexConverter {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
// because java base on unicode, and one china code's length is one, but it's cost 2 bytes.
|
// because java base on unicode, and one china code's length is one, but it's cost 2 bytes.
|
||||||
int len = str.getBytes().length * 2;
|
//int len = str.getBytes().length * 2;
|
||||||
|
int len = 0;
|
||||||
|
try {
|
||||||
|
len = str.getBytes("UTF-8").length;
|
||||||
|
} catch (UnsupportedEncodingException e) {
|
||||||
|
logger.error("", e);
|
||||||
|
len = str.getBytes().length * 2;
|
||||||
|
}
|
||||||
|
|
||||||
if (len % 4 != 0) {
|
if (len % 4 != 0) {
|
||||||
// Length is best in multiples of four
|
// Length is best in multiples of four
|
||||||
len = (len/4 + 1) * 4;
|
len = (len/4 + 1) * 4;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.xxl</groupId>
|
<groupId>com.xuxueli</groupId>
|
||||||
<artifactId>xxl-job</artifactId>
|
<artifactId>xxl-job</artifactId>
|
||||||
<version>${xxl-job.version}</version>
|
<version>${xxl-job.version}</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<xxl-job.version>1.4.0</xxl-job.version>
|
<xxl-job.version>1.4.1</xxl-job.version>
|
||||||
<spring.version>3.2.14.RELEASE</spring.version>
|
<spring.version>3.2.14.RELEASE</spring.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
|
|
||||||
<!-- xxl-job-core -->
|
<!-- xxl-job-core -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.xxl</groupId>
|
<groupId>com.xuxueli</groupId>
|
||||||
<artifactId>xxl-job-core</artifactId>
|
<artifactId>xxl-job-core</artifactId>
|
||||||
<version>${xxl-job.version}</version>
|
<version>${xxl-job.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
Loading…
Reference in New Issue