Commit Graph

18 Commits (6868fee4f32100ad428a8c96b4f45cac9120a01d)

Author SHA1 Message Date
Chris Goller 283833afb1 Add interface and mock for sources 2016-09-29 17:09:22 -05:00
Gunnar Aasen d927377752 Hook up handlers for the bolt exploration store
Signed-off-by: Chris Goller <chris@influxdb.com>
2016-09-29 16:15:35 -04:00
Chris Goller 2e71909973 Add mock explorations handlers to server. 2016-09-26 18:44:45 -05:00
Chris Goller 81c95f6b0d Update Source to have a username and password in spec 2016-09-23 14:42:54 -07:00
Andrew Watkins 08772df20f Include env variable for influx server
Signed-off-by: Chris Goller <goller@gmail.com>
2016-09-22 14:20:40 -07:00
Chris Goller 113fa01323 Add simple influx backend through cli option. 2016-09-21 15:03:07 -07:00
Chris Goller 73d326d61d Add default content to always go to index.html.
Add mock sources
Add links to sources
2016-09-19 19:08:32 -07:00
Chris Goller 8d43a26b9a Update autogenerated index.html to work from /
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 14:16:33 -07:00
Chris Goller 0f715ddae7 Fix bug where handlers were not serving. 2016-09-19 13:45:05 -07:00
Chris Goller 2304ee76a2 Fix asset serving for development mode
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Chris Goller 4035130b80 Update build system for javascript/go asset packaging 2016-09-19 13:45:05 -07:00
Chris Goller b9b0d4db08 Update bindata to be in dist. Use dev and debug for now 2016-09-19 13:45:05 -07:00
Chris Goller e24a16fa9f Update static assets to use ui/build 2016-09-16 13:47:58 -05:00
Chris Goller 9f0969751f Add simple static asset packaging.
Closes #5
2016-09-16 12:21:29 -05:00
Chris Goller 26d721290c Add API for monitored services.
Closes #49

The /sources/{id}/monitored endpoint will return an array of Services
describing services this data source has monitoring data for.

The response has a `TagKey` and `TagValue` that can be used to specifically
query for the service.
2016-09-15 11:28:51 -05:00
Chris Goller 52331feb63 Move mock handlers to mock and implement proxy.
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Chris Goller dea52dc90e Add mock handler for explorations
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Tim Raymond 912acdd1e6 Auto-generate backend with stubbed ops
This was generated using go-swagger's `swagger` command. The specific
command used was:

`swagger generate server -f swagger.yaml  --with-context`

Fixes #6
2016-09-12 15:12:30 -04:00