YuanSheng Wang
cf882bda1e
feature: divide config.yaml into two files config-custom.yaml & confi… ( #2023 )
...
* feature: divide config.yaml into two files config-custom.yaml & config-default.yaml .
fix #1923
2020-08-18 20:18:55 +08:00
Nirojan Selvanathan
240942e941
feature: implemented request-id
plugin to uniquely track requests in APISIX ( #2026 )
...
fix #2022
2020-08-12 23:09:39 +08:00
nic-chen
65df727af4
feat: script distribute and run ( #1982 )
...
Supporting distribution and execution scripts, we can implement many new features,
such as plug-in orchestration.
2020-08-05 14:11:22 +08:00
YuanSheng Wang
e1c6d371a8
doc: update main picture of APISIX. ( #1964 )
...
* test case: formatted by `reindex`.
2020-08-02 09:35:37 +08:00
nic-chen
29b15892b7
feat: support both standard PATCH and sub path PATCH for admin api ( #1930 )
...
fix #1823
2020-07-31 09:21:08 +08:00
YuanSheng Wang
20207c8108
bugfix: read the request body from the temporary file if it was cached. ( #1863 )
2020-07-29 19:24:27 +08:00
YuanSheng Wang
fbc3c6818d
feature: allow to set retries=0
for upstream object. ( #1919 )
2020-07-29 19:21:50 +08:00
YuanSheng Wang
4015071e30
change: the timeout of healthcheck
should be number type. ( #1892 )
2020-07-27 16:19:01 +08:00
Nirojan Selvanathan
a6179996d4
feature: new plugin request-validator ( #1709 )
2020-07-21 21:38:48 +08:00
mtx2d
24d7007e94
change: removed useless plugin heartbeat
( #1845 )
...
Fix #1176
2020-07-16 17:31:39 +08:00
YuanSheng Wang
2ccf020027
test: format by tool reindex
. ( #1775 )
2020-07-02 22:04:24 +08:00
ko han
aeab71df80
change: 'get_plugin_list' API sorts the return list base on priority ( #1779 )
2020-07-01 17:05:02 +08:00
YuanSheng Wang
ee7533874d
optimize: Use lru to avoid resolving IP addresses repeatedly . ( #1772 )
...
* optimize: Use lru to avoid resolving IP addresses repeatedly .
Cached the global rules to `ctx` .
* optimzie: used a longer time interval for etcd and flush access log.
* optimize: return upstream node directly if the count is 1 .
* optimize: avoid to cache useless variable.
2020-06-28 18:14:38 +08:00
Shenal Silva
492fa71cbc
bugfix: added content-type
for admin API responses ( #1746 )
2020-06-24 13:57:10 +08:00
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