Commit Graph

147 Commits

Author SHA1 Message Date
Shuyang Wu
6415b29559
feat: customed config.yaml when apisix start (#2101)
fix #2034
2021-01-29 11:19:46 +08:00
罗泽轩
97a0956614
fix: ignore stale nginx.pid (#3416)
Fix #2948
Fix #3202

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Co-authored-by: limiao <limiao02@qiyi.com>
2021-01-27 22:36:35 +08:00
Jens Keiner
b5374bb66c
feat(authz-keycloak): dynamic scope and resource mapping. (#3308) 2021-01-27 21:50:18 +08:00
罗泽轩
d752b6f364
feat: allow customizing lua_package_path & lua_package_cpath (#3417) 2021-01-27 14:45:32 +08:00
罗泽轩
c2385c7d32
test: move test requires root privilege to ci_only group (#3419)
This test can't be run if we don't use root privilege.
2021-01-26 23:33:55 +08:00
罗泽轩
3db8ebec26
feat: support gRPCS (#3411) 2021-01-26 11:04:16 +08:00
罗泽轩
e3601e6876
feat: support dubbo (#3224)
Fix #89
2021-01-20 09:47:09 +08:00
Yuelin Zheng
a8153917ff
fix: APISIX runs in the /root directory and reports errors (#3220) 2021-01-19 12:01:07 +08:00
罗泽轩
19bc14ed5f
ci: add OpenResty 1.15.8.2 (#3311)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2021-01-17 10:41:59 +08:00
shenshaoye
4aeef386f0
feat: support more customize configure in nginx.conf (#3204)
Co-authored-by: 沈鑫杰 <xinjie.shen@chaitin.com>

related #3203
2021-01-07 19:21:02 +08:00
Peter Zhu
7b5d2eae26
feat: use luasocket instead of curl in etcd.lua (#2965)
fix: #2818
fix: #2718
2021-01-07 09:14:17 +08:00
罗泽轩
fb70133c22
ci: remove mac os CI (#3122)
The CI is not run for long.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-26 12:11:41 +08:00
罗泽轩
9a07ee8f82
chore: remove temporary hack (#3078)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-19 14:15:55 +08:00
罗泽轩
4d2f271a06
fix: add control directory in installation (#3077)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 16:40:17 +08:00
罗泽轩
924a30db36
feat: add control API (#3048)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Co-authored-by: John Bampton <jbampton@users.noreply.github.com
2020-12-18 15:05:09 +08:00
罗泽轩
2457aa1e4d
feat: check if Admin API is used with etcd config_center (#3018) 2020-12-13 23:08:15 +08:00
Shuyang Wu
b7325f033e
fix: enable ssl as default, using placeholder certificate (#3013) 2020-12-11 17:44:41 +08:00
罗泽轩
85a84fb191
fix: avoid unnecessary type check and support var in local_conf (#2990)
Also merge bundle of repeated code.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:48:47 +08:00
罗泽轩
2472db56c8
chore: handle error when connecting with passwd to etcd without auth (#2963) 2020-12-05 01:08:44 +08:00
Mark Huang
3de6842092
feat: confirm only part of the etcd kvs (#2846)
* feat: confirm part of the etcd kvs

* feat: check etcd keys by grep
2020-12-01 23:34:48 +08:00
罗泽轩
44855ec1a7
ci: make it work under OpenResty 1.19 (#2768) 2020-11-30 10:32:35 +08:00
罗泽轩
6f2316b5b7
test: update apisix_cli_test.sh to fix CI (#2885)
fix https://github.com/apache/apisix/issues/2888
2020-11-28 23:28:48 +08:00
罗泽轩
f4dfcfbb6b
fix: we didn't initialize custom variable for admin access log (#2874)
* fix: we didn't initialize custom variable for admin access log

* t
2020-11-28 13:12:17 +08:00
罗泽轩
c6c2e3cfb2
feat: support include other nginx config (#2803)
Close #2565
Close #1620
2020-11-25 19:23:31 +08:00
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