Commit Graph

1282 Commits

Author SHA1 Message Date
kv
2999541c49
fix: change the config file when deploying apisix in k8s #2182 (#2185) 2020-09-14 20:06:16 +08:00
seven dickens
312a97c96f
feat: define env in nginx.conf template (#2174)
Co-authored-by: lixiangyang <lixiangyang@dragonest.com>
2020-09-14 18:12:29 +08:00
罗泽轩
faae61e0de
bugfix: load yaml config in privileged agent (#2218) 2020-09-14 17:31:53 +08:00
agile6v
4b756ec41e
doc: fix formatting (#2210) 2020-09-14 14:37:38 +08:00
琚致远
98da870976
doc: fixed typo in health-check.md (#2200) 2020-09-10 19:15:45 +08:00
nic-chen
087f87a7e4
bugfix: grpc-transcode plugin converts http/json parameters abnormally (#2139)
* fix bug

* optimiz

* update grpc_server_example

* add test cases

* fix: test case

* fix: test case

* return val directly

* fix: test case respond body compare text

* fix test case error

Co-authored-by: Wen Ming <moonbingbing@gmail.com>
2020-09-10 18:02:16 +08:00
罗泽轩
37817e4198
chore: add string utility for simplicity and correctness (#2181)
* chore: add string utility for simplicity and correctness

* localize error

* correct the misuse string.find

Co-authored-by: YuanSheng Wang <membphis@gmail.com>
2020-09-10 16:49:20 +08:00
Alex Zhang
1556cd0d7e
improve: cache parsed certs and pkeys to LRU cache (#2163) 2020-09-10 15:35:55 +08:00
maosy
47d39e7b0e
bugfix: serverless plugin not work in header_filter phase (#2148) 2020-09-09 16:12:32 +08:00
Shuyang Wu
3ece377d3f
test case: optimize output of check-plugins-code (#2173) 2020-09-07 09:41:59 +08:00
mark
d2f622e280
plugin(prometheus): update json file for grafana dashboard (#2143) 2020-09-07 08:58:55 +08:00
gy
a8621fb5a1
bugfix: updated the value of remaining when count changes in limit-count plugin. (#2121) 2020-09-06 21:52:13 +08:00
gy
d4216831e3
fix: log-rotate.t is unstable (#2164)
fix #2138
2020-09-06 12:10:42 +08:00
idbeta
ea7b7dd210
doc: remove useless ) in code-style.(#2145) 2020-09-03 14:27:12 +08:00
idbeta
fbe091b588
doc: fix link in documents (#2147) 2020-09-03 13:51:21 +08:00
Wen Ming
d84e3c762a
license: fixed license issue for ewma.lua. (#2136) 2020-08-31 20:54:08 +08:00
nic-chen
502310bef6
feat: support different modes to pass host to upstream (#2132)
* test: using `httpbin.org` for test cases.
* doc: add doc
* remove golang apt repository and runtime in travis.
* download proto file
Co-authored-by: Yuansheng <membphis@gmail.com>
2020-08-30 22:43:28 +08:00
罗泽轩
ff90202566
chore: restrict the apisix/admin routers (#2130)
1. /stream_routes needs to be ended with '/'
2. /list only needs GET method
2020-08-30 17:07:20 +08:00
redynasc
98bb5933d6
feature: implement ewma balancer for upstream node (#2001)
ewma is a different balancing implementation that will generate a weight for every backend IP based on the last server response time, basically it tries to dispatch more requests to the backends that reply faster, supposing that they are less loaded.

fix #1996
2020-08-29 23:14:16 +08:00
Vinci Xu
a3f865aa4b
fix: wait time is too short it will easy fail in some bad hardware environment (#2127) 2020-08-27 16:47:09 +08:00
YuanSheng Wang
4d5ecc1a40
plugin(fault-injection): use draft7 way to rewrite the JSON Schema. (#2105)
fix #2088
2020-08-27 11:47:04 +08:00
Shuyang Wu
fad789481e
doc: add more companies to power-by page (#2109)
* doc: add more companies to power-by page since #1317
2020-08-26 16:55:26 +08:00
nic-chen
c54aec8f6c
feat: support custom access log format (#2122)
fix #2009
2020-08-26 16:51:44 +08:00
YuanSheng Wang
9070a4fa95
feature: implemented plugin log-rotate, rotate log by interval time. (#2097) 2020-08-26 16:40:36 +08:00
罗泽轩
0bb8f4693a
change: allow users to see warnings by default (#2116)
Previously, with the default configure, people don't have the chance to
ignore the warning message.
2020-08-26 14:19:46 +08:00
Shuyang Wu
cd6d3552d3
doc: fix doc use 4 spaces instead of key (#2108) 2020-08-26 09:37:53 +08:00
Wen Ming
8fdb0c2309
doc: updated the architecture diagram to remove RDS. (#2117) 2020-08-25 15:21:47 +08:00
nic-chen
4f83f09eeb
fix: return response code and msg instead of exit directly in plugins. (#2115) 2020-08-25 09:56:45 +08:00
YuanSheng Wang
1aefe915f1
change: update plugin's schema ip-restriction with draft7 way (#2091) 2020-08-24 09:27:49 +08:00
Alex Zhang
2886b2169b
feature: support multiple certificates(RSA and ECC) for single domain (#2089) 2020-08-24 09:23:06 +08:00
YuanSheng Wang
415f9221e2
change: use draft7 of JSON Schema for limit count pulgin (#2102) 2020-08-24 09:17:31 +08:00
Shuyang Wu
403c1204db
doc: add dashboard link in README to sync (#2107) 2020-08-24 09:12:55 +08:00
Shuyang Wu
2c98dd757e
doc: fixed broken link of CONTRIBUTING.md in README (#2104) 2020-08-23 19:17:12 +08:00
Shuyang Wu
6ffd8b9956
doc: Chinese version of plugins request-id (#2103)
fix #2027
2020-08-23 11:17:18 +08:00
YuanSheng Wang
d974c1871a
change: use draft7 style of JSON Schema. (#2100)
fix #2083.
2020-08-22 21:43:21 +08:00
罗泽轩
36bb0a8d3e
chore: should improve the prometheus metric naming (#2073)
By looking at name like `apisix_bandwidth` or `apisix_http_latency`,
it is hard to guess their units. Also, it is not so clear for where does
the overhead come from for `apisix_http_overhead` at the first glance.
2020-08-18 20:42:05 +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
YuanSheng Wang
c2a7359b27
update radixtree to version 2.2 . (#2061)
fix #2058

* fixed test
2020-08-16 16:32:29 +08:00
nic-chen
7525f1fcc9
feat(prometheus): add prometheus metrics node_info(hostname) (#2063)
* using a new metric `node_info` to store the hostname
2020-08-16 09:59:55 +08:00
罗泽轩
0b00e82773
bugfix: avoid setting Server header twice (#2065)
Fix #2064.
2020-08-15 17:19:35 +08:00
Swayam Raina
6e0da454d1
feature: add apisix-version info to headers in APISIX core (#1961)
related #1877
2020-08-15 07:24:33 +08:00
Nirojan Selvanathan
240942e941
feature: implemented request-id plugin to uniquely track requests in APISIX (#2026)
fix #2022
2020-08-12 23:09:39 +08:00
Janko
31b210f963
doc: unified plugins document link format and path of Chinese and English. (#2040)
fix #2039
2020-08-12 22:54:11 +08:00
罗泽轩
149a66ad40
feat: Vary needs to be used when Access-Control-Allow-Origin is not '*' (#2046)
See https://fetch.spec.whatwg.org/#cors-protocol-and-http-caches.
2020-08-12 09:12:58 +08:00
YuanSheng Wang
6c8a6c3c54
bugfix: when the plug-in configuration that is bound to the consumer is (#2028)
fix #2019
2020-08-12 09:11:40 +08:00
nic-chen
04c270814a
bugfix: comparing etcd key's modifiedIndex as a number may cause an error when access to prometheus exporter api (#2035)
fix #2025
2020-08-11 12:29:50 +08:00
Janko
d42f9d80fa
doc: fixed health-ckeck document path for README_CN.md (#2038)
FIX #2037
2020-08-11 08:07:23 +08:00
Janko
da082650c9
doc: update example syntax error for request-validation plugin. (#2030) 2020-08-10 09:59:56 +08:00
Janko
5607114884
doc: update uri-blocker name for README. (#2031) 2020-08-10 09:11:54 +08:00
琚致远
8304b68e75
doc: rename Contributing.md to CONTRIBUTING.md (#2015) 2020-08-09 09:17:18 +08:00