Chris Goller
0a583b2492
Merge pull request #61 from influxdata/feature/fix-index
...
Update autogenerated index.html to work from /
2016-09-19 15:16:48 -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
da1e1d9140
Merge pull request #57 from influxdata/feature/enterprise-ui
...
Bring over enterprise ui and configuration
2016-09-19 13:53:22 -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
Will Piers
5d9b071a15
Add build:dev option to build with dev config one time
2016-09-19 13:45:05 -07:00
Chris Goller
2d361e4fe8
Update the build instructions with more common practices
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
Will Piers
8525144618
Add html template with react-root for the js to render into
2016-09-19 13:45:05 -07:00
Will Piers
c528d1186e
Have webpack build html file into output
2016-09-19 13:45:05 -07:00
Chris Goller
840b00b4d0
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
fb0d0c92fa
Tweak build output path and gitignore
...
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Will Piers
d7ae615e37
Bring over enterprise ui and configuration
...
Signed-off-by: Andrew Watkins <watts@influxdb.com>
2016-09-19 13:45:05 -07:00
Chris Goller
f29d73e5fc
Merge pull request #53 from influxdata/feature/#42-influx-client
...
Influx implementation of TimeSeries
2016-09-19 11:57:25 -05:00
Tim Raymond
dc7cea7d0e
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
aacc6180d3
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
7d6b0f9031
Fix circle syntax typos
2016-09-16 16:16:20 -05:00
Chris Goller
d236076cf1
Update circle.yml to request docker to run.
2016-09-16 16:07:58 -05:00
Chris Goller
e35ba6961a
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
b8d74706fa
Update docker and makefile to use mrfusion
2016-09-16 15:47:38 -05:00
Chris Goller
edf0c106df
Add design ideas around autogenerated golang http server from swagger
2016-09-16 14:20:04 -05:00
Chris Goller
9d2651276e
Merge pull request #56 from influxdata/feature/static-assets
...
Add simple static asset packaging.
2016-09-16 13:55:23 -05:00
Chris Goller
d074894440
Update Makefile to use assets
2016-09-16 13:51:01 -05:00
Chris Goller
e24a16fa9f
Update static assets to use ui/build
2016-09-16 13:47:58 -05:00
Will Piers
64a643e156
Remove dockerignore
2016-09-16 11:39:54 -07:00
Will Piers
9ee1e355ec
Merge pull request #58 from influxdata/remove-docker
...
Remove docker stuff for now
2016-09-16 11:33:59 -07:00
Will Piers
fa00720883
Remove docker stuff for now
2016-09-16 11:32:31 -07:00
Chris Goller
ccadd3307f
Remove docker builds from circle for the moment
2016-09-16 12:53:13 -05:00
Chris Goller
9f0969751f
Add simple static asset packaging.
...
Closes #5
2016-09-16 12:21:29 -05:00
Tim Raymond
536fa7de8f
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
baf41951ea
Merge branch 'develop' into feature/#42-influx-client
2016-09-16 09:51:58 -04:00
Chris Goller
b575628553
Merge pull request #51 from influxdata/feature/monitored-hosts
...
Add API for monitored services.
2016-09-15 18:41:40 -05:00
Chris Goller
af3e09180d
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
5706af62a1
Update circle to force using gdm from within .go_workspace
2016-09-15 18:28:42 -05:00
Chris Goller
f9a5dc75a8
Add Makefile to coordinate builds
2016-09-15 16:01:51 -05:00
Chris Goller
87e8bc0fec
Add go testing to circle
2016-09-15 15:00:56 -05:00
Tim Raymond
d3da914994
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
a8291c602c
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
e7562c298f
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
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
Will Piers
f85c5e3435
Merge pull request #35 from influxdata/create-react-app
...
Use create-react-app
2016-09-15 09:24:16 -07:00
Will Piers
66981ea5ce
Amend Docker setup to work with create react app
2016-09-14 15:42:36 -07:00
Will Piers
848b324796
Merge develop
2016-09-14 14:33:32 -07:00
Tim Raymond
2841364ec4
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
1eb09cc45e
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
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
Chris Goller
538e317582
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
79948edadf
Add mock implementation of timeseries and explorerererererer
...
Signed-off-by: Will Piers <wpiers0405@gmail.com>
2016-09-12 18:32:44 -05:00