membphis commented on a change in pull request #2241:
URL: https://github.com/apache/apisix/pull/2241#discussion_r490686228
##
File path: apisix/plugins/consumer-restriction.lua
##
@@ -67,26 +81,33 @@ function _M.check_schema(conf)
return true
end
+
function
membphis commented on a change in pull request #2241:
URL: https://github.com/apache/apisix/pull/2241#discussion_r490685703
##
File path: t/plugin/consumer-restriction.t
##
@@ -540,3 +540,256 @@ GET /hello
hello world
--- no_error_log
[error]
+
+
+
+=== TEST 25: create
membphis commented on a change in pull request #2241:
URL: https://github.com/apache/apisix/pull/2241#discussion_r490674241
##
File path: t/plugin/consumer-restriction.t
##
@@ -540,3 +541,256 @@ GET /hello
hello world
--- no_error_log
[error]
+
+
+
+=== TEST 25: create
membphis commented on a change in pull request #2241:
URL: https://github.com/apache/apisix/pull/2241#discussion_r489997687
##
File path: apisix/plugins/consumer-restriction.lua
##
@@ -29,25 +34,33 @@ local schema = {
type = "array",
items = {type =
membphis commented on a change in pull request #2241:
URL: https://github.com/apache/apisix/pull/2241#discussion_r489949071
##
File path: apisix/plugins/consumer-restriction.lua
##
@@ -29,11 +34,12 @@ local schema = {
type = "array",
items = {type =
membphis commented on a change in pull request #2241:
URL: https://github.com/apache/apisix/pull/2241#discussion_r489899670
##
File path: apisix/plugins/consumer-restriction.lua
##
@@ -20,6 +20,10 @@ local core = require("apisix.core")
local schema = {
type =
membphis commented on a change in pull request #2241:
URL: https://github.com/apache/apisix/pull/2241#discussion_r489899205
##
File path: apisix/plugins/consumer-restriction.lua
##
@@ -20,6 +20,10 @@ local core = require("apisix.core")
local schema = {
type =