Connecting the new "Data" page to workbench via one-click register-approve-add-start process:
Use case:
- The "Data" page contains a link to launch the NBI jupyter notebook on workbench
- When the user clicks on the link, they are taken to the running Jupyter environment in Workbench.
Basic flow:
- Is the user authenticated?
- No
- Redirect to sign-in/register page (with quickstart request)
- User has an account
- No
- User goes through register/verify/approve process
- /#/register?next=<quickstart url>
- On approval, service is added and quickstart link sent in approval email.
- Yes
- /#/sign-in?next=<quickstart url>
- After successful sign-in, service is added, started, and user is redirected to running instance
- No
- Yes
- Service is already added
- No
- Add, start and redirect to running service
- Yes
- Service is started
- Yes
- Redirect to running service (first)
- No
- Start service, redirect to running service
- Yes
- Service is started
- No
- Service is already added
- No
What needs to be done:
- NDS-1100 - Getting issue details... STATUS
Assumptions:
- Single-service stack (no multi-service or optional-service stacks, for now)
- Storing the token as a cookie?
- Modify stack endpoint to support quick-start functionality (i.e., add spec parameter means add + start)
- This doesn't solve basic auth for sure.