修改Pom文件的版本bug
This commit is contained in:
parent
9b21c77fe4
commit
63cd4b04e8
2
pom.xml
2
pom.xml
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
<groupId>cn.ecpark.service</groupId>
|
<groupId>cn.ecpark.service</groupId>
|
||||||
<artifactId>usergw-parent</artifactId>
|
<artifactId>usergw-parent</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.1.0-RELEASE</version>
|
||||||
<name>usergw-parent</name>
|
<name>usergw-parent</name>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<description>Demo project for Yame User Gateway</description>
|
<description>Demo project for Yame User Gateway</description>
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.ecpark.service</groupId>
|
<groupId>cn.ecpark.service</groupId>
|
||||||
<artifactId>usergw-parent</artifactId>
|
<artifactId>usergw-parent</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.1.0-RELEASE</version>
|
||||||
<relativePath>../pom.xml</relativePath> <!-- lookup parent from repository -->
|
<relativePath>../pom.xml</relativePath> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.ecpark.service</groupId>
|
<groupId>cn.ecpark.service</groupId>
|
||||||
<artifactId>usergw-api</artifactId>
|
<artifactId>usergw-api</artifactId>
|
||||||
<version>${project.parent.version}</version>
|
<version>0.1.0-RELEASE</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>demo-api</name>
|
<name>demo-api</name>
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.ecpark.service</groupId>
|
<groupId>cn.ecpark.service</groupId>
|
||||||
<artifactId>usergw-parent</artifactId>
|
<artifactId>usergw-parent</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.1.0-RELEASE</version>
|
||||||
<relativePath>../pom.xml</relativePath>
|
<relativePath>../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.ecpark.service</groupId>
|
<groupId>cn.ecpark.service</groupId>
|
||||||
<artifactId>usergw</artifactId>
|
<artifactId>usergw</artifactId>
|
||||||
<version>${project.parent.version}</version>
|
<version>0.1.0-RELEASE</version>
|
||||||
<name>demo</name>
|
<name>demo</name>
|
||||||
<description>Demo project for Gateway Service</description>
|
<description>Demo project for Gateway Service</description>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{"properties": [{
|
{"properties": [{
|
||||||
"name": "yame.config",
|
"name": "yame.config",
|
||||||
"type": "java.lang.String",
|
"type": "java.lang.String",
|
||||||
"description": "用于配置网关的路径, 如果不填默认 gateway.yml, gateway.yaml, Gateway.yml, Gateway.yaml"
|
"description": "用于配置网关的路径, 如果不填.默认: gateway.yml, gateway.yaml, Gateway.yml, Gateway.yaml"
|
||||||
}]}
|
}]}
|
|
@ -10,25 +10,6 @@ restful:
|
||||||
- Path=/get
|
- Path=/get
|
||||||
- Header=XX, \d+
|
- 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:
|
dubbo:
|
||||||
routes:
|
routes:
|
||||||
- id: test
|
- id: test
|
||||||
|
@ -49,4 +30,22 @@ dubbo:
|
||||||
predicates:
|
predicates:
|
||||||
- Path=/dubbo/hello
|
- 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user