Commit Graph

1665 Commits (ff6b55aca4d7ccba78e31582fae77e8f2201d983)

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