Timmy Luong
b66079f084
feat: update Static Legend properties to allow hiding without nulling ( #21364 )
2021-05-04 11:17:37 -07:00
Daniel Moran
e28377f05c
fix: deprecate PostSetupUser and `influx setup user` ( #21345 )
2021-04-30 15:30:35 -04:00
Daniel Moran
91d59d9588
fix(upgrade): ensure query config written by `influxd upgrade` is valid ( #21321 )
...
* test: refactor upgrade test to cover the config upgrade
* fix: ensure upgraded query config is valid
2021-04-28 15:41:44 -04:00
Bucky Schwarz
f6a072f82a
feat: expose task id to checks and notification rules ( #21236 )
2021-04-15 16:03:39 -07:00
Timmy Luong
0c88854486
feat: add StaticLegend ( #21218 )
2021-04-15 15:06:01 -07:00
Stuart Carnie
cd39440e3f
feat: Updated swagger for authorization lookup by token query parameter ( #21219 )
2021-04-15 17:41:36 +10:00
Sam Arnold
7b2e122869
refactor: refactor for tasks backport ( #21117 )
...
* chore: remove dead code
* refactor: move FluxLanguageService interface to fluxlang
* chore: run fmt
* refactor: move task.go from top level to task/taskmodel
* chore: run formatter
* chore: fix up import ordering with gci
2021-04-07 14:42:55 -04:00
Daniel Moran
00afd95cb7
refactor: automated move of errors and id from root to kit ( #21101 )
...
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Daniel Moran
3420ed53d3
refactor: modularize backup/restore behavior so it's possible to test using `go test` ( #20991 )
2021-03-23 07:28:38 -04:00
Daniel Moran
316eaa24b4
feat(http): add config option to disable metrics endpoint in influxd ( #20963 )
2021-03-15 15:11:23 -04:00
Daniel Moran
ba4099ddb9
feat(cmd/influx): allow setting shard-group durations for buckets via API and CLI ( #20911 )
...
Co-authored-by: Alexander Savinykh <asavinykh@nbrx.de>
2021-03-11 14:51:03 -05:00
Daniel Moran
25738db42c
feat(http): allow for disabling pprof ( #20827 )
...
And translate pprof-enabled config during upgrade
2021-03-04 09:28:03 -05:00
Daniel Moran
d4a0c34c39
fix(onboarding): deprecate misleading `retentionPeriodHrs` key ( #20798 )
2021-03-01 09:55:39 -05:00
Timmy Luong
b6275bff9e
feat: udpate MosaicViewProperties
2021-02-17 10:48:22 -08:00
Daniel Moran
727a7b58c1
test: replace influxlogger with zaptest logger ( #20589 )
2021-02-11 10:12:39 -05:00
Pavel Zavora
f1299a49b9
fix(http/swagger): repair DBRPs type to match implementation
2021-02-08 15:21:57 +01:00
Daniel Moran
2920b55e19
fix(http): fix passing of bucket ID by write-handler client ( #20679 )
2021-02-02 17:34:40 -05:00
Sam Arnold
781fa0e846
chore: add goimports
2021-01-29 14:06:52 -05:00
Daniel Moran
10fcc2bf1d
fix(influxql): set correct Content-Type on v1 query responses ( #20565 )
2021-01-22 07:31:52 -08:00
dubsky
a22b4e11ec
Merge branch 'master' into feat/geo-widget-backend
2021-01-08 15:16:43 +01:00
Daniel Moran
1494840fb9
fix(http): don't return 500 errors for partial writes ( #20442 )
2021-01-05 07:06:25 -08:00
dubsky
780af91292
fix: inconsistent required property
2020-12-18 19:37:08 +01:00
dubsky
5fe1825dc3
fix: update http/swagger.yml formatting
...
Co-authored-by: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
2020-12-18 19:37:08 +01:00
dubsky
2304ce30f9
fix: formatting & swagger go compatibility check
2020-12-18 19:37:08 +01:00
dubsky
05b9701ac2
feat(geo-widget): backend storage implementation for chronograf geo widget
2020-12-18 19:37:08 +01:00
jl
baa3fbab7b
chore: add dictionaries to the swagger ast specification
2020-12-17 10:27:47 -08:00
Ben Johnson
7dafc2cf34
feat(tsdb): Implement delete with predicate.
2020-12-02 14:55:02 -07:00
Dan Moran
2799ebcfea
fix(http): don't log bodies of V1 write requests
2020-11-23 14:48:20 -05:00
docmerlin (j. Emrys Landivar)
408ab354ef
test: fix TestVariableService_handleGetVariables for changes in DefaultPageSize
2020-11-17 19:29:35 -06:00
Daniel Moran
71f8de3b98
fix(http/legacy): filter on Default=true when no RP given in V1 write ( #20074 )
2020-11-17 16:04:50 -05:00
Cole Mackenzie
6303937b93
fix: Allow self signed certificates to ScraperTarget ( #20047 )
...
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2020-11-17 13:35:41 -05:00
George MacRorie
5954db8c4d
chore(documents): reinstate minimal read-only document store for dashboard templates
2020-11-16 12:41:26 +00:00
George MacRorie
16d916a952
refactor(kv): delete deprecated kv service code
...
This includes removal of a lot of kv.Service responsibilities. However,
it does not finish the re-wiring. It removes documents, telegrafs,
notification rules + endpoints, checks, orgs, users, buckets, passwords,
urms, labels and authorizations. There are some oustanding pieces that
are needed to get kv service compiling (dashboard service urm
dependency). Then all the call sites for kv service need updating and
the new implementations of telegraf and notification rules + endpoints
needed installing (along with any necessary migrations).
2020-11-16 12:41:26 +00:00
pierwill
f7c76658a7
fix(http): Add same site strict flag to session cookie
2020-11-12 15:35:33 -08:00
Daniel Moran
15b9531273
fix: correct various typos ( #19987 )
...
Co-authored-by: kumakichi <xyesan@gmail.com>
2020-11-11 13:54:21 -05:00
Daniel Moran
d8e7de93cc
fix: check write permission in legacy write path ( #19980 )
2020-11-10 18:41:50 -05:00
Andrew Watkins
6ef0e03b33
chore: remove Invites from swagger ( #19971 )
2020-11-10 11:05:43 -08:00
Pavel Závora
c33dc99a47
Merge pull request #19918 from influxdata/swagger/delete_operation_Id
...
chore(swagger): add operationId to /delete
2020-11-10 14:10:11 +01:00
Stuart Carnie
778b9ff9eb
chore: Address linter issues
2020-11-10 11:53:34 +11:00
Stuart Carnie
acd30c863b
fix: Remove bucket and mapping auto-creation from /write API
...
Fixes #19954
2020-11-10 11:53:34 +11:00
Pavel Zavora
49697f0bd4
chore(swagger): add operationId to /delete
2020-11-06 08:30:53 +01:00
Adrian Thurston
30ad7281aa
refactor: replace builtin package with fluxinit/static ( #3304 ) ( #19909 )
...
A static initialization is not desirable in the main binaries, as it forces all
paths of code to init, but it is still useful in tests. It allows static
intialization to be performed once for all tests and eliminates the need to
always add the FluxInit call. Added a fluxinit/static package that calls
fluxinit.FluxInit() to replace the builtin package. This hides the nature of
the initialization and makes it clear that it is mandatory initialization code
getting called.
2020-11-05 16:54:28 -08:00
Ben Johnson
a849bfdef3
Merge pull request #19864 from influxdata/backup-restore
2020-11-05 15:39:04 -07:00
Pavel Zavora
7ca821a9ad
fix(http): fix /ready response content type
2020-11-05 19:20:57 +01:00
Ben Johnson
419b0cf76b
feat: Implement full restore
2020-11-05 10:05:01 -07:00
Ben Johnson
6e1097c625
feat: Minor updates to backup/restore
2020-11-05 10:05:01 -07:00
Ben Johnson
23679c2375
feat: Implement backup/restore CLI subcommands.
2020-11-05 10:05:01 -07:00
George
8ca2989717
feat(dashboards): isolate service in own package ( #19852 )
...
feat(dashboard): add owner ID to dashboard model
This adds the explicit OwnerID field to Dashboard and also adds a
migration which populates dashboard owners IDs based on dashboard owner
URMs.
feat(dashboards): isolate service in own package
This change isolates the dashboards service into its own package. It
also updates the API to no longer interface with user resource mappings.
Instead it defines new handlers which rely on the newly populated owner
ID field.
chore(dashboards): port tests from http package into new service transport package
chore(launcher): use dashboard transport package client in launcher tests
chore(kv): remove now defunkt dashboard service implementations
2020-11-04 15:53:02 +00:00
George MacRorie
b274e15eac
fix(telegraf): support pagination parameters when listing
2020-11-04 15:53:02 +00:00
George MacRorie
5feea36e16
refactor(telegraf): remove references to kv service telegraf service implementation
2020-11-04 15:53:02 +00:00
Stuart Carnie
7e1226b298
feat: Use AuthorizerV1 for authorizing 1.x API requests
...
Setup the AuthorizerV1 in the launcher and pass this to the V1
authentication handler for authorizing 1.x HTTP requests.
2020-10-30 11:56:09 -07:00
Timmy Luong
f6a26ee2b9
feat: update generate ticks into an array of properties for each axis ( #19850 )
...
* feat: update generate ticks into an array of properties for each axis
* fix: add missing operand
* chore: reorder properties to be consistent
* fix: update GenerateYAxisTicks to array of strings
* fix: change expected property to null
2020-10-29 10:59:25 -07:00
Greg
8aa3e6a6ca
fix: add 1.x compatible endpoints to swagger ( #19828 )
2020-10-29 11:51:32 -06:00
George
78cafa861b
refactor(notifications): isolate endpoint service ( #19818 )
...
* refactor(notifications): isolate endpoint service
Following the ongoing effort to isolate behaviours into their own
packages and off of kv.Service, this change move the notification
endpoints service implementation into its own package. It removes the
endpoint behaviors from the kv service completely.
* chore(influxd): wire up the isolated check service in place of kv service
2020-10-28 15:22:14 +00:00
Timmy Luong
9dd37a1d1b
feat: add tick generation properties and legendColorizeRows
2020-10-27 16:50:53 -07:00
pierwill
e4b7b09526
docs: Fix typos in http/swagger.yml
2020-10-27 10:25:52 -07:00
Stuart Carnie
5c63c2163d
feat(authorization): Create a v1 authorization service
...
This service is a private API for managing authorization tokens
for v1 API requests.
Note that this commit does not hook up the service to the v1
`/query` and `/write`, which will occur in a subsequent PR.
Closes #19812
2020-10-27 08:26:10 -07:00
George
3d643e0681
refactor(notification): move rule service into own package ( #19804 )
...
* refactor(notification): move rule service into own package
* chore(launcher): fix tests to use clients as opposed to direct kv service
* chore(influx): update task cli to consume core domain model task from client
* chore(kv): remove rule service behaviours from kv
This also introduces the org id resolver type. Which is transplanted
from the kv service. As this one function coupled all resource
capabilities onto the kv service. Making removing these capabilities
impossible. Moving this type out into its own package which depends on
each service explicitly ensures we don't have one type which has to
implement all the service contracts.
* fix(launcher): remove double reference to influxdb package
2020-10-27 11:45:05 +00:00
George
3b7cb529dc
chore(docs): update PostDBRP docs to reflect mutual exclusive requirement of org vs orgID ( #19802 )
2020-10-22 17:02:32 +01:00
Greg
fcb70c26d5
fix: add ability to define bucket to write to with a BucketFilter ( #19658 )
2020-10-05 15:05:49 -06:00
Stuart Carnie
78d0262217
fix: Remove incorrect implementation of delete APIs and disable HTTP API
...
This commit removes incorrect implementations of the `DeleteBucket`
and `DeleteBucketRangePredicate` APIs from the storage package,
which remained after the transition to the tsdb 1.x storage engine.
Secondly, this PR utilizes the `ENotImplemented` error code to inform
users which call the `/api/v2/delete`
2020-09-24 11:11:46 -07:00
greg linton
bd834ac74d
chore: proper swagger syntax
2020-09-22 09:50:25 -06:00
greg linton
13cb2927bb
Merge branch 'master' into feat/18733
2020-09-21 17:21:06 -06:00
greg linton
d32385bac9
chore: define template export by name in swagger
2020-09-21 14:24:43 -06:00
Timmy Luong
fbe56d7e23
feat: add legendOrientationThreshold ( #19584 )
...
* feat: add legendOrientationThreshold
* feat: add legendOpacity
* chore: fix float definition in swagger and use single-value context in Resource float64
2020-09-21 11:02:51 -07:00
Christopher M. Wolff
e7cbbaa722
feat: upgrade Flux to v0.83.2 ( #19569 )
2020-09-16 17:59:15 -07:00
Roger Peppe
f1c5c75369
Merge pull request #19544 from influxdata/rogpeppe-002-label-create-requires-name
...
fix: http: add required name to LabelCreateRequest
2020-09-15 17:59:26 +01:00
Timmy Luong
f4c0259906
feat: update BandViewProperties
2020-09-11 10:47:24 -07:00
Roger Peppe
3e4c4028e6
fix: http: add required name to LabelCreateRequest
...
The label creation operation always requires a name, so make the OpenAPI specification reflect that.
2020-09-10 13:41:33 +01:00
Alirie Gray
adbc036ebd
fix(variables): add id to put variable request
2020-09-08 11:26:03 -07:00
Stuart Carnie
7964f86ffc
fix: switch port to 8086
...
fix(readme): update the port and setup
2020-09-03 14:40:29 -07:00
Stuart Carnie
f9b058772b
Merge remote-tracking branch 'origin/master' into sgc/tsm1
2020-09-02 11:11:28 -07:00
Lyon Hill
46d4f7d7bb
chore(tenant): point tests to new tenant service ( #19477 )
...
Now that the tenant service is complete we should be using it for all
test instead of the kv.Service.
2020-09-02 11:50:26 -06:00
Stuart Carnie
f38f19787f
fix: Ensure precision is passed to points parsing
...
In addition, adds additional precision parameters for v1 /write
compatibility.
Should address e2e bucket tests failing
2020-08-31 17:39:52 -07:00
Brett Buddin
b917d8d9b0
chore(influxdb): Placate the linter.
2020-08-27 15:46:32 -04:00
Stuart Carnie
9163edb187
Merge remote-tracking branch 'origin/master' into sgc/tsm1
2020-08-26 10:14:42 -07:00
Lyon Hill
a8fe07bfc7
chore(task): clean up old maxPermission code ( #19432 )
...
Tasks no longer uses the max permission system to pupulate an
authorization. We can safely remove this dead code.
2020-08-26 10:26:32 -06:00
Stuart Carnie
0e0b2a3d87
Merge remote-tracking branch 'origin/master' into sgc/tsm1
2020-08-25 09:03:07 -07:00
George
45a3f2e87c
feat(paging): add support for after id parameter in find options ( #19219 )
...
* feat(paging): add support for after id parameter in find options
* chore(http): update swagger to reflect after query parameter in list buckets
* chore(changelog): update changelog to reflect after query parameter in list buckets
* chore(tenant): update tenant storage tests for paginating with after
2020-08-25 14:59:59 +01:00
Alirie Gray
5e41bc8373
docs: remove unused patch scraper label route from swagger
2020-08-24 10:55:56 -07:00
Stuart Carnie
cfd089b77a
revert(storage): Revert changes from 1501351
...
Reverted 1501351623
2020-08-24 10:08:46 -07:00
Stuart Carnie
6474c8c9fa
Merge remote-tracking branch 'origin/master' into sgc/tsm1
...
# Conflicts:
# storage/engine.go
# storage/engine_test.go
# storage/wal/wal_test.go
# tsdb/tsm1/engine_delete_prefix.go
# tsdb/tsm1/engine_delete_prefix_test.go
# tsdb/tsm1/engine_test.go
# v1/tsdb/engine/tsm1/wal.go
2020-08-24 09:56:18 -07:00
Ben Johnson
32fb699ecf
Merge pull request #19387 from influxdata/influxql-delete
...
feat(influxql): Implement DELETE & DROP MEASUREMENT
2020-08-24 08:02:36 -06:00
Stuart Carnie
ca77c4f4b7
Merge remote-tracking branch 'origin/master' into sgc/tsm1
2020-08-21 13:06:45 -07:00
Ben Johnson
1501351623
feat(influxql): Implement DELETE & DROP MEASUREMENT
2020-08-21 13:32:47 -06:00
Alirie Gray
521500ba76
fix: add variable name validation for flux identifier ( #19317 )
2020-08-21 10:49:07 -07:00
Alirie Gray
5660be302e
fix: add delete org owner back ( #19347 )
2020-08-21 10:48:46 -07:00
Alirie Gray
9b4fef0f9a
fix: add variable name validation for flux identifier
2020-08-21 10:28:18 -07:00
KevinSmile
ebaa32313b
fix(api/dashboards): FindOptions not working
2020-08-20 16:55:52 -06:00
KevinSmile
887f88bd5a
fix(api/orgs): (API-design-issue) FindOptions for orgs
2020-08-20 16:55:30 -06:00
Stuart Carnie
cc656e5221
Merge remote-tracking branch 'origin/master' into sgc/tsm1
...
# Conflicts:
# storage/reads/aggregate_resultset.go
# storage/reads/aggregate_resultset_test.go
# storage/reads/array_cursor.gen.go
# storage/reads/array_cursor.gen.go.tmpl
# storage/reads/array_cursor.go
# storage/reads/array_cursor_gen_test.go
# storage/reads/array_cursor_test.gen.go.tmpl
# storage/reads/group_resultset.go
# storage/reads/group_resultset_test.go
# storage/reads/resultset.go
2020-08-20 10:52:34 -07:00
Michael Desa
550966dbe2
chore(http): add response_code as label to http_api_* metrics ( #19389 )
...
This was added so that we can distinguish between 4XX and 401 class
errors. It should have a minimal impact in overall cardinality.
Co-authored-by: Greg Linton <greg@influxdata.com>
Co-authored-by: Greg Linton <greg@influxdata.com>
2020-08-19 13:19:18 -07:00
Stuart Carnie
505f40c158
Merge remote-tracking branch 'origin/master' into sgc/tsm1
...
# Conflicts:
# go.mod
# go.sum
# query/promql/internal/promqltests/go.mod
2020-08-18 14:04:52 -07:00
Stuart Carnie
4330496d91
feat(http): V1 write support
...
* Basic auth requires using <username:token>; same as Cloud 2
* Move V1 HTTP handlers for InfluxQL and write to legacy package
2020-08-18 14:04:35 -07:00
Deniz Kusefoglu
f0a1705813
feat(bandChart): Update swagger
2020-08-17 12:40:35 -07:00
Stuart Carnie
8a7dcc21fb
feat(influxql): Initial implementation of InfluxQL query engine
...
* Some tests are broken or do not pass; follow up PRs will resolve that
2020-08-14 12:37:30 -07:00
Stuart Carnie
56e27b8893
Merge remote-tracking branch 'origin/master' into sgc/tsm1
...
# Conflicts:
# go.mod
# go.sum
# query/promql/internal/promqltests/go.mod
2020-08-12 09:07:30 -07:00
Pavel Zavora
6d086f7495
feat(notification/telegram): take back telegram notification after being reverted in #19088
...
This reverts commit f67c3a14e0
.
2020-08-12 11:28:02 +02:00
Stuart Carnie
057285e23a
Merge remote-tracking branch 'origin/master' into sgc/tsm1
...
# Conflicts:
# query/logging.go
# query/logging_test.go
# query/stdlib/influxdata/influxdb/rules.go
# query/stdlib/influxdata/influxdb/rules_test.go
# query/stdlib/testing/testing.go
# storage/flux/reader.go
# storage/flux/table.gen.go
# storage/flux/table.gen.go.tmpl
# storage/flux/table.go
# storage/flux/table_test.go
2020-08-11 10:25:01 -07:00
George
5cbe74630e
chore(tenant): make tenant and kv both conform with harness ( #19266 )
2020-08-11 15:56:42 +01:00