This repository has been archived by the owner on Jul 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Detect if the user to init on Tenant already has a project on OSO #1446
Comments
2 tasks
API Draft/Flow discussed with UI @dgutride
|
1 task
what is the status on this? |
xcoulon
added a commit
to xcoulon/fabric8-tenant
that referenced
this issue
Mar 2, 2018
…IO#1446) Include option in User service to support custom HTTP transport Rename vars in controller.Tenant to avoid collision with packages (`user` and `cluster`) Add test on the controller.TenantController.Setup() method using go-vcr Fixes openshiftio/openshift.io#1446 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/fabric8-tenant
that referenced
this issue
Mar 8, 2018
…IO#1446) Include option in User service to support custom HTTP transport Rename vars in controller.Tenant to avoid collision with packages (`user` and `cluster`) Add test on the controller.TenantController.Setup() method using go-vcr Fixes openshiftio/openshift.io#1446 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/fabric8-tenant
that referenced
this issue
Mar 8, 2018
…IO#1446) Include option in User service to support custom HTTP transport Rename vars in controller.Tenant to avoid collision with packages (`user` and `cluster`) Add test on the controller.TenantController.Setup() method using go-vcr Add a function in `openshift` pkg to retrieve the name of the user's projects (and factorize the code to perform the GET request on the Openshift API endpoint) Fixes openshiftio/openshift.io#1446 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/fabric8-tenant
that referenced
this issue
Mar 9, 2018
…IO#1446) Add function to list projects on OSO for the user, given his/her OSO token. Check that there's no project, or a single project named after the user. Include option in User service to support custom HTTP transport. Rename vars in controller.Tenant to avoid collision with packages (`user` and `cluster`). Add test on the controller.TenantController.Setup() method using `go-vcr`. Add a function in `openshift` pkg to retrieve the name of the user's projects (and factorize the code to perform the GET request on the Openshift API endpoint). Fixes openshiftio/openshift.io#1446 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/fabric8-tenant
that referenced
this issue
Mar 9, 2018
…IO#1446) Add function to list projects on OSO for the user, given his/her OSO token. Check that there's no project, or a single project named after the user. Include option in User service to support custom HTTP transport. Rename vars in controller.Tenant to avoid collision with packages (`user` and `cluster`). Add test on the controller.TenantController.Setup() method using `go-vcr`. Add a function in `openshift` pkg to retrieve the name of the user's projects (and factorize the code to perform the GET request on the Openshift API endpoint). Also: use encoded token in the go-vcr recording for TestResolveServiceAccountToken Fixes openshiftio/openshift.io#1446 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/fabric8-tenant
that referenced
this issue
Mar 9, 2018
…IO#1446) Add function to list projects on OSO for the user, given his/her OSO token. Check that there's no project, or a single project named after the user. Include option in User service to support custom HTTP transport. Rename vars in controller.Tenant to avoid collision with packages (`user` and `cluster`). Add test on the controller.TenantController.Setup() method using `go-vcr`. Add a function in `openshift` pkg to retrieve the name of the user's projects (and factorize the code to perform the GET request on the Openshift API endpoint). Also: use encoded token in the go-vcr recording for TestResolveServiceAccountToken Fixes openshiftio/openshift.io#1446 Signed-off-by: Xavier Coulon <[email protected]>
xcoulon
added a commit
to xcoulon/fabric8-tenant
that referenced
this issue
Mar 9, 2018
…IO#1446) Add function to list projects on OSO for the user, given his/her OSO token. Check that there's no project, otherwise, clean/remove all user's namespaces. Include option in User service to support custom HTTP transport. Rename vars in controller.Tenant to avoid collision with packages (`user` and `cluster`). Add test on the controller.TenantController.Setup() method using `go-vcr`. Add a function in `openshift` pkg to retrieve the name of the user's projects (and factorize the code to perform the GET request on the Openshift API endpoint). Also: use encoded token in the go-vcr recording for TestResolveServiceAccountToken Fixes openshiftio/openshift.io#1446 Signed-off-by: Xavier Coulon <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Goal is to verify that the user to init on Tenant has no project on OSO prior to using OSIO, otherwise it would cause some problems during the tenant initialization (unable to create a new project in his account due to quota limits).
This verification could be done during the init (in which case, there would be an error returned if the user already has a project), or before, which requires a new endpoint
Parent Experience
#2129 Handling of pre-existing OpenShift Online Starter artifacts for new OpenShift.io users
The text was updated successfully, but these errors were encountered: