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

nats-io / nats-server / 6077
86%
main: 84%

Build:
Build:
LAST BUILD BRANCH: fix_code_coverage
DEFAULT BRANCH: main
Ran 18 Aug 2020 08:06PM UTC
Jobs 1
Files 37
Run time 4s
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

18 Aug 2020 07:58PM UTC coverage: 88.061% (-0.09%) from 88.146%
6077

push

travis-ci

web-flow
Nats based resolver & avoiding nats account server in smaller deployments (#1550)

* Adding nats based resolver and bootstrap system account

These resolver operate on an exclusive  directory
Two types:
full: managing all jwt in the directory
    Will synchronize with other full resolver
    nats-account-server will also run such a resolver
cache: lru cache managing only a subset of all jwt in the directory
    Will lookup jwt from full resolver
    Can overwrite expiration with a ttl for the file

Both:
    track expiration of jwt and clean up
    Support reload
    Notify the server of changed jwt

Bootstrapping system account allows users signed with the system account
jwt to connect, without the server knowing the jwt.
This allows uploading jwt (including system account) using nats by
publishing to $SYS.ACCOUNT.<name>.CLAIMS.UPDATE
Sending a request, server will respond with the result of the operation.

Receive all jwt stored in one server by sending a
request to $SYS.ACCOUNT.CLAIMS.PACK
One server will respond with a message per stored jwt.
The end of the responses is indicated by an empty message.

The content of dirstore.go and dirstore_test.go was moved from
nats-account-server

Signed-off-by: Matthias Hanel <mh@synadia.com>

878 of 878 new or added lines in 6 files covered. (100.0%)

27268 of 30965 relevant lines covered (88.06%)

79698.89 hits per line

Jobs
ID Job ID Ran Files Coverage
2 6077.2 (GO111MODULE=off) 18 Aug 2020 08:06PM UTC 0
88.06
Travis Job 6077.2
Source Files on build 6077
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6077
  • 48c87c14 on github
  • Prev Build on master (#6072)
  • Next Build on master (#6086)
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