Skip to content

Commit

Permalink
v6.5.1
Browse files Browse the repository at this point in the history
v6.5.1
  • Loading branch information
839128 committed Jun 2, 2022
2 parents b3881e5 + 9e3e6d0 commit 2d6fc37
Show file tree
Hide file tree
Showing 3,333 changed files with 27,697 additions and 9,911 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
</p>
<p align="center">
<a target="_blank" href="https://search.maven.org/search?q=org.aoju">
<img src="https://img.shields.io/badge/maven--central-v6.5.0-blue.svg?label=Maven%20Central" />
<img src="https://img.shields.io/badge/maven--central-v6.5.1-blue.svg?label=Maven%20Central" />
</a>
<a target="_blank" href="https://travis-ci.org/aoju/bus">
<img src="https://travis-ci.org/aoju/bus.svg?branch=main">
<img src="https://travis-ci.com/aoju/bus.svg?branch=main">
</a>
<a target="_blank" href="https://jdk.java.net/">
<img src="https://img.shields.io/badge/Java-17+-green.svg">
</a>
<a target="_blank" href="https://spring.io/projects/spring-boot">
<img src="https://img.shields.io/badge/Spring Boot-2.6.3-brightgreen.svg">
<img src="https://img.shields.io/badge/Spring Boot-2.6.6-brightgreen.svg">
</a>
<a target="_blank" href="https://www.mysql.com">
<img src="https://img.shields.io/badge/Mysql-8.x-blue.svg">
Expand All @@ -39,7 +39,7 @@

## 项目说明

Bus (应用/服务总线) 是一个基础框架、服务套件,它基于Java8编写,参考、借鉴了大量已有框架、组件的设计,可以作为后端服务的开发基础中间件。代码简洁,架构清晰,非常适合学习使用。
Bus (应用/服务总线) 是一个基础框架、服务套件,它基于Java17+编写,参考、借鉴了大量已有框架、组件的设计,可以作为后端服务的开发基础中间件。代码简洁,架构清晰,非常适合学习使用。

很开心地告诉大家这套组件上手和学习难度非常小。如果是以学会使用为目的,只要你会Java语言即可。之前做项目的时候,往往会遇到各种各样的问题,这些问题有可能是会遇到很多次,不善于总结沉淀,这是很多人的一个通病,包括我自己也是。

Expand Down Expand Up @@ -97,7 +97,7 @@ Bus (应用/服务总线) 是一个基础框架、服务套件,它基于Java8
<dependency>
<groupId>org.aoju</groupId>
<artifactId>bus-all</artifactId>
<version>6.5.0</version>
<version>6.5.1</version>
</dependency>
```

Expand Down
8 changes: 7 additions & 1 deletion bus-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.aoju</groupId>
<artifactId>bus-all</artifactId>
<version>6.5.0</version>
<version>6.5.1</version>
<packaging>jar</packaging>

<name>${project.artifactId}</name>
Expand Down Expand Up @@ -147,6 +147,12 @@
<version>${project.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bus-pay</artifactId>
<version>${project.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bus-proxy</artifactId>
Expand Down
1 change: 0 additions & 1 deletion bus-all/src/main/java/org/aoju/bus/Bus.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
* </p>
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public class Bus extends Version {
Expand Down
1 change: 0 additions & 1 deletion bus-all/src/main/java/org/aoju/bus/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Bus (应用/服务总线) 是一个基础框架、服务套件
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus;
6 changes: 3 additions & 3 deletions bus-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.aoju</groupId>
<artifactId>bus-base</artifactId>
<version>6.5.0</version>
<version>6.5.1</version>
<packaging>jar</packaging>

<name>${project.artifactId}</name>
Expand Down Expand Up @@ -42,8 +42,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.compiler.version>17</project.compiler.version>
<spring.boot.version>2.6.3</spring.boot.version>
<lombok.version>1.18.22</lombok.version>
<spring.boot.version>2.7.0</spring.boot.version>
<lombok.version>1.18.24</lombok.version>
<persistence.version>2.2</persistence.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@

import org.aoju.bus.base.consts.ErrorCode;
import org.aoju.bus.base.spring.Controller;
import org.aoju.bus.core.lang.exception.BusinessException;
import org.aoju.bus.core.lang.exception.CrontabException;
import org.aoju.bus.core.lang.exception.InstrumentException;
import org.aoju.bus.core.lang.exception.ValidateException;
import org.aoju.bus.core.exception.BusinessException;
import org.aoju.bus.core.exception.CrontabException;
import org.aoju.bus.core.exception.InstrumentException;
import org.aoju.bus.core.exception.ValidateException;
import org.aoju.bus.core.toolkit.RuntimeKit;
import org.aoju.bus.core.toolkit.StringKit;
import org.aoju.bus.logger.Logger;
Expand All @@ -49,7 +49,6 @@
* 异常信息拦截处理
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
@ControllerAdvice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* 异常信息处理
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.base.advice;
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
* 公共常量
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public class Consts extends Normal {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
********************************************************************************/
package org.aoju.bus.base.consts;

import org.aoju.bus.core.exception.InstrumentException;
import org.aoju.bus.core.lang.Symbol;
import org.aoju.bus.core.lang.exception.InstrumentException;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
Expand All @@ -35,7 +35,6 @@
* 系统响应码
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public class ErrorCode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* 基础常量
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.base.consts;
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
* Entity 基本信息
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
* Entity 实体
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
* 返回值公用类
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
* 授权公用类
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
* 返回结果公用
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
* 访问链路跟踪
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* 基础实体类
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.base.entity;
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* BaseMapper 接口
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public interface BaseMapper<T> extends Mapper<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* Core Mapper 接口
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public interface Mapper<T> extends org.aoju.bus.mapper.Mapper<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* 基础持久化支持
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.base.mapper;
1 change: 0 additions & 1 deletion bus-base/src/main/java/org/aoju/bus/base/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* 基础功能实现
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.base;
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
* BaseService 接口
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public interface BaseService<T> extends Service {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
* Service 接口
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public interface Service {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
* 重写此类及{@link BaseEntity} 业务类继承新类
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public class BaseServiceImpl<Mapper extends BaseMapper<T>, T extends BaseEntity>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* 基础业务实现
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.base.service.impl;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* 基础业务接口
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.base.service;
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
* 基础请求封装
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public class BaseController<Service extends BaseService<T>, T> extends Controller {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
* 基础输出封装
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public class Controller {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* 基础API功能
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
package org.aoju.bus.base.spring;
2 changes: 1 addition & 1 deletion bus-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.aoju</groupId>
<artifactId>bus-bom</artifactId>
<version>6.5.0</version>
<version>6.5.1</version>
<packaging>pom</packaging>

<name>${project.artifactId}</name>
Expand Down
5 changes: 3 additions & 2 deletions bus-cache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Object func(@CacheKey("#arg0[#i]") List<Long> ids){
<dependency>
<groupId>org.aoju.bus</groupId>
<artifactId>bus-cache</artifactId>
<version>6.5.0</version>
<version>x.x.x</version>
</dependency>
```

Expand Down Expand Up @@ -282,4 +282,5 @@ public @interface CachedGet {
对于`@CacheKey`内的`value`属性(SpEL), CacheX在将方法的参数组装为key时, 会将整个方法的参数导入到SpEL的执行环境内, 所以在任一参数的`@CacheKey``value`
属性内都可以自由的引用这些变量, 尽管在`arg0`我们可以引用整个方法的任意参数, 但为了可读性, 我们仍然建议对某个参数的引用放在该参数自己的`@CacheKey`

> 注意: 在Java8环境中, 如果编译时没有指定`-parameters`参数, 则参数名默认为`arg0``arg1`、...、`argN`, 如果指定了该参数, 则在`spel`中使用实际的参数名即可, 如:`#source.name()`; 为了兼容这两种方式, CacheX提供了自己的命名方式`args0``args1`、...、`argsN`, 使用户可以不用区分是否开启编译参数.
> 注意: 在Java8环境中, 如果编译时没有指定`-parameters`参数, 则参数名默认为`arg0``arg1`、...、`argN`, 如果指定了该参数, 则在`spel`中使用实际的参数名即可,
> 如:`#source.name()`; 为了兼容这两种方式, CacheX提供了自己的命名方式`args0``args1`、...、`argsN`, 使用户可以不用区分是否开启编译参数.
8 changes: 4 additions & 4 deletions bus-cache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.aoju</groupId>
<artifactId>bus-cache</artifactId>
<version>6.5.0</version>
<version>6.5.1</version>
<packaging>jar</packaging>

<name>${project.artifactId}</name>
Expand Down Expand Up @@ -42,10 +42,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.compiler.version>17</project.compiler.version>
<spring.boot.version>2.6.3</spring.boot.version>
<lombok.version>1.18.22</lombok.version>
<spring.boot.version>2.7.0</spring.boot.version>
<lombok.version>1.18.24</lombok.version>
<guice.version>5.0.1</guice.version>
<jedis.version>3.6.1</jedis.version>
<jedis.version>4.2.2</jedis.version>
<xmemcached.version>2.4.7</xmemcached.version>
<ehcache.version>3.9.4</ehcache.version>
<curator.version>4.3.0</curator.version>
Expand Down
1 change: 0 additions & 1 deletion bus-cache/src/main/java/org/aoju/bus/cache/CacheX.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
* 缓存接口
*
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public interface CacheX {
Expand Down
1 change: 0 additions & 1 deletion bus-cache/src/main/java/org/aoju/bus/cache/Complex.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

/**
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
@Singleton
Expand Down
1 change: 0 additions & 1 deletion bus-cache/src/main/java/org/aoju/bus/cache/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

/**
* @author Kimi Liu
* @version 6.5.0
* @since Java 17+
*/
public class Context {
Expand Down
Loading

0 comments on commit 2d6fc37

Please sign in to comment.