-
Notifications
You must be signed in to change notification settings - Fork 1.3k
extension: import using yaml manifest #12102
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
Conversation
Adds import functionality for extension by giving an YAML manifest URL. Manifest will define extension and its custom actions details. Co-authored-by: Manoj Kumar <manojkr.itbhu@gmail.com> Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
weizhouapache
commented
Nov 19, 2025
great job !
would it be possible to upload zipped files from local ?
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@ ## main #12102 +/- ## ========================================== Coverage 17.55% 17.56% - Complexity 15535 15554 +19 ========================================== Files 5911 5919 +8 Lines 529359 529622 +263 Branches 64655 64689 +34 ========================================== + Hits 92949 93042 +93 - Misses 425952 426119 +167 - Partials 10458 10461 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
shwstppr
commented
Nov 19, 2025
Thanks @weizhouapache. Currently, local upload is not supported. Also, for local upload, do you mean uploading the manifest YAML from local machine or the complete extension source?
Either way, it would first need implementation of allowing upload on the management server (Currently we only upload via SSVM) or we upload to SSVM (secondary store) and then transfer to the management server host
If it is just the YAML then we can follow the same flow - get YAML, parse it, download the extension source and automate the process of adding extension and its actions.
For extension source upload, the operator need to pass extension details like name, description, type, etc.
shwstppr
commented
Nov 20, 2025
@blueorangutan package
blueorangutan
commented
Nov 20, 2025
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.
blueorangutan
commented
Nov 20, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15798
blueorangutan
commented
Nov 26, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15834
...ensions/src/test/resources/org/apache/cloudstack/framework/extensions/util/testmanifest.yaml
Outdated
Show resolved
Hide resolved
...ensions/src/test/resources/org/apache/cloudstack/framework/extensions/util/testmanifest.yaml
Outdated
Show resolved
Hide resolved
For apache/cloudstack#12102 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Description
Adds import functionality for extension by giving an YAML manifest URL. Manifest will define extension and its custom actions details.
Based on CCC 2025 Hackathon idea by @msinhore and the contribution by @sudo87
Doc PR: apache/cloudstack-documentation#600
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
imageHow Has This Been Tested?
How did you try to break this feature and the system with this change?