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

m-lab / locate / 1572

07 Apr 2025 03:14PM UTC coverage: 96.553% (+0.1%) from 96.413%
1572

push

travis-pro

web-flow
Adds a new "geo" format the /v2/siteinfo/registrations endpoint (#224)

* Adds a new Locate endpoint /v2/siteinfo/geo

The new endpoint will return a GeoJSON feature collection which represents all
machines that Locate knows about.

* Actually appends the Features to the FeatureCollection

Also, removes an incorrect change to handler.go, and updates a comment.

* Updates github.com/m-lab/go to v0.1.76

* Changes properties in GeoJSON returned by registrations?format=geo

The fields used by the status map on the M-Lab website are completely different
than what we have available to us from the Locate registrations. The status map
will have to start displaying different data with each measurement site.

* Fixes heartbeat unit tests

The unit tests were not expecting the "Org" field in the host.Name struct, but
that field is now populated in all V2 and V3 hostnames.

24 of 26 new or added lines in 2 files covered. (92.31%)

2017 of 2089 relevant lines covered (96.55%)

1.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

97.04
/handler/handler.go


Source Not Available

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