1
0
mirror of https://gitee.com/iresty/apisix.git synced 2024-12-15 09:21:26 +08:00
Commit Graph

507 Commits

Author SHA1 Message Date
Vinci Xu
b13f167445
refactor: separate admin and proxy port in default config ()
change all admin 9080 to 9180
2020-11-24 16:51:47 +08:00
Peter Zhu
95226d950f
fix: check decrypt key to prevent lua thread aborted ()
Fix 
2020-11-24 16:43:29 +08:00
Yuelin Zheng
dc5fee27a2
feat(kafka-logger): the key field should be optional. ()
fix 
2020-11-24 16:05:52 +08:00
罗泽轩
d7593a0ac3
feat: support '.' in id definition ()
* feat: support '.' in id definition

Close .

* tweak test
2020-11-23 22:36:40 +08:00
Shuyang Wu
36162e3607
fix: move conf/cert to t/certs and disable ssl by default () 2020-11-20 11:10:01 +08:00
guyang
b3cd11ff02
feat: Improve zipkin span reporter performance ()
Close 
2020-11-19 11:31:07 +08:00
guyang
5b396020d5
feat: support plugin for "aliyun" log service () 2020-11-19 00:04:01 +08:00
Yousa
208ae3d2b7
chore: format the string.find () 2020-11-18 23:58:36 +08:00
罗泽轩
e7223e77a3
fix(http-logger): correct the Content-Type of newline format log report () 2020-11-18 17:51:03 +08:00
罗泽轩
1a24c2af39
refactor(consumer): remove id and use username only ()
Close 
Close 
Close 
2020-11-18 17:44:40 +08:00
Yuelin Zheng
e4de3d5b9b
feat(proxy-cache): the cache_zone field in the schema should be optional () 2020-11-18 16:07:13 +08:00
Yousa
53e2d5387f
fix: remove upstream 'Server' header info. fix ()
fix 
2020-11-18 13:15:31 +08:00
Yuelin Zheng
a6678c33c5
fix(hmac-auth): when the request contains escape characters, the signature verification fails ()
fix 
2020-11-18 09:02:37 +08:00
罗泽轩
8983a8dd27
fix(etcd): avoid getting with prefix ()
Fix .
2020-11-17 21:28:55 +08:00
罗泽轩
671d184ceb
bugfix: we didn't keep the create_time correctly () 2020-11-17 18:39:28 +08:00
罗泽轩
dec9518d3c
test: improve bin/apisix test cases. ()
* 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
Firstsawyou
8166f7a2d7
fix: the log report of the custom log format is incorrect. ()
fix 
2020-11-15 19:46:50 +08:00
罗泽轩
0654687aed
test: write the config.yaml according to the profile () 2020-11-15 19:36:53 +08:00
罗泽轩
23a47b9eac
fix: user's route was prior to the plugin's one () 2020-11-15 17:28:56 +08:00
罗泽轩
91d99452c5
test: check SSL configuration for stand alone mode () 2020-11-15 17:23:02 +08:00
罗泽轩
58cba26e51
fix(http-logger): validate uri () 2020-11-15 17:22:25 +08:00
罗泽轩
da4e12e0f7
feat: generate create/update_time automatically () 2020-11-15 17:20:51 +08:00
Firstsawyou
3ff46e28eb
chore: code format optimization of t/lib/server.lua file. ()
fix 
2020-11-13 22:27:03 +08:00
罗泽轩
39879630ae
fix: reload plugin when plugin attribute is cahnged ()
Close 
2020-11-13 00:23:30 +08:00
Firstsawyou
2ba28ff6a7
chore: sort the request headers output by the _M.uri and _M.old_uri function in t/lib/server.lua ()
fix 
2020-11-12 14:37:51 +08:00
罗泽轩
a2fa3ff89d
ci: self host openid configuration ()
Also split long test
2020-11-11 11:38:25 +08:00
罗泽轩
b3f240c80c
feat: increase the length of rule name to 100 ()
Close 
2020-11-11 10:36:28 +08:00
罗泽轩
1ea912d752
fix: use same config-default.yaml for different environments ()
Close .
2020-11-10 19:07:46 +08:00
dabue
70453aece3
chore(core): enabled websocket in route and service () 2020-11-10 16:56:38 +08:00
罗泽轩
2c37f0e5f2
fix(key-auth): 'key' is required in consumer configuration ()
Close .

According to the
https://github.com/apache/apisix/pull/2120#discussion_r477153261,
instead of skipping consumer without key, we should make 'key' required
only for consumer configuration.
2020-11-10 16:08:46 +08:00
罗泽轩
3ba6629daa
feat: disable example-plugin by default ()
Close .
2020-11-10 08:46:54 +08:00
tzssangglass
53a8f5a2ed
fix: the jwt plugin does not handle the case where exp is empty. (#… ()
fix 
2020-11-09 11:01:08 +08:00
罗泽轩
d2d826e6ab
fix(log-rotate): avoid creating multiple timers () 2020-11-09 09:09:33 +08:00
罗泽轩
ebf0563a40
change: disable skywalking by default. ()
* fix: disable skywalking by default.

Close .

* trailing sw

* clean test
2020-11-09 08:12:52 +08:00
Alex Zhang
188355494d
feat: hide APISIX version from Server header. ()
Sometimes expose version is dangerous, which can be utilized by
malicious crackers when there are some security bugs in that version.
2020-11-07 00:04:28 +08:00
罗泽轩
2ad7f65659
fix(jwt-auth): validate if the claimed secret is base64 encoded. () 2020-11-06 23:48:21 +08:00
tzssangglass
27875e5790
feat(jwt-auth): support to use of the RS256 algorithm ()
* example for 

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

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

fix 

fix 
2020-11-06 10:16:20 +08:00
Firstsawyou
6061c8722b
fix: after proxy-mirror plugin mirroring request, http version change… ()
fix 
2020-11-05 14:48:58 +08:00
Firstsawyou
b8e853cc39
fix: after proxy-mirror plugin mirroring request, the host in the mir… ()
fix 
2020-11-05 08:56:18 +08:00
罗泽轩
073c84f5e6
feat: support stream configuration in standalone mode ()
Close 
2020-11-04 10:45:09 +08:00
罗泽轩
4baee2461e
test: check the plugin name for each plugin ()
Close 
2020-11-04 09:49:14 +08:00
YuanSheng Wang
34d53fc48b
test: format by reindex. () 2020-11-03 13:59:01 +08:00
Alex Zhang
5191374545
feat: support TLS connection with etcd. ()
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 () 2020-11-03 13:46:24 +08:00
罗泽轩
bf44ed124d
change: make lrucache lock optional () 2020-11-02 16:47:32 +08:00
Peter Zhu
68cf301ed4
chore: move try_read_attr function into table.lua () ()
Co-authored-by: YuanSheng Wang <membphis@gmail.com>
2020-10-31 09:13:20 +08:00
shoogoome
fff4d14a0d
feature: support multiple service discovery ()
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 ()
fix 
2020-10-30 16:20:43 +08:00
罗泽轩
960077f245
fix(echo): modify response body correctly ()
Fix , 
2020-10-29 16:48:53 +08:00
YuanSheng Wang
b23475fcba
feat: upgrade skywalking plugin to support skywalking 8.0 . () 2020-10-29 15:29:52 +08:00