提交 cf2e762f 编写于 作者: sinat_25235033's avatar sinat_25235033

change version 1.0.4 to 1.0.5

上级 4014faef
......@@ -9,7 +9,7 @@
> A simple and efficient jvm security framework that focus on the protection of REST API.
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Maven](https://img.shields.io/badge/Maven%20Central-1.0.4-blue.svg)](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
[![Maven](https://img.shields.io/badge/Maven%20Central-1.0.5-blue.svg)](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
![GitHub pull request check contexts](https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks)
[![Gitter](https://img.shields.io/gitter/room/usthe/sureness?label=sureness&color=orange&logo=gitter&logoColor=red)](https://gitter.im/usthe/sureness)
![GitHub Release Date](https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red)
......@@ -94,11 +94,11 @@ When use maven or gradle build project, add coordinate
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</dependency>
```
```
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.4'
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.5'
```
#### 🐵 Use the Default Configuration to Configure Sureness
......
......@@ -9,7 +9,7 @@
> 面向`REST API`的高性能认证鉴权框架
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Maven](https://img.shields.io/badge/Maven%20Central-1.0.4-blue.svg)](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
[![Maven](https://img.shields.io/badge/Maven%20Central-1.0.5-blue.svg)](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
![GitHub pull request check contexts](https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks)
[![Gitter](https://img.shields.io/gitter/room/usthe/sureness?label=sureness&color=orange&logo=gitter&logoColor=red)](https://gitter.im/usthe/sureness)
![GitHub Release Date](https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red)
......@@ -100,11 +100,11 @@
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</dependency>
```
```
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.4'
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.5'
```
#### 🐵 使用默认配置来配置Sureness
......
......@@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.4-beta.2</version>
<version>1.0.5</version>
<packaging>jar</packaging>
<name>sureness</name>
......@@ -40,7 +40,7 @@
scm:git:https://github.com/dromara/sureness.git
</developerConnection>
<url>https://github.com/dromara/sureness</url>
<tag>1.0.2</tag>
<tag>1.0.5</tag>
</scm>
<properties>
......
......@@ -387,10 +387,15 @@ public class TirePathTree {
// set node type is NODE_TYPE_MAY_PATH_END
current.setNodeType(NODE_TYPE_MAY_PATH_END);
// start insert httpMethod method, if existed, not overwrite and modify the original configuration
if (current.getMethodChildren() != null
&& (current.getMethodChildren().containsKey(method) || current.getMethodChildren().containsKey(MATCH_ALL_METHOD))) {
logger.warn("[sureness]-The path resource: {} has match same method, ignore it.", path);
return;
if (current.getMethodChildren() != null) {
if (current.getMethodChildren().containsKey(method)) {
logger.warn("[sureness]-The path resource: {} has match same resource config, ignore this one.", path);
return;
}
if (current.getMethodChildren().containsKey(MATCH_ALL_METHOD)) {
logger.warn("[sureness]-The path resource: {} has match same resource config(* means all http method), ignore this one.", path);
return;
}
}
current = current.insertMethodChildren(method);
......
......@@ -10,7 +10,7 @@ slug: /
> A simple and efficient jvm security framework that focus on the protection of REST API.
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Maven](https://img.shields.io/badge/Maven%20Central-1.0.4-blue.svg)](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
[![Maven](https://img.shields.io/badge/Maven%20Central-1.0.5-blue.svg)](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
![GitHub pull request check contexts](https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks)
[![Gitter](https://img.shields.io/gitter/room/usthe/sureness?label=sureness&color=orange&logo=gitter&logoColor=red)](https://gitter.im/usthe/sureness)
![GitHub Release Date](https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red)
......
......@@ -21,11 +21,11 @@ When use maven or gradle build project, add coordinate
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</dependency>
```
```
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.4'
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.5'
```
### 🐵 Use the Default Configuration to Configure Sureness
......
......@@ -8,7 +8,7 @@ slug: /
> 面向`REST API`的高性能认证鉴权框架
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Maven](https://img.shields.io/badge/Maven%20Central-1.0.4-blue.svg)](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
[![Maven](https://img.shields.io/badge/Maven%20Central-1.0.5-blue.svg)](https://search.maven.org/artifact/com.usthe.sureness/sureness-core)
![GitHub pull request check contexts](https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks)
[![Gitter](https://img.shields.io/gitter/room/usthe/sureness?label=sureness&color=orange&logo=gitter&logoColor=red)](https://gitter.im/usthe/sureness)
![GitHub Release Date](https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red)
......
......@@ -20,11 +20,11 @@ sidebar_label: 快速开始
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</dependency>
```
```
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.4'
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.5'
```
#### 🐵 使用默认配置来配置Sureness
......
......@@ -227,7 +227,7 @@ export const SetupExample = `
<dependency>
<groupId>com.usthe.sureness</groupId>
<artifactId>sureness-core</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</dependency>
compile group: 'com.usthe.sureness', name: 'sureness-core', version: '1.0.3'
......
......@@ -33,7 +33,7 @@ function Home() {
<a href="https://www.apache.org/licenses/LICENSE-2.0.html"><img
src="https://img.shields.io/badge/license-Apache%202-4EB1BA.svg"/></a>
<a href="https://search.maven.org/artifact/com.usthe.sureness/sureness-core"><img
src="https://img.shields.io/badge/Maven%20Central-1.0.4-blue.svg"/></a>
src="https://img.shields.io/badge/Maven%20Central-1.0.5-blue.svg"/></a>
<a href="https://www.apache.org/licenses/LICENSE-2.0.html"><img
src="https://img.shields.io/github/release-date/dromara/sureness?color=blue&logo=figshare&logoColor=red"/></a>
<a href="https://img.shields.io/github/status/contexts/pulls/dromara/sureness/8?label=pull%20checks"><img
......
......@@ -18,7 +18,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sureness-core.version>1.0.4-beta.2</sureness-core.version>
<sureness-core.version>1.0.5</sureness-core.version>
<java.version>1.8</java.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
......
......@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.usthe.sureness</groupId>
<artifactId>spring-boot-starter-sureness</artifactId>
<version>1.0.0-beta.1</version>
<version>1.0.0-beta.2</version>
<packaging>jar</packaging>
<name>spring-boot-starter-sureness</name>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册