Commit Graph

435 Commits

Author SHA1 Message Date
罗泽轩
58cba26e51
fix(http-logger): validate uri (#2708) 2020-11-15 17:22:25 +08:00
罗泽轩
da4e12e0f7
feat: generate create/update_time automatically (#2740) 2020-11-15 17:20:51 +08:00
Alex Zhang
3c12b61207
docs: mentioned the etcd gRPC gateway (#2734) 2020-11-13 16:08:43 +08:00
琚致远
b2c4df7df2
fix(docs): kafka-logger in Chinese (#2728)
fix https://github.com/apache/apisix/issues/2719
2020-11-13 13:45:41 +08:00
罗泽轩
dadebc7e75
docs: clarify how we handle disabled plugin which is matched (#2706) 2020-11-13 13:30:06 +08:00
idbeta
358d83a757
docs: modify the stand-alone.md to add instructions for enable SSL (#2702) 2020-11-13 09:21:36 +08:00
idbeta
bbe6fc1ceb
modify batch-requests.md, example's --d should be --data (#2724) 2020-11-13 09:12:32 +08:00
罗泽轩
2f8762c22f
docs: add create/update_time fields (#2712)
Close #2654
2020-11-13 00:23:49 +08:00
dabue
70453aece3
chore(core): enabled websocket in route and service (#2593) 2020-11-10 16:56:38 +08:00
琚致远
9d4b4181c8
fix(doc): broken links (#2682) 2020-11-10 16:10:49 +08:00
罗泽轩
3ba6629daa
feat: disable example-plugin by default (#2673)
Close #2659.
2020-11-10 08:46:54 +08:00
罗泽轩
ebf0563a40
change: disable skywalking by default. (#2632)
* fix: disable skywalking by default.

Close #2623.

* trailing sw

* clean test
2020-11-09 08:12:52 +08:00
YuanSheng Wang
021f24a7b2
docs: put the chapter "admin api" to the front, and sync the Chinese version from English version (#2650) 2020-11-08 11:44:54 +08:00
HelloBug0
3ab580fa71
docs: node-status.md (#2615)
* Create node-status.md

* Update node-status.md

* Update node-status.md

* Update node-status.md

1. add a blank line after #目录
2. remove some unnecessary lines

* Update node-status.md

1. add language type in code
2. change '插件属性为空' to ‘无’
3. change '接口插件' to '插件接口' which could add link to directory '插件接口'
2020-11-06 10:51:28 +08:00
tzssangglass
27875e5790
feat(jwt-auth): support to use of the RS256 algorithm (#2594)
* example for #2523

* fix: jwt-auth plugin RS256 algorithm is not easy to use. (#2523)

fix: add more test cases for jwt plugin. (#2355)

fix #2523

fix #2355
2020-11-06 10:16:20 +08:00
kiki
333210fc64
doc(hmac-auth): generate signature should be more detailed (#2599)
fix #2531
2020-11-03 16:40:33 +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
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
tashiya-menuri
be4a108896
doc: update api-breaker’s language switcher link
close #2584
2020-10-31 22:27:11 +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
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
idbeta
c32d05daa7
fix: English style mentioned by #2558 (#2559) 2020-10-29 18:53:23 +08:00
YuanSheng Wang
b23475fcba
feat: upgrade skywalking plugin to support skywalking 8.0 . (#2389) 2020-10-29 15:29:52 +08:00
dancingRobots
87ce6af4a6
update install-dependencies.md (#2549) 2020-10-29 12:35:00 +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
Alex Zhang
3306a3ed3c
feature: support percentage for fault injection (#2516) 2020-10-27 14:10:44 +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
罗泽轩
2a66762ca6
change(batch-requests): limit the body size to 1M (#2507)
To avoid blocking on reading large body file and
spending too much memory in encode JSON body.
2020-10-26 21:50:51 +08:00
罗泽轩
d5dc0e08d1
doc(http-logger): sync Chinese doc to the English one (#2510) 2020-10-25 07:54:38 +08:00
Firstsawyou
853a7be0f4
feat(hmac-auth): remove auth headers for hmac-auth plugin. (#2491)
fix #2490
2020-10-25 07:33:11 +08:00
RocFang
a5f5c1ff59
doc: Consule=>Consul (#2480) 2020-10-21 06:43:53 +08:00
muxueqz
df6d1e91a5
doc: fixed minor format issue in architecture-design.md. 2020-10-20 09:25:10 +08:00
罗泽轩
26ad5cf892
doc(echo): mark it as production-unready (#2461) 2020-10-19 15:56:54 +08:00
JinChen
9e1030ee42
feat: limit-count plugin supports limiting requests by consumer name. (#2421)
fixed #2333
2020-10-17 19:24:55 +08:00
罗泽轩
6a543a98a2
feat: use interceptors to protect plugin's route (#2416) 2020-10-17 17:45:26 +08:00
YuanSheng Wang
c65f5c9465
feature: plugin limit-count support to use redis cluster (#2406)
fix #638

Co-authored-by: liuheng <liuhengloveyou@gmail.com>
2020-10-17 08:21:47 +08:00
罗泽轩
85ed4cc576
doc: correct the doc of plugin ip-restriction (#2420) 2020-10-14 21:37:55 +08:00
Shuyang Wu
ef6bc442ae
chore: fix broken link (#2404)
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2020-10-14 08:32:51 +08:00
YuanSheng Wang
5614a95758
feat(http-logger): support for specified the log formats via admin API (#2309)
curl http://****/apisix/admin/plugin_metadata/http-logger -d '
{
    "log_format": {
        "host": "$host",
        "@timestamp": "$time_iso8601",
        "client_ip": "$remote_addr"
    }
}'

when we enabled plugin http-logger, we will get the message body like:

{"host":"localhost","@timestamp":"2020-09-23T18:29:07-04:00","client_ip":"127.0.0.1","route_id":"1"}
{"host":"localhost","@timestamp":"2020-09-23T18:29:07-04:00","client_ip":"127.0.0.1","route_id":"1"}
2020-10-13 14:21:54 +08:00
YuanSheng Wang
73dfdf2185
feat: add new filed meta_style, collect the request information with original style. (#2364) 2020-10-09 16:33:07 +08:00
Joey
9d0d351226
Add lables for Route/Service/Consumer/SSL (#2345)
Signed-off-by: imjoey <majunjiev@gmail.com>
2020-10-09 14:05:14 +08:00
罗泽轩
3d6c40deb5
doc(ip-restriction): IPv6 already supported (#2363) 2020-10-07 21:35:27 +08:00