Commit Graph

444 Commits

Author SHA1 Message Date
JinChen
9e1030ee42
feat: limit-count plugin supports limiting requests by consumer name. (#2421)
fixed #2333
2020-10-17 19:24:55 +08:00
罗泽轩
6a543a98a2
feat: use interceptors to protect plugin's route (#2416) 2020-10-17 17:45:26 +08:00
YuanSheng Wang
c65f5c9465
feature: plugin limit-count support to use redis cluster (#2406)
fix #638

Co-authored-by: liuheng <liuhengloveyou@gmail.com>
2020-10-17 08:21:47 +08:00
罗泽轩
85ed4cc576
doc: correct the doc of plugin ip-restriction (#2420) 2020-10-14 21:37:55 +08:00
Shuyang Wu
ef6bc442ae
chore: fix broken link (#2404)
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2020-10-14 08:32:51 +08:00
YuanSheng Wang
5614a95758
feat(http-logger): support for specified the log formats via admin API (#2309)
curl http://****/apisix/admin/plugin_metadata/http-logger -d '
{
    "log_format": {
        "host": "$host",
        "@timestamp": "$time_iso8601",
        "client_ip": "$remote_addr"
    }
}'

when we enabled plugin http-logger, we will get the message body like:

{"host":"localhost","@timestamp":"2020-09-23T18:29:07-04:00","client_ip":"127.0.0.1","route_id":"1"}
{"host":"localhost","@timestamp":"2020-09-23T18:29:07-04:00","client_ip":"127.0.0.1","route_id":"1"}
2020-10-13 14:21:54 +08:00
YuanSheng Wang
73dfdf2185
feat: add new filed meta_style, collect the request information with original style. (#2364) 2020-10-09 16:33:07 +08:00
Joey
9d0d351226
Add lables for Route/Service/Consumer/SSL (#2345)
Signed-off-by: imjoey <majunjiev@gmail.com>
2020-10-09 14:05:14 +08:00
罗泽轩
3d6c40deb5
doc(ip-restriction): IPv6 already supported (#2363) 2020-10-07 21:35:27 +08:00
罗泽轩
5b97223592
feat: implemented referer-restriction plugin (#2352) 2020-10-06 18:20:17 +08:00
Firstsawyou
c3de84e285
feature: support consumer_name as key for limit-req plugin. (#2270)
fix #2267
2020-10-06 18:18:22 +08:00
Wen Ming
a4e3526049
bugfix: remove unsupported algorithm in jwt plugin. (#2356)
* bugfix: remove unsupported algorithm in jwt plugin.

support algorithm: https://github.com/SkyLothar/lua-resty-jwt/blob/master/lib/resty/jwt.lua#L505

* revert doc auto-format

Signed-off-by: yiyiyimu <wosoyoung@gmail.com>

Co-authored-by: yiyiyimu <wosoyoung@gmail.com>
2020-10-05 07:26:40 +08:00
YuanSheng Wang
20c670ce09
change(hmac-auth): update the organization of signing_string . (#2337)
fix #2336 .

ref:
https://help.aliyun.com/document_detail/29475.html?spm=a2c4g.11186623.2.15.62c73e789LVg02
https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationConstructingCanonicalizedAmzHeaders
2020-10-04 19:57:57 +08:00
Shuyang Wu
c228675a81
doc: update etcd installation step for v3.4 (#2346) 2020-10-04 19:15:58 +08:00
diaosj
2f3d6786e2
doc: update router variable example (#2351) 2020-10-04 13:52:04 +08:00
YuanSheng Wang
7be1134295
doc: field key should be optional in upstream object. (#2349) 2020-10-01 23:24:40 +08:00
Joey
ebe4f6620a
feat: Add labels for upstream object (#2279) 2020-09-28 11:20:09 +08:00
nic-chen
c375bd0cac
feat: replace timestamp with date and time in GMT format in plugin hmac-auth (#2301) 2020-09-28 09:10:26 +08:00
Shuyang Wu
2f7949a1b7
doc: fix typo in doc(#2282) 2020-09-26 09:21:01 +08:00
Wen Ming
13b0968340
Revert "feat(http-logger): support for specified the log formats via admin API (#2294)" (#2307)
This reverts commit 89f89f3004.
2020-09-24 23:50:22 +08:00
YuanSheng Wang
89f89f3004
feat(http-logger): support for specified the log formats via admin API (#2294) 2020-09-24 20:45:50 +08:00
YuanSheng Wang
3f9685f823
feat(http-logger): support to concat multiple log with separator. (#2286) 2020-09-24 10:58:44 +08:00
nic-chen
1b24f36639
feat: support storing metadata for plugins (#2268)
fix #2263
2020-09-23 21:02:56 +08:00
Wen Ming
44e05b08ab
doc: removed qrcode of qq group. (#2246) 2020-09-23 14:28:30 +08:00
Shuyang Wu
6f06622382
doc: plugin attributes format unification (#2278)
* [WIP] doc api unify

* [WIP] doc api unify

* doc api format

* fix typo
2020-09-23 08:11:27 +08:00
nic-chen
0a4bc95e3d
feat: hmac-auth add signed headers to calculate signature (#2239)
Co-authored-by: YuanSheng Wang <membphis@gmail.com>
2020-09-18 20:25:41 +08:00
nic-chen
84ce7ba781
feat: add AK/SK(HMAC) auth plugin. (#2192) 2020-09-16 14:27:56 +08:00
Shuyang Wu
4722198548
feature: support etcd v3 by mocking v2 API (#2036) 2020-09-16 10:19:04 +08:00
agile6v
4b756ec41e
doc: fix formatting (#2210) 2020-09-14 14:37:38 +08:00
琚致远
98da870976
doc: fixed typo in health-check.md (#2200) 2020-09-10 19:15:45 +08:00
mark
d2f622e280
plugin(prometheus): update json file for grafana dashboard (#2143) 2020-09-07 08:58:55 +08:00
idbeta
fbe091b588
doc: fix link in documents (#2147) 2020-09-03 13:51:21 +08:00
nic-chen
502310bef6
feat: support different modes to pass host to upstream (#2132)
* test: using `httpbin.org` for test cases.
* doc: add doc
* remove golang apt repository and runtime in travis.
* download proto file
Co-authored-by: Yuansheng <membphis@gmail.com>
2020-08-30 22:43:28 +08:00
redynasc
98bb5933d6
feature: implement ewma balancer for upstream node (#2001)
ewma is a different balancing implementation that will generate a weight for every backend IP based on the last server response time, basically it tries to dispatch more requests to the backends that reply faster, supposing that they are less loaded.

fix #1996
2020-08-29 23:14:16 +08:00
YuanSheng Wang
4d5ecc1a40
plugin(fault-injection): use draft7 way to rewrite the JSON Schema. (#2105)
fix #2088
2020-08-27 11:47:04 +08:00
Shuyang Wu
fad789481e
doc: add more companies to power-by page (#2109)
* doc: add more companies to power-by page since #1317
2020-08-26 16:55:26 +08:00
YuanSheng Wang
9070a4fa95
feature: implemented plugin log-rotate, rotate log by interval time. (#2097) 2020-08-26 16:40:36 +08:00
Shuyang Wu
cd6d3552d3
doc: fix doc use 4 spaces instead of key (#2108) 2020-08-26 09:37:53 +08:00
Wen Ming
8fdb0c2309
doc: updated the architecture diagram to remove RDS. (#2117) 2020-08-25 15:21:47 +08:00
nic-chen
4f83f09eeb
fix: return response code and msg instead of exit directly in plugins. (#2115) 2020-08-25 09:56:45 +08:00
Alex Zhang
2886b2169b
feature: support multiple certificates(RSA and ECC) for single domain (#2089) 2020-08-24 09:23:06 +08:00
Shuyang Wu
6ffd8b9956
doc: Chinese version of plugins request-id (#2103)
fix #2027
2020-08-23 11:17:18 +08:00
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
Janko
31b210f963
doc: unified plugins document link format and path of Chinese and English. (#2040)
fix #2039
2020-08-12 22:54:11 +08:00
Janko
da082650c9
doc: update example syntax error for request-validation plugin. (#2030) 2020-08-10 09:59:56 +08:00
Nirojan Selvanathan
14f979edf8
test: Added test cases for openid connect introspection (#2018)
Fix #1718

* Added test case for token intropsection with Keycloak identity server
* Renamed oauth doc to openid-connect to correctly link with the plugin name
2020-08-08 18:24:42 +08:00
Nirojan Selvanathan
2dea7e682b
doc: Refactoring plugins into functional categories (#2021) 2020-08-07 21:06:59 +08:00
jie
b4890bf607
doc: remove all ‘incubator’ in doc (#2014) 2020-08-07 07:57:09 +08:00
Scaat Feng
b450320501
doc: update authz-keycloak plugin docs (#2011)
fix #2010
2020-08-06 22:41:46 +08:00
Nirojan Selvanathan
712a23f9b0
feat: Support SSL verify option to Authz Keycloak plugin (#1924)
Fix #1855
2020-08-06 17:07:07 +08:00
Vinci Xu
2ac47735a1
feat: add '**' for alllow_headers and complete docs (#2004)
fix #1983
2020-08-06 16:13:33 +08:00
James Hughes
ac69ad3e3a
doc: removed incubator prefix and fix steps (#1998)
Removed multiple "incubator-" prefixed from urls in both EN and CN
getting-started documents

Updated the cd command in the getting started steps so that it moved
into the correct directory after cloning
2020-08-06 10:29:21 +08:00
Janko
5833e4f3d7
release: released 1.5.0 version. (#1965) 2020-08-06 09:33:34 +08:00
Scaat Feng
af70fcb4ab
doc: update uri-blocker plugin docs (#1997) 2020-08-05 19:13:19 +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
Scaat Feng
020090cc44
doc: add Chinese doc of uri-blocker plugin (#1985) 2020-08-05 14:01:05 +08:00
Janko
90867ed744
doc: unified document file name format. (#1969) 2020-08-03 08:49:20 +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
Janko
0062877dcc
doc: add request-validation plugin chinese document. (#1932)
FIX #1882
2020-07-30 17:46:44 +08:00
Scaat Feng
c6f7af6be7
doc: update Chinese how-to-build.md (#1936)
fix #1933
2020-07-30 13:16:37 +08:00
Lien
f4aaf9a0a6
doc: corrected some typo (#1938) 2020-07-30 13:15:01 +08:00
Nirojan Selvanathan
a7a4fbe8f4
doc: improvements for OSx unit tests (#1926)
doc(request-validation): fixed the wrong example.
2020-07-30 09:41:36 +08:00
YuanSheng Wang
3947f06989
makefile: add comments for install command. (#1912)
* doc: update output of `make help`
2020-07-29 19:23:49 +08:00
YuanSheng Wang
4c61baa7e9
doc: fix typos. (#1916)
url -> URL .
2020-07-29 19:23:08 +08:00
YuanSheng Wang
fbc3c6818d
feature: allow to set retries=0 for upstream object. (#1919) 2020-07-29 19:21:50 +08:00
Janko
520ef311e3
feature: health check supports custom host port. (#1914) 2020-07-28 23:51:42 +08:00
YuanSheng Wang
4015071e30
change: the timeout of healthcheck should be number type. (#1892) 2020-07-27 16:19:01 +08:00
Sarasa Kisaragi
45f84a2510
doc: fixed image links in zh-cn benchmark (#1896) 2020-07-24 16:30:51 +08:00
yongboy
8fbd0ac305
doc: added CODE_STYLE.md and CODE_STYLE_CN.md for APISIX (#1874) 2020-07-22 16:52:49 +08:00
Nirojan Selvanathan
a6179996d4
feature: new plugin request-validator (#1709) 2020-07-21 21:38:48 +08:00
nic-chen
a5fc25c2a9
feat: Support admin API authentication with SSL certificates (#1747) 2020-07-21 11:41:11 +08:00
nic-chen
c1ee898a1a
release: released 1.4.1 version (#1872) 2020-07-20 18:13:31 +08:00
YuanSheng Wang
a4c3c0f980
doc: update the text of DP and CP. (#1814) 2020-07-09 08:55:07 +08:00
yongboy
6fec021ab0
doc: fixed zh-cn/architecture-design.md images path error (#1813) 2020-07-08 18:23:22 +08:00
Wen Ming
5a38df1ffe
doc: add more steps for install. (#1805) 2020-07-07 10:35:02 +08:00
YuanYingdong
8494506767
doc: fixed some punctuation error in the document sample shell (#1803) 2020-07-06 09:54:23 +08:00
Joey
57289aeac1
doc: add guides for installing dependencies on fedora (#1800) 2020-07-04 07:48:10 +08:00
Nirojan Selvanathan
d787cbd55e
release: released 1.4-0 version (#1742) 2020-06-30 13:34:00 +08:00
YuanSheng Wang
0d58ba7710
doc: remove router r3 . (#1764) 2020-06-30 13:33:35 +08:00
Scaat Feng
3fc7e7d502
doc: update Chinese README.md (#1763) 2020-06-28 20:07:33 +08:00
Scaat Feng
8a523b6fe8
doc: updated k8s doc (#1757) 2020-06-23 19:04:05 +08:00
Scaat Feng
eafaf15928
doc: update Chinese README.md (#1758) 2020-06-23 16:57:33 +08:00
Scaat Feng
550cf743d1
doc: add oauth plugins Chinese docs. (#1754) 2020-06-23 10:35:26 +08:00
Scaat Feng
a5ac97f8b6
doc: update admin-api docs (#1753) 2020-06-22 19:18:11 +08:00
Scaat Feng
497acbb749
doc: update http-logger plugins Chinese docs. (#1755) 2020-06-22 19:12:50 +08:00
YuanSheng Wang
6a43a8c735
feature: implemented plugin uri-blocklist . (#1727)
first step: #1617
2020-06-22 14:45:55 +08:00
Nirojan Selvanathan
b0a1580c67
doc: Refactoring docs to support docsify (#1724) 2020-06-19 12:03:55 +08:00
hellmage
0a8b73930e
doc: add Chinese translation of authz-keycloak plugin (#1729) 2020-06-18 21:38:09 +08:00
Corey.Wang
fab05899f8
doc: health-check-cn.md (#1723) 2020-06-18 15:46:44 +08:00
agile6v
3afcf54fe4
doc: update echo-cn.md (#1726) 2020-06-18 09:24:55 +08:00
YuanSheng Wang
6c3e66793f
doc: updated main picture. (#1719) 2020-06-17 10:37:47 +08:00
Vinci Xu
3010e04d47
feat[batch-request]: cp all header to every request (#1697) 2020-06-16 18:09:02 +08:00
Nirojan Selvanathan
cd98a2bec8
feature: support authorization Plugin for Keycloak Identity Server (#1701) 2020-06-16 13:51:36 +08:00
Wen Ming
8b4ae7c188
doc: added doc of key for limit-* plugins. (#1714) 2020-06-16 13:36:16 +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
琚致远
ce386b09f0
doc: rename grpc-transcoding-cn.md to grpc-transcode-cn.md (#1694) 2020-06-11 12:03:12 +08:00
nic-chen
b59a519197
feat: support resource name for route, service and upstream object. (#1655) 2020-06-09 08:26:33 +08:00