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

grafana-tools / sdk / 381 / 6
54%
master: 54%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2020 05:56PM UTC
Files 14
Run time 5s
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

13 Nov 2020 04:04PM UTC coverage: 48.349% (+1.0%) from 47.384%
GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1

push

travis-ci

web-flow
user: Allow currently signed in user to change organizations (#112)

* user: Allow signed in user to change organization

Adds a new method to allow the currently signed user to switch its
context into a given organization (provided via the organizationId).
This is particularly useful when trying to automate processes like
generating tokens for a given organization as explained in:
https://grafana.com/docs/grafana/latest/tutorials/api_org_token_howto/.

This PR reflects the /api/user/using/:organizationId API call.

* user: Add integration test for SwitchActualUserContext

The workflow for the integration test involves creating a new
organization, invoking the `SwitchActualUserContext` function and
checking that a call to `client.GetActualOrg` returns the newly created
organization.

820 of 1696 relevant lines covered (48.35%)

2.12 hits per line

Source Files on job 381.6 (GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 367
  • Travis Job 381.6
  • be34db35 on github
  • Prev Job for GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1 on master (#380.2)
  • Next Job for GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1 on master (#383.2)
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

© 2025 Coveralls, Inc