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

grafana-tools / sdk / 241
54%

Build:
DEFAULT BRANCH: master
Ran 05 Mar 2020 07:49PM UTC
Jobs 9
Files 12
Run time 2min
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

05 Mar 2020 07:47PM UTC coverage: 43.17% (+0.6%) from 42.555%
241

push

travis-ci

web-flow
Fix GetDashboard API mess, update README (#73)

* rest: dashboard: separate slug/uid calls

Separate UID/slug calls of `/api/dashboards/...` into two different
methods. Hide the general methods which are called by the wrappers. This
will allow us in the future to remove the slug calls once they get
removed from Grafana.

Remove the second variable returned by `setPrefix` because it is not
used. Remove the `uid/` handling from there as it should not know about
such cases. It is merely for adding a prefix `file/` or `db/` depending
on the passed string. `uid` should be moved into the separate method.

Fix the `Deprecated` comment format so that it would show up in IDEs
properly.

This overall improves the clarity of the API that we expose to our
users. Finally, lets reuse getRawDashboard() in the other method which
returns the same data, just parsed.

* Update README

* cmd: backup-dashboards: fix to use the new API

* rest: dashboard: remove extra setPrefix() call

* test: mark helpers, separate tests into proper files

* test: fix typos, Error() -> Fatal()

It is really impossible to continue if any of those calls fail.

25 of 25 new or added lines in 1 file covered. (100.0%)

651 of 1508 relevant lines covered (43.17%)

13.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 241.1 (GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1) 05 Mar 2020 07:49PM UTC 0
43.17
Travis Job 241.1
2 241.2 (GRAFANA_VERSION=6.5.3 GRAFANA_INTEGRATION=1) 05 Mar 2020 07:49PM UTC 0
43.17
Travis Job 241.2
3 241.3 (GRAFANA_VERSION=6.4.5 1.13.x= GRAFANA_INTEGRATION=1) 05 Mar 2020 07:49PM UTC 0
43.17
Travis Job 241.3
4 241.4 (GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1) 05 Mar 2020 07:49PM UTC 0
43.17
Travis Job 241.4
5 241.5 (GRAFANA_VERSION=6.5.3 GRAFANA_INTEGRATION=1) 05 Mar 2020 07:49PM UTC 0
43.17
Travis Job 241.5
6 241.6 (GRAFANA_VERSION=6.4.5 GRAFANA_INTEGRATION=1) 05 Mar 2020 07:50PM UTC 0
43.17
Travis Job 241.6
7 241.7 (GRAFANA_VERSION=6.6.2 GRAFANA_INTEGRATION=1) 05 Mar 2020 07:50PM UTC 0
43.17
Travis Job 241.7
8 241.8 (GRAFANA_VERSION=6.5.3 GRAFANA_INTEGRATION=1) 05 Mar 2020 07:50PM UTC 0
43.17
Travis Job 241.8
9 241.9 (GRAFANA_VERSION=6.4.5 GRAFANA_INTEGRATION=1) 05 Mar 2020 07:51PM UTC 0
43.17
Travis Job 241.9
Source Files on build 241
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #241
  • ebfd6e29 on github
  • Prev Build on master (#236)
  • Next Build on master (#250)
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