Skip to content

Commit e186560

Browse files
membphisSaberMaster
authored andcommitted
change: update resty-radixtree to version 1.9 . (apache#1730)
1 parent 5ed5f94 commit e186560

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

rockspec/apisix-master-0.rockspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies = {
4141
"lua-resty-cookie = 0.1.0",
4242
"lua-resty-session = 2.24",
4343
"opentracing-openresty = 0.1",
44-
"lua-resty-radixtree = 1.8",
44+
"lua-resty-radixtree = 1.9",
4545
"lua-protobuf = 0.3.1",
4646
"lua-resty-openidc = 1.7.2-1",
4747
"luafilesystem = 1.7.0-2",

t/node/vars.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ __DATA__
3434
ngx.HTTP_PUT,
3535
[[{
3636
"uri": "/hello",
37-
"vars": [ ["arg_k", "v"] ],
37+
"vars": [ ["arg_k", "==", "v"] ],
3838
"upstream": {
3939
"nodes": {
4040
"127.0.0.1:1980": 1
@@ -100,7 +100,7 @@ hello world
100100
ngx.HTTP_PUT,
101101
[=[{
102102
"uri": "/hello",
103-
"vars": [["cookie_k", "v"]],
103+
"vars": [["cookie_k", "==", "v"]],
104104
"upstream": {
105105
"nodes": {
106106
"127.0.0.1:1980": 1
@@ -170,7 +170,7 @@ hello world
170170
ngx.HTTP_PUT,
171171
[=[{
172172
"uri": "/hello",
173-
"vars": [["http_k", "v"]],
173+
"vars": [["http_k", "==", "v"]],
174174
"upstream": {
175175
"nodes": {
176176
"127.0.0.1:1980": 1
@@ -240,7 +240,7 @@ hello world
240240
ngx.HTTP_PUT,
241241
[=[{
242242
"uri": "/hello",
243-
"vars": [["http_k", "header"], ["cookie_k", "cookie"], ["arg_k", "uri_arg"]],
243+
"vars": [["http_k", "==", "header"], ["cookie_k", "==", "cookie"], ["arg_k", "==", "uri_arg"]],
244244
"upstream": {
245245
"nodes": {
246246
"127.0.0.1:1980": 1

t/plugin/authz-keycloak.t

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ done
4848
[error]
4949

5050

51+
5152
=== TEST 2: full schema check
5253
--- config
5354
location /t {
@@ -74,6 +75,7 @@ done
7475
[error]
7576

7677

78+
7779
=== TEST 3: token_endpoint missing
7880
--- config
7981
location /t {
@@ -96,6 +98,7 @@ done
9698
[error]
9799

98100

101+
99102
=== TEST 4: add plugin with view course permissions
100103
--- config
101104
location /t {
@@ -209,6 +212,7 @@ true
209212
[error]
210213

211214

215+
212216
=== TEST 6: invalid access token
213217
--- config
214218
location /t {

t/plugin/consumer-restriction.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ passed
284284

285285

286286

287-
288287
=== TEST 10: verify unauthorized
289288
--- request
290289
GET /hello

0 commit comments

Comments
 (0)