Skip to content
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

Add methods to create, get, publish and delete UI plugins #575

Merged
merged 30 commits into from
Jun 23, 2023

Conversation

adambarreiro
Copy link
Collaborator

@adambarreiro adambarreiro commented May 22, 2023

Overview

This PR adds several new methods to be able to programatically manipulate UI plugins:

  • In VCDClient:

    • New method to add a new UI plugin, which picks the required metadata from a given ZIP file and performs the upload to VCD.
    • New methods to retrieve all UI plugins, a specific UI plugin by its URN, or a specific plugin defined by its unique combination of vendor, plugin name and version.
  • In new type UIPlugin:

    • New methods to update the given UI plugin. Only can update the Enabled, ProviderScoped and TenantScoped flags. The other properties are read-only and specified on plugin upload.
    • New methods to publish and unpublish the given UI plugin to specific or all tenants.
    • New method to delete the given UI plugin.

Tests

Tested on 10.4.2, 10,3.3, 10.3.0

abarreiro added 3 commits May 22, 2023 12:11
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro changed the title Add methods to create, get and delete UI plugins Add methods to create, get, publish and delete UI plugins May 22, 2023
abarreiro added 16 commits May 22, 2023 17:42
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Fix
Signed-off-by: abarreiro <abarreiro@vmware.com>
#
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
.changes/v2.21.0/575-features.md Outdated Show resolved Hide resolved
Signed-off-by: abarreiro <abarreiro@vmware.com>
govcd/api_vcd_test.go Outdated Show resolved Hide resolved
Signed-off-by: abarreiro <abarreiro@vmware.com>
govcd/ui_plugin_test.go Outdated Show resolved Hide resolved
abarreiro added 7 commits June 20, 2023 10:06
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Fix
Signed-off-by: abarreiro <abarreiro@vmware.com>
Fix
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
Signed-off-by: abarreiro <abarreiro@vmware.com>
@adambarreiro adambarreiro merged commit d2c75b7 into vmware:main Jun 23, 2023
@adambarreiro adambarreiro deleted the add-ui-plugin-mgmt branch June 23, 2023 07:36
adambarreiro added a commit that referenced this pull request Jun 29, 2023
* Fix UI Plugin unit tests that fail due to change #575
Signed-off-by: abarreiro <abarreiro@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants