Commit Graph

17 Commits (63028457af704230621f74f3a2fe4e2b5f392948)

Author SHA1 Message Date
Chris Goller 38d14dd2b8 Add mock explorations handlers to server. 2016-09-26 18:44:45 -05:00
Chris Goller 5762359f24 Update Source to have a username and password in spec 2016-09-23 14:42:54 -07:00
Andrew Watkins 05f4801bf6 Include env variable for influx server
Signed-off-by: Chris Goller <goller@gmail.com>
2016-09-22 14:20:40 -07:00
Chris Goller a1645a45f8 Add simple influx backend through cli option. 2016-09-21 15:03:07 -07:00
Chris Goller aa1a23d9b7 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 2d03f60756 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 cf97216eef Fix bug where handlers were not serving. 2016-09-19 13:45:05 -07:00
Chris Goller d8c42accc9 Fix asset serving for development mode
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Chris Goller 977c9b6b78 Update build system for javascript/go asset packaging 2016-09-19 13:45:05 -07:00
Chris Goller a19a7394e3 Update bindata to be in dist. Use dev and debug for now 2016-09-19 13:45:05 -07:00
Chris Goller 1de8b61682 Update static assets to use ui/build 2016-09-16 13:47:58 -05:00
Chris Goller d2406ba031 Add simple static asset packaging.
Closes #5
2016-09-16 12:21:29 -05:00
Chris Goller ea96c1c292 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 5dbfce783c 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 eb870302ca Add mock handler for explorations
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Chris Goller 7ac57665b4 Update swagger autogen because typo in user/users
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Tim Raymond 75fa4d6a55 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