Skip to content

Commit

Permalink
Merge pull request #30 from aoju/develop
Browse files Browse the repository at this point in the history
[Update] v3.1.9
  • Loading branch information
839128 committed Sep 5, 2019
2 parents 41ae291 + 1b33286 commit f396ac3
Show file tree
Hide file tree
Showing 1,286 changed files with 3,497 additions and 1,594 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a target="_blank" href="https://search.maven.org/search?q=org.aoju">
<img src="https://img.shields.io/badge/maven--central-v3.1.8-blue.svg?label=Maven%20Central" ></img>
<img src="https://img.shields.io/badge/maven--central-v3.1.9-blue.svg?label=Maven%20Central" ></img>
</a>
<a target="_blank" href="https://travis-ci.org/aoju/bus">
<img src="https://travis-ci.org/aoju/bus.svg?branch=master">
Expand Down
2 changes: 1 addition & 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>3.1.8</version>
<version>3.1.9</version>
<packaging>jar</packaging>

<name>bus-all</name>
Expand Down
2 changes: 1 addition & 1 deletion bus-all/src/main/java/org/aoju/Bus.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* Version is Licensed under the MIT License, Version 3.0.0 (the "License")
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public final class Bus extends Version {
Expand Down
2 changes: 1 addition & 1 deletion 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>3.1.8</version>
<version>3.1.9</version>
<packaging>jar</packaging>

<name>bus-base</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class Consts extends Normal {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* 系统响应码
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public enum ErrorCode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@MappedSuperclass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public interface BaseMapper<T> extends Mapper<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public interface Mapper<T> extends org.aoju.bus.mapper.common.Mapper<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public interface BaseService<T> extends Service {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public interface Service {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class BaseServiceImpl<Mapper extends BaseMapper<T>, T extends BaseEntity>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@ControllerAdvice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* 基础请求封装
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class BaseController<Service extends BaseService<T>, T> extends Controller {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* </p>
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class Controller {
Expand Down
2 changes: 1 addition & 1 deletion bus-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.aoju</groupId>
<artifactId>bus-boot</artifactId>
<version>3.1.8</version>
<version>3.1.9</version>
<packaging>jar</packaging>

<name>bus-boot</name>
Expand Down
2 changes: 1 addition & 1 deletion bus-boot/src/main/java/org/aoju/bus/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* Version is Licensed under the MIT License, Version 3.0.0 (the "License")
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class Version {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* 全局常量配置
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class BusConsts {
Expand All @@ -53,6 +53,6 @@ public class BusConsts {
/***
* 应用属性
*/
public static final String BUS_BOOT_PROPERTIES = "BusConfigurationProperties";
public static final String BUS_BOOT_PROPERTIES = "EnvConfigurable";

}
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@
* 将作为一个名为BusConfigurationProperties的属性源添加
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@ComponentScan("org.aoju.**")
@Order(Ordered.LOWEST_PRECEDENCE - 100)
public class BusEnvConfigurable implements EnvironmentPostProcessor {
public class EnvConfigurable implements EnvironmentPostProcessor {

@Override
public void postProcessEnvironment(ConfigurableEnvironment environment,
SpringApplication application) {

/**
* Get Version version properties
* 获取版本信息
*/
Properties properties = getProperties();

Expand All @@ -61,13 +61,13 @@ public void postProcessEnvironment(ConfigurableEnvironment environment,
environment.getPropertySources().addLast(propertySource);

/**
* set required properties
* 设置必要参数
**/
environment.setRequiredProperties(BusConsts.BUS_APP_NAME);
}

/**
* Get boot Version and print it on banner
* 获取版本信息以及banner信息
*
* @return properties
*/
Expand All @@ -81,7 +81,7 @@ protected Properties getProperties() {
}

/**
* Get Version Version string.
* 获取bus版本信息.
*
* @return version
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,23 @@
package org.aoju.bus.boot.health;

/**
* Check whether runtime is healthy.
* 检查运行时是否健康.
*
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public interface HealthIndicators {

/**
* Check whether runtime is readiness healthy
* 检查运行时是否准备就绪
* @return true/false
*/
boolean isReadinessHealth();

/**
* Check whether runtime is liveness health
* 检查运行时是否为活动健康状态
* @return true/false
*/
boolean isLivenessHealth();

Expand Down
2 changes: 1 addition & 1 deletion bus-boot/src/main/resources/META-INF/spring.factories
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
org.springframework.boot.env.EnvironmentPostProcessor=\
org.aoju.bus.boot.env.BusEnvConfigurable
org.aoju.bus.boot.env.EnvConfigurable
1 change: 1 addition & 0 deletions bus-boot/src/main/resources/config/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
logging:
pattern:
console: "%boldRed(%d{yyyy-MM-dd HH:mm:ss}) %green([%p]) - %highlight(%C:%L) : - %magenta(%m%n)"
file: "%boldRed(%d{yyyy-MM-dd HH:mm:ss}) %green([%p]) - %highlight(%C:%L) : - %magenta(%m%n)"
file:
max-size: 10MB

Expand Down
2 changes: 1 addition & 1 deletion 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>3.1.8</version>
<version>3.1.9</version>
<packaging>jar</packaging>

<name>bus-cache</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Aspect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class CacheConfig {
Expand Down
2 changes: 1 addition & 1 deletion bus-cache/src/main/java/org/aoju/bus/cache/CacheCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Singleton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Singleton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class CacheModule extends AbstractModule {
Expand Down
2 changes: 1 addition & 1 deletion bus-cache/src/main/java/org/aoju/bus/cache/CacheProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
public class CacheProxy<T> implements FactoryBean<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Documented
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Documented
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

/**
* @author Kimi Liu
* @version 3.1.8
* @version 3.1.9
* @since JDK 1.8
*/
@Documented
Expand Down
Loading

0 comments on commit f396ac3

Please sign in to comment.