Commit Graph

36 Commits

Author SHA1 Message Date
罗泽轩
11763b806b
chore: avoid defining read_file repeatedly (#5062) 2021-09-15 09:52:44 +08:00
tzssangglass
b5aca8cd36
change(debug): move 'enable_debug' form config.yaml to debug.yaml (#5046)
Co-authored-by: spacewander <spacewanderlzx@gmail.com>
2021-09-14 13:05:25 +08:00
罗泽轩
391a2d3e40
feat(cors): validate allow_origins (#4757)
Fix #4717

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-08-06 18:05:35 +08:00
罗泽轩
397044a844
test: make t/config-center-yaml/plugin.t stable (#4352)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-06-01 18:44:23 +08:00
罗泽轩
3c857a8a13
fix: ensure the plugin is always reloaded (#4319)
* fix: ensure the plugin is always reloaded

Only trigger a reset from admin when the etcd's data is different
from the one of admin. So there is no need to add check in node side.

Fix #4314

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

* fix reset check

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

* fix error handling

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

* update test

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-31 16:37:23 +08:00
罗泽轩
1e944bfde8
feat: validate ssl certificate and more in the DP (#4202)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-05-09 15:54:24 -04:00
罗泽轩
e295ebb9e8
feat: support upstream mTLS (#4005) 2021-04-10 18:55:20 +08:00
罗泽轩
86e168e711
test: enable master-worker mode by default (#3927) 2021-03-29 23:38:07 +08:00
罗泽轩
9aa1833722
ci: use build-apisix-openresty.sh instead (#3847) 2021-03-23 20:07:48 +08:00
John Bampton
4ebccafbdc
chore: fix spelling (#3253) 2021-03-14 22:53:34 +08:00
罗泽轩
013db0dd2f
feat: support to bind plugin config by plugin_config_id (#3567)
Fix #3532
2021-02-20 20:42:10 +08:00
罗泽轩
c8d35cd73c
fix(standalone): require consumer's id to be the same as username (#3394)
We already did the same thing with the configuration from etcd.
2021-01-22 17:30:59 +08:00
罗泽轩
b78c87a158
fix: set conf info when global rule is hit without matched rule (#3332)
Fix #3330

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-20 11:21:02 +08:00
罗泽轩
d68016e579
docs: enrich stand alone mode's doc (#3264) 2021-01-13 14:49:33 +08:00
罗泽轩
8d323a2216
feat: add consumer plugin validation at DP side (#3185) 2021-01-05 08:58:36 +08:00
罗泽轩
65579fc45b
feat: allow host with underscore (#3165) 2020-12-31 11:48:54 +08:00
罗泽轩
13ab4903b4
chore: improve HTTPS doc (#3149) 2020-12-30 22:57:00 +08:00
罗泽轩
a661b940b0
feat: add script_id field used by dashboard (#3096)
Used as a reference to script metadata.
2020-12-23 19:17:26 +08:00
罗泽轩
bbbd10e1b3
feat: validate the operator in vars (#2911)
Fix #2878
2020-12-02 15:37:07 +08:00
罗泽轩
a63b6b8c6e
feat: allow create consumers with multiple auth plugins (#2898)
Fix #2850
2020-12-01 15:42:59 +08:00
罗泽轩
44855ec1a7
ci: make it work under OpenResty 1.19 (#2768) 2020-11-30 10:32:35 +08:00
罗泽轩
1c211ff7b1
fix: validate plugin configuration in the DP (#2856)
Fix #2834
2020-11-28 13:29:00 +08:00
罗泽轩
67eb787c38
fix: distinguish different routes which has the same service (#2840)
Fix #2828.

The bug is introduced in #2121.

Can't be reproduced in over 1 millions requests after applying this
patch.
2020-11-25 14:32:11 +08:00
罗泽轩
91d99452c5
test: check SSL configuration for stand alone mode (#2705) 2020-11-15 17:23:02 +08:00
罗泽轩
073c84f5e6
feat: support stream configuration in standalone mode (#2610)
Close #2048
2020-11-04 10:45:09 +08:00
罗泽轩
432c954a74
fix: plugin hot reload should work on node (#2430) 2020-11-03 13:46:24 +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
mtx2d
24d7007e94
change: removed useless plugin heartbeat (#1845)
Fix #1176
2020-07-16 17:31:39 +08:00
wrl96
54abe58315
bugfix: failed to set server peer when upstreams.node is address in apisix.yaml (#1824)
Fix #1798
2020-07-10 18:47:11 +08:00
YuanSheng Wang
67b63b24af
bugfix: added key field when parse route from local yaml. (#1334) 2020-03-24 20:19:04 +08:00
YuanSheng Wang
4ee11806de
travis: supported to run APISIX with Tengine. (#683) 2019-11-02 09:05:38 +08:00
YuanSheng Wang
d112c97a61
bugfix: exported schema for plugin serverless. (#787) 2019-11-01 22:32:19 +08:00
bobopan
3930456dcc test case: added test cases for upstream priority. (#774) 2019-11-01 09:46:05 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
Yuansheng
4bb40df857 change(test): name style. 2019-09-10 10:07:29 +08:00
YuanSheng Wang
d8d7f018dc
feature: support to load routes from local yaml file. (#464)
* feature: support to load routes from local yaml file.
2019-09-09 17:42:20 +08:00