katello 4.1.4 → 4.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of katello might be problematic. Click here for more details.

Files changed (240) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +2 -2
  3. data/app/controllers/katello/api/v2/content_credentials_controller.rb +3 -3
  4. data/app/controllers/katello/api/v2/content_uploads_controller.rb +3 -1
  5. data/app/controllers/katello/api/v2/content_view_components_controller.rb +33 -1
  6. data/app/controllers/katello/api/v2/content_views_controller.rb +12 -0
  7. data/app/controllers/katello/api/v2/host_errata_controller.rb +1 -1
  8. data/app/controllers/katello/api/v2/products_bulk_actions_controller.rb +1 -2
  9. data/app/controllers/katello/api/v2/products_controller.rb +4 -4
  10. data/app/controllers/katello/api/v2/repositories_bulk_actions_controller.rb +3 -11
  11. data/app/controllers/katello/api/v2/repositories_controller.rb +68 -47
  12. data/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb +0 -28
  13. data/app/controllers/katello/concerns/api/v2/registration_commands_controller_extensions.rb +26 -5
  14. data/app/controllers/katello/concerns/api/v2/registration_controller_extensions.rb +26 -1
  15. data/app/lib/actions/candlepin/environment/destroy.rb +2 -0
  16. data/app/lib/actions/katello/agent_action.rb +2 -2
  17. data/app/lib/actions/katello/capsule_content/sync_capsule.rb +3 -2
  18. data/app/lib/actions/katello/{gpg_key → content_credential}/update.rb +1 -1
  19. data/app/lib/actions/katello/content_view/publish.rb +6 -1
  20. data/app/lib/actions/katello/content_view_version/create_repos.rb +1 -1
  21. data/app/lib/actions/katello/content_view_version/incremental_update.rb +0 -47
  22. data/app/lib/actions/katello/orphan_cleanup/remove_orphans.rb +1 -1
  23. data/app/lib/actions/katello/repository/clone_contents.rb +1 -7
  24. data/app/lib/actions/katello/repository/clone_to_environment.rb +1 -7
  25. data/app/lib/actions/katello/repository/create.rb +4 -8
  26. data/app/lib/actions/katello/repository/create_root.rb +1 -1
  27. data/app/lib/actions/katello/repository/destroy.rb +1 -3
  28. data/app/lib/actions/katello/repository/import_upload.rb +3 -2
  29. data/app/lib/actions/katello/repository/instance_update.rb +1 -1
  30. data/app/lib/actions/katello/repository/metadata_generate.rb +2 -8
  31. data/app/lib/actions/katello/repository/multi_clone_contents.rb +0 -1
  32. data/app/lib/actions/katello/repository/refresh_repository.rb +1 -4
  33. data/app/lib/actions/katello/repository/remove_content.rb +6 -4
  34. data/app/lib/actions/katello/repository/sync.rb +5 -25
  35. data/app/lib/actions/katello/repository/update.rb +1 -2
  36. data/app/lib/actions/katello/repository/update_http_proxy_details.rb +2 -5
  37. data/app/lib/actions/katello/repository/update_redhat_repository.rb +1 -1
  38. data/app/lib/actions/katello/repository/upload_files.rb +8 -3
  39. data/app/lib/actions/katello/repository/upload_package_group.rb +2 -11
  40. data/app/lib/actions/katello/repository/verify_checksum.rb +0 -1
  41. data/app/lib/actions/katello/repository_set/enable_repository.rb +1 -1
  42. data/app/lib/actions/pulp3/orchestration/repository/create.rb +2 -2
  43. data/app/lib/actions/pulp3/repository/create.rb +3 -4
  44. data/app/lib/actions/pulp3/repository/create_remote.rb +1 -6
  45. data/app/lib/actions/pulp3/repository/repair.rb +4 -0
  46. data/app/lib/katello/errors.rb +1 -0
  47. data/app/lib/katello/http_resource.rb +26 -73
  48. data/app/lib/katello/qpid/connection.rb +1 -3
  49. data/app/lib/katello/resources/candlepin/consumer.rb +1 -1
  50. data/app/lib/katello/resources/candlepin/environment.rb +2 -0
  51. data/app/lib/katello/resources/registry.rb +7 -20
  52. data/app/lib/katello/util/http_proxy.rb +0 -3
  53. data/app/lib/katello/validators/gpg_key_content_validator.rb +1 -1
  54. data/app/models/katello/authorization/{gpg_key.rb → content_credential.rb} +1 -1
  55. data/app/models/katello/authorization/product.rb +0 -4
  56. data/app/models/katello/concerns/host_managed_extensions.rb +2 -16
  57. data/app/models/katello/concerns/organization_extensions.rb +1 -1
  58. data/app/models/katello/concerns/pulp_database_unit.rb +13 -5
  59. data/app/models/katello/concerns/smart_proxy_extensions.rb +45 -41
  60. data/app/models/katello/{gpg_key.rb → content_credential.rb} +4 -4
  61. data/app/models/katello/content_view.rb +6 -1
  62. data/app/models/katello/generic_content_unit.rb +16 -0
  63. data/app/models/katello/glue/pulp/repos.rb +9 -25
  64. data/app/models/katello/kt_environment.rb +1 -1
  65. data/app/models/katello/product.rb +4 -4
  66. data/app/models/katello/repository.rb +13 -7
  67. data/app/models/katello/repository_generic_content_unit.rb +7 -0
  68. data/app/models/katello/root_repository.rb +38 -7
  69. data/app/models/setting/content.rb +5 -0
  70. data/app/services/cert/certs.rb +16 -8
  71. data/app/services/katello/applicability/applicable_content_helper.rb +1 -2
  72. data/app/services/katello/candlepin/consumer.rb +6 -0
  73. data/app/services/katello/component_view_presenter.rb +27 -0
  74. data/app/services/katello/pulp/repository.rb +1 -1
  75. data/app/services/katello/pulp/server.rb +2 -2
  76. data/app/services/katello/pulp3/api/core.rb +4 -0
  77. data/app/services/katello/pulp3/api/generic.rb +68 -0
  78. data/app/services/katello/pulp3/generic_content_unit.rb +29 -0
  79. data/app/services/katello/pulp3/pulp_content_unit.rb +5 -1
  80. data/app/services/katello/pulp3/repository/generic.rb +94 -0
  81. data/app/services/katello/pulp3/repository/yum.rb +4 -5
  82. data/app/services/katello/pulp3/repository.rb +27 -12
  83. data/app/services/katello/pulp3/repository_mirror.rb +2 -2
  84. data/app/services/katello/pulp3/smart_proxy_repository.rb +4 -4
  85. data/app/services/katello/registration_manager.rb +18 -7
  86. data/app/services/katello/repository_type.rb +59 -1
  87. data/app/services/katello/repository_type_manager.rb +116 -24
  88. data/app/views/katello/api/v2/content_views/base.json.rabl +4 -4
  89. data/app/views/katello/api/v2/repositories/show.json.rabl +1 -0
  90. data/app/views/smart_proxies/plugins/_pulpcore.html.erb +2 -5
  91. data/app/views/smart_proxies/pulp_status.html.erb +0 -7
  92. data/config/katello.yaml.example +0 -21
  93. data/config/routes/api/v2.rb +2 -1
  94. data/db/functions/deb_version_cmp_v01.sql +200 -0
  95. data/db/migrate/20171110082124_add_ssl_certs_to_products_and_repos.rb +5 -1
  96. data/db/migrate/20200402130013_add_repsoitory_docker_meta_tag_f_key.rb +3 -1
  97. data/db/migrate/20210624221630_katello_generic_content.rb +22 -0
  98. data/db/migrate/20210625095042_add_retain_package_versions_count.rb +9 -0
  99. data/db/migrate/20210628182553_add_generic_remote_options_to_root_repository.rb +5 -0
  100. data/db/migrate/20210714140440_remove_repo_export_permission.rb +5 -0
  101. data/db/migrate/20210721163730_change_gpg_keys_to_content_credentials.rb +8 -0
  102. data/db/migrate/20210728130748_create_function_deb_version_cmp.rb +12 -0
  103. data/db/seeds.d/111-upgrade_tasks.rb +1 -2
  104. data/engines/bastion/app/views/bastion/layouts/assets.html.erb +1 -1
  105. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.controller.js +7 -5
  106. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-errata-modal.html +4 -1
  107. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html +1 -1
  108. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +1 -1
  109. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +2 -1
  110. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +25 -33
  111. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/products-bulk-advanced-sync-modal.html +1 -1
  112. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-repositories.controller.js +1 -6
  113. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.controller.js +10 -2
  114. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.filter.js +9 -0
  115. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js +0 -2
  116. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-advanced-sync-options.html +1 -25
  117. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html +1 -1
  118. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +31 -13
  119. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +11 -3
  120. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html +0 -6
  121. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/aggregate-task.factory.js +3 -3
  122. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task.factory.js +1 -1
  123. data/lib/katello/engine.rb +2 -4
  124. data/lib/katello/permission_creator.rb +6 -12
  125. data/lib/katello/plugin.rb +76 -80
  126. data/lib/katello/repository_types/python.rb +37 -0
  127. data/lib/katello/tasks/reimport.rake +0 -9
  128. data/lib/katello/tasks/repository.rake +3 -4
  129. data/lib/katello/version.rb +1 -1
  130. data/locale/action_names.rb +28 -29
  131. data/locale/bn/katello.po +699 -221
  132. data/locale/cs/katello.po +167 -59
  133. data/locale/de/katello.po +585 -352
  134. data/locale/en/katello.po +167 -59
  135. data/locale/es/katello.po +1388 -1189
  136. data/locale/fr/katello.po +1740 -1494
  137. data/locale/gu/katello.po +896 -416
  138. data/locale/hi/katello.po +892 -415
  139. data/locale/it/katello.po +371 -170
  140. data/locale/ja/katello.po +1657 -1439
  141. data/locale/katello.pot +933 -736
  142. data/locale/kn/katello.po +894 -416
  143. data/locale/ko/katello.po +515 -317
  144. data/locale/mr/katello.po +857 -415
  145. data/locale/or/katello.po +894 -416
  146. data/locale/pa/katello.po +874 -411
  147. data/locale/pt/katello.po +347 -154
  148. data/locale/pt_BR/katello.po +1398 -1215
  149. data/locale/ru/katello.po +671 -463
  150. data/locale/ta/katello.po +697 -221
  151. data/locale/te/katello.po +891 -415
  152. data/locale/zh_CN/katello.po +2029 -1845
  153. data/locale/zh_TW/katello.po +735 -407
  154. data/package.json +3 -1
  155. data/webpack/components/EditableTextInput/EditableTextInput.js +3 -3
  156. data/webpack/components/RoutedTabs/RoutedTabs.js +7 -8
  157. data/webpack/components/Table/TableWrapper.js +19 -11
  158. data/webpack/components/Table/helpers.js +1 -1
  159. data/webpack/components/extensions/HostDetails/Tabs/ContentTab.js +42 -0
  160. data/webpack/components/extensions/HostDetails/Tabs/SubscriptionTab.js +12 -0
  161. data/webpack/components/extensions/RegistrationCommands/__tests__/__snapshots__/ActivationKeys.test.js.snap +4 -0
  162. data/webpack/components/extensions/RegistrationCommands/fields/ActivationKeys.js +1 -1
  163. data/webpack/components/extensions/RegistrationCommands/index.js +1 -2
  164. data/webpack/components/pf3Table/formatters/selectionHeaderCellFormatter.js +2 -1
  165. data/webpack/fills_index.js +4 -1
  166. data/webpack/redux/actions/RedHatRepositories/helpers.js +2 -4
  167. data/webpack/redux/reducers/RedHatRepositories/enabled.js +4 -1
  168. data/webpack/scenes/ContentViews/ContentViewsActions.js +16 -1
  169. data/webpack/scenes/ContentViews/ContentViewsConstants.js +15 -0
  170. data/webpack/scenes/ContentViews/ContentViewsPage.js +12 -22
  171. data/webpack/scenes/ContentViews/Copy/CopyContentViewForm.js +4 -3
  172. data/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +25 -14
  173. data/webpack/scenes/ContentViews/Create/CreateContentViewModal.js +4 -2
  174. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewAddModal.js +153 -0
  175. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentVersion.js +21 -10
  176. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +157 -19
  177. data/webpack/scenes/ContentViews/Details/ComponentContentViews/__tests__/contentViewComponents.fixtures.json +100 -108
  178. data/webpack/scenes/ContentViews/Details/ComponentContentViews/__tests__/contentViewComponents.test.js +140 -16
  179. data/webpack/scenes/ContentViews/Details/ComponentContentViews/__tests__/publishedContentViewDetails.fixtures.json +367 -0
  180. data/webpack/scenes/ContentViews/Details/ContentViewDetailActions.js +59 -6
  181. data/webpack/scenes/ContentViews/Details/ContentViewDetailSelectors.js +43 -0
  182. data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +44 -13
  183. data/webpack/scenes/ContentViews/Details/Filters/Add/CVFilterAddModal.js +161 -0
  184. data/webpack/scenes/ContentViews/Details/Filters/Add/__tests__/cvFilterAdd.test.js +54 -0
  185. data/webpack/scenes/ContentViews/Details/Filters/Add/__tests__/cvFilterCreateResult.fixtures.json +124 -0
  186. data/webpack/scenes/ContentViews/Details/Filters/CVPackageGroupFilterContent.js +8 -6
  187. data/webpack/scenes/ContentViews/Details/Filters/CVRpmFilterContent.js +7 -6
  188. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilterDetails.js +4 -3
  189. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilters.js +71 -12
  190. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilters.test.js +77 -0
  191. data/webpack/scenes/ContentViews/Details/Histories/ContentViewHistories.js +13 -12
  192. data/webpack/scenes/ContentViews/Details/Histories/__tests__/contentViewHistory.test.js +2 -2
  193. data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +17 -14
  194. data/webpack/scenes/ContentViews/Details/Repositories/LastSync.js +3 -3
  195. data/webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewAddRemove.test.js +2 -2
  196. data/webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewDetailRepos.test.js +6 -2
  197. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersions.js +61 -20
  198. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewTaskInProgressResponse.fixtures.json +71 -0
  199. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewTaskResponse.fixtures.json +75 -0
  200. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewVersions.test.js +86 -1
  201. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewVersionsWithTask.fixtures.json +713 -0
  202. data/webpack/scenes/ContentViews/Details/__tests__/contentViewDetail.test.js +3 -0
  203. data/webpack/scenes/ContentViews/Publish/CVPublishFinish.js +184 -0
  204. data/webpack/scenes/ContentViews/Publish/CVPublishForm.js +104 -0
  205. data/webpack/scenes/ContentViews/Publish/CVPublishReview.js +71 -0
  206. data/webpack/scenes/ContentViews/Publish/ContentViewPublishSelectors.js +17 -0
  207. data/webpack/scenes/ContentViews/Publish/PublishContentViewWizard.js +145 -0
  208. data/webpack/scenes/ContentViews/Publish/__tests__/environmentPaths.fixtures.json +352 -0
  209. data/webpack/scenes/ContentViews/Publish/__tests__/publishContentView.test.js +184 -0
  210. data/webpack/scenes/ContentViews/Publish/__tests__/publishResponse.fixture.json +69 -0
  211. data/webpack/scenes/ContentViews/Publish/cvPublishForm.scss +3 -0
  212. data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +75 -48
  213. data/webpack/scenes/ContentViews/Table/tableDataGenerator.js +15 -2
  214. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +6 -10
  215. data/webpack/scenes/ContentViews/components/EnvironmentLabels.js +22 -10
  216. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathActions.js +12 -0
  217. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathConstants.js +2 -0
  218. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPathSelectors.js +16 -0
  219. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.js +72 -0
  220. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.scss +8 -0
  221. data/webpack/scenes/ContentViews/components/TaskPresenter/TaskPresenter.js +85 -0
  222. data/webpack/scenes/SmartProxy/SmartProxyContentTable.js +9 -8
  223. data/webpack/scenes/Subscriptions/SubscriptionsPage.js +4 -25
  224. data/webpack/scenes/Subscriptions/__tests__/SubscriptionsPage.test.js +0 -3
  225. data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +3 -3
  226. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableSchema.js +4 -2
  227. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/SubscriptionsTable.test.js.snap +24 -0
  228. data/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Table.js +4 -1
  229. data/webpack/scenes/Subscriptions/index.js +1 -4
  230. metadata +74 -39
  231. data/app/lib/actions/candlepin/environment/create.rb +0 -21
  232. data/app/lib/actions/foreman/environment/destroy.rb +0 -23
  233. data/app/lib/actions/katello/content_view/environment_create.rb +0 -21
  234. data/app/lib/actions/katello/repository/export.rb +0 -85
  235. data/app/lib/actions/katello/repository/purge_empty_content.rb +0 -16
  236. data/app/lib/actions/katello/repository/upload_errata.rb +0 -38
  237. data/app/lib/katello/util/proxy_uri.rb +0 -64
  238. data/app/models/katello/rhsm_fact_importer.rb +0 -20
  239. data/app/models/katello/rhsm_fact_name.rb +0 -17
  240. data/app/models/katello/rhsm_fact_parser.rb +0 -120
@@ -0,0 +1,713 @@
1
+ {
2
+ "total": 2,
3
+ "subtotal": 2,
4
+ "page": 1,
5
+ "per_page": 20,
6
+ "error": null,
7
+ "search": null,
8
+ "sort": {
9
+ "by": "version",
10
+ "order": "desc"
11
+ },
12
+ "results": [
13
+ {
14
+ "version": "11.0",
15
+ "major": 11,
16
+ "minor": 0,
17
+ "composite_content_view_ids": [],
18
+ "published_in_composite_content_view_ids": [],
19
+ "content_view_id": 13,
20
+ "default": false,
21
+ "description": null,
22
+ "id": 108,
23
+ "name": "5 11.0",
24
+ "created_at": "2021-07-27 12:10:19 -0400",
25
+ "updated_at": "2021-07-27 12:10:19 -0400",
26
+ "content_view": {
27
+ "id": 13,
28
+ "name": "5",
29
+ "label": "5"
30
+ },
31
+ "composite_content_views": [],
32
+ "composite_content_view_versions": [],
33
+ "published_in_composite_content_views": [],
34
+ "environments": [
35
+ {
36
+ "id": 1,
37
+ "name": "Library",
38
+ "label": "Library",
39
+ "publish_date": "less than a minute",
40
+ "permissions": {
41
+ "readable": true,
42
+ "promotable_or_removable": true,
43
+ "all_hosts_editable": true,
44
+ "all_keys_editable": true
45
+ },
46
+ "host_count": 0,
47
+ "activation_key_count": 0
48
+ },
49
+ {
50
+ "id": 2,
51
+ "name": "dev",
52
+ "label": "dev",
53
+ "publish_date": "less than a minute",
54
+ "permissions": {
55
+ "readable": true,
56
+ "promotable_or_removable": true,
57
+ "all_hosts_editable": true,
58
+ "all_keys_editable": true
59
+ },
60
+ "host_count": 0,
61
+ "activation_key_count": 0
62
+ },
63
+ {
64
+ "id": 3,
65
+ "name": "test",
66
+ "label": "test",
67
+ "publish_date": "less than a minute",
68
+ "permissions": {
69
+ "readable": true,
70
+ "promotable_or_removable": true,
71
+ "all_hosts_editable": true,
72
+ "all_keys_editable": true
73
+ },
74
+ "host_count": 0,
75
+ "activation_key_count": 0
76
+ },
77
+ {
78
+ "id": 4,
79
+ "name": "dev1",
80
+ "label": "dev1",
81
+ "publish_date": "less than a minute",
82
+ "permissions": {
83
+ "readable": true,
84
+ "promotable_or_removable": true,
85
+ "all_hosts_editable": true,
86
+ "all_keys_editable": true
87
+ },
88
+ "host_count": 0,
89
+ "activation_key_count": 0
90
+ }
91
+ ],
92
+ "repositories": [
93
+ {
94
+ "id": 157,
95
+ "name": "repo1",
96
+ "label": "repo1",
97
+ "content_type": "yum",
98
+ "library_instance_id": 1
99
+ }
100
+ ],
101
+ "last_event": {
102
+ "user": "admin",
103
+ "status": "in progress",
104
+ "description": null,
105
+ "action": "promotion",
106
+ "created_at": "2021-07-27 12:10:24 -0400",
107
+ "updated_at": "2021-07-27 12:10:24 -0400",
108
+ "environment": {
109
+ "id": 4,
110
+ "name": "dev1"
111
+ },
112
+ "task": {
113
+ "id": "6b900ff8-62bb-42ac-8c45-da86b7258520",
114
+ "label": "Actions::Katello::ContentView::Publish",
115
+ "pending": true,
116
+ "action": "Publish content view '5'; organization 'Default Organization'",
117
+ "username": "admin",
118
+ "started_at": "2021-07-27 12:10:19 -0400",
119
+ "ended_at": null,
120
+ "state": "running",
121
+ "result": "pending",
122
+ "progress": 0,
123
+ "input": {
124
+ "content_view": {
125
+ "id": 13,
126
+ "name": "5",
127
+ "label": "5"
128
+ },
129
+ "organization": {
130
+ "id": 1,
131
+ "name": "Default Organization",
132
+ "label": "Default_Organization"
133
+ },
134
+ "services_checked": [
135
+ "pulp3",
136
+ "candlepin",
137
+ "candlepin_auth"
138
+ ],
139
+ "history_id": 184,
140
+ "content_view_id": 13,
141
+ "auto_publish_composite_ids": [],
142
+ "content_view_version_name": "5 11.0",
143
+ "content_view_version_id": 108,
144
+ "environment_id": 1,
145
+ "user_id": 4,
146
+ "skip_promotion": null,
147
+ "locale": "en",
148
+ "current_request_id": "1d10507b-643a-4e9b-a317-c525a6293917",
149
+ "current_timezone": "America/New_York",
150
+ "current_organization_id": 1,
151
+ "current_location_id": 2,
152
+ "current_user_id": 4
153
+ },
154
+ "output": {},
155
+ "humanized": {
156
+ "action": "Publish",
157
+ "input": [
158
+ [
159
+ "content_view",
160
+ {
161
+ "text": "content view '5'",
162
+ "link": "/content_views/13/versions"
163
+ }
164
+ ],
165
+ [
166
+ "organization",
167
+ {
168
+ "text": "organization 'Default Organization'",
169
+ "link": "/organizations/1/edit"
170
+ }
171
+ ]
172
+ ],
173
+ "output": "",
174
+ "errors": []
175
+ },
176
+ "cli_example": null,
177
+ "start_at": "2021-07-27 12:10:19 -0400",
178
+ "available_actions": {
179
+ "cancellable": false,
180
+ "resumable": false
181
+ }
182
+ },
183
+ "version": "11.0",
184
+ "publish": false,
185
+ "version_id": 108,
186
+ "triggered_by": null,
187
+ "triggered_by_id": null
188
+ },
189
+ "active_history": [
190
+ {
191
+ "user": "admin",
192
+ "status": "in progress",
193
+ "description": "",
194
+ "action": "publish",
195
+ "created_at": "2021-07-27 12:10:19 -0400",
196
+ "updated_at": "2021-07-27 12:10:19 -0400",
197
+ "environment": null,
198
+ "task": {
199
+ "id": "6b900ff8-62bb-42ac-8c45-da86b7258520",
200
+ "label": "Actions::Katello::ContentView::Publish",
201
+ "pending": true,
202
+ "action": "Publish content view '5'; organization 'Default Organization'",
203
+ "username": "admin",
204
+ "started_at": "2021-07-27 12:10:19 -0400",
205
+ "ended_at": null,
206
+ "state": "starting",
207
+ "result": "starting",
208
+ "progress": 0,
209
+ "input": {
210
+ "content_view": {
211
+ "id": 13,
212
+ "name": "5",
213
+ "label": "5"
214
+ },
215
+ "organization": {
216
+ "id": 1,
217
+ "name": "Default Organization",
218
+ "label": "Default_Organization"
219
+ },
220
+ "services_checked": [
221
+ "pulp3",
222
+ "candlepin",
223
+ "candlepin_auth"
224
+ ],
225
+ "history_id": 184,
226
+ "content_view_id": 13,
227
+ "auto_publish_composite_ids": [],
228
+ "content_view_version_name": "5 11.0",
229
+ "content_view_version_id": 108,
230
+ "environment_id": 1,
231
+ "user_id": 4,
232
+ "skip_promotion": null,
233
+ "locale": "en",
234
+ "current_request_id": "1d10507b-643a-4e9b-a317-c525a6293917",
235
+ "current_timezone": "America/New_York",
236
+ "current_organization_id": 1,
237
+ "current_location_id": 2,
238
+ "current_user_id": 4
239
+ },
240
+ "output": {},
241
+ "humanized": {
242
+ "action": "Publish",
243
+ "input": [
244
+ [
245
+ "content_view",
246
+ {
247
+ "text": "content view '5'",
248
+ "link": "/content_views/13/versions"
249
+ }
250
+ ],
251
+ [
252
+ "organization",
253
+ {
254
+ "text": "organization 'Default Organization'",
255
+ "link": "/organizations/1/edit"
256
+ }
257
+ ]
258
+ ],
259
+ "output": "",
260
+ "errors": []
261
+ },
262
+ "cli_example": null,
263
+ "start_at": "2021-07-27 12:10:19 -0400",
264
+ "available_actions": {
265
+ "cancellable": false,
266
+ "resumable": false
267
+ }
268
+ },
269
+ "version": "11.0",
270
+ "publish": true,
271
+ "version_id": 108,
272
+ "triggered_by": null,
273
+ "triggered_by_id": null
274
+ },
275
+ {
276
+ "user": "admin",
277
+ "status": "in progress",
278
+ "description": null,
279
+ "action": "promotion",
280
+ "created_at": "2021-07-27 12:10:22 -0400",
281
+ "updated_at": "2021-07-27 12:10:22 -0400",
282
+ "environment": {
283
+ "id": 2,
284
+ "name": "dev"
285
+ },
286
+ "task": {
287
+ "id": "6b900ff8-62bb-42ac-8c45-da86b7258520",
288
+ "label": "Actions::Katello::ContentView::Publish",
289
+ "pending": true,
290
+ "action": "Publish content view '5'; organization 'Default Organization'",
291
+ "username": "admin",
292
+ "started_at": "2021-07-27 12:10:19 -0400",
293
+ "ended_at": null,
294
+ "state": "running",
295
+ "result": "pending",
296
+ "progress": 0,
297
+ "input": {
298
+ "content_view": {
299
+ "id": 13,
300
+ "name": "5",
301
+ "label": "5"
302
+ },
303
+ "organization": {
304
+ "id": 1,
305
+ "name": "Default Organization",
306
+ "label": "Default_Organization"
307
+ },
308
+ "services_checked": [
309
+ "pulp3",
310
+ "candlepin",
311
+ "candlepin_auth"
312
+ ],
313
+ "history_id": 184,
314
+ "content_view_id": 13,
315
+ "auto_publish_composite_ids": [],
316
+ "content_view_version_name": "5 11.0",
317
+ "content_view_version_id": 108,
318
+ "environment_id": 1,
319
+ "user_id": 4,
320
+ "skip_promotion": null,
321
+ "locale": "en",
322
+ "current_request_id": "1d10507b-643a-4e9b-a317-c525a6293917",
323
+ "current_timezone": "America/New_York",
324
+ "current_organization_id": 1,
325
+ "current_location_id": 2,
326
+ "current_user_id": 4
327
+ },
328
+ "output": {},
329
+ "humanized": {
330
+ "action": "Publish",
331
+ "input": [
332
+ [
333
+ "content_view",
334
+ {
335
+ "text": "content view '5'",
336
+ "link": "/content_views/13/versions"
337
+ }
338
+ ],
339
+ [
340
+ "organization",
341
+ {
342
+ "text": "organization 'Default Organization'",
343
+ "link": "/organizations/1/edit"
344
+ }
345
+ ]
346
+ ],
347
+ "output": "",
348
+ "errors": []
349
+ },
350
+ "cli_example": null,
351
+ "start_at": "2021-07-27 12:10:19 -0400",
352
+ "available_actions": {
353
+ "cancellable": false,
354
+ "resumable": false
355
+ }
356
+ },
357
+ "version": "11.0",
358
+ "publish": false,
359
+ "version_id": 108,
360
+ "triggered_by": null,
361
+ "triggered_by_id": null
362
+ },
363
+ {
364
+ "user": "admin",
365
+ "status": "in progress",
366
+ "description": null,
367
+ "action": "promotion",
368
+ "created_at": "2021-07-27 12:10:23 -0400",
369
+ "updated_at": "2021-07-27 12:10:23 -0400",
370
+ "environment": {
371
+ "id": 3,
372
+ "name": "test"
373
+ },
374
+ "task": {
375
+ "id": "6b900ff8-62bb-42ac-8c45-da86b7258520",
376
+ "label": "Actions::Katello::ContentView::Publish",
377
+ "pending": true,
378
+ "action": "Publish content view '5'; organization 'Default Organization'",
379
+ "username": "admin",
380
+ "started_at": "2021-07-27 12:10:19 -0400",
381
+ "ended_at": null,
382
+ "state": "running",
383
+ "result": "pending",
384
+ "progress": 0,
385
+ "input": {
386
+ "content_view": {
387
+ "id": 13,
388
+ "name": "5",
389
+ "label": "5"
390
+ },
391
+ "organization": {
392
+ "id": 1,
393
+ "name": "Default Organization",
394
+ "label": "Default_Organization"
395
+ },
396
+ "services_checked": [
397
+ "pulp3",
398
+ "candlepin",
399
+ "candlepin_auth"
400
+ ],
401
+ "history_id": 184,
402
+ "content_view_id": 13,
403
+ "auto_publish_composite_ids": [],
404
+ "content_view_version_name": "5 11.0",
405
+ "content_view_version_id": 108,
406
+ "environment_id": 1,
407
+ "user_id": 4,
408
+ "skip_promotion": null,
409
+ "locale": "en",
410
+ "current_request_id": "1d10507b-643a-4e9b-a317-c525a6293917",
411
+ "current_timezone": "America/New_York",
412
+ "current_organization_id": 1,
413
+ "current_location_id": 2,
414
+ "current_user_id": 4
415
+ },
416
+ "output": {},
417
+ "humanized": {
418
+ "action": "Publish",
419
+ "input": [
420
+ [
421
+ "content_view",
422
+ {
423
+ "text": "content view '5'",
424
+ "link": "/content_views/13/versions"
425
+ }
426
+ ],
427
+ [
428
+ "organization",
429
+ {
430
+ "text": "organization 'Default Organization'",
431
+ "link": "/organizations/1/edit"
432
+ }
433
+ ]
434
+ ],
435
+ "output": "",
436
+ "errors": []
437
+ },
438
+ "cli_example": null,
439
+ "start_at": "2021-07-27 12:10:19 -0400",
440
+ "available_actions": {
441
+ "cancellable": false,
442
+ "resumable": false
443
+ }
444
+ },
445
+ "version": "11.0",
446
+ "publish": false,
447
+ "version_id": 108,
448
+ "triggered_by": null,
449
+ "triggered_by_id": null
450
+ },
451
+ {
452
+ "user": "admin",
453
+ "status": "in progress",
454
+ "description": null,
455
+ "action": "promotion",
456
+ "created_at": "2021-07-27 12:10:24 -0400",
457
+ "updated_at": "2021-07-27 12:10:24 -0400",
458
+ "environment": {
459
+ "id": 4,
460
+ "name": "dev1"
461
+ },
462
+ "task": {
463
+ "id": "6b900ff8-62bb-42ac-8c45-da86b7258520",
464
+ "label": "Actions::Katello::ContentView::Publish",
465
+ "pending": true,
466
+ "action": "Publish content view '5'; organization 'Default Organization'",
467
+ "username": "admin",
468
+ "started_at": "2021-07-27 12:10:19 -0400",
469
+ "ended_at": null,
470
+ "state": "running",
471
+ "result": "pending",
472
+ "progress": 0,
473
+ "input": {
474
+ "content_view": {
475
+ "id": 13,
476
+ "name": "5",
477
+ "label": "5"
478
+ },
479
+ "organization": {
480
+ "id": 1,
481
+ "name": "Default Organization",
482
+ "label": "Default_Organization"
483
+ },
484
+ "services_checked": [
485
+ "pulp3",
486
+ "candlepin",
487
+ "candlepin_auth"
488
+ ],
489
+ "history_id": 184,
490
+ "content_view_id": 13,
491
+ "auto_publish_composite_ids": [],
492
+ "content_view_version_name": "5 11.0",
493
+ "content_view_version_id": 108,
494
+ "environment_id": 1,
495
+ "user_id": 4,
496
+ "skip_promotion": null,
497
+ "locale": "en",
498
+ "current_request_id": "1d10507b-643a-4e9b-a317-c525a6293917",
499
+ "current_timezone": "America/New_York",
500
+ "current_organization_id": 1,
501
+ "current_location_id": 2,
502
+ "current_user_id": 4
503
+ },
504
+ "output": {},
505
+ "humanized": {
506
+ "action": "Publish",
507
+ "input": [
508
+ [
509
+ "content_view",
510
+ {
511
+ "text": "content view '5'",
512
+ "link": "/content_views/13/versions"
513
+ }
514
+ ],
515
+ [
516
+ "organization",
517
+ {
518
+ "text": "organization 'Default Organization'",
519
+ "link": "/organizations/1/edit"
520
+ }
521
+ ]
522
+ ],
523
+ "output": "",
524
+ "errors": []
525
+ },
526
+ "cli_example": null,
527
+ "start_at": "2021-07-27 12:10:19 -0400",
528
+ "available_actions": {
529
+ "cancellable": false,
530
+ "resumable": false
531
+ }
532
+ },
533
+ "version": "11.0",
534
+ "publish": false,
535
+ "version_id": 108,
536
+ "triggered_by": null,
537
+ "triggered_by_id": null
538
+ }
539
+ ],
540
+ "ansible collection_count": 0,
541
+ "deb_count": 0,
542
+ "docker_manifest_count": 0,
543
+ "docker_manifest_list_count": 0,
544
+ "docker_tag_count": 0,
545
+ "file_count": 0,
546
+ "rpm_count": 0,
547
+ "modulemd_count": 0,
548
+ "erratum_count": 0,
549
+ "package_group_count": 0,
550
+ "srpm_count": 0,
551
+ "module_stream_count": 0,
552
+ "package_count": 0,
553
+ "ostree_branch_count": null,
554
+ "errata_counts": {
555
+ "security": null,
556
+ "bugfix": 0,
557
+ "enhancement": 0,
558
+ "total": null
559
+ },
560
+ "permissions": {
561
+ "deletable": true
562
+ }
563
+ },
564
+ {
565
+ "version": "10.0",
566
+ "major": 10,
567
+ "minor": 0,
568
+ "composite_content_view_ids": [],
569
+ "published_in_composite_content_view_ids": [],
570
+ "content_view_id": 13,
571
+ "default": false,
572
+ "description": "",
573
+ "id": 107,
574
+ "name": "5 10.0",
575
+ "created_at": "2021-07-27 12:00:02 -0400",
576
+ "updated_at": "2021-07-27 12:00:28 -0400",
577
+ "content_view": {
578
+ "id": 13,
579
+ "name": "5",
580
+ "label": "5"
581
+ },
582
+ "composite_content_views": [],
583
+ "composite_content_view_versions": [],
584
+ "published_in_composite_content_views": [],
585
+ "environments": [],
586
+ "repositories": [
587
+ {
588
+ "id": 156,
589
+ "name": "repo1",
590
+ "label": "repo1",
591
+ "content_type": "yum",
592
+ "library_instance_id": 1
593
+ }
594
+ ],
595
+ "last_event": {
596
+ "user": "admin",
597
+ "status": "successful",
598
+ "description": null,
599
+ "action": "promotion",
600
+ "created_at": "2021-07-27 12:00:05 -0400",
601
+ "updated_at": "2021-07-27 12:00:28 -0400",
602
+ "environment": {
603
+ "id": 3,
604
+ "name": "test"
605
+ },
606
+ "task": {
607
+ "id": "a743dd27-a77f-4e4d-973e-acb3aac4a979",
608
+ "label": "Actions::Katello::ContentView::Publish",
609
+ "pending": false,
610
+ "action": "Publish content view '5'; organization 'Default Organization'",
611
+ "username": "admin",
612
+ "started_at": "2021-07-27 12:00:02 -0400",
613
+ "ended_at": "2021-07-27 12:00:28 -0400",
614
+ "state": "stopped",
615
+ "result": "success",
616
+ "progress": 1,
617
+ "input": {
618
+ "content_view": {
619
+ "id": 13,
620
+ "name": "5",
621
+ "label": "5"
622
+ },
623
+ "organization": {
624
+ "id": 1,
625
+ "name": "Default Organization",
626
+ "label": "Default_Organization"
627
+ },
628
+ "services_checked": [
629
+ "pulp3",
630
+ "candlepin",
631
+ "candlepin_auth"
632
+ ],
633
+ "history_id": 181,
634
+ "content_view_id": 13,
635
+ "auto_publish_composite_ids": [],
636
+ "content_view_version_name": "5 10.0",
637
+ "content_view_version_id": 107,
638
+ "environment_id": 1,
639
+ "user_id": 4,
640
+ "skip_promotion": null,
641
+ "locale": "en",
642
+ "current_request_id": "7ead0e79-5541-4caf-bfa6-df7d1e356b6b",
643
+ "current_timezone": "America/New_York",
644
+ "current_organization_id": 1,
645
+ "current_location_id": 2,
646
+ "current_user_id": 4
647
+ },
648
+ "output": {
649
+ "content_view_id": 13,
650
+ "content_view_version_id": 107,
651
+ "skip_promotion": null
652
+ },
653
+ "humanized": {
654
+ "action": "Publish",
655
+ "input": [
656
+ [
657
+ "content_view",
658
+ {
659
+ "text": "content view '5'",
660
+ "link": "/content_views/13/versions"
661
+ }
662
+ ],
663
+ [
664
+ "organization",
665
+ {
666
+ "text": "organization 'Default Organization'",
667
+ "link": "/organizations/1/edit"
668
+ }
669
+ ]
670
+ ],
671
+ "output": "",
672
+ "errors": []
673
+ },
674
+ "cli_example": null,
675
+ "start_at": "2021-07-27 12:00:02 -0400",
676
+ "available_actions": {
677
+ "cancellable": false,
678
+ "resumable": false
679
+ }
680
+ },
681
+ "version": "10.0",
682
+ "publish": false,
683
+ "version_id": 107,
684
+ "triggered_by": null,
685
+ "triggered_by_id": null
686
+ },
687
+ "active_history": [],
688
+ "ansible collection_count": 0,
689
+ "deb_count": 0,
690
+ "docker_manifest_count": 0,
691
+ "docker_manifest_list_count": 0,
692
+ "docker_tag_count": 0,
693
+ "file_count": 0,
694
+ "rpm_count": 8,
695
+ "modulemd_count": 0,
696
+ "erratum_count": 2,
697
+ "package_group_count": 0,
698
+ "srpm_count": 0,
699
+ "module_stream_count": 0,
700
+ "package_count": 8,
701
+ "ostree_branch_count": null,
702
+ "errata_counts": {
703
+ "security": null,
704
+ "bugfix": 0,
705
+ "enhancement": 0,
706
+ "total": 2
707
+ },
708
+ "permissions": {
709
+ "deletable": true
710
+ }
711
+ }
712
+ ]
713
+ }