Commit Graph

11980 Commits (3eb6b354788c74925f629bb04da2675ce8292bab)

Author SHA1 Message Date
Christopher Henn d8598bd584 feat(http): add MacroService client
Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-09-20 09:32:04 -07:00
Nathaniel Cook 7069a06864 fix: Update internal HTTP paths for query service
Since all paths for the various query services were the same even though
the API was different it was confusing to work with and debug.
Now all internal paths have a unique name.
2018-09-20 08:43:48 -07:00
Jonathan A. Sternberg 46ed9bc4fb feat: switch to using go modules for building
This updates the dependency manager to use go modules instead of dep so
that we can remove dep as a dependency and we can begin using and giving
feedback on modules within this project. It should simplify dependency
management and make it faster to run the builds too.

The big change is updating the various Makefiles to stop relying on the
vendor directory because it no longer exists. This change creates a
`tools.go` file with the revisions of the tools we use that are currently
in the `required` section of `Gopkg.toml`. We are currently in other
discussions to modify how we handle tool dependency management, but this
change does not change that.
2018-09-20 08:33:15 -07:00
Nathaniel Cook a907329075 fix: Fix typo in goreleaser.yml 2018-09-18 09:07:00 -07:00
Nathaniel Cook f3a7b5005f chore: disable github release with go releaser 2018-09-18 08:55:15 -07:00
Nathaniel Cook 68de8fe58c
Merge pull request #849 from influxdata/nc-goreleaser
chore: Update GoReleaser to publish snapshots
2018-09-17 19:06:19 -06:00
Nathaniel Cook e3fc3ff1b6 chore: Update GoReleaser to publish snapshots 2018-09-17 17:29:20 -07:00
Chris Goller 34fd898d6c
Merge pull request #845 from influxdata/feature/dashboard-client-tests
Feature/dashboard client tests
2018-09-17 12:56:03 -07:00
Chris Goller 0ca00041aa
Merge pull request #847 from influxdata/fix/ast-default
fix(flux/api): ensure ast default
2018-09-17 12:55:09 -07:00
Jonathan A. Sternberg 0e0249ff2e
Merge pull request #839 from influxdata/js-show-tag-values-doc
docs(query/influxql): update the transpiler doc for show tag values
2018-09-17 13:45:48 -05:00
Chris Goller a00720e76d fix(flux/api): ensure ast default
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-09-17 11:22:17 -07:00
Mark Rushakoff fe4b676d06 fix(task/backend): avoid data race in in-memory run log
Return reference to new Run instances from ListRuns, to avoid a data
race on the original element.

Fixes #842.
2018-09-17 09:51:14 -07:00
Chris Goller fbb1cc21b2 fix(http): org response returns empty array 2018-09-16 22:24:48 -05:00
Chris Goller 31af11e3f8 fix(http): user service returns objects rather than array 2018-09-16 22:24:19 -05:00
Christopher Henn bfdc3c3be9 fix(testing): use new error formatting in macro test 2018-09-16 20:15:22 -07:00
Chris Goller a4982e4107 test(http): add dashboard HTTP client tests 2018-09-16 21:39:46 -05:00
Christopher Henn babab631e8 feat(inmem): add MacroService inmem implementation
Also adds some bolt tests.
2018-09-15 07:51:59 -07:00
Lyon Hill c117f0d8ca
fix(task): fix a potential race condition in meta (#836) 2018-09-15 01:29:05 -06:00
kelwang b7070828d2
Merge pull request #763 from influxdata/feat/scraper
Prototype of Scraper
2018-09-14 22:54:22 -04:00
Chris Goller 7748fd61d3
Merge pull request #841 from influxdata/feat/http-client-tests
Feat/http client tests
2018-09-14 21:18:19 -05:00
Chris Goller 31a2ed1fbb feat(testing): add service testing helpers 2018-09-14 21:08:49 -05:00
Chris Goller e0b1f89423 chore(http): remove unneeded function 2018-09-14 19:34:00 -05:00
Chris Goller 01950e9942 fix(http): update tests to use context.Background() 2018-09-14 19:24:32 -05:00
Chris Goller e84f979472 test(http): add user client/server tests 2018-09-14 18:47:05 -05:00
Chris Goller e9695d7caf fix(http): fix org decoding and add test 2018-09-14 18:34:40 -05:00
Chris Goller 235836f4c4 fix(http): remove org parameter and add client tests 2018-09-14 18:03:38 -05:00
Nathaniel Cook 6a48f13577 Merged pull request #826 from influxdata/nc-repl-http
fix: Update REPL to use HTTP API
2018-09-14 16:21:28 -06:00
Jonathan A. Sternberg d5631c3366 docs(query/influxql): update the transpiler doc for show tag values 2018-09-14 16:59:38 -05:00
Jonathan A. Sternberg e884764664 fix(query/influxql): fix the formatting of the influxql readme
The previous format was easier to edit and I reorganized the headers.
2018-09-14 16:33:27 -05:00
Nathaniel Cook 71e13c8e8f chore: Remove redundant Flux tests 2018-09-14 15:32:15 -06:00
Kelvin Wang f636c52fa5 feat(scraper): add scraper lib 2018-09-14 16:59:18 -04:00
Kelvin Wang ae31bebad5 first commit 2018-09-14 16:58:11 -04:00
Christopher Henn 5854f1b2fb Comment macro public members 2018-09-14 13:45:42 -07:00
Christopher Henn 00b61c948b Implement macros API 2018-09-14 13:45:42 -07:00
Nathaniel Cook d65a864ec5 fix: Update REPL to use HTTP API 2018-09-14 14:03:35 -06:00
Chris Goller 29a1eb4714 test(http): add client tests for auth and bucket 2018-09-14 13:18:02 -05:00
Jade McGough 0b70dc99c4
don't store references to internal buckets (#789)
* add types to bucket service tests

* add type to bucket cmd interface

* bucket type needs to be defined in json for POST creations

* rip out bucket type stuff

* remove type from bucket tests

* add InternalBucketID helper fn

* remove more code

* remove org from internal bucket ID
2018-09-14 09:26:59 -07:00
Chris Goller fd1ac9d365
Merge pull request #835 from influxdata/feature/inmem-services
feat(inmem): add in-memory service implementations
2018-09-14 09:34:53 -05:00
Chris Goller eb68362cfc feat(inmem): add in-memory service implementations 2018-09-14 09:25:14 -05:00
Chris Goller 348501afd6
Merge pull request #833 from influxdata/feature/fluxlang
feat(http): add flux AST and Spec endpoints to fluxd
2018-09-13 23:27:38 -05:00
Chris Goller 9673a425ec feat(http): add flux AST and Spec endpoints to fluxd 2018-09-13 23:01:07 -05:00
Jorge Landivar a8a8bfc6e8
Merge pull request #832 from influxdata/fix-id-panic
fix panic in global id
2018-09-13 17:06:52 -05:00
docmerlin (j. Emrys Landivar) a8643bd070 fix panic in global id 2018-09-13 16:07:29 -05:00
Chris Goller 5c75610e3c
Merge pull request #831 from influxdata/feature/flux-auth
Feature/flux auth
2018-09-13 15:39:02 -05:00
Chris Goller 65fa08abca test(http): add flux query service test 2018-09-13 15:26:36 -05:00
Chris Goller 052c896fa4 feat(http): add flux query service client 2018-09-13 13:21:19 -05:00
Chris Goller 310a64fc97 feat(http): use proxy request in flux service 2018-09-13 13:00:27 -05:00
Jorge Landivar 699cd9de4b
Merge pull request #782 from influxdata/api-compat
Api compat test
2018-09-13 12:11:12 -05:00
Chris Goller 02ac64fc35 test(http): add test for querying flux service 2018-09-13 11:56:49 -05:00
Lyon Hill eb260436d6
fix(task): remove race condition when finishing a inmem run (#829)
* fix(task): remove race condition when finishing a inmem run
2018-09-13 10:11:59 -06:00