Commit Graph

933 Commits

Author SHA1 Message Date
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
kv
d15c4ef572
doc: fix doc style of plugin grpc-transcoding (#1325) 2020-03-22 20:46:14 +08:00
kv
4e185bb102
doc: fix doc style of plugin grpc-transcoding (#1324) 2020-03-22 19:49:40 +08:00
kv
18dc6d3ab7
doc: fix doc style of plugin basic-auth (#1319) 2020-03-22 19:32:52 +08:00
kv
766e99f7a6
doc: fix doc style of plugin fault-injection (#1322) 2020-03-22 19:30:18 +08:00
kv
56b6a6e3ea
doc: fix doc style of plugin fault-injection (#1321) 2020-03-22 19:25:03 +08:00
Wen Ming
b20776af70
doc: add more companies to power-by page. (#1317)
* doc: add power-by page of apisix.

* fix.
2020-03-22 19:24:09 +08:00
kv
7bb5eb7fdf
doc: doc style for plugin basic-auth (#1320) 2020-03-22 19:22:23 +08:00
coolsoul
dabe0f3b4e
doc: Chinese version for doc/getting-started.md (#1296) 2020-03-21 08:24:24 +08:00
kv
3dc0465c89
doc: fix style of limit-req & limit-req-cn (#1310) 2020-03-20 23:03:59 +08:00
罗泽轩
dcd2ebc5e4
chore: improve plugins/proxy-cache (#1305)
1. unit all the default cache time to 10s.
2. remove repeated `if proxy_cache` check.
3. improve `generate_complex_value`'s performance.
4. better indent.
2020-03-20 12:26:43 +08:00
YuanSheng Wang
37823fdbc0
bug: set new value if the redis flag is expired. (#1110)
* bug: set new value if the redis flag is expired.

* change: added todo item.
2020-03-19 23:25:43 +08:00
Wen Ming
ab5cdbb922
doc: add doc for etcd cluster. (#1301) 2020-03-19 19:14:19 +08:00
Nirojan Selvanathan
19ab03e7c4
change: update jsonschema to version 0.8 (#1303) 2020-03-19 19:13:15 +08:00
dabue
fce2e4d696
doc: update Quickstart's step2 to try the getting started guide in README_CN.md (#1300) 2020-03-19 14:29:25 +08:00
YuanSheng Wang
60b88536fe
bugfix: check the count of upstream valid node. (#1292) 2020-03-19 12:07:43 +08:00
罗泽轩
a4509b6d9e
chore: improve the preallocation in deepcopy method (#1298) 2020-03-19 08:12:33 +08:00
agile6v
fc948f9578
feautre: support for proxy mirror plugin. (#1288) 2020-03-19 08:10:03 +08:00
Ayeshmantha Perera
cee03225f8
feature: support multiple etcd address. (#1283) 2020-03-19 08:01:41 +08:00
dabue
e5a3c31d18
doc:add new article <Microservice API gateway: Apache APISIX vs Kong>Dev ygs (#1299)
* update makefile

* doc:add new article <Microservice API gateway: Apache APISIX vs Kong>
2020-03-19 07:44:05 +08:00
qiujiayu
92c649e879
add tcp-logger-cn.md (#1293)
* add tcp-logger-cn.md

* fix
2020-03-18 17:11:49 +08:00
hiproz
5fecd2b187
doc: change Lua/apifix to lua/apisix (#1295) 2020-03-18 16:56:11 +08:00
Yousa
ac54197238
change: local variable 'routes' duplicate in create_radixtree_router function. (#1285) 2020-03-18 08:59:41 +08:00
Nirojan Selvanathan
07a714ee36
doc: adding getting started guide as the quick start guide (#1287) 2020-03-18 08:47:55 +08:00
罗泽轩
301cfc76c2
bugfix: correct LUAJIT_DIR detection (#1286)
grep doesn't support lazy match by default. To support it, `-P` should
be used instead of `-E`, see:
https://stackoverflow.com/a/5774431

However, we can achieve the same thing without lazy match.
Because OpenResty's not vanilla Nginx, there will be --option after the
executable.
2020-03-17 22:24:03 +08:00
sbritocorral
16c1b8d6c3
doc: add correct link address for "etcd Clustering Guide" of incubator-apisix/README_CN.md (#1277)
Resolves #1235
2020-03-17 07:46:59 +08:00
YuanSheng Wang
9837b80ac5
update resty-etcd to version 0.9 . (#1278) 2020-03-16 08:46:30 +08:00
Yousa
cade206d5a
doc: add route/service/consumer/upstream/ssl definitions to Admin API (#1258) 2020-03-15 22:42:09 +08:00
agile6v
864aa16e91
feature: support for proxy caching plugin based on disk. (#1153) 2020-03-15 22:26:08 +08:00
Nirojan Selvanathan
c1df18f769
feature: adding support to public key based introspection for OAuth plugin (#1266) 2020-03-15 20:40:10 +08:00
YuanSheng Wang
d347cae48e
travis(osx): install the redis by brew. (#1270) 2020-03-15 20:21:48 +08:00