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

   
   ### Description
   
   Currently, the `listBackups` API does not allow listing backups based on 
their type. Changes have been made to the API to allow backups to be listed 
informing a specific type. In addition, although the API already supports the 
filtering of backups by VM, support for this parameter had not been added to 
the GUI. Therefore, the GUI backup filter has been extended to support the 
search by both type and VM.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [X] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] 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
   
   ### Screenshots (if appropriate):
   
   <details> 
   <summary> Example of a <code>listBackups</code> API call </summary>
   
   
![type-full-api-call](https://github.com/user-attachments/assets/f9b91a9e-1a1f-42a3-81f2-eb64474ba118)
   
   </details>
   
   <details> 
   <summary> <code>listBackups</code> API call when filtering by a non-existent 
type </summary>
   
   
![non-existent-type-api-call](https://github.com/user-attachments/assets/5cbe7a27-b419-4bbe-acee-98bbe3dccbaa)
   
   </details>
   
   <details> 
   <summary> Filtering field in the GUI </summary>
   
   
![base-ui](https://github.com/user-attachments/assets/3ad7d9c0-c60d-418b-ba15-94875960f649)
   
   
![filter-by-vm](https://github.com/user-attachments/assets/9609007e-f7c0-441a-8e7b-c8a95b90e37e)
   
   
![filter-by-type](https://github.com/user-attachments/assets/902addb5-c458-4490-95ea-c42729dee0fb)
   
   
![filter-by-unavailable-type](https://github.com/user-attachments/assets/6f742c91-c235-49a6-8803-63d66670421a)
   
   </details>
   
   ### How Has This Been Tested?
   
   - I checked the possibility of filtering backups by type.
   - I checked the possibility of filtering backups by VM.
   - I checked the response generated when attempting to pass a non-existent 
type or VM via CloudMonkey.
   - I checked the response generated when attempting to pass a non-existent 
type or VM via the browser URL.
   


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