intellij-openshift-connector
intellij-openshift-connector copied to clipboard
As a user I'd like to be able to refresh my sandbox token
Steps:
- ASSERT: have RH sandbox as current cluster
- ASSERT: have an outdated token that needs refreshing
- EXEC: launch plugin
- ASSERT: you cannot list resources, you're told to refresh the token.
Result: You have to get into your browser, login into the sandbox and copy the login command. You can then paste the login command into the dialog that you get via the "Log in to Cluster"
Expected: The tooling should open the browser for me, let me log in, parse the token and use it.
ps. vscode offers this and we had this in JBoss Tools
Here are the relevant classes in vscode:
- Webview: sandboxView.tsx
- Webview Loader: clusterViewLoader.ts
- Sandbox types and API: sandbox.ts