Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete v2v models, settings, product features, artifacts. #21515

Merged
merged 6 commits into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,6 @@ group :ui_dependencies do # Added to Bundler.require in config/application.rb
gem "jquery-rjs", "=0.1.1.2", :source => "https://rubygems.manageiq.org"
end

group :v2v, :ui_dependencies do
manageiq_plugin "manageiq-v2v"
end

group :web_server, :manageiq_default do
gem "puma", "~>4.2"
gem "responders", "~>3.0"
Expand Down
457 changes: 0 additions & 457 deletions app/models/conversion_host.rb

This file was deleted.

127 changes: 0 additions & 127 deletions app/models/conversion_host/configurations.rb

This file was deleted.

7 changes: 0 additions & 7 deletions app/models/ext_management_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ def self.create_from_params(params, endpoints, authentications)
has_many :service_offerings, :foreign_key => :ems_id, :dependent => :destroy, :inverse_of => :ext_management_system
has_many :service_parameters_sets, :foreign_key => :ems_id, :dependent => :destroy, :inverse_of => :ext_management_system

has_many :host_conversion_hosts, :through => :hosts, :source => :conversion_host
has_many :vm_conversion_hosts, :through => :vms, :source => :conversion_host

has_many :ems_licenses, :foreign_key => :ems_id, :dependent => :destroy, :inverse_of => :ext_management_system
has_many :ems_extensions, :foreign_key => :ems_id, :dependent => :destroy, :inverse_of => :ext_management_system

Expand Down Expand Up @@ -936,10 +933,6 @@ def memory_reserve
get_reserve(:memory_reserve)
end

def conversion_hosts
host_conversion_hosts + vm_conversion_hosts
end

#
# Metric methods
#
Expand Down
2 changes: 0 additions & 2 deletions app/models/host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ class Host < ApplicationRecord
has_many :host_aggregates, :through => :host_aggregate_hosts
has_many :host_hardwares, :class_name => 'Hardware', :source => :hardware, :dependent => :nullify
has_many :vm_hardwares, :class_name => 'Hardware', :through => :vms_and_templates, :source => :hardware
has_one :conversion_host, :as => :resource, :dependent => :destroy, :inverse_of => :resource

# Physical server reference
belongs_to :physical_server, :inverse_of => :host
Expand Down Expand Up @@ -177,7 +176,6 @@ class Host < ApplicationRecord
before_create :make_smart
after_save :process_events

supports_not :conversion_host
supports :destroy
supports_not :quick_stats
supports :reset do
Expand Down
Loading