CSTM-228: Adding list and delete commands to ui-plugins command group#239
Merged
Conversation
philip-ellis-sp
approved these changes
Jul 10, 2026
philip-ellis-sp
approved these changes
Jul 10, 2026
patrick-dowd-sp
approved these changes
Jul 10, 2026
|
|
||
| const ( | ||
| pluginInstancesEndpoint = "/v2026/ui-plugins" | ||
| pluginInstancesEndpoint = "/ui-plugins/v1" |
There was a problem hiding this comment.
Out of curiosity - why are we avoiding the v2026 convention? Is it that our OSS products have a different convention?
Collaborator
Author
There was a problem hiding this comment.
Good question. This updated path is to use the new version of the API that SP is switching to.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the
listanddeletecommands to the ui-plugins command group. Deletes are gated behind a verify confirmation (bypassed with --force). Delete can be by alias or by plugin id. If duplicate aliases are found the CLI errors out with a message to the end user. This happens regardless of the --force flag.This PR also updates the plugins to use the new versioned endpoint.
How Has This Been Tested?
There is an MV at CSTM-310 that documents the tests run including the edge cases.