Commit Graph

20 Commits (8ed55e72b85b0807c97d3d1d7d12e9f07c9737e9)

Author SHA1 Message Date
Jeffrey Smith II 67ccbae8ff
feat: add the concept of an instance owner (#23497)
* feat: Add the instance owner concept

* feat: improve handling of instance resource type

* fix: remove relic of cloud/oss split

* feat: Add an instance id. This gets set during onboarding and can be used to uniquely identify that instance.

* chore: Revert "feat: Add an instance id. This gets set during onboarding and can be used to uniquely identify that instance."

This reverts commit 6a712df61e.

We decided to stick with the "singleton" 1 id for now, as there is not a clear need for unique identifiers.
2022-08-01 09:42:06 -04:00
Sam Arnold 5015297d40
fix: more expressive errors (#22448)
* fix: more expressive errors

Closes #22446

* fix: server only logging for untyped errors

* chore: fix formatting
2021-09-13 15:12:35 -04:00
Daniel Moran ba8f91f1d9
fix: improve error message when onboarding requests are missing data (#21849) 2021-07-14 15:52:19 -04:00
Daniel Moran ab589cc326
chore: delete deprecated PostSetupUser API (#21709) 2021-06-22 09:09:52 -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 d4a0c34c39
fix(onboarding): deprecate misleading `retentionPeriodHrs` key (#20798) 2021-03-01 09:55:39 -05:00
Sam Arnold 781fa0e846 chore: add goimports 2021-01-29 14:06:52 -05:00
Daniel Moran b5bbc503a0
fix(onboarding): don't ignore failures to set initial password (#20317) 2020-12-16 06:43:43 -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
Dan Moran 64ef556c2b fix(onboard): remove extra multiplication of RP to avoid overflow
Fixes #19884.
2020-11-03 12:37:50 -05:00
Lyon Hill d965225136
fix: Add me permission to onboarded auth token (#19501)
When a new user is onboarded the new auth token can now have access to
create auth tokens
2020-09-10 11:59:11 -06:00
Stuart Carnie f9b058772b
Merge remote-tracking branch 'origin/master' into sgc/tsm1 2020-09-02 11:11:28 -07:00
Lyon Hill d2b645c595
fix(onboard): onboarding no longer add admin user (#19478)
The admin user should no longer be added to the new user created by
setup.
2020-09-02 10:15:57 -06:00
Stuart Carnie d20440a09f
fix: go fmt to satisfy go linter 2020-08-26 10:28:35 -07: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
Lyon Hill 1891479780
feat(onboard): allow optional password (#19225)
* feat(onboard): allow optional password

We can now allow passwords as an optional arguement. This facilitates
api only users.
2020-08-05 12:42:17 -06:00
Stuart Carnie 49067de49f
fix(launcher): Fix launcher tests 2020-08-03 15:17:37 -07:00
Lyon Hill 0a9e8fdb4a
chore: update task tests to use the tenant service (#19169)
* chore: update task tests to use the tenant service

After the introduction of the tenant system we need to switch the testing frameworks
to use it instead of the old kv system

* chore: update onboarding to allow injected middleware
2020-08-03 09:33:46 -06:00
Andrew Watkins 5cd872721d
fix: password length (#18041)
* fix: password length

* chore: go mod tidy

* chore: switch err message

* chore: remove backend validation
2020-05-12 10:14:09 -07:00
Lyon Hill 4421a39639
feat(tenant): Build out the onboarding system in tenant and integrate it into launcher (#17558)
We are adding in a setup/user route this is not in swagger at the moment but will be
added once we feel it is stable.
2020-04-06 15:58:15 -06:00