Commit Graph

167 Commits (45c7295f45837a06723e6b22aa604f76246c4d2b)

Author SHA1 Message Date
Chris Goller 5077efc60c Merge pull request #59 from influxdata/feature/docker
Update docker and makefile to use mrfusion
2016-09-16 16:01:30 -05:00
Chris Goller b5f282271b Update docker and makefile to use mrfusion 2016-09-16 15:47:38 -05:00
Chris Goller 1948519fc9 Add design ideas around autogenerated golang http server from swagger 2016-09-16 14:20:04 -05:00
Chris Goller 5f99983e57 Merge pull request #56 from influxdata/feature/static-assets
Add simple static asset packaging.
2016-09-16 13:55:23 -05:00
Chris Goller 360d6ef577 Update Makefile to use assets 2016-09-16 13:51:01 -05:00
Chris Goller 1de8b61682 Update static assets to use ui/build 2016-09-16 13:47:58 -05:00
Will Piers 04ad5cfb1c Remove dockerignore 2016-09-16 11:39:54 -07:00
Will Piers 2714d18d9c Merge pull request #58 from influxdata/remove-docker
Remove docker stuff for now
2016-09-16 11:33:59 -07:00
Will Piers e8c9d83457 Remove docker stuff for now 2016-09-16 11:32:31 -07:00
Chris Goller 1f052fa3c3 Remove docker builds from circle for the moment 2016-09-16 12:53:13 -05:00
Chris Goller d2406ba031 Add simple static asset packaging.
Closes #5
2016-09-16 12:21:29 -05:00
Tim Raymond 90104acbc7 Update influx package to support MonitoredServices
The Timeseries interface was updated to include MonitoredServices as
part of its spec. This adds a stub implementation of that.
2016-09-16 12:11:28 -04:00
Tim Raymond a89def2349 Merge branch 'develop' into feature/#42-influx-client 2016-09-16 09:51:58 -04:00
Chris Goller f910e6aaba Merge pull request #51 from influxdata/feature/monitored-hosts
Add API for monitored services.
2016-09-15 18:41:40 -05:00
Chris Goller d227d240e9 Merge pull request #55 from influxdata/feature/circle-tests
Add Makefile and update circle to run golang tests
2016-09-15 18:41:28 -05:00
Chris Goller 084d3ea2dd Update circle to force using gdm from within .go_workspace 2016-09-15 18:28:42 -05:00
Chris Goller d40f53913e Add Makefile to coordinate builds 2016-09-15 16:01:51 -05:00
Chris Goller fa8d2d912b Add go testing to circle 2016-09-15 15:00:56 -05:00
Tim Raymond d8efea5da7 Add timeout error for influx
This adds a type to be returned when requests to InfluxDB were cancelled
or timed out.
2016-09-15 15:08:25 -04:00
Tim Raymond 05dfabc06b Add coverage for bad hostnames and cancellation
The case where users passed bad hostnames to create new influx clients
was untested as well as the cancellation logic.
2016-09-15 14:01:53 -04:00
Tim Raymond f6ac18b692 Supprt for cancelling in-flight influx requests
If a request upstream is cancelled, we can propagate the cancellation
down to our queries to Influx using context's cancellation
functionality. This patch adds support for this.
2016-09-15 13:42:56 -04: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
Will Piers 6d0d7aa1cc Merge pull request #35 from influxdata/create-react-app
Use create-react-app
2016-09-15 09:24:16 -07:00
Will Piers 9cb3fbd8da Amend Docker setup to work with create react app 2016-09-14 15:42:36 -07:00
Will Piers 8d9fec8228 Merge develop 2016-09-14 14:33:32 -07:00
Tim Raymond 3116731abe Add influx client
This adds a simple HTTP influx client to fetch time series results. It
implements the TimeSeries interface. Also included is an implementation
of the mrfusion.Results interface that wraps results returned from the
influx client.

We only support HTTP connections (there's also a UDP influx client). We
also require that all Queries to Influx be fully-qualified--they should
include the database and retention policies in the query.

This also makes Resuls a json.Marshaler. In order to hand results back
to clients, we need to guarantee that those results can be serialized to
json in some form. json.Marshaller is just such a guarantee!
2016-09-14 13:46:43 -04:00
Chris Goller 11afa3ce68 Merge pull request #41 from influxdata/feature/mock
Simple Mock implementation of Proxy and Explorations
2016-09-13 15:52:21 -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
Chris Goller 4709051eb1 Add mock implementation of timeseries and explorerererererer
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00
Chris Goller 22e65011e1 Merge pull request #39 from influxdata/feature/types
Add interfaces to backend data and logic.
2016-09-12 18:32:17 -05:00
Chris Goller 9c4d645552 Add interfaces to backend data and logic. 2016-09-12 14:43:37 -05:00
Chris Goller a96b753b77 Merge pull request #36 from influxdata/feature/tr-autogen-server
Auto-generate backend with stubbed ops
2016-09-12 14:42:16 -05:00
Tim Raymond 5ef7fb6faf Add a Godeps file
This initializes `gdm` for tracking our application dependencies. This
was generated using verison 1.4 of `gdm` which can be fetched from
`github.com/sparcc/gdm`.
2016-09-12 15:30:54 -04: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
Chris Goller c0a3abe620 Merge pull request #1 from feature/design-draft
* feature/design-draft:
  Update swagger definition to use Explorations instead of Explorers
  Update design doc
  Use the chronograf name instead of enterprise
  Update swagger definition based on group discussion.
  Update design to reflect discussions.
  Update query response definition to simplify links.
  Reword swagger definition description of dashboard PUT
  Update swagger definition so users will have roles and ACLs are now Permissions.
  Update swagger definition to fix /dashboards/{id} response object typo.
  Update swagger definition to rename layout to dashboard.
  Fix invalid swagger definitions
  Update swagger interface to reflect our discussions.
  Spelling
  Update query proxy section
  Update design document organization; Add more specifics about releases and queries.
  Add a possible sequence flow for queries
  Add initial draft (sketch) of design
2016-09-12 14:08:02 -05:00
Chris Goller bc80480d69 Update swagger definition to use Explorations instead of Explorers 2016-09-12 14:02:05 -05:00
Chris Goller 8820899a3d Update design doc 2016-09-12 14:02:05 -05:00
Chris Goller 0ee1a125a0 Use the chronograf name instead of enterprise 2016-09-12 14:02:05 -05:00
Chris Goller 22134acfff Update swagger definition based on group discussion. 2016-09-12 14:02:05 -05:00
Chris Goller d9a3a957a9 Update design to reflect discussions. 2016-09-12 14:02:05 -05:00
Chris Goller c35bed3cff Update query response definition to simplify links. 2016-09-12 14:02:05 -05:00
Chris Goller 670d4dd17b Reword swagger definition description of dashboard PUT 2016-09-12 14:02:05 -05:00
Chris Goller 81c90208ba Update swagger definition so users will have roles and ACLs are now Permissions. 2016-09-12 14:02:05 -05:00
Chris Goller ee7dc04e44 Update swagger definition to fix /dashboards/{id} response object typo. 2016-09-12 14:02:05 -05:00
Chris Goller dc7eab7f17 Update swagger definition to rename layout to dashboard. 2016-09-12 14:02:05 -05:00
Chris Goller 36c0fb674c Fix invalid swagger definitions 2016-09-12 14:02:05 -05:00
Chris Goller 0899c297a6 Update swagger interface to reflect our discussions. 2016-09-12 14:02:05 -05:00
gunnaraasen 009f865603 Spelling 2016-09-12 14:02:05 -05:00