Ben Johnson
97960a5930
feat(http): Client disconnections should return a HTTP 499 error code.
...
This commit checks http.Request.Context().Err() to see if the context
has been canceled before writing an error code. It uses the non-standard
Nginx 499 error code for client disconnection.
2020-05-14 14:51:57 -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
Alirie Gray
95efdc25df
fix: change logging level to debug to reduce noise ( #18054 )
2020-05-12 10:16:00 -07: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
bdc882f6ce
feat(session): Build out a new session service ( #17950 )
...
This new session service has the ability to work independant of other systems
it relies on having its own store type which should allow us to be more flexible
then using the built in kv system.
I have included an in mem session store.
2020-05-11 15:04:11 -06:00
Alirie Gray
2c0916addf
refactor: create new token package ( #17874 )
2020-04-30 07:52:21 -07:00
Lyon Hill
d720661e77
feat(tenant): change the tenant services default behavior to enabled ( #17872 )
...
We have reached the stage wehre the new tenant service is being used and
is stable but we want to get it in more hands and used as the default service.
2020-04-29 14:04:26 -06:00
Yiqun (Ethan) Zhang
a7e3679aaf
refactor: rename the store-side WindowAggregateReader interface to WindowAggregateStore ( #17880 )
2020-04-28 13:44:46 -05:00
Lyon Hill
29918a45df
fix(tenant): Allow tenant to update user and org with same name ( #17833 )
...
This will allow us to match the existing behavior that allows for update requests to go through with the same name.
2020-04-23 08:33:03 -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
60c3af7929
fix(tenant): include pagination options in middlewares ( #17835 )
2020-04-22 14:31:56 -06:00
George
e150377f48
revert(tenant): integrate the tenant service as the default backend ( #17805 ) ( #17832 )
...
This reverts commit 79e9de93cb
.
2020-04-22 17:23:17 +01:00
Lyon Hill
79e9de93cb
feat(tenant): integrate the tenant service as the default backend ( #17805 )
2020-04-21 13:43:56 -06:00
Lyon Hill
c02e83038f
fix: org filtering for both kv and tenant need to match behaviors. ( #17758 )
2020-04-16 12:22:21 -06:00
Johnny Steenbergen
e295d508ac
fix: make API type marshal before writing to respone writer to avoid duplicate write header calls on failed encoding
...
this fix is necessary to avoid the superflour write header error. When the
write fails, we log it, this shoudl never happen unless the connection gets
corrupted. In that case there is nothing for the server to do except log
2020-04-15 14:26:25 -07:00
Johnny Steenbergen
c718b676ef
chore(pkger): refactor pkger data model to separate parsed and stateful datum
2020-04-14 09:28:09 -07:00
Lyon Hill
4728e36e1b
feat(metrics): allow red metrics to be more generic ( #17678 )
2020-04-08 12:58:36 -06:00
Lyon Hill
33c39796bd
feat(tenant): update the client to use the new onboarding package ( #17659 )
2020-04-07 13:51:06 -06:00
Alirie Gray
8975fd2365
refactor(tenant): move bucket and urm auth layers to tenant service ( #17474 )
...
Co-authored-by: Lyon Hill <lyondhill@gmail.com>
2020-04-07 11:13:27 -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
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
Alirie Gray
c4517a609e
refactor(tenant): change info level logs to debug ( #17476 )
2020-04-01 12:09:29 -07:00
George
173ded1a10
fix(kv): make index walk use cursor instead of get ( #17501 )
2020-03-31 17:26:21 +01: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
Alirie Gray
8c61d913b4
refactor(tenant): move user auth layer into tenant service ( #17473 )
2020-03-27 13:10:43 -07:00
Alirie Gray
ca1e8a7359
refactor(tenant): move org auth layer to tenant service ( #17468 )
2020-03-27 11:47:30 -07:00
Lyon Hill
4e38c4e636
feat(tenant): add urm indexing into the tenant service ( #17467 )
2020-03-27 12:36:25 -06:00
Lyon Hill
1a66ca3900
feat(tenant): Add in api elements to tenant service ( #17447 )
...
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2020-03-27 08:56:22 -06:00
Lorenzo Affetti
1e36e7b3ad
feat(tenant): add duplicate read service
2020-03-25 12:06:28 +01:00
Alirie Gray
82d88d52c4
feat(logging): add logging middleware to tenant service ( #17320 )
2020-03-17 15:24:57 -07: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
Alirie Gray
4d7dd93627
feat(metrics): add metrics middleware to tenant service ( #17301 )
2020-03-17 10:43:16 -07:00
Lyon Hill
8e4fdceccb
feat(tenant): Build the crud actions for the new tenant service ( #17171 )
...
* feat(tenant): Build the crud actions for the new tenant service
To faciliate the isolation of domain specific systems we need to have a
isolated CRUD action system that we can layer business logic on top.
Co-authored-by: George <me@georgemac.com>
2020-03-11 12:31:33 -06:00