apisix/t/core
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
..
config_etcd.t feat: support TLS connection with etcd. (#2548) 2020-11-03 13:53:39 +08:00
config-default.t feature: divide config.yaml into two files config-custom.yaml & confi… (#2023) 2020-08-18 20:18:55 +08:00
config.t feature: divide config.yaml into two files config-custom.yaml & confi… (#2023) 2020-08-18 20:18:55 +08:00
ctx.t feat: support to fetch consumer_name or consumer_id via ctx.var (#2333) 2020-10-04 19:16:29 +08:00
etcd-auth-fail.t feature: support etcd v3 by mocking v2 API (#2036) 2020-09-16 10:19:04 +08:00
etcd-auth.t feature: support etcd v3 by mocking v2 API (#2036) 2020-09-16 10:19:04 +08:00
etcd-sync.t bugfix: use etcd:watchcancel to reduce connections in etcdv3 (#2299) 2020-09-28 18:05:47 +08:00
etcd.t fix: Update error message when Route doesn't exist (#2304) 2020-10-06 11:48:52 +08:00
json.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
log.t feature: support to print log with specific prefix. (#1284) 2020-03-31 10:25:05 +08:00
lrucache.t change: make lrucache lock optional (#2575) 2020-11-02 16:47:32 +08:00
profile.t feature: divide config.yaml into two files config-custom.yaml & confi… (#2023) 2020-08-18 20:18:55 +08:00
random.t bugfix: set random seed for each worker process at init_worker phase, only init phase is not enough. (#2357) 2020-10-09 16:39:49 +08:00
request.t core: support get_scheme/host/port/http_version in core.request (#1978) 2020-08-04 09:36:05 +08:00
response.t bugfix: avoid overwriting Vary header in cors plugin (#2271) 2020-09-27 16:43:09 +08:00
schema.t bugfix(lrucache): when creating cached objects, use resty-lock to avoid repeated creation. (#1486) 2020-04-22 17:47:16 +08:00
string.t chore: add string utility for simplicity and correctness (#2181) 2020-09-10 16:49:20 +08:00
table.t fix: plugin hot reload should work on node (#2430) 2020-11-03 13:46:24 +08:00
timer.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
uid.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
utils.t change: read 8bytes from /dev/urandom as the random seed for better randomness (#2437) 2020-10-19 14:53:48 +08:00