Signed-off-by: Eric Zhao <sczyh16@gmail.com>master
@@ -35,7 +35,7 @@ Below is a simple demo that guides new users to use Sentinel in just 3 steps. It | |||
### 1. Add Dependency | |||
**Note:** Sentinel requires Java 6 or later. | |||
**Note:** Sentinel requires Java 7 or later. | |||
If your application is build in maven, just add the following code in pom.xml. | |||
@@ -5,7 +5,7 @@ | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-parent</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
<packaging>pom</packaging> | |||
<name>${project.artifactId}</name> | |||
@@ -7,7 +7,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-parent</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-adapter</artifactId> | |||
<packaging>pom</packaging> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-adapter</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
<artifactId>sentinel-dubbo-adapter</artifactId> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-adapter</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
<artifactId>sentinel-grpc-adapter</artifactId> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-adapter</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-web-servlet</artifactId> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-adapter</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
<artifactId>sentinel-zuul-adapter</artifactId> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-parent</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-parent</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
<packaging>pom</packaging> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-cluster</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-cluster</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-cluster</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-parent</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-core</artifactId> | |||
<packaging>jar</packaging> | |||
@@ -30,7 +30,7 @@ import com.alibaba.csp.sentinel.util.VersionUtil; | |||
*/ | |||
public final class Constants { | |||
public static final String SENTINEL_VERSION = VersionUtil.getVersion("1.4.2"); | |||
public static final String SENTINEL_VERSION = VersionUtil.getVersion("1.5.0"); | |||
public final static int MAX_CONTEXT_NAME_SIZE = 2000; | |||
public final static int MAX_SLOT_CHAIN_SIZE = 6000; | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-parent</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-dashboard</artifactId> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-parent</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<packaging>pom</packaging> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-demo</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-demo-basic</artifactId> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo-cluster</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo-cluster</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-demo</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-demo-dynamic-file-rule</artifactId> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-demo</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-demo</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-parent</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-extension</artifactId> | |||
<packaging>pom</packaging> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-extension</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-extension</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-extension</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-datasource-extension</artifactId> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-extension</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-extension</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-extension</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-extension</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
@@ -6,7 +6,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-parent</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<artifactId>sentinel-transport</artifactId> | |||
<description>The transport module of Sentinel</description> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-transport</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
<packaging>jar</packaging> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<groupId>com.alibaba.csp</groupId> | |||
<artifactId>sentinel-transport</artifactId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||
<artifactId>sentinel-transport-netty-http</artifactId> | |||
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<artifactId>sentinel-transport</artifactId> | |||
<groupId>com.alibaba.csp</groupId> | |||
<version>1.4.2</version> | |||
<version>1.5.0-SNAPSHOT</version> | |||
</parent> | |||
<modelVersion>4.0.0</modelVersion> | |||