Chris Goller
977c9b6b78
Update build system for javascript/go asset packaging
2016-09-19 13:45:05 -07:00
Will Piers
a1a5631513
Add build:dev option to build with dev config one time
2016-09-19 13:45:05 -07:00
Chris Goller
da7bcec399
Update the build instructions with more common practices
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
Will Piers
aae54875eb
Add html template with react-root for the js to render into
2016-09-19 13:45:05 -07:00
Will Piers
e349bcaed0
Have webpack build html file into output
2016-09-19 13:45:05 -07:00
Chris Goller
3e56f45b90
Update circle and makefile to build and test everything.
...
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-19 13:45:05 -07:00
Will Piers
ea24800d3f
Tweak build output path and gitignore
...
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Will Piers
4d20b2af4a
Bring over enterprise ui and configuration
...
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Chris Goller
60267cb097
Merge pull request #53 from influxdata/feature/#42-influx-client
...
Influx implementation of TimeSeries
2016-09-19 11:57:25 -05:00
Tim Raymond
b71d4e9791
Add influxdb to Godep for client
...
CI didn't catch this because it wasn't running the Go tests, and I
didn't catch this because I have a non-trivial GOPATH :)
2016-09-19 10:25:34 -04:00
Tim Raymond
7a6cba805e
Rework domain errs to be strings
...
At @goller's recommendation, we're following @benbjohnson's advice laid
out here: https://github.com/benbjohnson/wtf/blob/master/errors.go and
moving errors to the top level package. This cleaned up some ugliness in
the tests where we needed to type assert.
2016-09-19 10:12:52 -04:00
Chris Goller
f475b5e3a9
Fix circle syntax typos
2016-09-16 16:16:20 -05:00
Chris Goller
d9ef50518f
Update circle.yml to request docker to run.
2016-09-16 16:07:58 -05:00
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