File tree Expand file tree Collapse file tree 5 files changed +13
-15
lines changed
app/models/manageiq/providers/ibm_cloud
power_virtual_servers/cloud_manager Expand file tree Collapse file tree 5 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 11class ManageIQ ::Providers ::IbmCloud ::PowerVirtualServers ::CloudManager ::Provision < ::MiqProvisionCloud
2- include_concern ' Cloning'
3- include_concern ' StateMachine'
4- include_concern ' OptionsHelper'
2+ include Cloning
3+ include StateMachine
4+ include OptionsHelper
55
66 def destination_type
77 case request_type
Original file line number Diff line number Diff line change 11class ManageIQ ::Providers ::IbmCloud ::PowerVirtualServers ::CloudManager ::Vm < ManageIQ ::Providers ::CloudManager ::Vm
2- include_concern ' Operations'
2+ include Operations
33
44 supports :capture
55 supports :terminate
Original file line number Diff line number Diff line change 33# Opts into CloudManager provisioning. Custom logic is separated into module mixins.
44class ManageIQ ::Providers ::IbmCloud ::VPC ::CloudManager ::Provision < ::MiqProvisionCloud
55 include ManageIQ ::Providers ::IbmCloud ::VPC ::CloudManager ::LoggingMixin # Standardise the logging.
6-
7- include_concern 'Cloning' # Actual provision to cloud.
8- include_concern 'Payload' # Create json payload.
9- include_concern 'StateMachine' # Pre-provision tasks.
6+ include Cloning # Actual provision to cloud.
7+ include Payload # Create json payload.
8+ include StateMachine # Pre-provision tasks.
109end
Original file line number Diff line number Diff line change 33# Class contains all logic used to populate the UI.
44class ManageIQ ::Providers ::IbmCloud ::VPC ::CloudManager ::ProvisionWorkflow < ::MiqProvisionCloudWorkflow
55 include ManageIQ ::Providers ::IbmCloud ::VPC ::CloudManager ::LoggingMixin # Standardise the logging.
6-
7- include_concern 'Common' # Provides common functionality.
8- include_concern 'General' # Used for general options.
9- include_concern 'Network' # Used for network options.
10- include_concern 'Volumes' # Used for volume options.
11- include_concern 'Fields' # Used for manipulating field hashes.
6+ include Common # Provides common functionality.
7+ include General # Used for general options.
8+ include Network # Used for network options.
9+ include Volumes # Used for volume options.
10+ include Fields # Used for manipulating field hashes.
1211
1312 # Class methods. Do not move to sub module.
1413 class << self
Original file line number Diff line number Diff line change 22
33# Provide CloudManager support for IBM CLoud VPC templates.
44class ManageIQ ::Providers ::IbmCloud ::VPC ::CloudManager ::Template < ManageIQ ::Providers ::CloudManager ::Template
5- include_concern ' ManageIQ::Providers::IbmCloud::VPC::CloudManager::VmOrTemplateShared'
5+ include ManageIQ ::Providers ::IbmCloud ::VPC ::CloudManager ::VmOrTemplateShared
66
77 supports :provisioning do
88 if ext_management_system
You can’t perform that action at this time.
0 commit comments