diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5d4dc027..a2fb341d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,4 +45,4 @@ jobs: - name: Report code coverage if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' }} continue-on-error: true - uses: paambaati/codeclimate-action@v8 + uses: paambaati/codeclimate-action@v9 diff --git a/app/models/manageiq/providers/ibm_cloud/power_virtual_servers/network_manager.rb b/app/models/manageiq/providers/ibm_cloud/power_virtual_servers/network_manager.rb index 53fde34f..15c15652 100644 --- a/app/models/manageiq/providers/ibm_cloud/power_virtual_servers/network_manager.rb +++ b/app/models/manageiq/providers/ibm_cloud/power_virtual_servers/network_manager.rb @@ -22,6 +22,10 @@ class ManageIQ::Providers::IbmCloud::PowerVirtualServers::NetworkManager < Manag :to => :parent_manager, :allow_nil => true + class << self + delegate :refresh_ems, :to => ManageIQ::Providers::IbmCloud::PowerVirtualServers::CloudManager + end + def image_name "ibm_power_vs" end diff --git a/app/models/manageiq/providers/ibm_cloud/power_virtual_servers/storage_manager.rb b/app/models/manageiq/providers/ibm_cloud/power_virtual_servers/storage_manager.rb index 5293a16a..bf591a2f 100644 --- a/app/models/manageiq/providers/ibm_cloud/power_virtual_servers/storage_manager.rb +++ b/app/models/manageiq/providers/ibm_cloud/power_virtual_servers/storage_manager.rb @@ -26,6 +26,10 @@ class ManageIQ::Providers::IbmCloud::PowerVirtualServers::StorageManager < Manag supports :cloud_volume supports :cloud_volume_create + class << self + delegate :refresh_ems, :to => ManageIQ::Providers::IbmCloud::PowerVirtualServers::CloudManager + end + def image_name "ibm_power_vs" end diff --git a/app/models/manageiq/providers/ibm_cloud/vpc/network_manager.rb b/app/models/manageiq/providers/ibm_cloud/vpc/network_manager.rb index 4d3fb449..be49b9ee 100644 --- a/app/models/manageiq/providers/ibm_cloud/vpc/network_manager.rb +++ b/app/models/manageiq/providers/ibm_cloud/vpc/network_manager.rb @@ -23,6 +23,10 @@ class ManageIQ::Providers::IbmCloud::VPC::NetworkManager < ManageIQ::Providers:: :to => :parent_manager, :allow_nil => true + class << self + delegate :refresh_ems, :to => ManageIQ::Providers::IbmCloud::VPC::CloudManager + end + def image_name "ibm_cloud" end diff --git a/app/models/manageiq/providers/ibm_cloud/vpc/storage_manager.rb b/app/models/manageiq/providers/ibm_cloud/vpc/storage_manager.rb index e0a48ba2..2d6845e1 100644 --- a/app/models/manageiq/providers/ibm_cloud/vpc/storage_manager.rb +++ b/app/models/manageiq/providers/ibm_cloud/vpc/storage_manager.rb @@ -24,6 +24,10 @@ class ManageIQ::Providers::IbmCloud::VPC::StorageManager < ManageIQ::Providers:: supports :cloud_volume supports :cloud_volume_create + class << self + delegate :refresh_ems, :to => ManageIQ::Providers::IbmCloud::VPC::CloudManager + end + def image_name "ibm_cloud" end diff --git a/config/settings.yml b/config/settings.yml index 5e55e9f1..af816d6e 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -68,11 +68,19 @@ :ibm_vpc: :refresh_interval: 15.minutes :allow_targeted_refresh: true + :ibm_cloud_vpc_network: + :refresh_interval: 0 + :ibm_cloud_vpc_storage: + :refresh_interval: 0 :ibm_cloud_object_storage: :refresh_interval: 15.minutes :ibm_cloud_power_virtual_servers: :refresh_interval: 15.minutes :allow_targeted_refresh: true + :ibm_cloud_power_virtual_servers_network: + :refresh_interval: 0 + :ibm_cloud_power_virtual_servers_storage: + :refresh_interval: 0 :iks: :refresh_interval: 15.minutes :streaming_refresh: true