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

   ### Description
   
   This PR adds the ability to create multiple backup schedules of the same 
type for VMs. To support this operation, the ability to configure the limit of 
backup schedules that can be created with a given backup offering has also been 
added. The `maxschedules` parameter has been added to the 
`updateBackupOffering` and `importBackupOffering` APIs; this parameter accepts 
a map of schedule types to the maximum number that can be created.
   
   Additionally, the ability to edit specific schedules via the GUI has been 
added. It is important to note that different schedules of the same type are 
not allowed to have the same time.
   
   ### 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
   - [X] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### Screenshots (if appropriate):
   Example of how the schedule limits can be configured through the GUI
   <img width="498" height="422" alt="image" 
src="https://github.com/user-attachments/assets/ed189100-c1ad-4f82-97ee-159449199563";
 />
   
   
   ### How Has This Been Tested?
   
   - Configured a offering to have more than 1 as the limit for all of the 
schedule types.
   - Created multiple schedules of each type for a VM
   - Verified that all of the backups where created, with correct schedule IDs 
on the database.
   - Updated schedules and confirmed that the specified schedule was updated.
   - Tried updating using VM ID and schedule type (old behavior) and verified 
it worked.
   


-- 
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