• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / incubator-apisix / 4001
47%

Build:
DEFAULT BRANCH: master
Ran 22 Jun 2020 06:39AM UTC
Jobs 1
Files 89
Run time 15s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4001

push

travis-ci

web-flow
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
```

3270 of 6858 relevant lines covered (47.68%)

244.82 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4001.2 (OSNAME=osx_openresty) 22 Jun 2020 06:39AM UTC 0
47.68
Travis Job 4001.2
Source Files on build 4001
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4001
  • 748e3375 on github
  • Prev Build on master (#3997)
  • Next Build on master (#4002)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc