cloudstack/server/src/test/java/com/cloud/vpc
Pearl Dsilva 3bd5410f9a
Add support to clone existing offerings and update them (#12357)
* Add support to clone existing offerings and update them

* add support for vpc & backup offerings to be cloned

* fix capability list and mapping of params

* Add support to clone network and vpc offering with the right parameters

* make fields non mandatory for clone offerings APIs

* Add UI support for cloning Compute and System Service offerings

* remove unnecessary changes

* fix license and pre-ccommit issues

* Add UI support to clone disk and network offering

* vpc & backup offering clone api

* add unit tests

* fix pre-commit checks

* increase test coverage

* combine add/clone disk/compute offering forms

* update license

* fix unit tests

* fix test failures

* fix test failure - unnecessary stubbings

* pre-commit check failure

* add recently added domain id for bkp offering to be inherited in clone operation

* extract common code wrt service capability in network & vpc offering in add/clone operations

* add some checks to prevent networkmode change when provider is nsx/netris from the source networkmode

* address copilot comments

* address comments

* combine check

* use appropriate zoneId during clone bkp offering

* add check

* fix issue with test

* remove unused imports

* prevent creating a bkp offering of a bkp repo that already exists

* extend clone disk and service offerings to domain admins
2026-03-17 12:01:43 +05:30
..
dao Enforce distinct hostnames network (#10212) 2025-10-13 12:38:31 +05:30
MockConfigurationManagerImpl.java Add support to clone existing offerings and update them (#12357) 2026-03-17 12:01:43 +05:30
MockNetworkManagerImpl.java Add conserve mode for VPC offerings (#12487) 2026-03-16 09:39:42 +01:00
MockNetworkModelImpl.java Merge branch '4.20' into 4.22 2026-01-15 10:08:27 +05:30
MockResourceLimitManagerImpl.java Feature: Add support for GPU with KVM hosts (#11143) 2025-07-29 13:46:24 +05:30
MockSite2SiteVpnManagerImpl.java Add settings to mark cryptographic algorithms in vpn customer gateways as excluded or obsolete (#12193) 2026-01-19 13:18:37 +05:30
MockSite2SiteVpnServiceProvider.java Remove powermock from server (#7986) 2023-09-22 14:07:08 +02:00
MockVpcVirtualNetworkApplianceManager.java server: event for HA vm start (#9202) 2024-06-26 15:38:47 +05:30
NetworkACLServiceTest.java Netris Network Plugin Integration with CloudStack (#10458) 2025-07-25 15:26:42 +05:30
VpcApiUnitTest.java Remove powermock from server (#7986) 2023-09-22 14:07:08 +02:00
VpcTestConfiguration.java removed code in comments (#11145) 2025-12-08 16:31:48 +01:00