apisix/t/admin
YuanSheng Wang 748e33756b
refactory: collect upstream logic and put them in a single file. (#1734)
feature: support dynamic upstream in plugin.

here is a mini  example in `access` phase of plugin:

```lua
    local up_conf = {
        type = "roundrobin",
        nodes = {
            {host = conf.upstream.ip, port = conf.upstream.port, weight = 1},
        }
    }

    local ok, err = upstream.check_schema(up_conf)
    if not ok then
        return 500, err
    end

    local matched_route = ctx.matched_route
    upstream.set(ctx, up_conf.type .. "#route_" .. matched_route.value.id,
                 ctx.conf_version, up_conf, matched_route)
    return
```
2020-06-22 14:21:42 +08:00
..
balancer.t refactory: collect upstream logic and put them in a single file. (#1734) 2020-06-22 14:21:42 +08:00
consumers.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
delete-service.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
delete-upstream.t license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
global-rules.t bugfix: id can be string object, which contains ^[a-zA-Z0-9-_]+$. (#1739) 2020-06-21 16:28:11 +08:00
health-check.t optimize: updated the error message after updated new jsonschema. (#1011) 2020-01-02 21:56:42 +08:00
plugins-reload.t core: support to set response headers by table. (#1129) 2020-02-18 15:19:12 +08:00
plugins.t feature: support authorization Plugin for Keycloak Identity Server (#1701) 2020-06-16 13:51:36 +08:00
routes-array-nodes.t test: updated style. (#1606) 2020-05-22 21:34:58 +08:00
routes.t bugfix: id can be string object, which contains ^[a-zA-Z0-9-_]+$. (#1739) 2020-06-21 16:28:11 +08:00
schema.t change: set default reject code for some plugins (#1696) 2020-06-11 15:30:14 +08:00
services-array-nodes.t test: updated style. (#1606) 2020-05-22 21:34:58 +08:00
services-string-id.t test: add test cases about the string id in service #1659 (#1750) 2020-06-22 12:55:58 +08:00
services.t bugfix: id can be string object, which contains ^[a-zA-Z0-9-_]+$. (#1739) 2020-06-21 16:28:11 +08:00
ssl.t bugfix: id can be string object, which contains ^[a-zA-Z0-9-_]+$. (#1739) 2020-06-21 16:28:11 +08:00
stream-routes-disable.t bugfix: throw error meg when call admin API to enable mqtt plugin but stream_proxy is disabled. (#1407) 2020-04-08 16:24:55 +08:00
stream-routes.t bugfix: id can be string object, which contains ^[a-zA-Z0-9-_]+$. (#1739) 2020-06-21 16:28:11 +08:00
token.t feature: supported key-based authentication to the dashboard. (#1169) 2020-03-05 14:48:27 +08:00
upstream-array-nodes.t feature: support discovery center (#1440) 2020-05-14 23:20:44 +08:00
upstream.t bugfix: id can be string object, which contains ^[a-zA-Z0-9-_]+$. (#1739) 2020-06-21 16:28:11 +08:00