Skip to content

Conversation

@weizhouapache
Copy link
Member

@weizhouapache weizhouapache commented Dec 15, 2025

Description

This PR renames

  • RegisterCmd.java => RegisterUserKeyCmd.java
  • RegisterResponse.java => RegisterUserKeyResponse.java

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

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

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

@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 17.56%. Comparing base (0a13fb2) to head (6d3cc61).
⚠️ Report is 13 commits behind head on 4.22.

Files with missing lines Patch % Lines
...ack/api/command/admin/user/RegisterUserKeyCmd.java 0.00% 2 Missing ⚠️
...udstack/api/command/admin/user/GetUserKeysCmd.java 0.00% 1 Missing ⚠️
...oudstack/api/response/RegisterUserKeyResponse.java 0.00% 1 Missing ⚠️
...in/java/com/cloud/server/ManagementServerImpl.java 0.00% 1 Missing ⚠️
...c/main/java/com/cloud/user/AccountManagerImpl.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               4.22   #12259   +/-   ##
=========================================
  Coverage     17.55%   17.56%           
- Complexity    15544    15548    +4     
=========================================
  Files          5910     5910           
  Lines        529162   529162           
  Branches      64641    64641           
=========================================
+ Hits          92918    92940   +22     
+ Misses       425786   425764   -22     
  Partials      10458    10458           
Flag Coverage Δ
uitests 3.58% <ø> (ø)
unittests 18.63% <0.00%> (+<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.

@weizhouapache weizhouapache added this to the 4.22.1 milestone Dec 16, 2025
@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

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

Copy link
Contributor

@shwstppr shwstppr left a comment

Choose a reason for hiding this comment

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

code lgtm

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

clgtm

@DaanHoogland
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

[SF] Trillian test result (tid-15009)
Environment: kvm-ol8 (x2), zone: Advanced Networking with Mgmt server ol8
Total time taken: 52377 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr12259-t15009-kvm-ol8.zip
Smoke tests completed. 148 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_03_deploy_and_scale_kubernetes_cluster Failure 38.17 test_kubernetes_clusters.py

@DaanHoogland
Copy link
Contributor

Do you think this needs testing beyond regression tests, @weizhouapache ?

@weizhouapache
Copy link
Member Author

Do you think this needs testing beyond regression tests, @weizhouapache ?

I think no.. it just renames java classes

@DaanHoogland DaanHoogland marked this pull request as ready for review December 18, 2025 10:52
@DaanHoogland DaanHoogland merged commit 8936e4c into apache:4.22 Dec 18, 2025
24 of 25 checks passed
@DaanHoogland DaanHoogland deleted the 4.22-rename-register-user-key branch December 18, 2025 10:53
DaanHoogland pushed a commit that referenced this pull request Dec 22, 2025
* 4.22:
  Update templateConfig.sh to not break with directorys with space on t… (#10898)
  Fix VM and volume metrics listing regressions (#12284)
  packaging: use latest cmk release link directly (#11429)
  api:rename RegisterCmd.java => RegisterUserKeyCmd.java (#12259)
  Prioritize copying templates from other secondary storages instead of downloading them (#10363)
  Show time correctly in the backup schedule UI  (#12012)
  kvm: use preallocation option for fat disk resize (#11986)
  Python exception processing static routes fixed (#11967)
  KVM memballooning requires free page reporting and autodeflate (#11932)
  api: create/register/upload template with empty template tag (#12234)
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.

4 participants