influxdb/tenant
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
..
doc.go feat(tenant): change the tenant services default behavior to enabled (#17872) 2020-04-29 14:04:26 -06:00
error.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
error_bucket.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
error_org.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
error_urm.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
error_user.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
http_client_bucket.go refactor: create new token package (#17874) 2020-04-30 07:52:21 -07:00
http_client_onboarding.go feat(tenant): update the client to use the new onboarding package (#17659) 2020-04-07 13:51:06 -06:00
http_client_org.go refactor: create new token package (#17874) 2020-04-30 07:52:21 -07:00
http_client_urm.go revert(urm): Sanitize urm response output (#19242) (#19296) 2020-08-12 15:08:49 +01:00
http_client_user.go chore(tenant): point tests to new tenant service (#19477) 2020-09-02 11:50:26 -06:00
http_handler_urm.go revert(urm): Sanitize urm response output (#19242) (#19296) 2020-08-12 15:08:49 +01:00
http_handler_urm_test.go revert(urm): Sanitize urm response output (#19242) (#19296) 2020-08-12 15:08:49 +01:00
http_server_bucket.go feat(dashboards): isolate service in own package (#19852) 2020-11-04 15:53:02 +00:00
http_server_bucket_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
http_server_onboarding.go feat: add urm client to tenant package (#19198) 2020-08-05 08:46:26 -07:00
http_server_onboarding_test.go chore: update task tests to use the tenant service (#19169) 2020-08-03 09:33:46 -06:00
http_server_org.go fix(api/orgs): (API-design-issue) FindOptions for orgs 2020-08-20 16:55:30 -06:00
http_server_org_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
http_server_user.go feat: add urm client to tenant package (#19198) 2020-08-05 08:46:26 -07:00
http_server_user_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket (#18570) 2020-07-01 12:08:20 +01:00
middleware_bucket_auth.go feat: switch to use the new tenant bucket service (#18738) 2020-06-30 14:48:42 -06:00
middleware_bucket_auth_test.go feat: switch to use the new tenant bucket service (#18738) 2020-06-30 14:48:42 -06:00
middleware_bucket_logging.go fix: change logging level to debug to reduce noise (#18054) 2020-05-12 10:16:00 -07:00
middleware_bucket_logging_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
middleware_bucket_metrics.go chore(metric): refactor the metric pkg to enable extension of vectors and naming convetions 2020-06-16 12:17:45 -07:00
middleware_onboarding_auth.go feat(session): Build out a new session service (#17950) 2020-05-11 15:04:11 -06:00
middleware_onboarding_logging.go fix: change logging level to debug to reduce noise (#18054) 2020-05-12 10:16:00 -07:00
middleware_onboarding_metrics.go chore(metric): refactor the metric pkg to enable extension of vectors and naming convetions 2020-06-16 12:17:45 -07:00
middleware_org_auth.go fix: org filtering for both kv and tenant need to match behaviors. (#17758) 2020-04-16 12:22:21 -06:00
middleware_org_auth_test.go refactor(tenant): move bucket and urm auth layers to tenant service (#17474) 2020-04-07 11:13:27 -07:00
middleware_org_logging.go fix: change logging level to debug to reduce noise (#18054) 2020-05-12 10:16:00 -07:00
middleware_org_logging_test.go fix(tenant): include pagination options in middlewares (#17835) 2020-04-22 14:31:56 -06:00
middleware_org_metrics.go chore(metric): refactor the metric pkg to enable extension of vectors and naming convetions 2020-06-16 12:17:45 -07:00
middleware_urm_auth.go chore: clean old feature flags (#19692) 2020-10-06 13:43:32 -06:00
middleware_urm_auth_test.go fix: restrict urm listing of a resource to members of org owning said resource (#19251) 2020-08-14 12:34:07 -04:00
middleware_urm_logging.go fix(tenant): include pagination options in middlewares (#17835) 2020-04-22 14:31:56 -06:00
middleware_urm_logging_test.go fix(tenant): include pagination options in middlewares (#17835) 2020-04-22 14:31:56 -06:00
middleware_urm_metrics.go chore(metric): refactor the metric pkg to enable extension of vectors and naming convetions 2020-06-16 12:17:45 -07:00
middleware_user_auth.go feat(task): Add new permission lookup pattern for executor (#18920) 2020-07-13 14:47:58 -06:00
middleware_user_auth_test.go refactor(tenant): move bucket and urm auth layers to tenant service (#17474) 2020-04-07 11:13:27 -07:00
middleware_user_logging.go feat(task): Add new permission lookup pattern for executor (#18920) 2020-07-13 14:47:58 -06:00
middleware_user_logging_test.go fix(tenant): include pagination options in middlewares (#17835) 2020-04-22 14:31:56 -06:00
middleware_user_metrics.go feat(task): Add new permission lookup pattern for executor (#18920) 2020-07-13 14:47:58 -06:00
service.go feat: add urm client to tenant package (#19198) 2020-08-05 08:46:26 -07:00
service_bucket.go fix(tenant): Fix FindBuckets to no longer returns hard-coded buckets 2020-08-25 14:50:15 -07:00
service_bucket_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
service_onboarding.go fix(onboard): remove extra multiplication of RP to avoid overflow 2020-11-03 12:37:50 -05:00
service_onboarding_test.go test: fix expected RP in existing test. 2020-11-03 12:37:50 -05:00
service_org.go chore: update task tests to use the tenant service (#19169) 2020-08-03 09:33:46 -06:00
service_org_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
service_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
service_urm.go feat(tenant): Allow tenant to be composable and still maintain access across services (#19164) 2020-07-30 15:55:25 -06:00
service_urm_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
service_user.go feat(tenant): Allow tenant to be composable and still maintain access across services (#19164) 2020-07-30 15:55:25 -06:00
service_user_test.go revert: feat(pkger): add Stack resource type to global list 2020-07-22 12:48:53 -07:00
storage.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
storage_bucket.go chore: total removal of references to hardcoded IDs 2020-09-11 12:29:00 -07:00
storage_bucket_test.go feat(paging): add support for after id parameter in find options (#19219) 2020-08-25 14:59:59 +01:00
storage_org.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
storage_org_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
storage_test.go chore(tenant): make tenant and kv both conform with harness (#19266) 2020-08-11 15:56:42 +01:00
storage_urm.go fix(telegraf): support pagination parameters when listing 2020-11-04 15:53:02 +00:00
storage_urm_test.go fix(tenant): add support for offset to list urms (#18944) 2020-07-14 19:40:04 +01:00
storage_user.go fix(tenant): use rand org bucket id generator over snowflake in tenant service (#19021) 2020-07-24 11:35:41 +01:00
storage_user_test.go refactor: migrator and introduce Store.(Create|Delete)Bucket (#18570) 2020-07-01 12:08:20 +01:00