Commit Graph

333 Commits

Author SHA1 Message Date
YuanSheng Wang
c881c04368
bugfix: allow write debug log even if the openresty disabled debug model (#1124)
fix https://github.com/apache/incubator-apisix/pull/1121#discussion_r378760095
2020-02-16 11:44:01 +08:00
agile6v
6cc36546ec
Using internal request instead of external request in node-status plugin. (#1109) 2020-02-07 20:00:49 +08:00
iGeeky
5fff97d0b1
feature: Add wolf rbac plugin (#1095) 2020-02-06 15:22:49 +08:00
罗泽轩
6240d1a9b4 chore: improve the core.log module (#1093)
1. implement the debug method with the generic logic, so you don't need
to go into the method if you don't need it.
2. avoid computing the same result among different log levels
2020-01-28 12:11:47 +08:00
Nirojan Selvanathan
81c37003b7 feature: add UDP logger plugin (#1070) 2020-01-17 23:30:05 +08:00
YuanSheng Wang
63a7afc695 release new version 1.0 (#1061) 2020-01-15 11:56:50 +08:00
Lien
e6804360d1 feature: supported to enable Websocket in upstream object (#1051) 2020-01-14 14:37:24 +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
agile6v
70ff4a556d plugin(proxy-rewrite): using schema pattern to check if uri option starts with / in proxy-rewrite plugin. (#1041) 2020-01-12 16:35:05 +08:00
agile6v
c07b8b53a5 bugfix: check if uri option starts with / in proxy-rewrite plugin. (#1039) 2020-01-12 00:24:01 +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
21c06b3cc4
plugin(prometheus): added new field (#1028)
feature: added `router_id` for http code metric.
feature: added `hostname` for nginx connection metric.
2020-01-08 14:00:31 +08:00
agile6v
40d9351ed8 doc: fixed typos (#1031) 2020-01-07 20:17:47 +08:00
Lien
fba93d389e plugin(JWT): JWT authentication plugin compatible with Bearer prefix (#1027) 2020-01-07 10:34:33 +08:00
xiaobiaozhao
a5d6250d05 change: modified the SSL module from ffi to ngx.ssl (#1021) 2020-01-06 22:46:26 +08:00
agile6v
61727d4dbc feature: support regex_uri option in proxy-rewrite plugin (#979) 2020-01-06 12:01:03 +08:00
agile6v
a923754b2d featur: set a default value if reties option in upstream object is not configured. (#1020) 2020-01-05 17:43:48 +08:00
YuanSheng Wang
9e98773fae
change: responsed a better tip when failed to match any route. (#1013) 2020-01-03 10:11:37 +08:00
YuanSheng Wang
f22f494362 optimize: updated the error message after updated new jsonschema. (#1011) 2020-01-02 21:56:42 +08:00
WenMing
1069c3d32d doc: fixed error in serverless plugin. (#1006) 2019-12-30 20:28:36 +08:00
YuanSheng Wang
c74e6c2d3a feature: supported priority for route. (#998) 2019-12-29 17:11:38 +08:00
Janko
b40d3bc8f8 change: upgrade ngx_var module 0.4 to 0.5. (#1005) 2019-12-27 16:53:45 +08:00
Yousa
eff1ca78e9 feature: added support CORS for /apisix/admin. (#982) 2019-12-24 14:44:42 +08:00
ChelinTsien
29a8268ff6 bugfix: Update schema_def.lua (#988) 2019-12-20 14:30:16 +08:00
agile6v
41ce62904a bug: missing comma. (#989) 2019-12-20 07:43:22 +08:00
Janko
bb0491453c change: upgrade etcd to version 0.8 and modify the connection keys. (#980) 2019-12-19 16:49:55 +08:00
agile6v
57b69c0e4a doc: Fixed some typoes. (#972) 2019-12-13 22:59:40 +08:00
YuanSheng Wang
678142e051
optimize(radixtree_host_uri): reuse empty function. (#937) 2019-12-10 13:28:40 +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
YuanSheng Wang
863aef7510 bugfix: reloaded the etcd configuation data if the index (#871) 2019-11-29 15:46:35 +08:00
tom2nonames
b23096139e plugin(grpc-transcode): support new options for protocol buffer encoding. (#846)
* bugfix: Adjust the MaxLength parameter in grpc proto from 4096b to 1M (#820)
* change: grpc-transcode plugins add schema check
2019-11-28 09:07:09 +08:00
WenMing
a9888b333a
bugfix: fixed install deps in makefile. (#904) 2019-11-26 21:24:45 +08:00
YuanSheng Wang
670655d62d change: used lua-resty-prometheus which the API is simpler. (#806) 2019-11-25 16:53:08 +08:00
YuanSheng Wang
70d3f0b608 bug: fixed bug when no valid upstream node. (#893) 2019-11-25 16:46:20 +08:00
YuanSheng Wang
01dc41c8a6
bugfix: fetch the current log level when needs. (#885)
* bugfix: fetch the current log level when needs.
2019-11-23 20:40:47 +08:00
Lien
fbb51ddadd plugin: implement plugin response rewrite 2019-11-21 21:49:53 +08:00
Lien
722e42ffcc optimization(proxy-rewrite): performance upgrade for proxy-rewrite by avoid luajit NYI (#872) 2019-11-19 08:14:59 +08:00
YuanSheng Wang
77ad66206e
bugfix(radixtree_host_uri): match priority, host > uri. (#817)
* bugfix(radixtree_host_uri): match priority, host > uri.

Fix #761.
2019-11-15 17:24:51 +08:00
tom2nonames
bb2876627a change: adjusted the MaxLength parameter in grpc proto from 4096b to 1M (#820) (#836) 2019-11-11 18:45:19 +08:00
罗泽轩
5e85e93eac change: don't strip square brackets from the IPv6 (#822)
* change: don't strip square brackets from the IPv6

The OpenResty APIs require the IPv6 literal wrapped inside a square brackets.
Also add tests for IPv6 upstream and update lua-resty-ipmatcher to 0.3.

Fix #816.
2019-11-11 09:49:22 +08:00
贝克
7d33fb66bc bugfix: key-auth plugin cannot run accurately in the case of multiple consumers (#826) 2019-11-10 21:50:57 +08:00
WenMing
31a545a725
version: updated version to 0.9-rc1. (#827) 2019-11-09 23:18:12 +08:00
罗泽轩
b7e280033b fix: core.utils.parse_addr didn't parse IPv6 address correctly (#809) 2019-11-06 14:27:08 +08:00
罗泽轩
b67f99b265 chore: fixed typo detected by misspell (#801) 2019-11-05 10:58:04 +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
lyyoung
89688d32ad plugin(prometheus): added new field node and new item latency. (#794) 2019-11-03 21:11:52 +08:00
Lien
b119a5c94b bugfix: support more built-in parameters when set chash balancer (#775) 2019-11-03 18:25:51 +08:00
YuanSheng Wang
a1c56ceb53 bugfix: skipped to init etcd if use local file as config center. (#737) 2019-11-02 07:59:59 +08:00