-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: API ML authentication provider to allow connecting to multiple instances #2419
Conversation
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
@@ -23,6 +23,7 @@ | |||
import { ZoweExplorerExtender } from "../ZoweExplorerExtender"; | |||
import { ZoweLogger } from "./LoggerUtils"; | |||
import { SettingsConfig } from "./SettingsConfig"; | |||
import { ApimlAuthenticationProvider } from "../ApimlAuthProvider"; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class
Signed-off-by: Timothy Johnson <[email protected]>
changed.push(newSession); | ||
} | ||
} | ||
if (added || removed || changed) { |
Check warning
Code scanning / CodeQL
Useless conditional
changed.push(newSession); | ||
} | ||
} | ||
if (added || removed || changed) { |
Check warning
Code scanning / CodeQL
Useless conditional
Signed-off-by: Timothy Johnson <[email protected]>
Kudos, SonarCloud Quality Gate passed!
|
Closing this PR and plan to split it up into smaller ones instead:
|
Proposed changes
This PR adds the ApimlAuthProvider class which implements the VS Code Authentication Provider implementation so that API ML logins can be managed from the Accounts menu.
In addition, this PR adds support for connecting to multiple instances of the API ML in a single VS Code workspace and simplifies the context menu items for managing credentials.
Release Notes
Milestone:
Changelog:
Types of changes
What types of changes does your code introduce to Zowe Explorer?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the revieweryarn workspace vscode-extension-for-zowe vscode:prepublish
has been executedFurther comments