Skip to content

Conversation

@harikrishna-patnala
Copy link
Contributor

@harikrishna-patnala harikrishna-patnala commented Sep 1, 2025

Description

This PR fixes #11509

Both the APIs deleteServiceOffering and updateServiceOffering with state value "Inactive" does the same job of setting state to Inactive state. Here the fix is to use the update API as the UI option is to make the offering inactive (not delete).

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)

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?

@harikrishna-patnala harikrishna-patnala added this to the 4.20.2 milestone Sep 1, 2025
@harikrishna-patnala
Copy link
Contributor Author

@blueorangutan ui

@harikrishna-patnala harikrishna-patnala changed the title Use update offering APIs to disable compute and disk offerings [UI] Use update offering APIs to disable compute and disk offerings Sep 1, 2025
@blueorangutan
Copy link

@harikrishna-patnala a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/11550 (QA-JID-734)

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

Copy link
Contributor

@kiranchavala kiranchavala left a comment

Choose a reason for hiding this comment

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

LGTM

Tested manually by disabling compute offering , system offering and disk offering

The updateserviceoffering API was called

Screenshot 2025-09-02 at 11 03 27 AM

@harikrishna-patnala harikrishna-patnala merged commit 92e7593 into apache:4.20 Sep 2, 2025
46 of 47 checks passed
@harikrishna-patnala harikrishna-patnala deleted the useRightAPIs branch September 2, 2025 05:55
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Sep 4, 2025
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