Commit Graph

1204 Commits

Author SHA1 Message Date
YuanSheng Wang
463c521929
feature(prometheus): support to collect metric overhead (#1576)
Fix #1534 .
2020-05-12 15:47:49 +08:00
Ayeshmantha Perera
3300f4d19b
bugfix: removed stale object in sys log. (#1557) 2020-05-11 16:28:24 +08:00
nic-chen
0300304011
bugfix: got 500 error when using post method in grpc-transcode plugin(#1566) 2020-05-11 13:30:28 +08:00
Nirojan Selvanathan
64fcb9fd72
plugin: add HTTP logger for APISIX (#1396) 2020-05-09 16:19:41 +08:00
Ayeshmantha Perera
fa59f20314
optimize: use buffer for plugin syslog. (#1551) 2020-05-08 13:52:19 +08:00
Nirojan Selvanathan
a328fcce80
bugfix: removing stale objects from udp logger (#1544) 2020-05-07 12:24:37 +08:00
Nirojan Selvanathan
5570e64356
bugfix: removed stale objects from tcp logger (#1543) 2020-05-07 12:23:49 +08:00
Nirojan Selvanathan
fd626ae7e1
bugfix: Adding function to remove stale objects from kafka logger (#1526) 2020-05-07 11:22:06 +08:00
Ayeshmantha Perera
e8091f6e2c
doc: alter logger plugins documentations. (#1541) 2020-05-07 11:20:23 +08:00
Ayeshmantha Perera
0068f28eec
change: updated the dashboard submodule to latest version. (#1540) 2020-05-06 11:56:24 +08:00
Vinci Xu
ffce4b7720
bugfix(CORS): using rewrite phase and add lru cache for multiple origin (#1531) 2020-05-06 11:52:49 +08:00
Ayeshmantha Perera
33b437df4e
feature: implemented plugin sys logger. (#1414) 2020-05-06 10:49:18 +08:00
YuanSheng Wang
a446cd057b
change: limit the maximum length of Lua code to 100. (#1525) 2020-04-29 21:44:13 +08:00
Nirojan Selvanathan
d970dab5c2
doc: fixed wrong configurations in the logger docs (#1530) 2020-04-29 21:43:38 +08:00
Vinci Xu
3a9e0fc675
feature: add batch request plugin. (#1388) 2020-04-29 21:40:45 +08:00
Nirojan Selvanathan
c6cc2b5fcb
plugin(kafka-logger): Updating kafka logger to use the batch processor util (#1358) 2020-04-29 12:12:41 +08:00
YuanSheng Wang
89a07efb51
test: reindex by tools reindex. (#1519) 2020-04-28 18:54:14 +08:00
罗泽轩
972840ec96
fix: skip tombstone mark when iterating the global values (#1517)
Close #1473.
2020-04-28 17:25:55 +08:00
YuanSheng Wang
0f3310562c
bugfix: init clean_handlers when add new item from etcd. (#1412)
fix #1384
2020-04-28 16:01:04 +08:00
dabue
50d2957a8a
doc: fix the doc style for serverless*.md (#1511) 2020-04-28 15:53:29 +08:00
罗泽轩
06acbe9047
test: check lua code style in all Lua file under apisix/ (#1518) 2020-04-28 15:53:04 +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
Wen Ming
d426bbb228
doc: update steps of build dashboard. (#1506) 2020-04-26 11:05:22 +08:00
Wen Ming
0e828f444b
rocks: used tag instead of branch. (#1503) 2020-04-26 11:05:09 +08:00
罗泽轩
ca91387a60
test: fix regex usage in some cases (#1504) 2020-04-26 10:43:08 +08:00
eiyouwang
a5cb1bebe9
doc: add short introduction about how to change log level (#1484) 2020-04-24 12:24:08 +08:00
YuanSheng Wang
c351b38086
bugfix(lrucache): when creating cached objects, use resty-lock to avoid repeated creation. (#1486)
* bugfix(lrucache): one common use case for this library is avoid the so-called "dog-pile effect",
    that is, to limit concurrent backend queries for the same key when a cache miss happens.
* bugfix: catch the error messag by pcall, it may fail when generate new validator.
2020-04-22 17:47:16 +08:00
Wen Ming
19663a87a0
bug: fixed wrong string join in limit-count plugin. (#1487) 2020-04-22 13:27:00 +08:00
琚致远
96c9642e01
doc(readme.md): upload Node.js version for building dashboard. (#1485) 2020-04-22 09:48:53 +08:00
Wen Ming
9a2ab9d0eb
release: released 1.2 version. (#1436) 2020-04-21 09:14:01 +08:00
YuanSheng Wang
216c854201
Travis: install the luacov when create deps folder (#1477)
fix travis: https://travis-ci.org/github/apache/incubator-apisix/jobs/677082965#L524

Install the luacov when create deps folder.

Then we can avoid installing "luacov" after copying "deps" from the "build-cache" folder to the current folder.
2020-04-20 15:05:05 +08:00
YuanSheng Wang
7440192f8f
bugfix(CI): avoid to install APISIX to deps folder, that is a bug for older luarocks (#1471)
If the Luarocks version is lower than "v2.4.3", it does not support the "--only-deps" parameter. Even if we set the "--only-deps" parameter, no error message will be given during runtime.

We only wanted to install the dependencies in the deps directory, but the APISIX was also installed so that the test case might load the wrong version of the source code.
2020-04-20 09:09:14 +08:00
dabue
46a94d1bb6
doc: fix some doc styles for files in doc/ (#1475) 2020-04-20 09:07:42 +08:00
dabue
ea97645137
doc: update README_CN.md (#1468)
Fix #1466
2020-04-18 19:11:48 +08:00
Nirojan Selvanathan
fe1732ce2b
doc: Add external loggers to the Read Me file (#1454) 2020-04-16 19:22:44 +08:00
dabue
3405b61d7a
doc: fix some doc styles by markdownlint (#1460) 2020-04-16 19:21:46 +08:00
罗泽轩
9baad7856b
bug(proxy-rewrite): reject invalid header (#1462) 2020-04-16 19:01:19 +08:00
YuanSheng Wang
c31edf3899
bug: uri safe encode. (#1461) 2020-04-16 08:00:45 +08:00
Wen Ming
f39dd6efa2
bugfix: only allow 127.0.0.1 access admin API and dashboard by default. (#1458) 2020-04-15 22:39:11 +08:00
dabue
48b56039f7
doc: fixed doc style of how-to-build-cn.md and how-to-build.md (#1448) 2020-04-15 10:28:12 +08:00
dabue
8876b7f79d
doc: fix style for CHANGELOG.md. (#1446) 2020-04-15 10:11:35 +08:00
YuanSheng Wang
bead35007b
travis: When the error message is found, set the exit code to 1. (#1445) 2020-04-13 10:45:13 +08:00
YuanSheng Wang
04539ae972
bugfix(CLI): added $prefix/deps/share/lua/5.1/?/init.lua to search path. (#1443) 2020-04-13 09:54:07 +08:00
YuanSheng Wang
bd5fc91e25
doc: minor style. (#1442) 2020-04-13 09:48:32 +08:00
YuanSheng Wang
669772f5d5
bugfix: check if the service's upstream node is host. (#1402) 2020-04-12 09:31:58 +08:00
Zhang Qiang
c3893a5c08
doc: update admin-api doc (#1433)
clarify route priority sorting rule.
2020-04-10 10:12:19 +08:00
Wen Ming
1e269aab0f
doc: updated link of user wall. (#1428)
fixed #1424
2020-04-08 22:59:30 +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
YuanSheng Wang
4a50ad4dfa
update lua-resty-healthcheck to version 2.2.0 . (#1417) 2020-04-08 15:52:28 +08:00
paoying
c91da997eb
feature(jwt-auth): support base64 secret for jwt-auth plugin. (#1224) 2020-04-08 09:34:14 +08:00