Commit Graph

1182 Commits

Author SHA1 Message Date
Nirojan Selvanathan
14f979edf8
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
2020-08-08 18:24:42 +08:00
Nirojan Selvanathan
2dea7e682b
doc: Refactoring plugins into functional categories (#2021) 2020-08-07 21:06:59 +08:00
罗泽轩
f7b5f2b7ec
feat: allow customizing worker_processes (#2017)
* feat: allow customizing worker_processes

Close #2016
2020-08-07 17:25:26 +08:00
YuanSheng Wang
31f744580d
bugfix: used a table array to store the status, allow the plugin can (#1994)
be called multiple times.

fix #1986
2020-08-07 08:15:44 +08:00
YuanSheng Wang
05f30e1e15
bugfix: support parameter way to match request in route. (#2012)
fix #2008
2020-08-07 08:13:58 +08:00
jie
b4890bf607
doc: remove all ‘incubator’ in doc (#2014) 2020-08-07 07:57:09 +08:00
Scaat Feng
b450320501
doc: update authz-keycloak plugin docs (#2011)
fix #2010
2020-08-06 22:41:46 +08:00
Nirojan Selvanathan
712a23f9b0
feat: Support SSL verify option to Authz Keycloak plugin (#1924)
Fix #1855
2020-08-06 17:07:07 +08:00
Vinci Xu
2ac47735a1
feat: add '**' for alllow_headers and complete docs (#2004)
fix #1983
2020-08-06 16:13:33 +08:00
Wen Ming
23bc76b5a0
typo: fixed typo about function. (#2007) 2020-08-06 16:06:52 +08:00
James Hughes
ac69ad3e3a
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
2020-08-06 10:29:21 +08:00
Wen Ming
87c252cceb
rocks: use tag instead of branch. (#2003)
fix #1872, which not using the right way to install from luarocks.
2020-08-06 10:28:24 +08:00
YuanSheng Wang
963e29951d
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.
2020-08-06 10:20:34 +08:00
Janko
5833e4f3d7
release: released 1.5.0 version. (#1965) 2020-08-06 09:33:34 +08:00
Scaat Feng
af70fcb4ab
doc: update uri-blocker plugin docs (#1997) 2020-08-05 19:13:19 +08:00
nic-chen
65df727af4
feat: script distribute and run (#1982)
Supporting distribution and execution scripts, we can implement many new features, 
such as plug-in orchestration.
2020-08-05 14:11:22 +08:00
Scaat Feng
020090cc44
doc: add Chinese doc of uri-blocker plugin (#1985) 2020-08-05 14:01:05 +08:00
dabue
77dfecaab6
revert: enable proxy-cache and proxy-mirror plugins by default. (#1992)
fixed #1987
2020-08-05 00:20:04 +08:00
YuanSheng Wang
c67e998dad
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
2020-08-04 23:20:34 +08:00
taotao
6adbf02a06
core: support get_scheme/host/port/http_version in core.request (#1978) 2020-08-04 09:36:05 +08:00
YuanSheng Wang
bb062785d5
update lua-tinyyaml to 1.0 . (#1981)
fix #1382
2020-08-04 09:32:09 +08:00
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