Module: InsightsCloud
  
  
  
  
  
  
  
  
  
  
  
  
    - Defined in:
 
    - lib/insights_cloud.rb,
  lib/insights_cloud/async/rules_result.rb,
 lib/insights_cloud/async/insights_full_sync.rb,
 lib/insights_cloud/async/insights_rules_sync.rb,
 app/controllers/insights_cloud/hits_controller.rb,
 app/controllers/insights_cloud/tasks_controller.rb,
 lib/insights_cloud/async/insights_scheduled_sync.rb,
 app/controllers/insights_cloud/settings_controller.rb,
 lib/insights_cloud/async/insights_resolutions_sync.rb,
 lib/insights_cloud/async/insights_client_status_aging.rb,
 lib/insights_cloud/async/cloud_connector_announce_task.rb,
 app/controllers/concerns/insights_cloud/candlepin_cache.rb,
 lib/insights_cloud/async/insights_generate_notifications.rb,
 lib/insights_cloud/generators/playbook_progress_generator.rb,
 app/controllers/concerns/insights_cloud/client_authentication.rb,
 lib/insights_cloud/async/connector_playbook_execution_reporter_task.rb
 
  
  
 
Defined Under Namespace
  
    
      Modules: Api, Async, CandlepinCache, ClientAuthentication, Generators, WebUi
    
  
    
      Classes: HitsController, SettingsController, TasksController
    
  
  
    
      Class Method Summary
      collapse
    
    
  
  
    Class Method Details
    
      
  
  
    .enable_client_param  ⇒ Object 
  
  
  
  
    
      
28
29
30 
     | 
    
      # File 'lib/insights_cloud.rb', line 28
def self.enable_client_param
  'host_registration_insights'
end 
     | 
  
 
    
      
  
  
    
      
32
33
34 
     | 
    
      # File 'lib/insights_cloud.rb', line 32
def self.enable_cloud_remediations_param
  'enable_cloud_remediations'
end 
     | 
  
 
    
      
  
  
    .hits_export_url  ⇒ Object 
  
  
  
  
    
      
8
9
10 
     | 
    
      # File 'lib/insights_cloud.rb', line 8
def self.hits_export_url
  ForemanRhCloud.cert_base_url + '/api/insights/v1/export/hits/'
end 
     | 
  
 
    
      
  
  
    .playbook_url  ⇒ Object 
  
  
  
  
    
      
20
21
22 
     | 
    
      # File 'lib/insights_cloud.rb', line 20
def self.playbook_url
  ForemanRhCloud.cert_base_url + '/api/remediations/v1/playbook'
end 
     | 
  
 
    
      
  
  
    
      
24
25
26 
     | 
    
      # File 'lib/insights_cloud.rb', line 24
def self.remediation_rule_id(rule_id)
  "advisor:#{rule_id}"
end
     | 
  
 
    
      
  
  
    .resolutions_url  ⇒ Object 
  
  
  
  
    
      
16
17
18 
     | 
    
      # File 'lib/insights_cloud.rb', line 16
def self.resolutions_url
  ForemanRhCloud.cert_base_url + '/api/remediations/v1/resolutions'
end 
     | 
  
 
    
      
  
  
    .rules_url(limit: ForemanRhCloud.query_limit, offset: 0)  ⇒ Object