Commit Graph

13 Commits (22c6b78c6297aa8a6fa0a62e760f1f261a527ae0)

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
Stuart Carnie fccaf74954
fix(tenant): Fix FindBuckets to no longer returns hard-coded buckets
Closes #19189
2020-08-25 14:50:15 -07:00
George 5cbe74630e
chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
Lyon Hill a0d7f9c41b
feat(tenant): Allow tenant to be composable and still maintain access across services (#19164)
Tenant services often need to make function calls to other services inside the tenant system. This can cause a problem when a external system needs to inject middleware into the call stack for the secondary system call. For instance when a bucket is created we may need to alert the storage system of the change. To accomplish this we need a way for the org svc to call a middleware influxdb.BucketService that is a tenant type service wrapped with a middleware piece. This is accomplished by allowing the individual services access to the tenant system that was generated. If a middleware is wrapping one of the systems the embedded system can still make internal calls
2020-07-30 15:55:25 -06:00
Lyon Hill a1f78ec809
fix: dont add system buckets when filtering by name (#18227)
* fix: dont add system buckets when filtering by name
2020-05-26 15:36:01 -06:00
Lyon Hill 083f72a514
fix: when buckets are looked with a org name and bucket name (#18200)
We needed to look up the org id from the org name before we could
check to confirm we were making the correct function call
2020-05-22 09:30:14 -06:00
Lyon Hill 57ed471bbe
fix: tenant findBucket action needs to properly route actions (#18069)
Tenant bucket look up needs route a action to storage to use indexes.
I added an error condtion into the storage code to ensure this was working
but the tests did not exercise this piece of code. Both have been remedied.
2020-05-12 16:00:38 -06:00
Lyon Hill 50b51e14b3
fix(delete): fix delete handler to add org filter for bucket lookup (#17834) 2020-04-23 08:32:50 -06: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
Lorenzo Affetti d8f31bf2e4
fix(tenant): make storage pass tenant tests 2020-04-06 17:13:56 +02:00
Jonathan A. Sternberg 0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
Lyon Hill 5e018ee3e4
fix(tenant): add system buckets for old orgs that may not have buckets. (#17479) 2020-03-27 15:31:35 -06:00
Lyon Hill 609970c0de
feat(tenant): Add in service functions and business logic (#17296)
* feat(tenant): Add in service functions and business logic

Built on top of the crud layer of the system we should now have additional service logic.
The addition of service layer should allow for us to verify similar functionality to the kv system.
2020-03-17 13:23:00 -06:00