Skip to content

Commit

Permalink
🍱 feat: v3.0.3.0
Browse files Browse the repository at this point in the history
- 主要更新
  - [升级] Spring Boot 版本升级至 3.0.3
  - [升级] 适配 Spring Authorization Server 1.1.0-M1
- 其它更新
  - [修复] 修复单体版 MySQL 数据库初始化脚本错误。fix:#I6HRDP (ISSUED by 柳敏莘)
  - [修复] 修复查询接口中包含 properties 数组属性会导致 Gateway UrlDecode失败的问题 fix:#I6HOLA (ISSUED by dens)
- 依赖更新
  - [升级] spring-security-cas 版本升级至 5.8.2
  - [升级] tencentcloud-sdk-java-sms 版本升级至 3.1.702
  - [升级] alipay-sdk-java 版本升级至 4.35.65.ALL
  • Loading branch information
herodotus-ecosystem committed Mar 1, 2023
1 parent 6fae4ad commit 3136374
Show file tree
Hide file tree
Showing 27 changed files with 62 additions and 56 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
---

<p align="center">
<a href="https://github.com/spring-projects/spring-authorization-server" target="_blank"><img src="https://img.shields.io/badge/Spring%20Authorization%20Server-1.0.1-blue" alt="Spring Authorization Server 1.0.1"></a>
<a href="https://spring.io/projects/spring-boot" target="_blank"><img src="https://shields.io/badge/Spring%20Boot-3.0.2-blue" alt="Spring Boot 3.0.2"></a>
<a href="https://github.com/spring-projects/spring-authorization-server" target="_blank"><img src="https://img.shields.io/badge/Spring%20Authorization%20Server-1.1.0-blue" alt="Spring Authorization Server 1.1.0"></a>
<a href="https://spring.io/projects/spring-boot" target="_blank"><img src="https://shields.io/badge/Spring%20Boot-3.0.3-blue" alt="Spring Boot 3.0.3"></a>
<a href="https://spring.io/projects/spring-cloud" target="_blank"><img src="https://shields.io/badge/Spring%20Cloud-2022.0.1-blue" alt="Spring Cloud 2022.0.1"></a>
<a href="https://github.com/alibaba/spring-cloud-alibaba" target="_blank"><img src="https://shields.io/badge/Spring%20Cloud%20Alibaba-2022.0.0.0-RC1-blue" alt="Spring Cloud Alibaba 2022.0.0.0-RC1"></a>
<a href="https://github.com/alibaba/spring-cloud-alibaba" target="_blank"><img src="https://shields.io/badge/Spring%20Cloud%20Alibaba-2022.0.0.0-blue" alt="Spring Cloud Alibaba 2022.0.0.0"></a>
<a href="https://github.com/Tencent/spring-cloud-tencent" target="_blank"><img src="https://img.shields.io/badge/Spring%20Cloud%20Tencent-1.9.0--2022.0.1-blue" alt="Spring Cloud Tencent 1.9.0-2022.0.1"></a>
<a href="https://nacos.io/zh-cn/index.html" target="_blank"><img src="https://shields.io/badge/Nacos-2.2.1-RC-brightgreen" alt="Nacos 2.2.1-RC"></a>
<a href="https://nacos.io/zh-cn/index.html" target="_blank"><img src="https://shields.io/badge/Nacos-2.2.1-brightgreen" alt="Nacos 2.2.1"></a>
</p>
<p align="center">
<a href="#" target="_blank"><img src="https://shields.io/badge/Version-3.0.2.3-red" alt="Version 3.0.2.3"></a>
<a href="#" target="_blank"><img src="https://shields.io/badge/Version-3.0.3.0-red" alt="Version 3.0.3.0"></a>
<a href="https://bell-sw.com/pages/downloads/#downloads" target="_blank"><img src="https://img.shields.io/badge/JDK-17%2B-green" alt="Java 17"></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>
Expand All @@ -36,7 +36,7 @@

## 企业级技术中台微服务架构与服务能力开发平台

Dante Cloud (但丁,原 Eurynome Cloud) 是一款企业级微服务架构和服务能力开发平台,是全面拥抱 Spring Authorization Server 的、基于 OAuth2.1 协议的微服务架构。基于 Spring Authorization Server 1.0.1、Spring Boot 3.0.2、Spring Cloud 2022.0.1、Spring Cloud Tencent 1.9.0-2022.0.1、Spring Cloud Alibaba 2022.0.0.0-RC1、Nacos 2.2.1-RC 等主流技术栈开发的多租户系统,遵循 SpringBoot 编程思想,高度模块化和可配置化。具备服务发现、配置、熔断、限流、降级、监控、多级缓存、分布式事务、工作流等功能。
Dante Cloud (但丁,原 Eurynome Cloud) 是一款企业级微服务架构和服务能力开发平台,是采用领域驱动模型(DDD)设计思想的、全面拥抱 Spring Authorization Server 的、基于 OAuth2.1 协议的微服务架构。基于 Spring Authorization Server 1.1.0、Spring Boot 3.0.3、Spring Cloud 2022.0.1、Spring Cloud Tencent 1.9.0-2022.0.1、Spring Cloud Alibaba 2022.0.0.0、Nacos 2.2.1 等主流技术栈开发的多租户系统,遵循 SpringBoot 编程思想,高度模块化和可配置化。具备服务发现、配置、熔断、限流、降级、监控、多级缓存、分布式事务、工作流等功能。

## 平台定位

Expand Down Expand Up @@ -131,13 +131,13 @@ Dante Cloud (但丁,原 Eurynome Cloud) 是一款企业级微服务架构和

| 组件 | 版本 |
|-----------------------------|----------------|
| Spring Boot | 3.0.2 |
| Spring Boot | 3.0.3 |
| Spring Cloud | 2022.0.1 |
| Spring Cloud Alibaba | 2022.0.0.0-RC1 |
| Spring Cloud Alibaba | 2022.0.0.0 |
| Spring Cloud Tencent | 1.9.0-2022.0.1 |
| Spring Authorization Server | 1.0.1 |
| Spring Authorization Server | 1.1.0 |
| Spring Boot Admin | 3.0.0 |
| Nacos | 2.2.1-RC |
| Nacos | 2.2.1 |
| Sentinel | 1.8.5 |
| Seata | 1.5.2 |

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=3.0.2.3
VERSION=3.0.3.0
GATEWAY_SERVICE_NAME=dante-cloud-gateway
GATEWAY_SERVICE_PORT=8847
UAA_SERVICE_NAME=dante-cloud-uaa
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=3.0.2.3
VERSION=3.0.3.0
GATEWAY_SERVICE_NAME=dante-cloud-gateway
GATEWAY_SERVICE_PORT=8847
UAA_SERVICE_NAME=dante-cloud-uaa
Expand Down
4 changes: 2 additions & 2 deletions dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
<parent>
<groupId>cn.herodotus.engine</groupId>
<artifactId>dependencies</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<relativePath/>
</parent>

<groupId>cn.herodotus.dante</groupId>
<artifactId>dependencies</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>pom</packaging>

<name>dante-cloud-dependencies</name>
Expand Down
4 changes: 2 additions & 2 deletions modules/dante-module-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>modules</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-module-common</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions modules/dante-module-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>modules</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-module-security</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions modules/dante-module-strategy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>modules</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-module-strategy</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions modules/dante-module-upms-logic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>modules</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-module-upms-logic</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public BaseRepository<SysElement, String> getRepository() {
return sysElementRepository;
}

public Page<SysElement> findByCondition(int pageNumber, int pageSize, String path) {
public Page<SysElement> findByCondition(int pageNumber, int pageSize, String path, String title) {
Pageable pageable = PageRequest.of(pageNumber, pageSize);

Specification<SysElement> specification = (root, criteriaQuery, criteriaBuilder) -> {
Expand All @@ -87,6 +87,10 @@ public Page<SysElement> findByCondition(int pageNumber, int pageSize, String pat
predicates.add(criteriaBuilder.like(root.get("path"), like(path)));
}

if (ObjectUtils.isNotEmpty(title)) {
predicates.add(criteriaBuilder.like(root.get("title"), like(title)));
}

Predicate[] predicateArray = new Predicate[predicates.size()];
criteriaQuery.where(criteriaBuilder.and(predicates.toArray(predicateArray)));
return criteriaQuery.getRestriction();
Expand Down
4 changes: 2 additions & 2 deletions modules/dante-module-upms-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>modules</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-module-upms-rest</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,14 @@ public Result<List<Tree<String>>> findTree() {
@Parameter(name = "pageNumber", required = true, description = "当前页码"),
@Parameter(name = "pageSize", required = true, description = "每页显示数量"),
@Parameter(name = "path", description = "组件路径"),
@Parameter(name = "title", description = "组件标题"),
})
@GetMapping("/condition")
public Result<Map<String, Object>> findByCondition(@NotBlank @RequestParam("pageNumber") Integer pageNumber,
@NotBlank @RequestParam("pageSize") Integer pageSize,
@RequestParam(value = "path", required = false) String path) {
Page<SysElement> pages = sysElementService.findByCondition(pageNumber, pageSize, path);
@RequestParam(value = "path", required = false) String path,
@RequestParam(value = "title", required = false) String title) {
Page<SysElement> pages = sysElementService.findByCondition(pageNumber, pageSize, path, title);
return result(pages);
}

Expand Down
4 changes: 2 additions & 2 deletions modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>dante-cloud</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>modules</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>pom</packaging>

<name>dante-cloud-modules</name>
Expand Down
4 changes: 2 additions & 2 deletions packages/authentication-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>authentication-spring-boot-starter</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion packages/facility-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions packages/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>dante-cloud</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>packages</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>pom</packaging>

<name>dante-cloud-packages</name>
Expand Down
4 changes: 2 additions & 2 deletions packages/service-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>packages</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>service-spring-boot-starter</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions platform/dante-cloud-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>platform</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-cloud-gateway</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions platform/dante-cloud-message/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
<parent>
<groupId>cn.herodotus.dante</groupId>
<artifactId>platform</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-cloud-message</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

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

<artifactId>dante-cloud-monitor</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<name>dante-cloud-monitor</name>
<description>dante-cloud-monitor</description>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions platform/dante-cloud-uaa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>platform</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-cloud-uaa</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions platform/dante-cloud-upms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<parent>
<artifactId>platform</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>dante-cloud-upms</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>

<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<parent>
<artifactId>dante-cloud</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>platform</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
<parent>
<groupId>cn.herodotus.dante</groupId>
<artifactId>dependencies</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<relativePath>dependencies/pom.xml</relativePath>
</parent>

<artifactId>dante-cloud</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>pom</packaging>

<name>dante-cloud</name>
Expand Down
4 changes: 2 additions & 2 deletions services/dante-cloud-bpmn-ability/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
<parent>
<artifactId>services</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-cloud-bpmn-ability</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>

<name>dante-cloud-bpmn-ability</name>
<description>基于Camunda工作流的服务</description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.0.2",
"openapi": "3.0.3",
"info": {
"title": "Camunda Platform REST API",
"description": "OpenApi Spec for Camunda Platform REST API.",
Expand Down
4 changes: 2 additions & 2 deletions services/dante-cloud-bpmn-logic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>services</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>dante-cloud-bpmn-logic</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
<parent>
<artifactId>dante-cloud</artifactId>
<groupId>cn.herodotus.dante</groupId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
</parent>

<artifactId>services</artifactId>
<version>3.0.2.3</version>
<version>3.0.3.0</version>
<packaging>pom</packaging>

<name>dante-cloud-services</name>
Expand Down

0 comments on commit 3136374

Please sign in to comment.