You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by wu...@apache.org on 2019/02/15 09:02:24 UTC

[servicecomb-java-chassis] branch master updated: [#1085] support spring-cloud-gateway in ServiceComb-java-chassis (#1091)

This is an automated email from the ASF dual-hosted git repository.

wujimin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new 96f83e5  [#1085] support spring-cloud-gateway in ServiceComb-java-chassis (#1091)
96f83e5 is described below

commit 96f83e5d4fe5da64f23660e3947ec3635fc8d056
Author: bettermanzzy <zh...@huawei.com>
AuthorDate: Fri Feb 15 17:02:19 2019 +0800

    [#1085] support spring-cloud-gateway in ServiceComb-java-chassis (#1091)
    
    [#1085] Support spring-cloud-gateway
---
 java-chassis-distribution/src/release/LICENSE      |  1 +
 .../spring-boot2-starter-parent/pom.xml            |  3 +-
 .../spring-boot2-starter-gateway/pom.xml           | 65 ++++++++++++++++++++++
 3 files changed, 68 insertions(+), 1 deletion(-)

diff --git a/java-chassis-distribution/src/release/LICENSE b/java-chassis-distribution/src/release/LICENSE
index 5e1070c..06e8e81 100644
--- a/java-chassis-distribution/src/release/LICENSE
+++ b/java-chassis-distribution/src/release/LICENSE
@@ -514,6 +514,7 @@ spring-cloud-starter-archaius (https://projects.spring.io/spring-cloud) org.spri
 spring-cloud-starter-hystrix (https://projects.spring.io/spring-cloud) org.springframework.cloud:spring-cloud-starter-hystrix:jar:1.4.4.RELEASE
 spring-cloud-starter-ribbon (https://projects.spring.io/spring-cloud) org.springframework.cloud:spring-cloud-starter-ribbon:jar:1.4.4.RELEASE
 spring-cloud-starter-zuul (https://projects.spring.io/spring-cloud) org.springframework.cloud:spring-cloud-starter-zuul:jar:1.4.4.RELEASE
+spring-cloud-starter-gateway (https://projects.spring.io/spring-cloud) org.springframework.cloud:spring-cloud-starter-gateway:jar:2.0.0.RELEASE
 spring-security-crypto (http://spring.io/spring-security) org.springframework.security:spring-security-crypto:jar:4.1.4.RELEASE
 spring-security-rsa (http://github.com/spring-projects/spring-security-oauth) org.springframework.security:spring-security-rsa:jar:1.0.3.RELEASE
 swagger-annotations (https://github.com/swagger-api/swagger-core/modules/swagger-annotations) io.swagger:swagger-annotations:bundle:1.5.12
diff --git a/java-chassis-spring-boot/spring-boot2-starter-parent/pom.xml b/java-chassis-spring-boot/spring-boot2-starter-parent/pom.xml
index 83b3d27..a221a3c 100644
--- a/java-chassis-spring-boot/spring-boot2-starter-parent/pom.xml
+++ b/java-chassis-spring-boot/spring-boot2-starter-parent/pom.xml
@@ -41,6 +41,7 @@
     <module>spring-boot2-starter-servlet</module>
     <module>spring-boot2-starter-standalone</module>
     <module>spring-boot2-starter-discovery</module>
+    <module>spring-boot2-starter-gateway</module>   
   </modules>
 
   <build>
@@ -56,4 +57,4 @@
     </plugins>
   </build>
 
-</project>
\ No newline at end of file
+</project>
diff --git a/java-chassis-spring-boot/spring-boot2-starter-parent/spring-boot2-starter-gateway/pom.xml b/java-chassis-spring-boot/spring-boot2-starter-parent/spring-boot2-starter-gateway/pom.xml
new file mode 100644
index 0000000..f2a50ff
--- /dev/null
+++ b/java-chassis-spring-boot/spring-boot2-starter-parent/spring-boot2-starter-gateway/pom.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <parent>
+    <artifactId>spring-boot2-starter-parent</artifactId>
+    <groupId>org.apache.servicecomb</groupId>
+    <version>1.2.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+
+  <artifactId>spring-boot2-starter-gateway</artifactId>
+  <name>Java Chassis::Spring Boot2 Starter::Gateway</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.springframework.cloud</groupId>
+      <artifactId>spring-cloud-starter-gateway</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.cloud</groupId>
+      <artifactId>spring-cloud-gateway-webflux</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-classic</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicecomb</groupId>
+      <artifactId>spring-boot2-starter-discovery</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.apache.servicecomb</groupId>
+          <artifactId>provider-springmvc</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.springframework.cloud</groupId>
+          <artifactId>spring-cloud-starter-netflix-zuul</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file