[GitHub] [apisix] moonming commented on a change in pull request #2241: draft: `consumer` provides access to a collection of `service`

2020-09-17 Thread GitBox
moonming commented on a change in pull request #2241: URL: https://github.com/apache/apisix/pull/2241#discussion_r490722963 ## File path: apisix/plugins/consumer-restriction.lua ## @@ -67,26 +81,33 @@ function _M.check_schema(conf) return true end + function _M.access(

[GitHub] [apisix] moonming commented on a change in pull request #2241: draft: `consumer` provides access to a collection of `service`

2020-09-17 Thread GitBox
moonming commented on a change in pull request #2241: URL: https://github.com/apache/apisix/pull/2241#discussion_r490722729 ## File path: t/plugin/consumer-restriction.t ## @@ -540,3 +540,256 @@ GET /hello hello world --- no_error_log [error] + + + +=== TEST 25: create servi

[GitHub] [apisix] moonming commented on a change in pull request #2241: draft: `consumer` provides access to a collection of `service`

2020-09-17 Thread GitBox
moonming commented on a change in pull request #2241: URL: https://github.com/apache/apisix/pull/2241#discussion_r490671665 ## File path: apisix/plugins/consumer-restriction.lua ## @@ -67,26 +81,33 @@ function _M.check_schema(conf) return true end + function _M.access(