[GitHub] [incubator-apisix] moonming commented on issue #941: bug: key-auth使用报错

2019-12-06 Thread GitBox
moonming commented on issue #941: bug: key-auth使用报错 URL: https://github.com/apache/incubator-apisix/issues/941#issuecomment-562819006 the `key` is `auth-one` in step 1, but changed to `apikey: keykey` in the test plugin step. Thanks, Ming Wen Twitter: _WenMing

[GitHub] [incubator-apisix] moonming commented on issue #933: it returns wrong message when I use dashboard to create upstream

2019-12-06 Thread GitBox
moonming commented on issue #933: it returns wrong message when I use dashboard to create upstream URL: https://github.com/apache/incubator-apisix/issues/933#issuecomment-562818834 welcome to add this to FAQ. Thanks, Ming Wen Twitter: _WenMing ChelinTsien

[GitHub] [incubator-apisix] juzhiyuan commented on issue #941: bug: key-auth使用报错

2019-12-06 Thread GitBox
juzhiyuan commented on issue #941: bug: key-auth使用报错 URL: https://github.com/apache/incubator-apisix/issues/941#issuecomment-562806403 > the `apikey` is wrong in doc:https://github.com/apache/incubator-apisix/blob/master/doc/plugins/key-auth-cn.md, which may mislead you. > Welcome PR

[incubator-apisix] branch feature-admin-api-doc updated (30f52d8 -> 14ac058)

2019-12-06 Thread juzhiyuan
This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a change to branch feature-admin-api-doc in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git. from 30f52d8 update Request Body Parameters add 14ac058 Update admin-api.md No new

[incubator-apisix] branch feature-admin-api-doc updated (c389cbf -> 30f52d8)

2019-12-06 Thread juzhiyuan
This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a change to branch feature-admin-api-doc in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git. from c389cbf update request-body parameters add 30f52d8 update Request Body Parameters

[GitHub] [incubator-apisix] juzhiyuan commented on a change in pull request #936: Doc English doc for admin-api.md

2019-12-06 Thread GitBox
juzhiyuan commented on a change in pull request #936: Doc English doc for admin-api.md URL: https://github.com/apache/incubator-apisix/pull/936#discussion_r355092147 ## File path: doc/admin-api.md ## @@ -0,0 +1,143 @@ + + + +Table of contents +=== + +* [Route](#route) +

[GitHub] [incubator-apisix] juzhiyuan commented on a change in pull request #936: Doc English doc for admin-api.md

2019-12-06 Thread GitBox
juzhiyuan commented on a change in pull request #936: Doc English doc for admin-api.md URL: https://github.com/apache/incubator-apisix/pull/936#discussion_r355090349 ## File path: doc/admin-api.md ## @@ -0,0 +1,144 @@ + + + +Table of contents +=== + +* [Route](#route) +

[incubator-apisix] branch feature-admin-api-doc updated (5f33c27 -> 8b39221)

2019-12-06 Thread juzhiyuan
This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a change to branch feature-admin-api-doc in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git. from 5f33c27 Initial Content add 8b39221 Update admin-api.md No new revisions were

[GitHub] [incubator-apisix] juzhiyuan commented on issue #933: it returns wrong message when I use dashboard to create upstream

2019-12-06 Thread GitBox
juzhiyuan commented on issue #933: it returns wrong message when I use dashboard to create upstream URL: https://github.com/apache/incubator-apisix/issues/933#issuecomment-562792768 The original ID is in fixed-length I guess, you can fill `zero 0` before the short name if you need it.

[GitHub] [incubator-apisix] ChelinTsien commented on issue #933: it returns wrong message when I use dashboard to create upstream

2019-12-06 Thread GitBox
ChelinTsien commented on issue #933: it returns wrong message when I use dashboard to create upstream URL: https://github.com/apache/incubator-apisix/issues/933#issuecomment-562596958 > > the key show on dashboard is 34710,but rest api use key 34710 can not match data > > the

[GitHub] [incubator-apisix] totemofwolf removed a comment on issue #912: add two new patches for Tengine case

2019-12-06 Thread GitBox
totemofwolf removed a comment on issue #912: add two new patches for Tengine case URL: https://github.com/apache/incubator-apisix/issues/912#issuecomment-562507499 官方 nginx-17.3 可以接收 openresty的patch ``` bash ➜ nginx-1.17.3 patch -p1 <

[GitHub] [incubator-apisix] moonming commented on a change in pull request #937: optimize(radixtree_host_uri): reuse empty function.

2019-12-06 Thread GitBox
moonming commented on a change in pull request #937: optimize(radixtree_host_uri): reuse empty function. URL: https://github.com/apache/incubator-apisix/pull/937#discussion_r354829095 ## File path: lua/apisix/http/router/radixtree_host_uri.lua ## @@ -83,6 +83,9 @@ local

[GitHub] [incubator-apisix] moonming commented on issue #912: add two new patches for Tengine case

2019-12-06 Thread GitBox
moonming commented on issue #912: add two new patches for Tengine case URL: https://github.com/apache/incubator-apisix/issues/912#issuecomment-562564557 @totemofwolf Please use English in the public channel, you are the PPMC of Apache APISIX.

[GitHub] [incubator-apisix] moonming edited a comment on issue #946: It could not add more than one upstreams to a route

2019-12-06 Thread GitBox
moonming edited a comment on issue #946: It could not add more than one upstreams to a route URL: https://github.com/apache/incubator-apisix/issues/946#issuecomment-562563947 @DHB-liuhong Apache APISIX does not support yet. I think you can refer to Apache APISIX's PATCH API, for

[GitHub] [incubator-apisix] moonming commented on issue #946: It could not add more than one upstreams to a route

2019-12-06 Thread GitBox
moonming commented on issue #946: It could not add more than one upstreams to a route URL: https://github.com/apache/incubator-apisix/issues/946#issuecomment-562563947 @DHB-liuhong Apache APISIX does not support yet. I think you can refer to

[GitHub] [incubator-apisix] moonming commented on issue #944: request help: 插件扩展可行性咨询

2019-12-06 Thread GitBox
moonming commented on issue #944: request help: 插件扩展可行性咨询 URL: https://github.com/apache/incubator-apisix/issues/944#issuecomment-562559974 > 没错,我这个方案确实不是太好,有一些性能损失,当然我也可以对外时把接口地址变成 > http://127.0.0.1:8080/   service_code_prefix和后面的upstream是对应的,在中间做一个plugnin 重新组合request body json数据 

[GitHub] [incubator-apisix] DHB-liuhong edited a comment on issue #946: It could not add more than one upstreams to a route

2019-12-06 Thread GitBox
DHB-liuhong edited a comment on issue #946: It could not add more than one upstreams to a route URL: https://github.com/apache/incubator-apisix/issues/946#issuecomment-562510211 我发现用http请求不能灵活的修改upstream中的ip和权重,每次修改,发送请求,都需要将nodes中的所有ip重新写一边,其实我只想修改nodes中某一个ip的权重,是否有什么好的方法进行修改

[GitHub] [incubator-apisix] DHB-liuhong opened a new issue #946: It could not add more than one upstreams to a route

2019-12-06 Thread GitBox
DHB-liuhong opened a new issue #946: It could not add more than one upstreams to a route URL: https://github.com/apache/incubator-apisix/issues/946 ### Issue description i want add more than one upstreams to a route ,but I find it doesn't work ### Environment [root@lhdev2

[GitHub] [incubator-apisix] totemofwolf commented on issue #912: add two new patches for Tengine case

2019-12-06 Thread GitBox
totemofwolf commented on issue #912: add two new patches for Tengine case URL: https://github.com/apache/incubator-apisix/issues/912#issuecomment-562507499 官方 nginx-17.3 可以接收 openresty的patch ``` bash ➜ nginx-1.17.3 patch -p1 < ./nginx-1.17.4-privileged_agent_process.patch

[GitHub] [incubator-apisix] simplechen commented on issue #944: request help: 插件扩展可行性咨询

2019-12-06 Thread GitBox
simplechen commented on issue #944: request help: 插件扩展可行性咨询 URL: https://github.com/apache/incubator-apisix/issues/944#issuecomment-562503340 没错,我这个方案确实不是太好,有一些性能损失,当然我也可以对外时把接口地址变成 http://127.0.0.1:8080/   service_code_prefix和后面的upstream是对应的,在中间做一个plugnin 重新组合request body json数据 

[GitHub] [incubator-apisix] simplechen commented on issue #941: bug: key-auth使用报错

2019-12-06 Thread GitBox
simplechen commented on issue #941: bug: key-auth使用报错 URL: https://github.com/apache/incubator-apisix/issues/941#issuecomment-562500747 > If the api-key is `123456`, the `consumer` should be: > > ``` > -- create new consumer > { > "username": "jack", > "plugins":

[GitHub] [incubator-apisix] moonming commented on issue #944: request help: 插件扩展可行性咨询

2019-12-06 Thread GitBox
moonming commented on issue #944: request help: 插件扩展可行性咨询 URL: https://github.com/apache/incubator-apisix/issues/944#issuecomment-562500507 Sure, Apache APISIX supports custom router, which can resolve your issue. @membphis can you give a more detail example?

[GitHub] [incubator-apisix] moonming commented on issue #944: request help: 插件扩展可行性咨询

2019-12-06 Thread GitBox
moonming commented on issue #944: request help: 插件扩展可行性咨询 URL: https://github.com/apache/incubator-apisix/issues/944#issuecomment-562500768 by the way, the plugin is not a good idea for your issue. This is an automated

[GitHub] [incubator-apisix] moonming opened a new issue #945: bug: wrong `apikey` in doc of key-auth plugin.

2019-12-06 Thread GitBox
moonming opened a new issue #945: bug: wrong `apikey` in doc of key-auth plugin. URL: https://github.com/apache/incubator-apisix/issues/945 as discussed here: https://github.com/apache/incubator-apisix/issues/941#issuecomment-562493124

[GitHub] [incubator-apisix] moonming commented on issue #941: bug: key-auth使用报错

2019-12-06 Thread GitBox
moonming commented on issue #941: bug: key-auth使用报错 URL: https://github.com/apache/incubator-apisix/issues/941#issuecomment-562493124 the `apikey` is wrong in doc:https://github.com/apache/incubator-apisix/blob/master/doc/plugins/key-auth-cn.md, which may mislead you. Welcome PR to

[GitHub] [incubator-apisix] simplechen opened a new issue #944: request help: 插件扩展可行性咨询

2019-12-06 Thread GitBox
simplechen opened a new issue #944: request help: 插件扩展可行性咨询 URL: https://github.com/apache/incubator-apisix/issues/944 HI:   我们公司现有有一个正在使用的网关标准如下,现在想看看是否可以通过写apisix plugin 实现。 - 接口标准 1. 接口调用统一地址 > http://127.0.0.1:8080/default 2. 调用方法 > POST 3. 请求参数 http

[GitHub] [incubator-apisix] moonming commented on issue #914: Make apisix's production deployment **FHS**able

2019-12-06 Thread GitBox
moonming commented on issue #914: Make apisix's production deployment **FHS**able URL: https://github.com/apache/incubator-apisix/issues/914#issuecomment-562491670 In short, Apache APISIX tries not to let users know the exists of Nginx.

[GitHub] [incubator-apisix] membphis commented on issue #941: bug: key-auth使用报错

2019-12-06 Thread GitBox
membphis commented on issue #941: bug: key-auth使用报错 URL: https://github.com/apache/incubator-apisix/issues/941#issuecomment-562491002 If the api-key is `123456`, the `consumer` should be: ``` -- create new consumer { "username": "jack", "plugins": {

[GitHub] [incubator-apisix] moonming closed issue #579: roadmap: version 0.9

2019-12-06 Thread GitBox
moonming closed issue #579: roadmap: version 0.9 URL: https://github.com/apache/incubator-apisix/issues/579 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[incubator-apisix] branch master updated: luarocks: install apisix 0.9 by luarocks. (#934)

2019-12-06 Thread wenming
This is an automated email from the ASF dual-hosted git repository. wenming pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git The following commit(s) were added to refs/heads/master by this push: new a3a591e luarocks: install apisix

[GitHub] [incubator-apisix] moonming commented on issue #940: remove `conf/nginx.conf`

2019-12-06 Thread GitBox
moonming commented on issue #940: remove `conf/nginx.conf` URL: https://github.com/apache/incubator-apisix/issues/940#issuecomment-562487156 as discussed in mailling list:

[GitHub] [incubator-apisix] moonming opened a new issue #942: test case: no test cases for vaild consumer and vaild key for key-auth plugin

2019-12-06 Thread GitBox
moonming opened a new issue #942: test case: no test cases for vaild consumer and vaild key for key-auth plugin URL: https://github.com/apache/incubator-apisix/issues/942 only invaild https://github.com/apache/incubator-apisix/blob/master/t/plugin/key-auth.t#L150

[GitHub] [incubator-apisix] simplechen opened a new issue #941: bug: key-auth使用报错

2019-12-06 Thread GitBox
simplechen opened a new issue #941: bug: key-auth使用报错 URL: https://github.com/apache/incubator-apisix/issues/941 ### key-auth使用报错 ### Environment * apisix version (0.9-rc1): * OS: CentOS Linux release 7.5.1804 (Core) ### Minimal test code / Steps to reproduce the issue