shwstppr opened a new pull request, #11814:
URL: https://github.com/apache/cloudstack/pull/11814

   ### Description
   
   This change introduces support for synchronizing extension files across 
management servers in a clustered environment.
   
   - Adds new syncExtension API to trigger synchronization for a selected 
extension.
   - Implements service to create .tgz archive of the extension directory or 
selected files.
   - Generates signed share URL with HMAC signature and expiry.
   - Sends DownloadAndSyncExtensionFilesCommand to peer management servers.
   - Handles archive download, staging, and extraction on receiver side.
   - Adds Sync Extension action in the UI Extensions view.
   - Updates events, logging, and cleanup of temporary share files.
   
   Refactors all filesystem related code to extensions framework layer.
   Checksum for extensions is now calculated and compared for all files in
   the extension directory.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   - [ ] Build/CI
   - [ ] Test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### Screenshots (if appropriate):
   
   <img width="1212" height="880" alt="image" 
src="https://github.com/user-attachments/assets/e2874e5a-1ab8-4a8a-ba4c-048a3b889d88";
 />
   
   ```
   (localcloud) 🐱 > sync extension id=3cf82f18-89c5-4acc-8f46-8d42da139f30 
sourcemanagementserverid=0d8d73fa-9241-49aa-8d7e-7642f143ce66
   {
     "success": true
   }
   (localcloud) 🐱 > sync extension id=3cf82f18-89c5-4acc-8f46-8d42da139f30
   💩 Missing required parameters:  sourcemanagementserverid
   (localcloud) 🐱 >  
   ```
   
   ### How Has This Been Tested?
   
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   
   #### How did you try to break this feature and the system with this change?
   
   <!-- see how your change affects other areas of the code, etc. -->
   
   <!-- Please read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) 
document -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to