Commit Graph

208 Commits (ba5dc411df19a3817b0bace15e3e1f05a06cec7c)

Author SHA1 Message Date
Christopher Wolff 3855ad9f33 chore: update Flux to v0.37.2 2019-07-24 12:57:37 -07:00
Christopher Wolff 63c0f40548 fix(query): use auth-wrapped org and bucket services for query 2019-07-19 20:02:53 -06:00
Nathaniel Cook 54ea9d94dd chore(flux): update flux to v0.36.2 2019-07-12 11:15:58 -06:00
Nathaniel Cook e59c72b245 fix(tests): update e2e tests for new flux executetest methods 2019-07-12 11:15:58 -06:00
Nathaniel Cook c524953af1 chore: update flux to v0.36.1 2019-07-12 11:15:58 -06:00
Lorenzo Affetti fc21859f41 chore: update Flux to v0.35.1 2019-07-03 18:34:55 +02:00
Nathaniel Cook 11a4b911b0 fix(query/influxql): use explicit mergeKey parameter 2019-07-03 09:48:31 -06:00
Adam 4faf2a24de chore: update Flux to v0.34.2 2019-06-27 13:28:52 -04:00
Jonathan A. Sternberg 2c32826b72
deps: upgrade to flux v0.34.1 (#14206) 2019-06-26 11:31:45 -05:00
Jonathan A. Sternberg 9d91ac7a2c
deps: upgrade to flux v0.34.0 (#14205)
https://github.com/influxdata/flux/releases/tag/v0.34.0
2019-06-26 10:14:50 -05:00
Chris Goller 14e7daa6e4
fix client tracing propagation from doubly recording (#14204)
Closes #14203

* chore(vendor): update to opentracing 1.1.0

* fix(http): finish client span

* fix(http): remove extra span injection
2019-06-26 00:48:15 -05:00
Adam 1d84bf6516 fix(stdlib/testing): skip flaky test regexp_replaceAllString 2019-06-18 16:25:59 -04:00
Christopher Wolff 67236ea887 refactor(http): make http.Query use FluxCompiler when query is passed as text 2019-06-18 11:45:17 -07:00
Christopher Wolff 8800e40eef chore: update Flux to v0.32.1 2019-06-10 10:54:55 -07:00
Jonathan A. Sternberg c446421445
chore(flux): update to Flux v0.32.0 2019-06-06 11:26:44 -05:00
Jonathan A. Sternberg 65dabb0774
Merge branch 'master' into flux-staging 2019-06-06 11:22:04 -05:00
Giacomo Tirabassi fd4d593e21
updated vault dependencies to own module (#14045) 2019-06-03 15:41:02 +02:00
Christopher Wolff e19bcf235c chore: update go.mod to point at latest flux master 2019-05-30 16:29:31 -07:00
Jonathan A. Sternberg c560e27e1d
chore(flux): update to Flux v0.31.1 (#14015) 2019-05-29 15:48:23 -05:00
Mark Rushakoff f904c92b5a chore: add go directive to go.mod
As of golang/go#31960, go1.13 (or tip) will always add the go directive
to go.mod. Add it now as go 1.12 so that we don't have churn later as
people start using 1.13, before we're ready to officially switch to
building influxdb with 1.13.
2019-05-29 09:09:32 -07:00
Jonathan A. Sternberg ebdbc394fc
chore(flux): update to Flux v0.31.0 (#14002)
* refactor(storage/reads): update the table implementation for the interface change (#13994)

* chore(flux): update to Flux v0.31.0
2019-05-28 17:24:26 -05:00
Nathaniel Cook faa5fddf7b Merge branch 'master' into flux-staging 2019-05-15 10:12:14 -06:00
Nathaniel Cook bbf7a771c9 chore(flux): update to Flux v0.29.0 2019-05-15 10:03:48 -06:00
Robert-André Mauchin 5079314ab5 chore(dep): update kin-openapi to v0.2.0
The API slightly changed: LoadSwaggerFromYAMLData is now replaced
by LoadSwaggerFromData.
See: https://github.com/getkin/kin-openapi/pull/67

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-05-15 00:23:32 +02:00
Adam ae25f0c448 Merge remote-tracking branch 'origin/master' into flux-staging 2019-05-09 15:29:00 -04:00
Jacob Marble aa5c77409d
backport: Fix open/close race in SeriesFile (#13837) 2019-05-08 11:39:24 -07:00
jlapacik ccdd83422d dep: update flux 2019-05-07 09:59:58 -07:00
Nathaniel Cook 7047172568 chore(dep): update to Flux v0.28.3 2019-05-01 09:45:53 -06:00
Jonathan A. Sternberg 9961969ff8
deps: update Flux to v0.28.2 2019-04-26 16:03:06 -05:00
Christopher Wolff 26f93b0886 chore: update Flux to v0.28.1 2019-04-25 11:23:35 -07:00
Nathaniel Cook 4c05b10cbe chore(dep): update Flux to v0.28.0 2019-04-24 13:09:06 -06:00
Nathaniel Cook 2ca8ebe34d chore(dep): update Flux to v0.27.0 2019-04-22 17:02:47 -06:00
Christopher M. Wolff c9f94d4ee8
refactor(query): add parameters to query controller config (#13554)
Recently added to controller config:
  ConcurrencyQuota
  MemoryBytesQuotaPerQuery
  QueueSize
2019-04-22 12:11:32 -07:00
Nathaniel Cook 63cb413971 chore(dep): update Flux to v0.26.0 2019-04-18 10:51:35 -06:00
Christopher Wolff a908d9e287 chore: update flux dependencies 2019-04-12 07:15:27 -07:00
Christopher M. Wolff dec149d22d refactor(query): update testing InfluxQL testing compiler to use new interface (#13107)
Fixes influxdata/flux#1099.
2019-04-12 07:15:27 -07:00
Ryan Betts 900edc4938 chore: update Flux to 0.25.0 2019-04-08 14:24:54 -04:00
Jeff Wendling 5dc3e52fd9 chore: bump gogo/protobuf and regenerate
It had been bumped previously from v1.1.1 to v1.2.0 and nothing was
regenerated. This bumps it to v1.2.1 and regenerates.
2019-04-03 15:42:33 -06:00
Jonathan A. Sternberg d1f7ae1af7
deps: upgrade to flux 0.24.0 2019-04-01 11:01:59 -05:00
Christopher M. Wolff f945b84642
refactor(stdlb): Change plan.PlanNode to plan.Node (#12906) 2019-03-27 14:19:04 -07:00
Nathaniel Cook ca6f2ad0c6 Merge branch 'master' into flux-staging 2019-03-27 09:42:48 -06:00
Lorenzo Affetti a49bb73c04 chore: update Flux to v0.23.0 2019-03-26 18:04:18 +01:00
Edd Robinson eff263694b
Merge pull request #12847 from influxdata/er-cache-snapshot-time
Snapshot cache based on age
2019-03-26 11:01:30 +00:00
Mark Rushakoff 7ecb7a23a4 chore: update staticcheck to latest
And fix newly discovered errors.
2019-03-25 10:20:59 -07:00
Edd Robinson aa4e652e43 Add reason to total compaction metric
This commit adds a reason label to the total compaction metric. For
snapshots, the reason will indicate why the cache was snapshotted. For
other compactions, the reason label will be blank.
2019-03-25 15:25:03 +00:00
Stuart Carnie 8abb76cb4e
Merge pull request #12710 from influxdata/sgc/data-gen
Add data generation subcommand to influxd
2019-03-20 11:08:49 -07:00
Stuart Carnie 8669e94904
feat(influxd): Add the generate subcommand 2019-03-19 21:52:26 -07:00
Stuart Carnie 15c8151c52
feat(gen): Add data/gen package from OSS 1.8
This version of the data/gen package adds support for custom schema.
An example of the schema for this version can be found in #11770
2019-03-19 20:35:02 -07:00
jlapacik 042c4eb09e chore: update Flux to v0.22.0 2019-03-19 15:46:37 -07:00
Jonathan A. Sternberg 862f168967
deps: update flux-staging to master of both influxdb and flux (#12698) 2019-03-18 16:13:02 -05:00
Nathaniel Cook 23b409209b chore(flux): update to Flux v0.21.4 2019-03-06 12:51:15 -07:00
Nathaniel Cook da17ba0a9e chore(flux): update to Flux v0.21.3 2019-03-05 14:52:52 -07:00
Jacob Marble b9c7ec439e
feat(influxd): Tracing refactor (#12318)
* feat(launcher): Tracing to log disabled by default

* remove traceLogger and use opentracing directly

* add Jaeger tracing

* go vet && go fmt
2019-03-04 11:48:11 -08:00
Nathaniel Cook d6c46b5721 chore(flux): update to Flux v0.21.2 2019-03-01 11:12:51 -07:00
Nathaniel Cook c143065298 chore(flux): update to Flux v0.21.1 2019-03-01 10:46:58 -07:00
jlapacik d08f5fe835
dep(http): switch Now property to time value on ASTCompiler (#12272)
Closes #12268.
2019-03-01 08:53:24 -08:00
Nathaniel Cook f83abfc81a chore(flux): update to Flux v0.21.0 2019-02-25 15:02:17 -07:00
Jonathan A. Sternberg 70507670c3
feat(storage/reads): add scanned values and bytes metadata to the query (#12156)
This updates influxdb to use the new arbitrary metadata that can be
attached by a source and adds metadata entries for the cursor
statistics.
2019-02-25 14:44:18 -06:00
Adam 4c0262befe
test(stdlib/testing): added new test driver to run builtin tests (#11916) 2019-02-21 22:03:29 -05:00
jlapacik af258e62e7
feat(http): define external preprocessing options via http api (#11939)
Closes #11702.
2019-02-21 13:11:50 -08:00
Nathaniel Cook 817e45d60d chore(flux): update Flux to v0.20.0 2019-02-20 12:53:09 -07:00
Mark Rushakoff ec1019b930 chore: add .editorconfig and enable in CI 2019-02-19 16:58:07 -08:00
Nathaniel Cook 020a11faa8 chore(flux): update to Flux v0.19.0 2019-02-11 13:53:53 -07:00
Christopher Wolff 698de51e67 refactor(query): update to reflect changes to windows 2019-02-08 08:39:52 -08:00
Christopher Wolff 3e8b0fe807 refactor(query): separate "from" into logical and physical procedures
Fixes influxdata/flux#270.
2019-02-07 12:59:54 -08:00
Jonathan A. Sternberg 31dff58d4d
deps: upgrade to Flux v0.18.0 2019-02-07 10:38:09 -06:00
Jonathan A. Sternberg 204d919a92
refactor(query/influxql): use ast compile function from flux (#11749) 2019-02-07 10:02:23 -06:00
Jonathan A. Sternberg 8b20b52f51
refactor(query/influxql): modify the transpiler interface to produce an AST (#11662)
This refactors everything to generate and use a flux AST when
transpiling an influxql query. This also updates the spectests so they
use flux instead of writing out the AST and compare the resulting
AST's.
2019-02-06 10:18:33 -06:00
Lorenzo Affetti ce00375298 refactor(query/stlib): move from implementation from Flux 2019-02-05 17:46:46 +01:00
Leonardo Di Donato bd3c9cc75c fix(vault): correct testcontainers-go dep
Fixes #11199

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-24 14:14:11 +01:00
Nathaniel Cook 9e9a98f9fd
Merge pull request #11421 from influxdata/flux-staging
upgrade to Flux v0.17.0
2019-01-22 15:28:51 -07:00
Nathaniel Cook 5c64332a63 chore(flux): update Flux to v0.17.0 2019-01-22 14:39:16 -07:00
Chris Goller af8f698490 feat(telemetry): add initial telemetry metrics 2019-01-21 13:05:58 -06:00
Nathaniel Cook 54d8ab91c2 chore: update to Flux v0.16.1 2019-01-17 12:55:06 -07:00
Nathaniel Cook cf7eb7834b chore: update Flux to v0.16.0 2019-01-17 09:23:53 -07:00
Nathaniel Cook 1f5ac8f2ce chore: update Flux to v0.15.0 2019-01-16 09:46:27 -07:00
AJ Bond 8b167185f6 chore(ci):Update goreleaser version
Update goreleaser to the latest release version which provides support for multiple binaries within a docker image
2019-01-15 20:36:18 -05:00
Nathaniel Cook 2ebf17645e chore: update Flux to v0.14.0 2019-01-15 08:47:31 -07:00
Nathaniel Cook d0603457b7 refactor(flux): make packages mirror Flux namespaces 2019-01-14 18:00:45 -07:00
Nathaniel Cook 622106caaa Merge branch 'master' into flux-staging 2019-01-14 17:03:57 -07:00
Jacob Marble dda9b8468f WIP fix: Docker image 'influx' gets 'influx' binary 2019-01-14 09:25:05 -08:00
Nathaniel Cook 3a2231be98 Merge branch 'master' into flux-staging 2019-01-11 13:47:49 -07:00
Nathaniel Cook 1708a41fa7 refactor: update query functions for Flux builtins 2019-01-11 13:11:57 -07:00
j. Emrys Landivar (docmerlin) a2674fa03d feat(tasks): update task options from api 2019-01-11 11:55:46 -06:00
jlapacik 5266cba346
deps: updates for packages and imports (#10962) 2019-01-10 14:33:25 -08:00
Mark Rushakoff cc389a3b51 chore: use upstream version of kin-openapi
We were using a fork, but the change introduced in that fork has since
been merged upstream.

Closes #10626.
2019-01-10 11:22:03 -08:00
Jonathan A. Sternberg a59e6b8d25 refactor: rename DoArrow to Do (#2372)
See influxdata/flux#783 for details.
2019-01-10 10:30:25 -07:00
Mark Rushakoff d73d73c0d4 chore: rename imports from platform to influxdb
I did this with a dumb editor macro, so some comments changed too.

Also rename root package from platform to influxdb.

In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.

Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Nathaniel Cook 4d0305574c chore: update Flux to v0.13.0 2019-01-07 16:44:34 -07:00
Adam fa35dea009 feat(query/functions/tests): end to end testing is configured to run against a live storage engine.
all tests use a unique bucket based on the test file name.  copied all tests over from flux repo

the tests are currently disabled due to engine consistency issues:  https://github.com/influxdata/flux/issues/613
2019-01-07 13:05:29 -05:00
Nathaniel Cook 4918b15f35 refactor(http/query): update http query logic for new parser API 2019-01-04 11:28:55 -07:00
Nathaniel Cook 2e2867217e chore: update Flux to v0.12.0 2019-01-03 09:49:24 -07:00
Adam 9a561f8b53 manually merged addition of secrets to launcher 2019-01-02 15:42:55 -05:00
Andrew Watkins 3429e8d0c6
feat(auth): rewrite authorization service (#2157)
* feat(view-token-overlay): add view token overlay

* test(tokens): update tests

* chore(auths): rename mock data file

* feat(token-view): clicking on description opens token view modal

* feat(token-view): add ability to close overlay

* feat(token-view): display token permissions with updated permissions shape

* feat(token-view): wip update authorization and permission shapes

* feat(auth): wip refactor auth permissions

* fix(auth): generate permissions via functions

* fix(auth): make Id ID

* chore(types): update generated client

* feat(auth): wip add user and org names to auth

* fix(user): didnt save rebase

* feat(auth): WIP refactor auth

* feat(auth): check for user existence during auth creation

* feat(auth): org must exist during auth creation

* fix(auth): pluralize telegrafs resource type

* docs(http): update swagger definition for the Authorization

* test(auth): fix broken tests

* docs(swagger): update cur_swagger Authrorizations

* fix(api): remove trace from cur_swag

* test(ui/token): update components with new generated type definitions

* feat(http): add lookup service adding names for permissions

* fix(http): remove debugging panics

* chore: go tidy

* fix: unsaved rebase

* test(idpe): add ids to Authorizations for log tests
2018-12-28 15:02:19 -08:00
Chris Goller 4f38c8cad9 feat(http): add accept parsing for telegraf 2018-12-26 12:23:59 -06:00
Adam 6777b9676c
refactor(query/functions/outputs): refactor to.go to use arrow data … (#2131)
* refactor(query/functions/outputs): refactor to.go  to use arrow data structures

* update flux to latest master
2018-12-21 11:39:53 -05:00
Nathaniel Cook 89f4525841 build(Makefile): fix various bug with makefiles
Fixes subdir ordering.
Works around issue with stringer not working with Go modules.
Fixes issues with generated code being ignored.

Fixes #2044
2018-12-19 17:02:19 -07:00
Nathaniel Cook 5d31665ae8 chore(Makefile): fix broken nightly builds after Makefile updates
There were two issues.First the `chronograf` subdir was not listed.
Second the tmpl generate dependency was not listed in the tools.go list
of dependencies.

Fixes #2044
2018-12-19 13:52:33 -07:00
Nathaniel Cook d6c0a393b0 Merge branch 'master' into flux-staging 2018-12-19 11:30:55 -07:00
Michael Desa 28cea4d957 feat(platform): add generic kv store
Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

feat(kv): add kv store interface for services

feat(bolt): add boltdb implementation of kv.Store

spike(platform): add kv backed user service

feat(kv): add static cursor

Note here that this operation cannot be transactionally done. This poses
a bit of issues that will need to be worked out.

fix(bolt): use error explicit error message

squash: play with interface a bit

fix(kv): remove commit and rollback from kv interface

feat(inmem): add inmem kv store

chore: add note for inmem transactions

fix(bolt): remove call to tx in kv store tests

feat(kv): add tests for static cursor

doc(kv): add comments to store and associated interfaces

doc(bolt): add comments to key value store

feat(testing): add kv store tests

test(testing): add conformance test for kv.Store

test(inmem): add kv.Store conformance tests

doc(inmem): add comments to key value store

feat(inmem): remove CreateBucketIfNotExists from Tx interface

feat(bolt): remove CreateBucketIfNotExists from Tx

feat(inmem): remove CreateBucketIfNotExists from Tx

doc(kv): add note to bucket interface about conditions methods can be called

feat(kv): add context methods to kv.Tx

feat(bolt): add context methods to bolt.Tx

feat(inmem): add context methods to inmem.Tx

test(kv): add contract tests for view/update transactions

feat(kv): ensure that static cursor is always valid

Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

fix(kv): remove error from cursor methods

test(kv): remove want errors from cursor test

test(testing): add concurrent update test for kv.Store

feat(kv): make kv user service an example service

fix(testing): add concurrnent update test to the kv.Store contract tests

test(platform): fix example kv service tests

dep(platform): make platform tidy
2018-12-18 16:08:48 -05:00