Alex Zhang
61cd91440b
improve: refactor partial command line tool. ( #2612 )
...
This PR moves some environmental variables to `apisix/cli/environ.lua`,
and some auxiliary codes to `apisix/cli/util.lua`, which reduces the size
of `bin/apisix`.
2020-11-04 11:26:17 +08:00
罗泽轩
073c84f5e6
feat: support stream configuration in standalone mode ( #2610 )
...
Close #2048
2020-11-04 10:45:09 +08:00
罗泽轩
4baee2461e
test: check the plugin name for each plugin ( #2607 )
...
Close #2579
2020-11-04 09:49:14 +08:00
kiki
333210fc64
doc(hmac-auth): generate signature should be more detailed ( #2599 )
...
fix #2531
2020-11-03 16:40:33 +08:00
琚致远
f4ae75a0b7
chore: delete .gitmodules ( #2606 )
2020-11-03 15:10:16 +08:00
YuanSheng Wang
34d53fc48b
test: format by reindex
. ( #2601 )
2020-11-03 13:59:01 +08:00
Alex Zhang
5191374545
feat: support TLS connection with etcd. ( #2548 )
...
Support the TLS connection when communicating with etcd cluster. We added a configuration item to custom the certificate verification. Whether to setup TLS connection or not depends on the endpoints' scheme, for instance, when endpoints are:
```
etcd:
host:
- "https://127.0.0.1:2379 "
- "https://127.0.0.1:3379 "
```
APISIX will originate TLS connection automatically, and the Server Name Indication extention will be set by the endpoint host (`127.0.0.1` in above case). Note by default APISIX will verify the certificate, close the verification in configuration explicitly if you want to bypass it.
```
etcd:
tls:
verfiy: false
```
2020-11-03 13:53:39 +08:00
罗泽轩
432c954a74
fix: plugin hot reload should work on node ( #2430 )
2020-11-03 13:46:24 +08:00
罗泽轩
bf44ed124d
change: make lrucache lock optional ( #2575 )
2020-11-02 16:47:32 +08:00
Firstsawyou
3356b51992
docs: add the consumer-restriction
plugin to support consumer
to subscribe to the documents of service
( #2265 )
...
* doc: Chinese document changes
* doc: zh-cn document changes.
* doc: zh-cn document changes.
* doc: document changes.
* doc: document changes.
* fix: CI scan detected error.
* change: change document styles.
* fix: document styles.
* fix: CI scan detected error.
* fix: document styles.
* fix: docs style.
* fix: docs style.
* fix: docs conflict.
* fix: docs content `Route Test`.
* add: a brief description of what is expected.
* fix: delete extra blank lines.
Co-authored-by: YuanSheng Wang <membphis@gmail.com>
2020-11-02 14:06:00 +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
Alex Zhang
952450bd76
improve(CLI): move ngx_tpl to apisix/cli/ngx_tpl.lua ( #2581 )
2020-10-31 22:56:42 +08:00
tashiya-menuri
be4a108896
doc: update api-breaker’s language switcher link
...
close #2584
2020-10-31 22:27:11 +08:00
HelloBug0
5efeca07b8
Update FAQ_CN.md ( #2582 )
2020-10-31 17:40:07 +08:00
Peter Zhu
68cf301ed4
chore: move try_read_attr function into table.lua ( #2257 ) ( #2566 )
...
Co-authored-by: YuanSheng Wang <membphis@gmail.com>
2020-10-31 09:13:20 +08:00
tashiya-menuri
735240fd77
doc(api-breaker): add doc in README and plugin list ( #2580 )
...
Fix #2529
2020-10-31 07:30:06 +08:00
tashiya-menuri
acaae9140a
doc: add grpc-proxy.md link in doc/README.md
( #2525 )
...
Fix #2327
2020-10-31 07:28:42 +08:00
cscfamily001
18bae7b75e
bugfix(redirect): fix typo name of redirect plugin.
2020-10-30 21:59:13 +08:00
罗泽轩
45216a25f2
feat: implement array_find
in apisix.core.table
( #2564 )
...
Close #2486
2020-10-30 20:51:44 +08:00
shoogoome
fff4d14a0d
feature: support multiple service discovery ( #2556 )
...
support multiple service discovery,then we can switch it in upstream
2020-10-30 20:34:10 +08:00
guyang
37a0792eb4
bugfix: fix zipkin plugin error when used with limit count plugin ( #2499 )
...
fix #2377
2020-10-30 16:20:43 +08:00
YuanSheng Wang
f2f5ab9766
feat: support json
encoding escape for access logs ( #2269 )
...
fix #2266 .
2020-10-30 16:07:24 +08:00
罗泽轩
e67dee137a
chore: update CODE_STYLE to catch up with the reality ( #2570 )
...
Currently we already have the line length style check in lj-releng. The
length we chose is 100.
Close #2569 .
2020-10-30 16:06:21 +08:00
Wen Ming
1fb000c92e
Update CHANGELOG_CN.md ( #2560 )
2020-10-30 12:31:00 +08:00
tashiya-menuri
254952cad8
CI : better yaml style
...
Fix #2505
2020-10-30 08:34:03 +08:00
罗泽轩
b6eb6f4842
change: rename APIX_WORKER_PROCESSES to APISIX_WORKER_PROCESSES ( #2552 )
...
Close #2517 .
2020-10-30 08:14:04 +08:00
idbeta
c32d05daa7
fix: English style mentioned by #2558 ( #2559 )
2020-10-29 18:53:23 +08:00
罗泽轩
960077f245
fix(echo): modify response body correctly ( #2561 )
...
Fix #2427 , #2554
2020-10-29 16:48:53 +08:00
YuanSheng Wang
b23475fcba
feat: upgrade skywalking plugin to support skywalking 8.0 . ( #2389 )
2020-10-29 15:29:52 +08:00
JinChen
61bcb18885
fix: jwt-auth add consumer_schema to the _M ( #2555 )
...
Signed-off-by: Jaycean <jinchen_jacean@163.com>
2020-10-29 14:37:13 +08:00
dancingRobots
87ce6af4a6
update install-dependencies.md ( #2549 )
2020-10-29 12:35:00 +08:00
JinChen
d2aa1d8bfb
feat: get schema by schema_type ( #2509 )
...
* get schema by schema_type
* Fix setting non standard global variable JSON_ schema
* Fix setting non standard global variable JSON_ schema
* Modify the usage of ngx module
* Fix format issues caused by branch conflicts
* Modify the test case to return data
2020-10-29 09:26:59 +08:00
EnableAsync
1dfc4cdacd
CI: move etcd cluster in docker ( #2225 )
2020-10-28 23:41:14 +08:00
dabue
e472d2c2db
doc: fixed some typo and incorrect examples in getting-started.md and syslog.md ( #2458 )
...
fix #2457
2020-10-28 22:24:32 +08:00
Firstsawyou
146e222e0c
fix: the plugin hmac-auth missed a \n
( #2543 )
...
* fix: the plugin hmac-auth missed a `\n`.
fix #2527
* docs: modify doc.
* fix: consumer-restriction.t and custom_hmac_auth.t
2020-10-28 13:37:22 +08:00
tzssangglass
9b63fd5710
feature: prometheus plugin apisix_http_status
metric route
tag Improve recognition ( #2497 )
...
fix #1574
2020-10-28 13:22:25 +08:00
Wen Ming
0ba62a8b98
doc: add videos of ApacheCon. ( #2534 )
2020-10-28 13:19:37 +08:00
Wen Ming
bf3300ae90
doc: fix steps of install from source code. ( #2545 )
2020-10-28 13:18:26 +08:00
Alex Zhang
d87ce33485
feature: support injecting lua_ssl_trusted_certificate. ( #2519 )
2020-10-28 06:49:20 +08:00
Vinci Xu
d08d9466d8
chore: change test case to keep stable ( #2541 )
2020-10-27 23:37:48 +08:00
琚致远
16f9753fde
feat(docs): update README ( #2539 )
...
more beautiful
2020-10-27 21:51:12 +08:00
Alex Zhang
3306a3ed3c
feature: support percentage for fault injection ( #2516 )
2020-10-27 14:10:44 +08:00
Wen Ming
ba324fe7f4
doc: fixed download links. ( #2528 )
2020-10-27 13:51:01 +08:00
YuanSheng Wang
6a7dfa6775
feat: implement api breaker plugin. ( #2455 )
...
Co-authored-by: liuheng <liuhengloveyou@gmail.com>
2020-10-27 13:40:23 +08:00
JinChen
e2f450fa1a
feat:The limit-conn plugin supports 'consumer_name' field ( #2415 )
...
The limit-conn plugin supports the` consumer_name` field
The method of PR is referred: #2333
2020-10-27 10:44:44 +08:00
Yousa
dfc50fd95b
doc(readme): Contributor Over Time ( #2454 )
2020-10-27 10:42:15 +08:00
Firstsawyou
80affa0366
feat: The limit-count plugin supports service_id field. ( #2521 )
...
fix #2518
2020-10-27 10:41:07 +08:00
Wen Ming
443e7b43ba
release: release 2.0 version. ( #2283 )
2020-10-27 10:11:04 +08:00
Joey
5be8d850c0
doc: correct the guide of creating consumer guide in AdminAPI ( #2513 )
...
Fix #2512
2020-10-26 22:07:37 +08:00