-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support for managing UI extensions #360
Comments
looks useful and easy to use. Tagging might be a good idea to add:
One thing about the naming: In the first iteration the extensions were called packages. However, PM decided to rename it for better understanding. This might lead to confusion. The term packages was used, as an application (aka package, aka extension) could contain multiple plugins and/or be a blueprint. Therefore I am not sure if your |
Yeah all the api will be covered so there will be a dedicated tagging command to allow changing the tags after creating the version (as well defining tags when creating a new version). I'll see if I can post a full list of the proposed cli commands soonish |
Though the "--extension" flag still needs to be finalized. Generally I like to align to the names used in the UI as this is general the users first exposure to such concepts. Otherwise if the context is clear in the command then I'd go with "--id" (as this is consistent with the other go-c8y-cli commands) |
Resolved by #354. This will be part of the next release v2.40.0 |
Whilst working on the addition of the
c8y applications versions
subcommand group, its usage for managing UI extensions does not seem to align with user's expectation of "easy to use".The following proposal is to add a new abstraction to managed ui extensions in the same essence as the
c8y microservices
command which is just a user friend abstraction over thec8y applications
api.ui extensions Proposal
Create extension version
To create a new extension, or add a new version, use the single command. This command is similar in semantics as the
c8y microservices create
where it is a smart create/update command, and perform additional steps automatically.The above will
.version
) - or detect from the file name if all else failsDelete version
Or delete all of the versions of the same extension using:
List extensions
List versions of a give a specific extension
Install plugin to application
A plugin can be installed to an application using:
Or an explicit version can be set using:
Uninstall plugin from application
A plugin can be uninstalled from an application using:
Upgrade all extensions
Currently an upgrade of all available extensions won't be provided in the first drop
The text was updated successfully, but these errors were encountered: