Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement: onAir -> Enable #243

Merged
merged 2 commits into from
Aug 30, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions configs/api_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resources:
description: user
methods:
- httpVerb: POST
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -41,7 +41,7 @@ resources:
version: 1.0.0
clusterName: "test_dubbo"
- httpVerb: PUT
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -62,7 +62,7 @@ resources:
description: user
methods:
- httpVerb: PUT
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -88,7 +88,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down
4 changes: 2 additions & 2 deletions docs/sample/dubbo-body(http).md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: POST
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down Expand Up @@ -56,4 +56,4 @@ curl host:port/api/v1/test-dubbo/user -X POST -d '{"name": "tiecheng","id": "000
{
"message": "data is exist"
}
```
```
8 changes: 4 additions & 4 deletions docs/sample/dubbo-body.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: POST
onAir: true
enable: true
timeout: 10s
inboundRequest:
requestType: http
Expand All @@ -32,7 +32,7 @@ resources:
version: 1.0.0
clusterName: "test_dubbo"
- httpVerb: PUT
onAir: true
enable: true
timeout: 10s
inboundRequest:
requestType: http
Expand All @@ -53,7 +53,7 @@ resources:
description: user
methods:
- httpVerb: PUT
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down Expand Up @@ -126,4 +126,4 @@ result
true
```

[Previous](./dubbo.md)
[Previous](./dubbo.md)
8 changes: 4 additions & 4 deletions docs/sample/dubbo-mix.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -35,7 +35,7 @@ resources:
version: 1.0.0
clusterName: "test_dubbo"
- httpVerb: PUT
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -59,7 +59,7 @@ resources:
description: user
methods:
- httpVerb: PUT
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down Expand Up @@ -112,4 +112,4 @@ result
true
```

[Previous](./dubbo.md)
[Previous](./dubbo.md)
10 changes: 5 additions & 5 deletions docs/sample/dubbo-multi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resources:
- filter0
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -34,7 +34,7 @@ resources:
version: 1.0.0
clusterName: "test_dubbo"
- httpVerb: PUT
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -60,7 +60,7 @@ resources:
- filter0
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -77,7 +77,7 @@ resources:
version: 1.0.0
clusterName: "test_dubbo"
- httpVerb: PUT
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down Expand Up @@ -205,4 +205,4 @@ and
}
```

[Previous](./dubbo.md)
[Previous](./dubbo.md)
2 changes: 1 addition & 1 deletion docs/sample/dubbo-query(http).md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down
8 changes: 4 additions & 4 deletions docs/sample/dubbo-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -36,7 +36,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -60,7 +60,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down Expand Up @@ -118,4 +118,4 @@ result
}
```

[Previous](./dubbo.md)
[Previous](./dubbo.md)
4 changes: 2 additions & 2 deletions docs/sample/dubbo-universality.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resources:
description: common
methods:
- httpVerb: POST
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down Expand Up @@ -195,4 +195,4 @@ request body

Please pay attention to the special situation of configuration the degrees of freedom is not very high, if can't meet the scene, please mention [issue](https://github.com/dubbogo/dubbo-go-proxy/issues), thank you.

[Previous](./dubbo.md)
[Previous](./dubbo.md)
8 changes: 4 additions & 4 deletions docs/sample/dubbo-uri.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -39,7 +39,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -63,7 +63,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down Expand Up @@ -129,4 +129,4 @@ result
}
```

[Previous](./dubbo.md)
[Previous](./dubbo.md)
2 changes: 1 addition & 1 deletion docs/sample/http-body.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: POST
onAir: true
enable: true
timeout: 10s
inboundRequest:
requestType: http
Expand Down
4 changes: 2 additions & 2 deletions docs/sample/http-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -27,7 +27,7 @@ resources:
host: "127.0.0.1:1314"
path: "/user"
- httpVerb: POST
onAir: true
enable: true
timeout: 10s
inboundRequest:
requestType: http
Expand Down
8 changes: 4 additions & 4 deletions docs/sample/http-uri.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -38,7 +38,7 @@ resources:
host: "127.0.0.1:1314"
path: "/user"
- httpVerb: POST
onAir: true
enable: true
timeout: 10s
inboundRequest:
requestType: http
Expand All @@ -52,7 +52,7 @@ resources:
description: user
methods:
- httpVerb: GET
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand All @@ -67,7 +67,7 @@ resources:
host: "127.0.0.1:1314"
path: "/user/:name"
- httpVerb: POST
onAir: true
enable: true
timeout: 10s
inboundRequest:
requestType: http
Expand Down
4 changes: 2 additions & 2 deletions docs/sample/mock.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resources:
description: mock
methods:
- httpVerb: GET
onAir: true
enable: true
mock: true
timeout: 1000ms
inboundRequest:
Expand All @@ -38,4 +38,4 @@ curl localhost:8888/api/v1/test-dubbo/mock -X GET

We plan use can config custom result in the future. Not only api config way, but also create a match rule.

[Previous](./README.md)
[Previous](./README.md)
8 changes: 4 additions & 4 deletions docs/sample/zh-cn/dubbo-body.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
description: user
methods:
- httpVerb: POST
onAir: true
enable: true
timeout: 10s
inboundRequest:
requestType: http
Expand All @@ -32,7 +32,7 @@ resources:
version: 1.0.0
clusterName: "test_dubbo"
- httpVerb: PUT
onAir: true
enable: true
timeout: 10s
inboundRequest:
requestType: http
Expand All @@ -53,7 +53,7 @@ resources:
description: user
methods:
- httpVerb: PUT
onAir: true
enable: true
timeout: 1000ms
inboundRequest:
requestType: http
Expand Down Expand Up @@ -126,4 +126,4 @@ curl host:port/api/v1/test-dubbo/user2 -X PUT -d '{"name":"tc","user":{"id":"000
true
```

[上一页](./dubbo.md)
[上一页](./dubbo.md)
Loading