修改Pom文件的版本bug

This commit is contained in:
huangsimin 2019-07-18 10:02:42 +08:00
parent 9b21c77fe4
commit 63cd4b04e8
5 changed files with 26 additions and 27 deletions

View File

@ -12,11 +12,11 @@
<groupId>cn.ecpark.service</groupId>
<artifactId>usergw-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1.0-RELEASE</version>
<name>usergw-parent</name>
<packaging>pom</packaging>
<description>Demo project for Yame User Gateway</description>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -5,13 +5,13 @@
<parent>
<groupId>cn.ecpark.service</groupId>
<artifactId>usergw-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1.0-RELEASE</version>
<relativePath>../pom.xml</relativePath> <!-- lookup parent from repository -->
</parent>
<groupId>cn.ecpark.service</groupId>
<artifactId>usergw-api</artifactId>
<version>${project.parent.version}</version>
<version>0.1.0-RELEASE</version>
<packaging>jar</packaging>
<name>demo-api</name>

View File

@ -5,13 +5,13 @@
<parent>
<groupId>cn.ecpark.service</groupId>
<artifactId>usergw-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.1.0-RELEASE</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>cn.ecpark.service</groupId>
<artifactId>usergw</artifactId>
<version>${project.parent.version}</version>
<version>0.1.0-RELEASE</version>
<name>demo</name>
<description>Demo project for Gateway Service</description>
@ -120,4 +120,4 @@
</project>
</project>

View File

@ -1,5 +1,5 @@
{"properties": [{
"name": "yame.config",
"type": "java.lang.String",
"description": "用于配置网关的路径, 如果不填默认 gateway.yml, gateway.yaml, Gateway.yml, Gateway.yaml"
"description": "用于配置网关的路径, 如果不填.默认: gateway.yml, gateway.yaml, Gateway.yml, Gateway.yaml"
}]}

View File

@ -10,25 +10,6 @@ restful:
- Path=/get
- Header=XX, \d+
- id: path_route12;
uri: http://httpbin.org:80/*
order: 9
predicates:
- Path=/get
- Header=XX, \d+
- id: path_route13
uri: http://httpbin.org:80/*
order: 9
predicates:
- Path=/get
- Header=XX, \d+
# - id: redirect_to
# uri: http://localhost/test/**
# order: 11
# filters:
# - RedirectTo=302, http://httpbin.org:80/get
dubbo:
routes:
- id: test
@ -49,4 +30,22 @@ dubbo:
predicates:
- Path=/dubbo/hello
- id: test2
order: 0
application: dubbo-exchange
# methods: # 如果没填就从 request拿 意味着所有接口都可以使用
# - name: Say
# param-types:
# - java.lang.String
# - name: Hello
connections: 4
group: test
# registry: zookeeper://127.0.0.1:2181
interface: ocean.demo.api.IExchange
version: 1.0.0
predicates:
- Path=/dubbo/hello