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

yarpc / yarpc-go / 3994
81%
master: %

Build:
Build:
LAST BUILD BRANCH: nooptrace
DEFAULT BRANCH: master
Ran 27 Jan 2017 11:58PM UTC
Jobs 2
Files 140
Run time 1min
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
3994

push

travis-ci

web-flow
Allow ServiceName configuration for Outbounds

Summary: Currently, if you want to have multiple outbounds with the same
service name, or if you want to change the service name for an outbound
without changing the 'key' you use to grab the ClientConfig, you had to
jump through some hoops to do so.

This diff adds the ability to set a "ServiceName" on the
transport.Outbounds struct (should be called transport.OutboundSpec - see #706).
If you specify the "ServiceName" it will override the lookup key you
use when grabbing the ClientConfig.
```
outbounds['populous-test'] := transport.Outbounds{
      ServiceName: "populous",
      Unary: tchannel.NewOutbound(),
}

...
// Returns a ClientConfig with service 'populous'
dispatcher.ClientConfig('populous-test')
```

6256 of 7794 relevant lines covered (80.27%)

1.72 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3994.3 (TYPE=test) 27 Jan 2017 11:58PM UTC 0
80.27
Travis Job 3994.3
4 3994.4 (TYPE=test) 28 Jan 2017 12:00AM UTC 0
80.27
Travis Job 3994.4
Source Files on build 3994
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3994
  • f9a03b37 on github
  • Prev Build on dev (#3987)
  • Next Build on dev (#4004)
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