foreman_rh_cloud 13.2.3 → 14.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/foreman_inventory_upload/generators/fact_helpers.rb +0 -8
  3. data/lib/foreman_inventory_upload/generators/queries.rb +1 -1
  4. data/lib/foreman_inventory_upload/generators/slice.rb +1 -1
  5. data/lib/foreman_rh_cloud/version.rb +1 -1
  6. data/locale/fr/foreman_rh_cloud.edit.po +1032 -0
  7. data/locale/fr/foreman_rh_cloud.po.time_stamp +0 -0
  8. data/locale/ja/foreman_rh_cloud.edit.po +1026 -0
  9. data/locale/ja/foreman_rh_cloud.po.time_stamp +0 -0
  10. data/locale/ka/foreman_rh_cloud.edit.po +1025 -0
  11. data/locale/ka/foreman_rh_cloud.po.time_stamp +0 -0
  12. data/locale/ko/foreman_rh_cloud.edit.po +1029 -0
  13. data/locale/ko/foreman_rh_cloud.po.time_stamp +0 -0
  14. data/locale/zh_CN/foreman_rh_cloud.edit.po +1031 -0
  15. data/locale/zh_CN/foreman_rh_cloud.po.time_stamp +0 -0
  16. data/package.json +1 -1
  17. data/test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb +1 -1
  18. data/test/jobs/inventory_full_sync_test.rb +4 -7
  19. data/test/jobs/inventory_hosts_sync_test.rb +5 -7
  20. data/test/jobs/inventory_self_host_sync_test.rb +1 -1
  21. data/test/unit/archived_report_generator_test.rb +1 -2
  22. data/test/unit/fact_helpers_test.rb +0 -16
  23. data/test/unit/services/foreman_rh_cloud/branch_info_test.rb +1 -1
  24. data/test/unit/services/foreman_rh_cloud/cloud_request_forwarder_test.rb +1 -1
  25. data/test/unit/slice_generator_test.rb +2 -21
  26. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js +1 -3
  27. data/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js +0 -7
  28. metadata +16 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1137f9e903ac50cfdc823dd9df696230ae3963775a5e83419ad12c66d7bd29fe
4
- data.tar.gz: ef51daa638785296e25ffb43f7afaa10047fc4bea9cc940283496fb8509c3395
3
+ metadata.gz: 950f48953eb5a5166946f1dafb84b60eeaee2722fe1ad6460ea09c5a7549da73
4
+ data.tar.gz: e077f396cb37162ff28bb575ccd9bcab00b0c7fc09e87c72cc4936eca6cbf728
5
5
  SHA512:
6
- metadata.gz: fe25655b0fc41e329148dd9d365b7253685b95674651fa0e749d2a150e3a75c5a439d7f96e9ba74011ba5f276c216d5862180c75a25440aa26481d20247babd2
7
- data.tar.gz: 1c97da22e1e2ca4119c879c3d934460cbcb7b6a2d89ee042750b1e0d7fd94f16193771a4dffa75634b9f4f29650df72e664531befb94a00af3a32d9b68d1ce7f
6
+ metadata.gz: d81cc6e6ce4b375cb5ae70c04424b3edcb777a18c22910c3c9090fcf780abe05b2d78a4a5e71824c16cc2136ca77efc5b04d6360c9ef446af843261a7540ce32
7
+ data.tar.gz: 5fe94f6b998f9e86b0c42ed768e4306d9bddc6a27aace8dc2fed38bb2a4ee9ab035453095b85338b98b0f865683886da0073c8f4f646b7c2ba24e32bd87cf898
@@ -28,14 +28,6 @@ module ForemanInventoryUpload
28
28
  @organization_accounts[organization.id] ||= organization.pools.where.not(account_number: nil).pluck(:account_number).first
29
29
  end
30
30
 
31
- def golden_ticket?(organization)
32
- result = organization.try(:golden_ticket?)
33
- result = organization.content_access_mode == 'org_environment' if result.nil?
34
-
35
- @organization_golden_tickets ||= {}
36
- @organization_golden_tickets[organization.id] ||= result
37
- end
38
-
39
31
  def cloud_provider(host)
40
32
  bios_version = fact_value(host, 'dmi::bios::version')
41
33
 
@@ -62,7 +62,7 @@ module ForemanInventoryUpload
62
62
  :content_facet,
63
63
  :host_statuses,
64
64
  :inventory_upload_facts,
65
- subscription_facet: [:pools, :installed_products, :hypervisor_host]
65
+ subscription_facet: [:installed_products, :hypervisor_host]
66
66
  )
67
67
  end
68
68
 
@@ -230,7 +230,7 @@ module ForemanInventoryUpload
230
230
  @stream.simple_field('system_purpose_sla', host.subscription_facet.service_level)
231
231
  @stream.simple_field('distribution_version', fact_value(host, 'distribution::version'))
232
232
  @stream.simple_field('satellite_instance_id', Foreman.try(:instance_id))
233
- @stream.simple_field('is_simple_content_access', golden_ticket?(host.organization))
233
+ @stream.simple_field('is_simple_content_access', true)
234
234
  @stream.simple_field('is_hostname_obfuscated', !!obfuscate_hostname?(host))
235
235
  @stream.simple_field('organization_id', host.organization_id, :last)
236
236
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '13.2.3'.freeze
2
+ VERSION = '14.0.1'.freeze
3
3
  end