Skip to content

Commit

Permalink
🍻 refactor: v2.6.2.0
Browse files Browse the repository at this point in the history
1. 重构平台基础核心代码,调整部分核心代码归属模块,让各个核心代码模块逻辑更加清晰、职责更加内聚。
2. 调整核心代码模块依赖关系,降低模块间的耦合程度,减少部分核心模块被过度依赖的情况。
3. 升级大量基础核心依赖包版本
  - Fastjson 版本升级至 1.2.78
  - JetCache 版本升级至 2.6.1
  - Redisson 版本升级至 3.16.6
  - SpringDoc 版本升级至 1.5.13
  - Minio 版本升级至 8.3.4
  - Okhttps 版本升级至 3.4.1
4. 前端工程升级使用依赖包版本,重新编译组件库。
  • Loading branch information
herodotus-ecosystem committed Dec 10, 2021
1 parent 83cca2a commit 13a5ca0
Show file tree
Hide file tree
Showing 37 changed files with 74 additions and 65 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="https://nacos.io/zh-cn/index.html" target="_blank"><img src="https://shields.io/badge/Nacos-2.0.3-brightgreen" alt="Nacos 2.0.3"></a>
<a href="./LICENSE"><img src="https://shields.io/badge/License-Apache--2.0-blue" alt="License Apache 2.0"></a>
<a href="https://blog.csdn.net/Pointer_v" target="_blank"><img src="https://shields.io/badge/Author-%E7%A0%81%E5%8C%A0%E5%90%9B-orange" alt="码匠君"></a>
<a href="#" target="_blank"><img src="https://shields.io/badge/Version-2.6.2.0-red" alt="Version 2.6.2.0"></a>
<a href="#" target="_blank"><img src="https://shields.io/badge/Version-2.6.2.10-red" alt="Version 2.6.2.10"></a>
<a href="https://gitee.com/herodotus/eurynome-cloud"><img src="https://gitee.com/herodotus/eurynome-cloud/badge/star.svg?theme=dark" alt="Gitee star"></a>
<a href="https://gitee.com/herodotus/eurynome-cloud"><img src="https://gitee.com/herodotus/eurynome-cloud/badge/fork.svg?theme=dark" alt="Gitee fork"></a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion configurations/docker/docker-compose/linux/herodotus/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=2.6.2.0
VERSION=2.6.2.10
GATEWAY_SERVICE_NAME=eurynome-cloud-gateway
GATEWAY_SERVICE_PORT=8847
UAA_SERVICE_NAME=eurynome-cloud-uaa
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=2.6.2.0
VERSION=2.6.2.10
GATEWAY_SERVICE_NAME=eurynome-cloud-gateway
GATEWAY_SERVICE_PORT=8847
UAA_SERVICE_NAME=eurynome-cloud-uaa
Expand Down
2 changes: 1 addition & 1 deletion dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<groupId>cn.herodotus.eurynome</groupId>
<artifactId>dependencies</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>pom</packaging>

<name>eurynome-cloud-dependencies</name>
Expand Down
4 changes: 2 additions & 2 deletions integrates/eurynome-integration-influxdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<parent>
<artifactId>integrates</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>eurynome-integration-influxdb</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions integrates/eurynome-integration-oss/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<parent>
<artifactId>integrates</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>eurynome-integration-oss</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions integrates/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<parent>
<artifactId>eurynome-cloud</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>integrates</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>pom</packaging>

<name>eurynome-cloud-integrates</name>
Expand Down
2 changes: 1 addition & 1 deletion packages/eurynome-cloud-assistant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-cache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>eurynome-cloud-cache</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<description>将Cache和Redis相关抽取出独立组件包。降低代码耦合性,提升代码包的独立性。解决依赖过多,使用过程中还需要进行排除的问题。</description>
Expand Down
6 changes: 3 additions & 3 deletions packages/eurynome-cloud-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-data</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<description>数据相关通用代码组件包,包括JPA,Redis,数据实体等相关内容</description>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>eurynome-cloud-cache</artifactId>
<artifactId>eurynome-cloud-assistant</artifactId>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

package cn.herodotus.eurynome.data.annotation;

import cn.herodotus.eurynome.cache.annotation.EnableHerodotusCache;
import cn.herodotus.eurynome.data.configuration.DataConfiguration;
import org.springframework.context.annotation.Import;

Expand All @@ -45,7 +44,6 @@
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableHerodotusCache
@Import(DataConfiguration.class)
public @interface EnableHerodotusData {
}
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-kernel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-kernel</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<description>平台通用的基础依赖,以及接入及管理等通用代码,上中台必需的基础代码。增加这层包,主要目的是抽取webflux和web依赖的通用性,降低其它包之间的耦合性,比如之前data要依赖logstash,logstash要依赖managementproperties</description>
Expand Down
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-message/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>eurynome-cloud-message</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-oauth-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-oauth-starter</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
import cn.herodotus.eurynome.upms.api.annotation.EnableUpmsInterface;
import cn.herodotus.eurynome.upms.logic.annotation.EnableUpmsLogic;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down Expand Up @@ -89,13 +91,14 @@
* @author : gengwei.zheng
* @date : 2021/1/17 11:07
*/
@Slf4j
@Configuration
@Configuration(proxyBeanMethods = false)
@EnableHerodotusRest
@EnableUpmsInterface
@EnableUpmsLogic
public class AutoConfiguration {

private static final Logger log = LoggerFactory.getLogger(AutoConfiguration.class);

@PostConstruct
public void postConstruct() {
log.info("[Herodotus] |- Starter [Herodotus OAuth Starter] Auto Configure.");
Expand Down
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-oauth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>


<artifactId>eurynome-cloud-oauth</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
9 changes: 7 additions & 2 deletions packages/eurynome-cloud-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,19 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-rest</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>eurynome-cloud-cache</artifactId>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>eurynome-cloud-data</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

package cn.herodotus.eurynome.rest.annotation;

import cn.herodotus.eurynome.cache.annotation.EnableHerodotusCache;
import cn.herodotus.eurynome.data.annotation.EnableHerodotusData;
import cn.herodotus.eurynome.rest.configuration.RestConfiguration;
import cn.herodotus.eurynome.web.annotation.EnableHerodotusWeb;
Expand All @@ -44,6 +45,7 @@
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableHerodotusCache
@EnableHerodotusData
@EnableHerodotusWeb
@Import({RestConfiguration.class})
Expand Down
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-security</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-starter</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>

<description>通用配置starter,此包的定位是统一未来接入的微服务使用</description>
<packaging>jar</packaging>
Expand Down
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>eurynome-cloud-web</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public OpenAPI createOpenAPI() {
.servers(getServers())
.info(new Info().title("Eurynome Cloud")
.description("Eurynome Cloud Microservices Architecture")
.version("2.6.2.0")
.version("2.6.2.10")
.license(new License().name("Apache 2.0").url("http://www.apache.org/licenses/")))
.externalDocs(new ExternalDocumentation()
.description("Eurynome Cloud Documentation")
Expand Down
4 changes: 2 additions & 2 deletions packages/eurynome-cloud-websocket/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>eurynome-cloud-websocket</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion packages/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<artifactId>eurynome-cloud</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>packages</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions platform/eurynome-cloud-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<parent>
<artifactId>platform</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-gateway</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions platform/eurynome-cloud-monitor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<parent>
<artifactId>platform</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-monitor</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions platform/eurynome-cloud-uaa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<parent>
<artifactId>platform</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>

<artifactId>eurynome-cloud-uaa</artifactId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<artifactId>eurynome-cloud</artifactId>
<groupId>cn.herodotus.eurynome</groupId>
<version>2.6.2.0</version>
<version>2.6.2.10</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Loading

0 comments on commit 13a5ca0

Please sign in to comment.