Commit Graph

3194 Commits (e9ebc5ca560a329586e9fd0835c9a89305b5950f)

Author SHA1 Message Date
Will Faurot 16056bd8ad Update eslint rules
I did away with the private module for now, it was causing more issues
than were worth the effort IMO. No reason it can't come back as the org
grows and we want to have consistent code style across apps.
2016-09-20 11:49:57 -07:00
Will Faurot 4be3b32da8 Bump lint-related packages 2016-09-20 11:49:30 -07:00
Will Piers bcb6ec7960 Remove shared propTypes declarations and amend Makefile with dev server 2016-09-20 11:44:22 -07:00
Chris Goller e4aa0603b7 Merge pull request #69 from influxdata/feature/fix-prod-webpack
Fix prod webpack to look to / instead of /build
2016-09-20 09:10:23 -07:00
Chris Goller 7dc74500bd Fix prod webpack to look to / instead of /build 2016-09-20 09:09:36 -07:00
Chris Goller 6ac67531b2 Merge pull request #62 from influxdata/feature/default-index
Add default content to always go to index.html.
2016-09-19 19:15:31 -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
Jade McGough 3a0b233d04 removing old API dependencies 2016-09-19 16:43:59 -07:00
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