Commit Graph

1647 Commits (ab87c23be6c630754787dcd9113cd86bd6afaaf1)

Author SHA1 Message Date
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