Commit Graph

1161 Commits

Author SHA1 Message Date
YuanSheng Wang
d32b5cf361
perf: no longer generate unnecessary nginx conf for better performance. (#1968)
* perf: no longer generate unnecessary nginx conf for better performance.
* benchmark: sync nginx.conf for fake-apisix.

> Is this PR backward compatible?

Disable two plugins by default(proxy-cache, proxy-mirror), if the user wants to enable them, need to modify the conf/config.yaml by manual.
2020-08-04 09:31:35 +08:00
YuanSheng Wang
2073087909
perf: used empty table if the user is not enabled any plugin. (#1967) 2020-08-04 09:30:13 +08:00
wonglend
4cbb324cca
bugfix(CLI): fix wrong info Warning! Running apisix under /root when make init at non-root path (#1976) 2020-08-03 19:12:02 +08:00
Janko
90867ed744
doc: unified document file name format. (#1969) 2020-08-03 08:49:20 +08:00
YuanSheng Wang
e1c6d371a8
doc: update main picture of APISIX. (#1964)
* test case: formatted by `reindex`.
2020-08-02 09:35:37 +08:00
Vinci Xu
2936c7d89d
feat: add option for cors and bugfix (#1963)
fix #1915 #1704
2020-08-01 08:03:22 +08:00
YuanSheng Wang
3d8150b208
test: old test case is unstable, running fail sometimes. (#1925) 2020-07-31 21:24:31 +08:00
YuanSheng Wang
8fc2af56ae
bugfix: avoid to modify the original plugin conf. (#1958)
relate issue: #1934 , #1956
2020-07-31 20:19:12 +08:00
YuanSheng Wang
2ba0231140
bugfix: passive health check seems never provide a healthy report (#1918)
Fix #1640
2020-07-31 19:31:20 +08:00
kv
f37a1ddc00
doc(k8s): removed unnecessary configurations. (#1891) 2020-07-31 12:16:29 +08:00
Swayam Raina
1ffcc9cc8e
doc: fixed grpc transcode link (#1946)
fixes #1944
2020-07-31 10:37:32 +08:00
nic-chen
29b15892b7
feat: support both standard PATCH and sub path PATCH for admin api (#1930)
fix #1823
2020-07-31 09:21:08 +08:00
Janko
9e9a6322c6
doc: fixed uri-blocker plugin path error in README. (#1950) 2020-07-31 09:14:26 +08:00
Swayam Raina
dd5c1a1355
doc: update broken link (#1945) 2020-07-30 22:15:00 +08:00
Janko
0062877dcc
doc: add request-validation plugin chinese document. (#1932)
FIX #1882
2020-07-30 17:46:44 +08:00
nic-chen
7f64ba810e
change: add more prometheus metrics(etcd modify index) (#1888)
* feat: add more metrics for prometheus

* test: add test cases

* fix: check lint error

* remove hostname metrics. -> can't save string value.

* add more index

* add X-Etcd-Index

* fix lint

* test: add more test cases

* fix: Avoid the index to exceed 1000 by updating other keys that will causing a full reload

* add prev_index

* fix lint

* fix: fetch key first

* fix: test error

* fix update version only when waitdir error is timeout

* test

* fix: sleep more time

* fix: code style

* fix: code style
2020-07-30 15:27:00 +08:00
Janko
2433152d9a
bugfix: fix limit-count plugin redis.ttl error. (#1928)
FIX #1901
2020-07-30 13:26:26 +08:00
Scaat Feng
c6f7af6be7
doc: update Chinese how-to-build.md (#1936)
fix #1933
2020-07-30 13:16:37 +08:00
Lien
f4aaf9a0a6
doc: corrected some typo (#1938) 2020-07-30 13:15:01 +08:00
Nirojan Selvanathan
a7a4fbe8f4
doc: improvements for OSx unit tests (#1926)
doc(request-validation): fixed the wrong example.
2020-07-30 09:41:36 +08:00
Swayam Raina
0034c66586
bugfix: update comment to 30 seconds in config.yaml (#1929) 2020-07-29 23:09:02 +08:00
Nirojan Selvanathan
0ad813eb51
plugin(batch): change processor name and error return type fix (#1927)
Fix #1522
Fix #1521
2020-07-29 20:54:58 +08:00
YuanSheng Wang
f9a8a26dd4
feature: add a new option, decide if we remove the "/" at the end of … (#1766)
* feature: add a new option, decide if we remove the "/" at the end of the URI before route matching.

fix #1765
2020-07-29 19:25:30 +08:00
YuanSheng Wang
20207c8108
bugfix: read the request body from the temporary file if it was cached. (#1863) 2020-07-29 19:24:27 +08:00
YuanSheng Wang
3947f06989
makefile: add comments for install command. (#1912)
* doc: update output of `make help`
2020-07-29 19:23:49 +08:00
YuanSheng Wang
4c61baa7e9
doc: fix typos. (#1916)
url -> URL .
2020-07-29 19:23:08 +08:00
YuanSheng Wang
fbc3c6818d
feature: allow to set retries=0 for upstream object. (#1919) 2020-07-29 19:21:50 +08:00
nic-chen
333962a54b
bugfix: run apisix start several times will start multi APISIX servers (#1913) 2020-07-29 18:43:41 +08:00
Janko
552d7008da
change: check input params schema of request-validation plugin. (#1920)
FIX #1881
2020-07-29 10:27:59 +08:00
Janko
520ef311e3
feature: health check supports custom host port. (#1914) 2020-07-28 23:51:42 +08:00
YuanSheng Wang
4015071e30
change: the timeout of healthcheck should be number type. (#1892) 2020-07-27 16:19:01 +08:00
YuanSheng Wang
2d667ecb70
bugfix: should not save the runtime data of plugin into etcd. (#1910)
Fixed #1836 .
2020-07-27 14:43:50 +08:00
Janko
a108d2eee1
bugfix: failed to get host in health check configuration. (#1871)
The `host` of health check should be sub-item of `check.active` .

FIX #1869
2020-07-27 13:47:14 +08:00
Sarasa Kisaragi
45f84a2510
doc: fixed image links in zh-cn benchmark (#1896) 2020-07-24 16:30:51 +08:00
Yousa
d079b3dbcc
'worker_shutdown_timeout 240s' in nginx.conf is better. (#1883) 2020-07-24 16:05:29 +08:00
Sarasa Kisaragi
ffa0e1ef6c
doc: Fix link syntax in README.md (#1894) 2020-07-24 15:24:13 +08:00
yongboy
8fbd0ac305
doc: added CODE_STYLE.md and CODE_STYLE_CN.md for APISIX (#1874) 2020-07-22 16:52:49 +08:00
Nirojan Selvanathan
a6179996d4
feature: new plugin request-validator (#1709) 2020-07-21 21:38:48 +08:00
nic-chen
a5fc25c2a9
feat: Support admin API authentication with SSL certificates (#1747) 2020-07-21 11:41:11 +08:00
nic-chen
c1ee898a1a
release: released 1.4.1 version (#1872) 2020-07-20 18:13:31 +08:00
YuanSheng Wang
47b0ef372e
bugfix: fetch wrong the upstream node when there were multiple upstream node with host (#1835)
Fix #1834
2020-07-17 21:51:51 +08:00
YuanSheng Wang
cff822b7ae
* CI: Github action run non-OSX test case, Travis-CI runs the OSX test case(allow failure). (#1860)
* test: reformat by `reindex`.
* CI: dry-run the OSX CI in Github Action.
2020-07-17 15:27:08 +08:00
Scaat Feng
5c57796f8f
doc: update README.md for proxy-mirror (#1852) 2020-07-16 23:24:49 +08:00
RocFang
ff041442f3
doc: fixed some hyper link errors (#1849) 2020-07-16 17:33:31 +08:00
mtx2d
24d7007e94
change: removed useless plugin heartbeat (#1845)
Fix #1176
2020-07-16 17:31:39 +08:00
Wen Ming
9a6a86ce4f
doc: add more info for pr template. (#1840) 2020-07-15 17:32:39 +08:00
Wen Ming
9ae9d12e40
doc: add questions when submit PR. (#1839) 2020-07-14 11:06:24 +08:00
wonglend
db76475bd9
CI: add more patchs about Tengine(2.3.2 < version < 2.3.3). (#1830)
* 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
* feature: fetch and apply upstream alibaba/tengine patches for .travis/linux_tengine_runner.sh.
2020-07-13 21:56:11 +08:00
罗泽轩
bfa24d41ba
feature: allow to congfiure the worker_shutdown_timeout (#1828)
The default 3s may be too low.
2020-07-10 21:59:44 +08:00
houshunwei
87e0131a59
doc: add etcd comment for k8s readme. add service-monitor yaml for prometh… (#1808) 2020-07-10 21:51:26 +08:00