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

kittoframework / kitto / 162
84%
master: 89%

Build:
Build:
LAST BUILD BRANCH: v0.9.2
DEFAULT BRANCH: master
Ran 21 Nov 2016 01:58AM UTC
Jobs 1
Files 16
Run time 1s
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
162

push

travis-ci

davejlong
Break apart router into multiple modules

As the project grows, it seems to make sense to break the router up from one giant module handling all of the API requests to a small base router which passes requests off to modules for each area of the Kitto API. I broke up the router based on the current endpoints defined: dashboards, events and widgets

The dashboard endpoint handles all requests to open dashboards as well as sending reload events to them. The event endpoint handles opening a new SSE connection to stream events to a client. The widget endpoint handles getting data for a specific data source or posting into a data source.

48 of 48 new or added lines in 4 files covered. (100.0%)

148 of 192 relevant lines covered (77.08%)

9.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
lib/kitto/endpoints/event.ex
3
100.0
lib/kitto/router.ex
Jobs
ID Job ID Ran Files Coverage
1 162.1 21 Nov 2016 01:58AM UTC 0
77.08
Travis Job 162.1
Source Files on build 162
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #162
  • ba499e4d on github
  • Next Build on router-split (#163)
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