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

   ### Description
   
   When the download of templates, ISOs and volumes is finished, a download 
link is generated and displayed to end users in a notification. However, in 
situations in which the download process takes a large amount of time, the 
user's authentication session may be expired by inactivity and, thus, the 
reference to the link gets lost.
   
   Therefore, this PR proposes to add the templates, ISOs and volumes download 
links to the details of the `TEMPLATE.EXTRACT`, `ISO.EXTRACT` and 
`VOLUME.EXTRACT` events, respectively. As a consequence of that, in scenarios 
that users sessions are expired when downloading such resources, the event 
details can be accessed by users to retrieve the download link.
   
   ### 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
   
   ### Screenshots (if appropriate):
   
   - `TEMPLATE.EXTRACT` event details:
   
   
![image](https://github.com/user-attachments/assets/dbaf772c-1ae5-4577-abf6-1f47a6d7b053)
   
   - `ISO.EXTRACT` event details:
   
   
![image](https://github.com/user-attachments/assets/8f844951-4df7-4e33-91c7-08b813c424fa)
   
   - `VOLUME.EXTRACT` event details:
   
   
![image](https://github.com/user-attachments/assets/0fd84292-8954-480e-877f-c818da96fed7)
   
   ### How Has This Been Tested?
   
   - Verified that when the templates extraction process is completed, the 
`TEMPLATE.EXTRACT` event description is generated with the template download 
URL.
   - Verified that when the ISOs extraction process is completed, the 
`ISO.EXTRACT` event description is generated with the ISO download URL.
   - Verified that when the volume extraction process is completed for root 
disks, the `VOLUME.EXTRACT` event description is generated with the volume 
download URL.
   - Verified that when the volume extraction process is completed for attached 
data disks, the `VOLUME.EXTRACT` event description is generated with the volume 
download URL.
   - Verified that when the volume extraction process is completed for detached 
data disks, the `VOLUME.EXTRACT` event description is generated with the volume 
download 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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to