Commit Graph

1204 Commits

Author SHA1 Message Date
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
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