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,
lib/insights_cloud/async/vmaas_reposcan_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,
app/controllers/insights_cloud/ui_requests_controller.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,
app/controllers/concerns/insights_cloud/package_profile_upload_extensions.rb
Defined Under Namespace
Modules: Api, Async, CandlepinCache, ClientAuthentication, Generators, PackageProfileUploadExtensions, WebUi
Classes: HitsController, SettingsController, TasksController, UIRequestsController
Class Method Summary
collapse
Class Method Details
.enable_client_param ⇒ Object
36
37
38
|
# File 'lib/insights_cloud.rb', line 36
def self.enable_client_param
'host_registration_insights'
end
|
.enable_client_param_inventory ⇒ Object
40
41
42
|
# File 'lib/insights_cloud.rb', line 40
def self.enable_client_param_inventory
'host_registration_insights_inventory'
end
|
44
45
46
|
# File 'lib/insights_cloud.rb', line 44
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
|
32
33
34
|
# File 'lib/insights_cloud.rb', line 32
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
.vmaas_reposcan_sync_url ⇒ Object
48
49
50
|
# File 'lib/insights_cloud.rb', line 48
def self.vmaas_reposcan_sync_url
ForemanRhCloud.iop_smart_proxy.url + '/api/vmaas-reposcan/v1/sync'
end
|