Skip to content

return stored value for secure configs so listConfigurations stays the same - #14309

Draft
Damans227 wants to merge 1 commit into
apache:mainfrom
Damans227:nl/issue-14306
Draft

Damans227 wants to merge 1 commit into
apache:mainfrom
Damans227:nl/issue-14306

Conversation

@Damans227

Copy link
Copy Markdown
Collaborator

Fixes #14306

Listing configurations in the Secure category gives a different value every time, even when nothing changed. The value is stored encrypted, but the list call decrypted it and encrypted it again, and each new encryption comes out different. This returns the encrypted value as it is stored, so the output stays the same until the setting actually changes.

@Damans227

Copy link
Copy Markdown
Collaborator Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@Damans227 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.

@codecov

codecov Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 19.92%. Comparing base (1a48a87) to head (2554589).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...udstack/framework/config/impl/ConfigurationVO.java 33.33% 2 Missing ⚠️
...src/main/java/com/cloud/api/ApiResponseHelper.java 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #14309      +/-   ##
============================================
+ Coverage     19.91%   19.92%   +0.01%     
- Complexity    20199    20204       +5     
============================================
  Files          6373     6373              
  Lines        577230   577235       +5     
  Branches      70696    70697       +1     
============================================
+ Hits         114950   115011      +61     
+ Misses       449713   449653      -60     
- Partials      12567    12571       +4     
Flag Coverage Δ
uitests 3.71% <ø> (ø)
unittests 21.19% <33.33%> (+0.01%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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.

@blueorangutan

Copy link
Copy Markdown

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

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

listConfigurations API returns different value of "Secure" configurations even value is not changed

2 participants