罗泽轩
b6354ec33e
feat: allow to limit client body size to protect the service ( #2214 )
2020-09-15 21:58:30 +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
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
Shuyang Wu
3ece377d3f
test case: optimize output of check-plugins-code ( #2173 )
2020-09-07 09:41:59 +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
nic-chen
c54aec8f6c
feat: support custom access log format ( #2122 )
...
fix #2009
2020-08-26 16:51:44 +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
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
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
罗泽轩
0b00e82773
bugfix: avoid setting Server header twice ( #2065 )
...
Fix #2064 .
2020-08-15 17:19:35 +08:00
罗泽轩
f7b5f2b7ec
feat: allow customizing worker_processes ( #2017 )
...
* feat: allow customizing worker_processes
Close #2016
2020-08-07 17:25:26 +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
nic-chen
333962a54b
bugfix: run apisix start
several times will start multi APISIX servers ( #1913 )
2020-07-29 18:43:41 +08:00
Yousa
d079b3dbcc
'worker_shutdown_timeout 240s' in nginx.conf is better. ( #1883 )
2020-07-24 16:05:29 +08:00
nic-chen
a5fc25c2a9
feat: Support admin API authentication with SSL certificates ( #1747 )
2020-07-21 11:41:11 +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
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
Raisinata
0e517a25d6
feature: using GitHub action for CI ( #1793 )
2020-07-09 12:15:17 +08:00
Shenal Silva
ef89dceda6
feature: support etcd auth ( #1769 )
...
Fix #1713 , #1770
2020-06-26 17:25:58 +08:00
Nirojan Selvanathan
cd98a2bec8
feature: support authorization Plugin for Keycloak Identity Server ( #1701 )
2020-06-16 13:51:36 +08:00
YuanSheng Wang
9b47b31c50
change: disable reuseport in development mode, it more easy to manage worker process. ( #1175 )
2020-06-10 11:32:52 +08:00
Yousa
4b47391a6c
bugfix(CLI): generate the 'worker_cpu_affinity' config for Linux OS ( #1658 )
...
Fix #1657
2020-06-09 20:44:15 +08:00
dabue
d780f7406f
[bugfix(CLI)]: check whether the user has enabled etcd v2 protocol. ( #1665 )
2020-06-09 20:42:38 +08:00
dabue
3228e16705
feature: support to enable HTTPS for admin API ( #1648 )
2020-06-07 21:02:50 +08:00
YuanSheng Wang
cdf4acbaea
change: updated prometheus to version 1.1 . ( #1607 )
2020-05-26 12:40:34 +08:00
qiujiayu
e7d19ec160
feature: support discovery center ( #1440 )
2020-05-14 23:20:44 +08:00
Nirojan Selvanathan
64fcb9fd72
plugin: add HTTP logger for APISIX ( #1396 )
2020-05-09 16:19:41 +08:00
YuanSheng Wang
216c854201
Travis: install the luacov
when create deps
folder ( #1477 )
...
fix travis: https://travis-ci.org/github/apache/incubator-apisix/jobs/677082965#L524
Install the luacov when create deps folder.
Then we can avoid installing "luacov" after copying "deps" from the "build-cache" folder to the current folder.
2020-04-20 15:05:05 +08:00
YuanSheng Wang
7440192f8f
bugfix(CI): avoid to install APISIX to deps
folder, that is a bug for older luarocks ( #1471 )
...
If the Luarocks version is lower than "v2.4.3", it does not support the "--only-deps" parameter. Even if we set the "--only-deps" parameter, no error message will be given during runtime.
We only wanted to install the dependencies in the deps directory, but the APISIX was also installed so that the test case might load the wrong version of the source code.
2020-04-20 09:09:14 +08:00
YuanSheng Wang
bead35007b
travis: When the error message is found, set the exit code to 1. ( #1445 )
2020-04-13 10:45:13 +08:00
YuanSheng Wang
04539ae972
bugfix(CLI): added $prefix/deps/share/lua/5.1/?/init.lua
to search path. ( #1443 )
2020-04-13 09:54:07 +08:00
wonglend
ef76d2700b
bugfix: remove misc --add-dynamic-module
for tengine branch ci test cases ( #1377 )
...
* 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
2020-03-31 21:51:49 +08:00
wonglend
d0900caf27
feature: merge upstream tengine (2.3.2 < version < 2.3.3) patches ( #1371 )
...
* 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`
2020-03-31 08:38:16 +08:00
Ayeshmantha Perera
661f3adfbc
feature: updated openresty to 1.15.8.3 ( #1363 )
2020-03-30 16:52:53 +08:00
Wen Ming
7ff43d51ca
dashboard: add dashboard as submodule. ( #1360 )
2020-03-29 10:06:42 +08:00
YuanSheng Wang
f06f36186e
bugfix: use 127.0.0.1
instead of localhost
, avoid to get a IPv6 address. ( #1347 )
...
for tengine case.
2020-03-27 16:34:32 +08:00
YuanSheng Wang
0c98fed398
bugfix: use 127.0.0.1
instead of localhost
, avoid to get a IPv6 address, ( #1346 )
...
the travis ENV does not support IPv6 address.
2020-03-27 15:50:40 +08:00
YuanSheng Wang
94cc688fc1
bugfix: installed lua file in folder lua/apisix/utils
. ( #1342 )
2020-03-27 07:34:08 +08:00
qiujiayu
7baa0abd44
feature: if the dns_resolver
is not set in the file conf/config.yaml
, use the resolver in local DNS. ( #1217 )
...
Fix #1164
2020-03-26 09:48:18 +08:00
Ayeshmantha Perera
8adafa3ee2
feature: add Kafka Logger plugin. ( #1312 )
2020-03-25 08:26:45 +08:00
YuanSheng Wang
c086d3f780
CI(OSX): run part test cases. ( #1314 )
2020-03-23 00:03:40 +08:00
YuanSheng Wang
d347cae48e
travis(osx): install the redis by brew. ( #1270 )
2020-03-15 20:21:48 +08:00
YuanSheng Wang
8e8ec23539
bugfix: 'required' should same level as properties
, added test case. ( #1261 )
...
* travis: use golang binary file directly.
2020-03-14 15:41:02 +08:00
YuanSheng Wang
b835bb79f1
travis: supports installing APISIX using the current branch and running ( #1212 )
...
* travis: supports installing APISIX using the current branch and running
test cases separately in CI.
* bugfix: install apisix from local folder.
* travis: install `master` version apisix by luarocks and run e2e test.
2020-03-07 14:59:18 +08:00
Wen Ming
a610e8917c
Revert "feature: auto import nameservers into APISIX from system resolver. ( #1167 )" ( #1205 )
...
This reverts commit e1ac426443
.
This PR break CI and no test cases cover, so I have to revert it.
2020-03-06 10:30:32 +08:00
qiujiayu
e1ac426443
feature: auto import nameservers into APISIX from system resolver. ( #1167 )
...
Fix #1164
2020-03-02 16:04:15 +08:00
wonglend
174725278a
feature: Added privileged_agent_process.patch for tengine-2.3.2 ( #912 ) ( #1151 )
...
Fix #912
2020-02-22 19:59:33 +08:00
YuanSheng Wang
6d8907f4ff
code style: use new lj-releng
to catch all exceptions. ( #1135 )
2020-02-18 15:54:30 +08:00
YuanSheng Wang
e33f75da4e
bugfix: use ss.listen_port
to generate https listening port. ( #1133 )
2020-02-18 12:40:15 +08:00