Commit Graph

1213 Commits

Author SHA1 Message Date
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
Ayeshmantha Perera
285af562ea
change(tcp-logger): fix small error log. (#1411) 2020-04-08 09:31:14 +08:00
Lien
f5a078274f
feature: add service name and report local server IP for Zipkin plugin (#1386) 2020-04-08 08:47:41 +08:00
YuanSheng Wang
076ecf3ade
bugfix: should not drop the error msg of dns_parse. (#1398)
fix #573 .
2020-04-06 11:04:09 +08:00
Ayeshmantha Perera
2e5f982459
Refactor the way to run global rule in log/header filter/body filter (#1393) 2020-04-04 08:23:36 +08:00
agile6v
8e9cd56c63
Fixed some typos. (#1391) 2020-04-03 21:38:13 +08:00
Nirojan Selvanathan
25e110135a
featue: Updating the UDP logger to use the batch processor util (#1355) 2020-04-03 16:33:32 +08:00
wonglend
f653c1b115
feature: add example .yaml resource files which support to run Apache APISIX on kubernetes (#1218) 2020-04-03 12:54:25 +08:00
Nirojan Selvanathan
d90e982e6e
feature: Updating TCP logger to use the batch processor util (#1356) 2020-04-03 10:54:05 +08:00
罗泽轩
eb358e94c8
bugfix: plugin in header_filter/body_filter should be run like log phase (#1383) 2020-04-02 17:20:13 +08:00
Lien
69d2039520
plugin(response-rewrite): rewrite binary data to client by base64 (#1381) 2020-04-02 12:03:58 +08:00
dabue
5d50895790
change: update to use the local DNS resolver by default (#1387)
close #1378
2020-04-02 09:16:24 +08:00
罗泽轩
e24fd851a3
change: blacklist $request_method in proxy-cache's cache key. (#1385)
Close #1307
2020-04-02 08:55:48 +08:00
Ayeshmantha Perera
b61db0865a
feature: support to run header_filter and body_filter phase for global rules. (#1364) 2020-04-02 08:46:00 +08:00
Wen Ming
c76e7e3623
feature: remove lua dir. (#1351) 2020-03-31 23:23:29 +08:00
wonglend
ef76d2700b
bugfix: remove misc --add-dynamic-module for tengine branch ci test cases (#1377)
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Delete unused variable`

* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `POST request with keepalive peer cause 400 response`

* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Memory content leak in nginx "rewrite" implementation`

* bugfix: remove misc `--add-dynamic-module` for tengine since we do not set `load_module` in nginx.conf
2020-03-31 21:51:49 +08:00
xxm404
88385992e3
doc: Fix json format error. (#1373) 2020-03-31 13:56:07 +08:00
iGeeky
84707263d0
plugin(wolf-rbac): added new api change_pwd and user_info. (#1204) 2020-03-31 13:39:49 +08:00
qiujiayu
11a9646866
change: check item count of DNS resolver (#1361) 2020-03-31 13:37:50 +08:00
YuanSheng Wang
d7f54ff518
feature: support to print log with specific prefix. (#1284) 2020-03-31 10:25:05 +08:00
SuperWalle
12677c322b
feature: Allow add custom shared dict (#1367) 2020-03-31 10:22:58 +08:00
wonglend
d0900caf27
feature: merge upstream tengine (2.3.2 < version < 2.3.3) patches (#1371)
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Delete unused variable`
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `POST request with keepalive peer cause 400 response`
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Memory content leak in nginx "rewrite" implementation`
2020-03-31 08:38:16 +08:00
Ayeshmantha Perera
661f3adfbc
feature: updated openresty to 1.15.8.3 (#1363) 2020-03-30 16:52:53 +08:00
Nirojan Selvanathan
7585382bd1
Adding code style and doc linting tool for contribution guidelines (#1368) 2020-03-30 16:52:14 +08:00
Nirojan Selvanathan
52934b5fc7
Batch Processor: Fix for rescheduling execution for max_retry_count is 0 and 1 (#1349) 2020-03-30 09:44:33 +08:00
Nirojan Selvanathan
c3400867d5
Adding test case for public key based introspection (#1354) 2020-03-30 09:42:27 +08:00
YuanSheng Wang
aa13b72c0d
luacov: add new path plugins/limit-count and plugins/utils. (#1357) 2020-03-29 10:58:11 +08:00
Vinci Xu
c363ea46d9
feature: add cors plugin (#1327) 2020-03-29 10:30:59 +08:00
Wen Ming
7ff43d51ca
dashboard: add dashboard as submodule. (#1360) 2020-03-29 10:06:42 +08:00
YuanSheng Wang
51684de77b
bugfix: fail to get the http request header by ngx.var. * (#1348)
* bugfix: to get the HTTP request header by `ngx.var.*`, we need to convert
  the name to lower case with dashes replaced by underscores.

more information:

http://nginx.org/en/docs/http/ngx_http_core_module.html#var_http_

* change: the key should be a string object when fetching a value from `ctx.var`.

* bug(make lint): If the code style is bad, do exit with code 1.
2020-03-27 23:13:46 +08:00
YuanSheng Wang
f06f36186e
bugfix: use 127.0.0.1 instead of localhost, avoid to get a IPv6 address. (#1347)
for tengine case.
2020-03-27 16:34:32 +08:00
YuanSheng Wang
0c98fed398
bugfix: use 127.0.0.1 instead of localhost, avoid to get a IPv6 address, (#1346)
the travis ENV does not support IPv6 address.
2020-03-27 15:50:40 +08:00
YuanSheng Wang
94cc688fc1
bugfix: installed lua file in folder lua/apisix/utils . (#1342) 2020-03-27 07:34:08 +08:00
qiujiayu
7baa0abd44
feature: if the dns_resolver is not set in the file conf/config.yaml, use the resolver in local DNS. (#1217)
Fix #1164
2020-03-26 09:48:18 +08:00
dabue
5970b50568
change: code style in lua/apisix.lua and t/plugin/proxy-mirror.t (#1339) 2020-03-26 07:23:19 +08:00
罗泽轩
be348805ea
feature: run log plugins in the global rule (#1333)
* feature: run log plugins in the global rule

Close #1202.

* register path as hello3 to avoid conflicts with other test case
2020-03-25 09:48:12 +08:00
Ayeshmantha Perera
8adafa3ee2
feature: add Kafka Logger plugin. (#1312) 2020-03-25 08:26:45 +08:00
Lien
5be1daacb1
deletion: drop webdocket enable control in proxy-rewrite plugin (#1332)
* deletion: drop webdocket enable control in proxy-rewrite plugin

* fix test-case
2020-03-24 21:16:21 +08:00
YuanSheng Wang
67b63b24af
bugfix: added key field when parse route from local yaml. (#1334) 2020-03-24 20:19:04 +08:00
Ayeshmantha Perera
5d8e39d175
doc: add udp logger docs. (#1330) 2020-03-24 11:34:09 +08:00
YuanSheng Wang
8d745c7441
test: wait a longer time. (#1323) 2020-03-23 00:03:51 +08:00
YuanSheng Wang
c086d3f780
CI(OSX): run part test cases. (#1314) 2020-03-23 00:03:40 +08:00