YuanSheng Wang
6a43a8c735
feature: implemented plugin uri-blocklist
. ( #1727 )
...
first step: #1617
2020-06-22 14:45:55 +08:00
YuanSheng Wang
748e33756b
refactory: collect upstream
logic and put them in a single file. ( #1734 )
...
feature: support dynamic upstream in plugin.
here is a mini example in `access` phase of plugin:
```lua
local up_conf = {
type = "roundrobin",
nodes = {
{host = conf.upstream.ip, port = conf.upstream.port, weight = 1},
}
}
local ok, err = upstream.check_schema(up_conf)
if not ok then
return 500, err
end
local matched_route = ctx.matched_route
upstream.set(ctx, up_conf.type .. "#route_" .. matched_route.value.id,
ctx.conf_version, up_conf, matched_route)
return
```
2020-06-22 14:21:42 +08:00
Eric Shi
2b5ddbca2f
test: add test cases about the string id in service
#1659 ( #1750 )
2020-06-22 12:55:58 +08:00
YuanSheng Wang
f1e66ad1a3
bugfix: id can be string object, which contains ^[a-zA-Z0-9-_]+$
. ( #1739 )
...
Fix #1654
2020-06-21 16:28:11 +08:00
Nirojan Selvanathan
cd98a2bec8
feature: support authorization Plugin for Keycloak Identity Server ( #1701 )
2020-06-16 13:51:36 +08:00
Ayeshmantha Perera
1764890d08
feature: support body filter plugin echo
. ( #1632 )
2020-06-13 20:56:11 +08:00
YuanSheng Wang
b34b554597
change: set default reject code for some plugins ( #1696 )
...
plugin list:
limit-count
limit-conn
limit-req
2020-06-11 15:30:14 +08:00
YuanSheng Wang
1b7c1bc583
test case: formatted by reindex
. ( #1651 )
2020-06-09 20:48:16 +08:00
nic-chen
b59a519197
feat: support resource name for route, service and upstream object. ( #1655 )
2020-06-09 08:26:33 +08:00
stone4774
d6cee162d6
plugin: add consumer-restriction ( #1437 )
2020-06-08 12:49:46 +08:00
nic-chen
ecd684b3a0
feat(admin api): enhance PATCH
method, allow to update partial data. ( #1609 )
2020-06-02 11:28:45 +08:00
Wen Ming
398941b72f
feature: add skywalking plugin. ( #1241 )
2020-05-27 17:55:47 +08:00
YuanSheng Wang
c9a53abbb9
test: updated style. ( #1606 )
2020-05-22 21:34:58 +08:00
qiujiayu
e7d19ec160
feature: support discovery center ( #1440 )
2020-05-14 23:20:44 +08:00
YuanSheng Wang
cafbfe160a
feature: support new field exptime
for SSL object. ( #1575 )
...
fix #1571 .
2020-05-12 15:50:52 +08:00
Nirojan Selvanathan
64fcb9fd72
plugin: add HTTP logger for APISIX ( #1396 )
2020-05-09 16:19:41 +08:00
Ayeshmantha Perera
33b437df4e
feature: implemented plugin sys logger
. ( #1414 )
2020-05-06 10:49:18 +08:00
Vinci Xu
3a9e0fc675
feature: add batch request plugin. ( #1388 )
2020-04-29 21:40:45 +08:00
nic-chen
a53b4707fb
feat: support saving k8s deployment info to upstream ( #1502 )
...
* feat: support save k8s deployment info to upstream
2020-04-27 10:47:17 +08:00
YuanSheng Wang
256cc19980
bugfix: throw error meg when call admin API to enable mqtt plugin but stream_proxy
is disabled. ( #1407 )
2020-04-08 16:24:55 +08:00
Vinci Xu
c363ea46d9
feature: add cors plugin ( #1327 )
2020-03-29 10:30:59 +08:00
Ayeshmantha Perera
8adafa3ee2
feature: add Kafka Logger plugin. ( #1312 )
2020-03-25 08:26:45 +08:00
agile6v
fc948f9578
feautre: support for proxy mirror plugin. ( #1288 )
2020-03-19 08:10:03 +08:00
agile6v
864aa16e91
feature: support for proxy caching plugin based on disk. ( #1153 )
2020-03-15 22:26:08 +08:00
Ayeshmantha Perera
d07871186a
feature: implemented tcp logger plugin. ( #1221 )
2020-03-15 09:22:13 +08:00
YuanSheng Wang
177892f1a4
bugfix: return the schema of plugin grpc-transcode. ( #1265 )
2020-03-14 22:01:47 +08:00
YuanSheng Wang
aa3c71a10a
bugfix: plugin node-status and heartbeat don't have schema. ( #1249 )
2020-03-14 09:34:34 +08:00
YuanSheng Wang
c53f714613
test: added test cases. ( #1252 )
...
fix #1246
2020-03-13 20:06:22 +08:00
YuanSheng Wang
834e9e1873
bugfix: the plugin basic-auth needs required field ( #1251 )
...
Fix #1244
2020-03-13 20:05:44 +08:00
Wen Ming
0ff1c820ae
bugfix: hide ssl private key in admin API. ( #1240 )
2020-03-13 15:56:38 +08:00
Vinci Xu
c2250383f2
bugfix: global ruls admin api should list resource without id ( #1199 )
2020-03-07 19:51:40 +08:00
Wen Ming
be2eec3c6d
feature: supported key-based authentication to the dashboard. ( #1169 )
2020-03-05 14:48:27 +08:00
温铭 WenMing
a6f7c8571e
bugfix: return 400 when not pass plugin name to admin API. ( #1174 )
2020-02-28 16:26:39 +08:00
YuanSheng Wang
2870b79833
bugfix: missing clear
table before to reuse table. ( #1134 )
...
* test: avoid to use regex for matching output.
2020-02-18 21:46:56 +08:00
YuanSheng Wang
7bcf15d45b
core: support to set response headers by table. ( #1129 )
2020-02-18 15:19:12 +08:00
iGeeky
5fff97d0b1
feature: Add wolf rbac plugin ( #1095 )
2020-02-06 15:22:49 +08:00
Nirojan Selvanathan
81c37003b7
feature: add UDP logger plugin ( #1070 )
2020-01-17 23:30:05 +08:00
YuanSheng Wang
ea7e783fca
test: style, reformatted by reindex
tools. ( #1045 )
2020-01-14 09:51:05 +08:00
agile6v
9758a0e334
feature: implemented new fault-injection
plugin. ( #1042 )
2020-01-13 22:22:21 +08:00
KowloonZh
262b9904fb
feature: add basic-auth plugin ( #1029 )
2020-01-13 17:43:04 +08:00
Changwei Hu
9c9be959d3
feature: chash key support more flexible ways ( #1022 )
...
upstream add hash_on, chash key support more flexible ways
routes and services admin api add upstream_conf check
2020-01-10 15:17:17 +08:00
YuanSheng Wang
f22f494362
optimize: updated the error message after updated new jsonschema
. ( #1011 )
2020-01-02 21:56:42 +08:00
YuanSheng Wang
c74e6c2d3a
feature: supported priority
for route. ( #998 )
2019-12-29 17:11:38 +08:00
YuanSheng Wang
c7f9fdf9d7
feature: support to specify TTL for route。 ( #807 )
...
Fix #443 .
2019-12-06 11:13:24 +08:00
YuanSheng Wang
6eca35e1e2
feature: support for adding the specified request header for upstream health check.( #818 )
2019-12-04 13:57:38 +08:00
Lien
fbb51ddadd
plugin: implement plugin response rewrite
2019-11-21 21:49:53 +08:00
jiangyongfeng
553f4e9cfd
test: fixed typo in test cases #508 ( #853 )
2019-11-14 12:37:46 +08:00
YuanSheng Wang
ecd4a57a24
test: reformatted by reindex
tools. ( #798 )
2019-11-04 14:14:07 +08:00
Lien
b91d2d36c0
Fix: allow set multiple URI in one route config ( #797 )
...
* route support uris
* fix uris in router with test cases
* remove line has trailing whitespace
* remove line has trailing whitespace
* fix test case
* use new test case for multiple uris
2019-11-04 14:00:52 +08:00
Lien
b119a5c94b
bugfix: support more built-in parameters when set chash balancer ( #775 )
2019-11-03 18:25:51 +08:00