Commit Graph

222 Commits

Author SHA1 Message Date
Rushikesh Tote
183351cd9f
feat: Added authz-casbin plugin and doc and tests for it (#4710)
Signed-off-by: Rushikesh Tote <rushi.tote@gmail.com>
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: tzssangglass <tzssangglass@gmail.com>
2021-08-06 11:35:07 +08:00
罗泽轩
a04f3649b7
feat: add gzip plugin (#4640) 2021-07-22 12:04:38 +08:00
Arthur.Zhang
71bc27cc41
feat(plugin): Add new plugin ua-restriction for bot spider restriction (#4587) 2021-07-21 21:11:49 +08:00
罗泽轩
44ead1f46e
feat(stream): add ip-restriction (#4602)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-20 19:09:44 -04:00
罗泽轩
fd0bcc034f
fix(stream): missing shdict to store etcd health check info (#4608)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-16 14:54:47 +08:00
罗泽轩
03a9b80055
change: enable stream proxy only by default (#4580)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-14 10:33:36 +08:00
罗泽轩
5061221f40
chore: prevent people to submit an issue before updating the yaml lib (#4596)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-13 09:13:30 -04:00
Shuyang Wu
7abd9585cf
chore: update tinyyaml lib and remove unnecessary quotes in config (#4484) 2021-07-13 14:49:30 +08:00
罗泽轩
808d511dd4
feat(stream): add limit-conn (#4515)
* feat(stream): add limit-conn

Signed-off-by: spacewander <spacewanderlzx@gmail.com>

* break down long bracket to avoid missing the closing long bracket "]]"

https: //github.com/apache/apisix/pull/4515/checks?check_run_id=2962435093
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-07-13 13:17:52 +08:00
Applenice
131998df4f
feat: support lua_shared_dict variable in ngx_tpl.lua loaded via configuration file (#4524) 2021-07-13 10:02:34 +08:00
Liu Peng
59e9b41b1b
fix: invalid discovery servers setting in config-default.yaml (#4584) 2021-07-11 22:34:53 -04:00
Shuyang Wu
994f0209a1
feat: enable etcd health-check (#4191) 2021-06-30 21:16:03 +08:00
罗泽轩
8282046bd8
feat(client-control): set client_max_body_size dynamically (#4423)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-16 17:25:50 +08:00
Wen Ming
8cea1d0d7b
doc: removed comment of worker_processes. (#4432) 2021-06-16 17:19:50 +08:00
罗泽轩
b822423b9a
feat(stream): accept tls over tcp (#4409) 2021-06-11 17:23:16 +08:00
hejizi
70186db6ff
feat: support customzing worker's user (#4362)
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: Shuyang Wu <wosoyoung@gmail.com>
Co-authored-by: 袁士成 <yuanshicheng@css.com.cn>
2021-06-06 13:55:37 +08:00
Yuelin Zheng
01360fb9ad
feat: support custom variables_hash_max_size parameters in config.yaml (#4344) 2021-05-31 19:06:39 +08:00
wang xiang
4d60170ee0
feat: add real_ip_recursive to nginx.conf (#4332) 2021-05-31 08:54:42 +08:00
罗泽轩
98d6b12419
chore: show priority of stream plugins (#4326)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-28 19:47:25 +08:00
Yuelin Zheng
7e4ff9880d
chore: support custom charset parameters in config.yaml (#4331) 2021-05-28 18:07:30 +08:00
罗泽轩
d6acd8d568
chore: sort plugin by priority and recommend priority for custom plugin (#4292)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-24 17:41:50 +08:00
罗泽轩
0a0aa9a757
chore: remove stale yamllint comment (#4278)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-19 22:11:34 -04:00
Yuelin Zheng
5993b6a71c
feat: support the configuration of keepalive related parameters in upstream (#4261) 2021-05-18 14:28:30 +08:00
罗泽轩
232134ad6b
docs: avoid the misleading comment (#4189) 2021-05-07 08:55:17 +08:00
罗泽轩
624f59fc78
feat: step 3, manage the plugin runner (#4163)
* feat: step 3, manage the plugin runner
* feat: step 4, add prepare_conf protocol
2021-05-04 10:41:08 +08:00
罗泽轩
f3b057609f
feat(ext-plugin): step 2, add basic structure (#4119)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-29 11:07:05 +08:00
罗泽轩
6a986f4649
change(prometheus): don't expose metrics to internet (#3994)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-04-07 14:40:28 +08:00
罗泽轩
baf8434034
fix: allow addr:port format in stream_proxy (#3900)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-03-25 09:07:05 +08:00
罗泽轩
1a09b0d7a0
feat(cli): support etcd mTLS (#3836) 2021-03-23 20:03:21 +08:00
罗泽轩
20ee3c1ecb
feat: add a safe exit to disable sync conf during start (#3812) 2021-03-12 14:53:58 +08:00
罗泽轩
2a6e2b4247
feat: add dns discovery (#3629)
Fix #3517
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-25 09:42:31 +08:00
罗泽轩
18909a2a0b
feat: allow disabling search option in resolv.conf (#3609)
Also disable it in the test to avoid occassional DNS query timeout.
2021-02-20 15:38:45 +08:00
nic-chen
13f3139fbb
change: global rules should not be executed on the internal api (#3396) 2021-02-10 12:01:58 +08:00
罗泽轩
653e15350b
change: default to cache DNS record according to the TTL (#3530)
Since lua-resty-dns-client provides an internal cache, we don't need to
cache it twice.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-02-10 11:41:13 +08:00
罗泽轩
d752b6f364
feat: allow customizing lua_package_path & lua_package_cpath (#3417) 2021-01-27 14:45:32 +08:00
罗泽轩
da62190d95
feat: allow to pass SNI in HTTPS proxy (#3420)
Fix #2988
2021-01-26 23:36:12 +08:00
罗泽轩
8c7a6887ec
ci: address yamllint warnings (#3422)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-26 18:20:39 +08:00
Shuyang Wu
923e504e19
chore: fix kubernetes yaml not working (#3410) 2021-01-25 23:57:00 +08:00
罗泽轩
e3601e6876
feat: support dubbo (#3224)
Fix #89
2021-01-20 09:47:09 +08:00
shenshaoye
4aeef386f0
feat: support more customize configure in nginx.conf (#3204)
Co-authored-by: 沈鑫杰 <xinjie.shen@chaitin.com>

related #3203
2021-01-07 19:21:02 +08:00
YuanSheng Wang
151d74fd9c
chore: enable plugin server-info by default. (#3170)
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-01-04 20:18:21 +08:00
罗泽轩
81c1c7c077
change: don't treat route segment with ':' as parameter by default (#3154)
Fix #3134
2020-12-30 22:13:05 +08:00
Yuelin Zheng
86fa46d85b
feat: Implement traffic splitting plugin (#2935)
close #2303
close #2603
2020-12-25 15:53:00 +08:00
罗泽轩
924a30db36
feat: add control API (#3048)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Co-authored-by: John Bampton <jbampton@users.noreply.github.com
2020-12-18 15:05:09 +08:00
John Bampton
6331e5d057
feat(CI): add a GitHub Action to lint the YAML files (#3044)
Lint some YAML
Add a `.yamllint` config file
2020-12-18 08:29:17 +08:00
John Bampton
3c01db5ef0
chore: spelling (#3012)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: YuanSheng Wang <membphis@gmail.com>
2020-12-13 00:04:48 +08:00
Shuyang Wu
b7325f033e
fix: enable ssl as default, using placeholder certificate (#3013) 2020-12-11 17:44:41 +08:00
罗泽轩
93e2f1647a
feat: route accroding to the graphql attributes (#2964)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:51:00 +08:00
罗泽轩
85a84fb191
fix: avoid unnecessary type check and support var in local_conf (#2990)
Also merge bundle of repeated code.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:48:47 +08:00
Alex Zhang
7855d9eed2
feat: implement new plugin server-info (#2926)
close #2821
2020-12-09 10:07:57 +08:00