Commit Graph

123 Commits

Author SHA1 Message Date
HelloBug0
1d0c719a7b
feat: enable access log or not (#2769)
Fix #2713.
2020-11-25 13:10:08 +08:00
罗泽轩
8b3bccd20f
test: check the behavior when connecting to old etcd (#2835) 2020-11-24 18:48:45 +08:00
罗泽轩
39840f9d8d
feat: allow whitespace-wrapped variables in config.yaml (#2811) 2020-11-24 16:06:11 +08:00
jxhecong
009cab65b5
fix(CLI): add Authorization header while enable etcd auth (#2690) 2020-11-20 11:35:51 +08:00
Shuyang Wu
36162e3607
fix: move conf/cert to t/certs and disable ssl by default (#2112) 2020-11-20 11:10:01 +08:00
罗泽轩
dec9518d3c
test: improve bin/apisix test cases. (#2761)
* test: improve bin/apisix test cases.

Avoid modifying config-default,yaml directly.

* unset APISIX_PROFILE

* increase sleep time
2020-11-17 18:00:30 +08:00
罗泽轩
02ec388a6f
ci: refactor runners (#2722) 2020-11-15 19:39:50 +08:00
罗泽轩
6b52811557
feat: support ENV variable in configuration (#2743)
Close #2675.
2020-11-14 19:39:29 +08:00
Yousa
0ff2ab8242
fix: disable ssl_session_tickets by default (#2641)
fix #2638

In a word, 'ssl_session_tickets' would make Perfect Forward Secrecy useless.

reference:
ingress-nginx:kubernetes/ingress-nginx#6196
mozilla:mozilla/server-side-tls#135
2020-11-09 22:44:26 +08:00
YuanSheng Wang
4b349dc5b3
CI: specified to use openresty 1.17.8.2. (#2646)
will support `1.19.3.1` later.
2020-11-07 08:19:28 +08:00
罗泽轩
f790c92b23
test: remove temporary hack (#2625) 2020-11-04 17:17:09 +08:00
罗泽轩
366d5040cf
test: make CI pass again (#2619) 2020-11-04 15:45:27 +08:00
YuanSheng Wang
3b0e30a5e6
CI: remove temporary steps. (#2591) 2020-11-01 16:00:29 +08:00
YuanSheng Wang
edb8c7c590
bug(CLI): CI failed, failed to load apisix.cli.ngx_tpl (#2588)
* for test.

* CLI: load the Lua module after updated the `package.path`.

* CI: used patch to make the CI run normal.

* bugfix: add sudo

* chore:  print the location of `apisix`.

* reverted not related change.
2020-11-01 14:54:24 +08:00
YuanSheng Wang
f2f5ab9766
feat: support json encoding escape for access logs (#2269)
fix #2266 .
2020-10-30 16:07:24 +08:00
罗泽轩
b6eb6f4842
change: rename APIX_WORKER_PROCESSES to APISIX_WORKER_PROCESSES (#2552)
Close #2517.
2020-10-30 08:14:04 +08:00
YuanSheng Wang
b23475fcba
feat: upgrade skywalking plugin to support skywalking 8.0 . (#2389) 2020-10-29 15:29:52 +08:00
EnableAsync
1dfc4cdacd
CI: move etcd cluster in docker (#2225) 2020-10-28 23:41:14 +08:00
Vinci Xu
1a6fb8ec2c
feat(CLI): worker and cpu optimization (#2153) 2020-10-22 16:28:26 +08:00
罗泽轩
d86c480ec5
fix: previously we could not merge configuration without middle layer (#2476) 2020-10-21 09:59:45 +08:00
YuanSheng Wang
1f376ac872
CI: remove luacov in CI. (#2456) 2020-10-20 09:46:20 +08:00
YuanSheng Wang
c9392627a8
bugfix: empty allow_admin means that any IP is allowed to access Admin API and Dashboard (#1979)
fix #1939
2020-10-17 19:26:48 +08:00
Turein
90109ca678
feature: support multiple ports like stream listen in http and https … (#2409)
fix #1195
2020-10-17 17:44:26 +08:00
YuanSheng Wang
78910d828b
CI: turn off the Lua code coverage check in CI. (#2435)
We don't enable Lua code override now, its output is unstable and this is unacceptable.

Disabling the Lua code override first will make CI run faster.

* test: print more information when failed.
2020-10-16 09:59:30 +08:00
YuanSheng Wang
72eef02061
CI: run the APISIX instance in an empty folder for linux_apisix_current_luarocks. (#2385)
fix #2384
2020-10-11 12:59:54 +08:00
YuanSheng Wang
d6b00bb6bc
bugfix: install the Lua files in apisix/ssl/router . (#2383)
fix #2382
2020-10-11 12:27:03 +08:00
Wen Ming
3e959032f1
CI: skip run tengine test cases. (#2354)
Co-authored-by: nic-chen <33000667+nic-chen@users.noreply.github.com>
2020-10-04 20:23:10 +08:00
Shuyang Wu
89479194cc
bugfix: use correct version of etcd in linux_apisix_master_luarocks (#2343) 2020-09-29 10:30:13 +08:00
YuanSheng Wang
6a1fe8a546
bugfix(CLI): if the user used default token and allow any IP to access Admin API, will show a WARNING message.(#2244)
Co-authored-by: Wen Ming <moonbingbing@gmail.com>
2020-09-22 16:09:35 +08:00
Shuyang Wu
4722198548
feature: support etcd v3 by mocking v2 API (#2036) 2020-09-16 10:19:04 +08:00
罗泽轩
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