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

ga4gh / dockstore / 7713 / 9
75%
develop: 75%

Build:
DEFAULT BRANCH: develop
Ran 15 Mar 2019 05:36PM UTC
Files 210
Run time 10s
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

15 Mar 2019 04:12PM UTC coverage: 11.949% (+0.07%) from 11.878%
TESTING_PROFILE=unit-tests

push

travis-ci

web-flow
Don't save token from authorization header (#2228)


When Dockstore API is invoked with a Google token,
we look up the user based on the email associated with that
token. If we don't find a user, we create one. Then we would
save the token along with the user; this was
done to use that token to authenticate subsequent API calls to SAM.

Instead, don't persist the token to the database.

Added a transient field to User to hold the token and when
calls are made to SAM, check that field first.

Not wild about changing the User class to not directly map
to the database -- we don't use @Transient anywhere else. But this
seems to be the lowest impact way of implementing this.

1733 of 14503 relevant lines covered (11.95%)

0.23 hits per line

Source Files on job 7713.9 (TESTING_PROFILE=unit-tests)
  • Tree
  • List 0
  • Changed 24
  • Source Changed 24
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4635
  • Travis Job 7713.9
  • 3d3ed0e2 on github
  • Prev Job for TESTING_PROFILE=unit-tests on develop (#7712.9)
  • Next Job for TESTING_PROFILE=unit-tests on develop (#7717.9)
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