Class: InventorySync::Async::InventorySelfHostSync
- Inherits:
-
QueryInventoryJob
- Object
- Actions::EntryAction
- QueryInventoryJob
- InventorySync::Async::InventorySelfHostSync
- Defined in:
- lib/inventory_sync/async/inventory_self_host_sync.rb
Instance Method Summary collapse
Methods inherited from QueryInventoryJob
Methods included from ForemanRhCloud::Async::ExponentialBackoff
#attempts_before_next_interval, #done!, #done?, #invoke_external_task, #poll_external_task, #poll_intervals, #try_execute
Methods included from ForemanRhCloud::CertAuth
#cert_auth_available?, #execute_cloud_request
Methods included from InsightsCloud::CandlepinCache
#candlepin_id_cert, #cp_owner_id, #upstream_owner
Methods included from ForemanRhCloud::CloudRequest
Instance Method Details
#create_facets ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/inventory_sync/async/inventory_self_host_sync.rb', line 10 def create_facets # get the results from the event results = yield add_missing_insights_facet(results.uuid_by_fqdn) unless results.uuid_by_fqdn.empty? results end |
#plan ⇒ Object
6 7 8 |
# File 'lib/inventory_sync/async/inventory_self_host_sync.rb', line 6 def plan super(ForemanRhCloud.foreman_host.organization) end |
#rescue_strategy_for_self ⇒ Object
18 19 20 |
# File 'lib/inventory_sync/async/inventory_self_host_sync.rb', line 18 def rescue_strategy_for_self Dynflow::Action::Rescue::Fail end |