Skip to content

Commit

Permalink
[#1085] support spring-cloud-gateway in ServiceComb-java-chassis (#1091)
Browse files Browse the repository at this point in the history
[#1085] Support spring-cloud-gateway
  • Loading branch information
zaneChou1 authored and wujimin committed Feb 15, 2019
1 parent 903e391 commit 96f83e5
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 1 deletion.
1 change: 1 addition & 0 deletions java-chassis-distribution/src/release/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion java-chassis-spring-boot/spring-boot2-starter-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -56,4 +57,4 @@
</plugins>
</build>

</project>
</project>
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 96f83e5

Please sign in to comment.