apisix.git
2 years agodoc: rename Contributing.md to CONTRIBUTING.md (#2015)
琚致远 [Sun, 9 Aug 2020 01:17:18 +0000 (09:17 +0800)] 
doc: rename Contributing.md to CONTRIBUTING.md (#2015)

2 years agotest: Added test cases for openid connect introspection (#2018)
Nirojan Selvanathan [Sat, 8 Aug 2020 10:24:42 +0000 (12:24 +0200)] 
test: Added test cases for openid connect introspection (#2018)

Fix #1718

* Added test case for token intropsection with Keycloak identity server
* Renamed oauth doc to openid-connect to correctly link with the plugin name

2 years agodoc: Refactoring plugins into functional categories (#2021)
Nirojan Selvanathan [Fri, 7 Aug 2020 13:06:59 +0000 (15:06 +0200)] 
doc: Refactoring plugins into functional categories (#2021)

2 years agofeat: allow customizing worker_processes (#2017)
罗泽轩 [Fri, 7 Aug 2020 09:25:26 +0000 (17:25 +0800)] 
feat: allow customizing worker_processes (#2017)

* feat: allow customizing worker_processes

Close #2016

2 years agobugfix: used a table array to store the `status`, allow the plugin can (#1994)
YuanSheng Wang [Fri, 7 Aug 2020 00:15:44 +0000 (08:15 +0800)] 
bugfix: used a table array to store the `status`, allow the plugin can (#1994)

be called multiple times.

fix #1986

2 years agobugfix: support parameter way to match request in route. (#2012)
YuanSheng Wang [Fri, 7 Aug 2020 00:13:58 +0000 (08:13 +0800)] 
bugfix: support parameter way to match request in route. (#2012)

fix #2008

2 years agodoc: remove all ‘incubator’ in doc (#2014)
jie [Thu, 6 Aug 2020 23:57:09 +0000 (07:57 +0800)] 
doc: remove all ‘incubator’ in doc (#2014)

2 years agodoc: update authz-keycloak plugin docs (#2011)
Scaat Feng [Thu, 6 Aug 2020 14:41:46 +0000 (22:41 +0800)] 
doc: update authz-keycloak plugin docs (#2011)

fix #2010

2 years agofeat: Support SSL verify option to Authz Keycloak plugin (#1924)
Nirojan Selvanathan [Thu, 6 Aug 2020 09:07:07 +0000 (11:07 +0200)] 
feat: Support SSL verify option to Authz Keycloak plugin (#1924)

Fix #1855

2 years agofeat: add '**' for alllow_headers and complete docs (#2004)
Vinci Xu [Thu, 6 Aug 2020 08:13:33 +0000 (16:13 +0800)] 
feat: add '**' for alllow_headers and complete docs (#2004)

fix #1983

2 years agotypo: fixed typo about function. (#2007)
Wen Ming [Thu, 6 Aug 2020 08:06:52 +0000 (16:06 +0800)] 
typo: fixed typo about function. (#2007)

2 years agodoc: removed incubator prefix and fix steps (#1998)
James Hughes [Thu, 6 Aug 2020 02:29:21 +0000 (03:29 +0100)] 
doc: removed incubator prefix and fix steps (#1998)

Removed multiple "incubator-" prefixed from urls in both EN and CN
getting-started documents

Updated the cd command in the getting started steps so that it moved
into the correct directory after cloning

2 years agorocks: use tag instead of branch. (#2003)
Wen Ming [Thu, 6 Aug 2020 02:28:24 +0000 (10:28 +0800)] 
rocks: use tag instead of branch. (#2003)

fix #1872, which not using the right way to install from luarocks.

2 years agobugfix: passed the copied `api_ctx`, it may be freed if the `api_ctx` (#2002)
YuanSheng Wang [Thu, 6 Aug 2020 02:20:34 +0000 (10:20 +0800)] 
bugfix: passed the copied `api_ctx`, it may be freed if the `api_ctx` (#2002)

* bugfix: passed the copied `api_ctx`, it may be freed if the `api_ctx`
  was called in back timer async.

Fixed #1935.

2 years agorelease: released 1.5.0 version. (#1965)
Janko [Thu, 6 Aug 2020 01:33:34 +0000 (09:33 +0800)] 
release: released 1.5.0 version. (#1965)

2 years agodoc: update uri-blocker plugin docs (#1997)
Scaat Feng [Wed, 5 Aug 2020 11:13:19 +0000 (19:13 +0800)] 
doc: update uri-blocker plugin docs (#1997)

2 years agofeat: script distribute and run (#1982)
nic-chen [Wed, 5 Aug 2020 06:11:22 +0000 (14:11 +0800)] 
feat: script distribute and run (#1982)

Supporting distribution and execution scripts, we can implement many new features,
such as plug-in orchestration.

2 years agodoc: add Chinese doc of uri-blocker plugin (#1985)
Scaat Feng [Wed, 5 Aug 2020 06:01:05 +0000 (14:01 +0800)] 
doc: add Chinese doc of uri-blocker plugin (#1985)

2 years agorevert: enable proxy-cache and proxy-mirror plugins by default. (#1992)
dabue [Tue, 4 Aug 2020 16:20:04 +0000 (00:20 +0800)] 
revert: enable proxy-cache and proxy-mirror plugins by default. (#1992)

fixed #1987

2 years agobugfix: fail to handshake if there is no certificate matched by host. (#1980)
YuanSheng Wang [Tue, 4 Aug 2020 15:20:34 +0000 (23:20 +0800)] 
bugfix: fail to handshake if there is no certificate matched by host. (#1980)

* bugfix: fail to handshake if there is no certificate matched by host.
* fix:  grpc proxy test case

2 years agocore: support get_scheme/host/port/http_version in core.request (#1978)
taotao [Tue, 4 Aug 2020 01:36:05 +0000 (09:36 +0800)] 
core: support get_scheme/host/port/http_version in core.request  (#1978)

2 years agoupdate lua-tinyyaml to 1.0 . (#1981)
YuanSheng Wang [Tue, 4 Aug 2020 01:32:09 +0000 (09:32 +0800)] 
update lua-tinyyaml to 1.0 . (#1981)

fix #1382

2 years agoperf: no longer generate unnecessary nginx conf for better performance. (#1968)
YuanSheng Wang [Tue, 4 Aug 2020 01:31:35 +0000 (09:31 +0800)] 
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.

2 years agoperf: used empty table if the user is not enabled any plugin. (#1967)
YuanSheng Wang [Tue, 4 Aug 2020 01:30:13 +0000 (09:30 +0800)] 
perf: used empty table if the user is not enabled any plugin. (#1967)

2 years agobugfix(CLI): fix wrong info `Warning! Running apisix under /root` when `make init...
wonglend [Mon, 3 Aug 2020 11:12:02 +0000 (19:12 +0800)] 
bugfix(CLI): fix wrong info `Warning! Running apisix under /root` when `make init` at non-root path (#1976)

2 years agodoc: unified document file name format. (#1969)
Janko [Mon, 3 Aug 2020 00:49:20 +0000 (08:49 +0800)] 
doc: unified document file name format. (#1969)

2 years agodoc: update main picture of APISIX. (#1964)
YuanSheng Wang [Sun, 2 Aug 2020 01:35:37 +0000 (09:35 +0800)] 
doc: update main picture of APISIX. (#1964)

* test case: formatted by `reindex`.

2 years agofeat: add option for cors and bugfix (#1963)
Vinci Xu [Sat, 1 Aug 2020 00:03:22 +0000 (08:03 +0800)] 
feat: add option for cors and bugfix (#1963)

fix #1915 #1704

2 years agotest: old test case is unstable, running fail sometimes. (#1925)
YuanSheng Wang [Fri, 31 Jul 2020 13:24:31 +0000 (21:24 +0800)] 
test: old test case is unstable, running fail sometimes. (#1925)

2 years agobugfix: avoid to modify the original plugin conf. (#1958)
YuanSheng Wang [Fri, 31 Jul 2020 12:19:12 +0000 (20:19 +0800)] 
bugfix: avoid to modify the original plugin conf. (#1958)

relate issue: #1934 , #1956

2 years agobugfix: passive health check seems never provide a healthy report (#1918)
YuanSheng Wang [Fri, 31 Jul 2020 11:31:20 +0000 (19:31 +0800)] 
bugfix: passive health check seems never provide a healthy report (#1918)

Fix #1640

2 years agodoc(k8s): removed unnecessary configurations. (#1891)
kv [Fri, 31 Jul 2020 04:16:29 +0000 (12:16 +0800)] 
doc(k8s): removed unnecessary configurations. (#1891)

2 years agodoc: fixed grpc transcode link (#1946)
Swayam Raina [Fri, 31 Jul 2020 02:37:32 +0000 (08:07 +0530)] 
doc: fixed grpc transcode link (#1946)

fixes #1944

2 years agofeat: support both standard PATCH and sub path PATCH for admin api (#1930)
nic-chen [Fri, 31 Jul 2020 01:21:08 +0000 (09:21 +0800)] 
feat: support both standard PATCH and sub path PATCH for admin api (#1930)

fix #1823

2 years agodoc: fixed `uri-blocker` plugin path error in `README`. (#1950)
Janko [Fri, 31 Jul 2020 01:14:26 +0000 (09:14 +0800)] 
doc: fixed `uri-blocker` plugin path error in `README`. (#1950)

2 years agodoc: update broken link (#1945)
Swayam Raina [Thu, 30 Jul 2020 14:15:00 +0000 (19:45 +0530)] 
doc: update broken link (#1945)

2 years agodoc: add `request-validation` plugin chinese document. (#1932)
Janko [Thu, 30 Jul 2020 09:46:44 +0000 (17:46 +0800)] 
doc: add `request-validation` plugin chinese document. (#1932)

FIX #1882

2 years agochange: add more prometheus metrics(etcd modify index) (#1888)
nic-chen [Thu, 30 Jul 2020 07:27:00 +0000 (15:27 +0800)] 
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

2 years agobugfix: fix limit-count plugin redis.ttl error. (#1928)
Janko [Thu, 30 Jul 2020 05:26:26 +0000 (13:26 +0800)] 
bugfix: fix limit-count plugin redis.ttl error. (#1928)

FIX #1901

2 years agodoc: update Chinese how-to-build.md (#1936)
Scaat Feng [Thu, 30 Jul 2020 05:16:37 +0000 (13:16 +0800)] 
doc: update Chinese how-to-build.md (#1936)

fix #1933

2 years agodoc: corrected some typo (#1938)
Lien [Thu, 30 Jul 2020 05:15:01 +0000 (13:15 +0800)] 
doc: corrected some typo (#1938)

2 years agodoc: improvements for OSx unit tests (#1926)
Nirojan Selvanathan [Thu, 30 Jul 2020 01:41:36 +0000 (03:41 +0200)] 
doc: improvements for OSx unit tests (#1926)

doc(request-validation): fixed the wrong example.

2 years agobugfix: update comment to 30 seconds in config.yaml (#1929)
Swayam Raina [Wed, 29 Jul 2020 15:09:02 +0000 (20:39 +0530)] 
bugfix: update comment to 30 seconds in config.yaml (#1929)

2 years agoplugin(batch): change processor name and error return type fix (#1927)
Nirojan Selvanathan [Wed, 29 Jul 2020 12:54:58 +0000 (14:54 +0200)] 
plugin(batch): change processor name and error return type fix (#1927)

Fix #1522
Fix #1521

2 years agofeature: add a new option, decide if we remove the "/" at the end of … (#1766)
YuanSheng Wang [Wed, 29 Jul 2020 11:25:30 +0000 (19:25 +0800)] 
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

2 years agobugfix: read the request body from the temporary file if it was cached. (#1863)
YuanSheng Wang [Wed, 29 Jul 2020 11:24:27 +0000 (19:24 +0800)] 
bugfix: read the request body from the temporary file if it was cached. (#1863)

2 years agomakefile: add comments for `install` command. (#1912)
YuanSheng Wang [Wed, 29 Jul 2020 11:23:49 +0000 (19:23 +0800)] 
makefile: add comments for `install` command. (#1912)

* doc: update output of `make help`

2 years agodoc: fix typos. (#1916)
YuanSheng Wang [Wed, 29 Jul 2020 11:23:08 +0000 (19:23 +0800)] 
doc: fix typos. (#1916)

url -> URL .

2 years agofeature: allow to set `retries=0` for upstream object. (#1919)
YuanSheng Wang [Wed, 29 Jul 2020 11:21:50 +0000 (19:21 +0800)] 
feature: allow to set `retries=0` for upstream object. (#1919)

2 years agobugfix: run `apisix start` several times will start multi APISIX servers (#1913)
nic-chen [Wed, 29 Jul 2020 10:43:41 +0000 (18:43 +0800)] 
bugfix: run `apisix start` several times will start multi APISIX servers (#1913)

2 years agochange: check input params schema of `request-validation` plugin. (#1920)
Janko [Wed, 29 Jul 2020 02:27:59 +0000 (10:27 +0800)] 
change: check input params schema of `request-validation` plugin. (#1920)

FIX #1881

2 years agofeature: health check supports custom host port. (#1914)
Janko [Tue, 28 Jul 2020 15:51:42 +0000 (23:51 +0800)] 
feature: health check supports custom host port. (#1914)

2 years agochange: the timeout of `healthcheck` should be number type. (#1892)
YuanSheng Wang [Mon, 27 Jul 2020 08:19:01 +0000 (16:19 +0800)] 
change: the timeout of `healthcheck` should be number type. (#1892)

2 years agobugfix: should not save the runtime data of plugin into `etcd`. (#1910)
YuanSheng Wang [Mon, 27 Jul 2020 06:43:50 +0000 (14:43 +0800)] 
bugfix: should not save the runtime data of plugin into `etcd`. (#1910)

Fixed #1836 .

2 years agobugfix: failed to get `host` in health check configuration. (#1871)
Janko [Mon, 27 Jul 2020 05:47:14 +0000 (13:47 +0800)] 
bugfix: failed to get `host` in health check configuration. (#1871)

The `host` of health check should be sub-item of `check.active` .

FIX #1869

2 years agodoc: fixed image links in zh-cn benchmark (#1896)
Sarasa Kisaragi [Fri, 24 Jul 2020 08:30:51 +0000 (16:30 +0800)] 
doc: fixed image links in zh-cn benchmark (#1896)

2 years ago'worker_shutdown_timeout 240s' in nginx.conf is better. (#1883)
Yousa [Fri, 24 Jul 2020 08:05:29 +0000 (16:05 +0800)] 
'worker_shutdown_timeout 240s' in nginx.conf is better. (#1883)

2 years agodoc: Fix link syntax in README.md (#1894)
Sarasa Kisaragi [Fri, 24 Jul 2020 07:24:13 +0000 (15:24 +0800)] 
doc: Fix link syntax in README.md (#1894)

2 years agodoc: added CODE_STYLE.md and CODE_STYLE_CN.md for APISIX (#1874)
yongboy [Wed, 22 Jul 2020 08:52:49 +0000 (16:52 +0800)] 
doc: added CODE_STYLE.md and CODE_STYLE_CN.md for APISIX (#1874)

2 years agofeature: new plugin request-validator (#1709)
Nirojan Selvanathan [Tue, 21 Jul 2020 13:38:48 +0000 (15:38 +0200)] 
feature: new plugin request-validator (#1709)

2 years agofeat: Support admin API authentication with SSL certificates (#1747)
nic-chen [Tue, 21 Jul 2020 03:41:11 +0000 (11:41 +0800)] 
feat: Support admin API authentication with SSL certificates (#1747)

2 years agorelease: released 1.4.1 version (#1872)
nic-chen [Mon, 20 Jul 2020 10:13:31 +0000 (18:13 +0800)] 
release: released 1.4.1 version (#1872)

2 years agobugfix: fetch wrong the upstream node when there were multiple upstream node with...
YuanSheng Wang [Fri, 17 Jul 2020 13:51:51 +0000 (21:51 +0800)] 
bugfix: fetch wrong the upstream node when there were multiple upstream node with host (#1835)

Fix #1834

2 years ago* CI: Github action run non-OSX test case, Travis-CI runs the OSX test case(allow...
YuanSheng Wang [Fri, 17 Jul 2020 07:27:08 +0000 (15:27 +0800)] 
* 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.

2 years agodoc: update README.md for proxy-mirror (#1852)
Scaat Feng [Thu, 16 Jul 2020 15:24:49 +0000 (23:24 +0800)] 
doc: update README.md for proxy-mirror (#1852)

2 years agodoc: fixed some hyper link errors (#1849)
RocFang [Thu, 16 Jul 2020 09:33:31 +0000 (17:33 +0800)] 
doc: fixed some hyper link errors (#1849)

2 years agochange: removed useless plugin `heartbeat` (#1845)
mtx2d [Thu, 16 Jul 2020 09:31:39 +0000 (05:31 -0400)] 
change: removed useless plugin `heartbeat` (#1845)

Fix #1176

2 years agodoc: add more info for pr template. (#1840)
Wen Ming [Wed, 15 Jul 2020 09:32:39 +0000 (17:32 +0800)] 
doc: add more info for pr template. (#1840)

2 years agodoc: add questions when submit PR. (#1839)
Wen Ming [Tue, 14 Jul 2020 03:06:24 +0000 (11:06 +0800)] 
doc: add questions when submit PR. (#1839)

2 years agoCI: add more patchs about Tengine(2.3.2 < version < 2.3.3). (#1830)
wonglend [Mon, 13 Jul 2020 13:56:11 +0000 (21:56 +0800)] 
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.

2 years agofeature: allow to congfiure the worker_shutdown_timeout (#1828)
罗泽轩 [Fri, 10 Jul 2020 13:59:44 +0000 (21:59 +0800)] 
feature: allow to congfiure the worker_shutdown_timeout (#1828)

The default 3s may be too low.

2 years agodoc: add etcd comment for k8s readme. add service-monitor yaml for prometh… (#1808)
houshunwei [Fri, 10 Jul 2020 13:51:26 +0000 (21:51 +0800)] 
doc: add etcd comment for k8s readme. add service-monitor yaml for prometh… (#1808)

2 years agobugfix: failed to set server peer when upstreams.node is address in apisix.yaml ...
wrl96 [Fri, 10 Jul 2020 10:47:11 +0000 (18:47 +0800)] 
bugfix: failed to set server peer when upstreams.node is address in apisix.yaml (#1824)

Fix #1798

2 years agobugfix: wrong counter was used, resulting in only one certificate working fine. ...
nic-chen [Fri, 10 Jul 2020 10:39:08 +0000 (18:39 +0800)] 
bugfix: wrong counter was used, resulting in only one certificate working fine. (#1818)

Fix #1817

2 years agooptimize: increase ssl_session_cache size to 20m. (#1797)
Wen Ming [Fri, 10 Jul 2020 03:31:32 +0000 (11:31 +0800)] 
optimize: increase ssl_session_cache size to 20m. (#1797)

2 years agobugfix(proxy-rewrite): symbol would be encoded to 0x3f (#1816)
wrl96 [Thu, 9 Jul 2020 10:06:00 +0000 (18:06 +0800)] 
bugfix(proxy-rewrite): symbol would be encoded to 0x3f (#1816)

2 years agofeature: using GitHub action for CI (#1793)
Raisinata [Thu, 9 Jul 2020 04:15:17 +0000 (12:15 +0800)] 
feature: using GitHub action for CI (#1793)

2 years agodoc: update the text of DP and CP. (#1814)
YuanSheng Wang [Thu, 9 Jul 2020 00:55:07 +0000 (08:55 +0800)] 
doc: update the text of DP and CP. (#1814)

2 years agodoc: fixed zh-cn/architecture-design.md images path error (#1813)
yongboy [Wed, 8 Jul 2020 10:23:22 +0000 (18:23 +0800)] 
doc: fixed zh-cn/architecture-design.md images path error (#1813)

2 years agofix: replace `location /robots.txt ` with `location =/robots.txt ` for admin page...
wonglend [Tue, 7 Jul 2020 02:36:32 +0000 (10:36 +0800)] 
fix: replace `location /robots.txt ` with `location =/robots.txt ` for admin page. (#1807)

2 years agodoc: add more steps for install. (#1805)
Wen Ming [Tue, 7 Jul 2020 02:35:02 +0000 (10:35 +0800)] 
doc: add more steps for install. (#1805)

2 years agodoc: fixed some punctuation error in the document sample shell (#1803)
YuanYingdong [Mon, 6 Jul 2020 01:54:23 +0000 (09:54 +0800)] 
doc: fixed some punctuation error in the document sample shell (#1803)

2 years agodoc: add guides for installing dependencies on fedora (#1800)
Joey [Fri, 3 Jul 2020 23:48:10 +0000 (07:48 +0800)] 
doc: add guides for installing dependencies on fedora (#1800)

2 years agobugfix: return `404 Not Found` when the dashboard folder is empty. (#1799)
xxm404 [Fri, 3 Jul 2020 13:18:05 +0000 (21:18 +0800)] 
bugfix: return `404 Not Found` when the dashboard folder is empty.  (#1799)

close #1794

2 years agobugfix: missing argument `premature` because it was called by ngx.timer . (#1796)
jackstraw [Thu, 2 Jul 2020 23:10:36 +0000 (07:10 +0800)] 
bugfix: missing argument `premature` because it was called by ngx.timer . (#1796)

2 years agotest: format by tool `reindex`. (#1775)
YuanSheng Wang [Thu, 2 Jul 2020 14:04:24 +0000 (22:04 +0800)] 
test: format by tool `reindex`. (#1775)

2 years agochange: 'get_plugin_list' API sorts the return list base on priority (#1779)
ko han [Wed, 1 Jul 2020 09:05:02 +0000 (17:05 +0800)] 
change: 'get_plugin_list' API sorts the return list base on priority (#1779)

2 years agorocks: fixed wrong source of 1.4. (#1783)
Wen Ming [Wed, 1 Jul 2020 09:04:10 +0000 (17:04 +0800)] 
rocks: fixed wrong source of 1.4. (#1783)

2 years agochange: remove authentication type for cors plugin (#1788)
morrme [Wed, 1 Jul 2020 05:52:47 +0000 (00:52 -0500)] 
change: remove authentication type for cors plugin (#1788)

fix #1787

2 years agobugfix(config etcd): when we reset the fetched data, `sync_times` also needs to be...
jackstraw [Wed, 1 Jul 2020 01:28:00 +0000 (09:28 +0800)] 
bugfix(config etcd): when we reset the fetched data, `sync_times` also needs to be reset. (#1785)

2 years agorelease: released 1.4-0 version (#1742)
Nirojan Selvanathan [Tue, 30 Jun 2020 05:34:00 +0000 (07:34 +0200)] 
release: released 1.4-0 version (#1742)

2 years agodoc: remove router `r3` . (#1764)
YuanSheng Wang [Tue, 30 Jun 2020 05:33:35 +0000 (13:33 +0800)] 
doc: remove router `r3` . (#1764)

2 years agodoc: update Chinese README.md (#1763)
Scaat Feng [Sun, 28 Jun 2020 12:07:33 +0000 (20:07 +0800)] 
doc: update Chinese README.md (#1763)

2 years agooptimize: Use lru to avoid resolving IP addresses repeatedly . (#1772)
YuanSheng Wang [Sun, 28 Jun 2020 10:14:38 +0000 (18:14 +0800)] 
optimize: Use lru to avoid resolving IP addresses repeatedly . (#1772)

* optimize: Use lru to avoid resolving IP addresses repeatedly .
Cached the global rules to `ctx` .

* optimzie: used a longer time interval for etcd and flush access log.

* optimize: return upstream node directly if the count is 1 .

* optimize: avoid to cache useless variable.

2 years agoplugin(heartbeat): use `info` log level when failed to report heartbeat. (#1771)
YuanSheng Wang [Sun, 28 Jun 2020 08:48:27 +0000 (16:48 +0800)] 
plugin(heartbeat): use `info` log level when failed to report heartbeat. (#1771)

2 years agofeature: support etcd auth (#1769)
Shenal Silva [Fri, 26 Jun 2020 09:25:58 +0000 (14:55 +0530)] 
feature: support etcd auth (#1769)

Fix #1713 , #1770

2 years agobugfix: added `content-type` for admin API responses (#1746)
Shenal Silva [Wed, 24 Jun 2020 05:57:10 +0000 (11:27 +0530)] 
bugfix: added `content-type` for admin API responses (#1746)

2 years agotest: added test cases. (#1752)
YuanSheng Wang [Wed, 24 Jun 2020 01:59:11 +0000 (09:59 +0800)] 
test: added test cases. (#1752)

2 years agobugfix: Fix for remote open ID connect introspection (#1743)
Nirojan Selvanathan [Wed, 24 Jun 2020 01:19:13 +0000 (03:19 +0200)] 
bugfix: Fix for remote open ID connect introspection (#1743)

fix #1741

2 years agodoc: updated k8s doc (#1757)
Scaat Feng [Tue, 23 Jun 2020 11:04:05 +0000 (19:04 +0800)] 
doc: updated k8s doc (#1757)