Skip to content

adding backup filter by status#13254

Open
GeanJS wants to merge 1 commit into
apache:mainfrom
scclouds:add-filter-by-status
Open

adding backup filter by status#13254
GeanJS wants to merge 1 commit into
apache:mainfrom
scclouds:add-filter-by-status

Conversation

@GeanJS
Copy link
Copy Markdown
Contributor

@GeanJS GeanJS commented May 26, 2026

Description

Currently, the listBackups API does not allow listing backups based on their status. Changes have been made to the API to allow backups to be listed informing a specific status. In addition, the backups filter of the graphical interface has been extended to support the search based on status.

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

Screenshots (if appropriate):

pr-screenshot

How Has This Been Tested?

The PR was tested by verifying both via CloudMonkey and the graphical interface the possibility of filtering backups by status.

How did you try to break this feature and the system with this change?

I tried to break this feature by passing an invalid status in both the CloudMonkey and the browser URL. In the API response a message was returned informing that the passed value is an invalid status.

Comment thread ui/package-lock.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you try without updating this file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@GeanJS GeanJS force-pushed the add-filter-by-status branch from 9fa3f09 to b058f0a Compare May 26, 2026 19:21
@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 18055

@codecov
Copy link
Copy Markdown

codecov Bot commented May 27, 2026

Codecov Report

❌ Patch coverage is 6.25000% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 19.28%. Comparing base (850b443) to head (b058f0a).
⚠️ Report is 24 commits behind head on main.

Files with missing lines Patch % Lines
...rg/apache/cloudstack/backup/BackupManagerImpl.java 7.69% 12 Missing ⚠️
...dstack/api/command/user/backup/ListBackupsCmd.java 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13254      +/-   ##
============================================
+ Coverage     18.09%   19.28%   +1.18%     
- Complexity    16732    16759      +27     
============================================
  Files          6037     5573     -464     
  Lines        542811   502641   -40170     
  Branches      66471    58896    -7575     
============================================
- Hits          98230    96911    -1319     
+ Misses       433533   394875   -38658     
+ Partials      11048    10855     -193     
Flag Coverage Δ
uitests ?
unittests 19.28% <6.25%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants