katello 4.3.0.rc1 → 4.3.0.rc4

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 (299) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/katello/api/v2/api_controller.rb +4 -0
  3. data/app/controllers/katello/api/v2/capsule_content_controller.rb +11 -3
  4. data/app/controllers/katello/api/v2/content_uploads_controller.rb +1 -1
  5. data/app/controllers/katello/api/v2/generic_content_units_controller.rb +10 -4
  6. data/app/controllers/katello/api/v2/host_errata_controller.rb +5 -0
  7. data/app/controllers/katello/api/v2/host_packages_controller.rb +2 -0
  8. data/app/controllers/katello/api/v2/host_tracer_controller.rb +4 -0
  9. data/app/controllers/katello/api/v2/repositories_bulk_actions_controller.rb +8 -0
  10. data/app/controllers/katello/api/v2/repositories_controller.rb +35 -3
  11. data/app/controllers/katello/api/v2/repository_sets_controller.rb +2 -2
  12. data/app/controllers/katello/api/v2/root_controller.rb +10 -19
  13. data/app/controllers/katello/concerns/api/v2/bulk_extensions.rb +3 -13
  14. data/app/controllers/katello/concerns/api/v2/registration_controller_extensions.rb +1 -9
  15. data/app/controllers/katello/remote_execution_controller.rb +1 -1
  16. data/app/lib/actions/katello/capsule_content/refresh_repos.rb +1 -1
  17. data/app/lib/actions/katello/capsule_content/sync_capsule.rb +7 -5
  18. data/app/lib/actions/katello/repository/destroy.rb +3 -3
  19. data/app/lib/actions/katello/repository/import_upload.rb +12 -2
  20. data/app/lib/actions/pulp/repository/sync.rb +0 -2
  21. data/app/lib/actions/pulp3/abstract_async_task.rb +16 -4
  22. data/app/lib/actions/pulp3/capsule_content/generate_metadata.rb +5 -4
  23. data/app/lib/actions/pulp3/capsule_content/reclaim_space.rb +25 -0
  24. data/app/lib/actions/pulp3/orchestration/repository/import_repository_upload.rb +36 -0
  25. data/app/lib/actions/pulp3/orchestration/repository/import_upload.rb +1 -1
  26. data/app/lib/actions/pulp3/repository/commit_upload.rb +3 -1
  27. data/app/lib/actions/pulp3/repository/import_upload.rb +4 -2
  28. data/app/lib/actions/pulp3/repository/reclaim_space.rb +25 -0
  29. data/app/lib/actions/pulp3/repository/save_artifact.rb +12 -8
  30. data/app/lib/katello/resources/cdn.rb +10 -1
  31. data/app/lib/katello/resources/registry.rb +1 -1
  32. data/app/models/katello/concerns/host_managed_extensions.rb +7 -4
  33. data/app/models/katello/concerns/smart_proxy_extensions.rb +21 -9
  34. data/app/models/katello/content_view_version.rb +1 -6
  35. data/app/models/katello/glue/pulp/repo.rb +1 -2
  36. data/app/models/katello/host_tracer.rb +2 -0
  37. data/app/models/katello/pulp3/repository_reference.rb +7 -0
  38. data/app/models/katello/repository.rb +2 -30
  39. data/app/models/katello/root_repository.rb +3 -44
  40. data/app/models/setting/content.rb +2 -8
  41. data/app/presenters/katello/host_package_presenter.rb +21 -0
  42. data/app/services/katello/bulk_items_helper.rb +35 -0
  43. data/app/services/katello/pulp3/api/core.rb +16 -2
  44. data/app/services/katello/pulp3/content.rb +4 -2
  45. data/app/services/katello/pulp3/pulp_content_unit.rb +9 -3
  46. data/app/services/katello/pulp3/repository.rb +9 -4
  47. data/app/services/katello/pulp3/repository_mirror.rb +1 -1
  48. data/app/services/katello/repository_type.rb +2 -1
  49. data/app/services/katello/smart_proxy_helper.rb +10 -1
  50. data/app/views/foreman/job_templates/change_content_source.erb +42 -0
  51. data/app/views/foreman/job_templates/install_errata.erb +8 -6
  52. data/app/views/foreman/job_templates/resolve_traces.erb +4 -5
  53. data/app/views/foreman/job_templates/resolve_traces_-_katello_ansible_default.erb +3 -5
  54. data/app/views/foreman/smart_proxies/_content_sync.html.erb +17 -4
  55. data/app/views/foreman/smart_proxies/_reclaim_space.html.erb +12 -0
  56. data/app/views/foreman/smart_proxies/show.html.erb +4 -2
  57. data/app/views/katello/api/v2/capsule_content/sync_status.json.rabl +6 -0
  58. data/app/views/katello/api/v2/{organizations/cdn_configuration.rabl → cdn_configurations/show.json.rabl} +4 -0
  59. data/app/views/katello/api/v2/content_facet/show.json.rabl +8 -0
  60. data/app/views/katello/api/v2/content_view_filters/show.json.rabl +0 -1
  61. data/app/views/katello/api/v2/content_views/base.json.rabl +1 -1
  62. data/app/views/katello/api/v2/host_packages/base.json.rabl +2 -0
  63. data/app/views/katello/api/v2/organizations/show.json.rabl +1 -1
  64. data/app/views/katello/api/v2/repositories/show.json.rabl +0 -3
  65. data/config/routes/api/v2.rb +5 -10
  66. data/db/migrate/20210331180353_katello_pool_organization_id_not_nullable.rb +2 -0
  67. data/db/migrate/20211115215210_drop_ostree_branches.rb +13 -0
  68. data/db/migrate/20211129200124_remove_dependency_solving_algorithm_setting.rb +5 -0
  69. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion-katello-bootstrap.js +1 -2
  70. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion_katello.js +3 -3
  71. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.controller.js +21 -1
  72. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js +2 -1
  73. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/sync-state.service.js +2 -0
  74. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.routes.js +0 -10
  75. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-versions.html +0 -3
  76. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version-content.controller.js +0 -10
  77. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-versions.module.js +0 -1
  78. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version.html +0 -7
  79. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/content.service.js +0 -5
  80. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.module.js +0 -1
  81. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.routes.js +0 -11
  82. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/fenced-pages.service.js +1 -2
  83. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-repositories.controller.js +14 -2
  84. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.controller.js +2 -4
  85. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.filter.js +0 -10
  86. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-reclaim-space-modal.controller.js +36 -0
  87. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js +16 -2
  88. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details-reclaim-space-modal.html +18 -0
  89. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html +13 -0
  90. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +1 -1
  91. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js +3 -6
  92. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +4 -1
  93. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/os-versions.service.js +1 -0
  94. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/product-repositories-reclaim-space-modal.controller.js +35 -0
  95. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.routes.js +0 -9
  96. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repository.factory.js +3 -1
  97. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories-reclaim-space-modal.html +18 -0
  98. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html +7 -8
  99. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/pulp-primary/pulp-primary.controller.js +35 -0
  100. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/pulp-primary/pulp-primary.factory.js +18 -0
  101. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/pulp-primary/pulp-primary.module.js +14 -0
  102. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/pulp-primary/pulp-primary.routes.js +16 -0
  103. data/engines/bastion_katello/lib/bastion_katello/engine.rb +0 -1
  104. data/lib/katello/permission_creator.rb +3 -4
  105. data/lib/katello/plugin.rb +4 -10
  106. data/lib/katello/repository_types/ostree.rb +3 -1
  107. data/lib/katello/tasks/reset.rake +2 -2
  108. data/lib/katello/tasks/upgrades/4.3/fix_url_auth.rake +25 -0
  109. data/lib/katello/version.rb +1 -1
  110. data/package.json +1 -0
  111. data/webpack/components/AddedStatusLabel.js +2 -1
  112. data/webpack/components/EditableTextInput/EditableTextInput.js +76 -17
  113. data/webpack/components/EditableTextInput/__tests__/editableTextInput.test.js +82 -0
  114. data/webpack/components/EditableTextInput/editableTextInput.scss +4 -0
  115. data/webpack/components/Packages/index.js +63 -0
  116. data/webpack/components/RoutedTabs/index.js +3 -1
  117. data/webpack/components/Search/Search.js +7 -1
  118. data/webpack/components/SelectAllCheckbox/index.js +2 -2
  119. data/webpack/components/Table/EmptyStateMessage.js +4 -2
  120. data/webpack/components/Table/MainTable.scss +7 -1
  121. data/webpack/components/Table/TableHooks.js +10 -19
  122. data/webpack/components/Table/TableWrapper.js +3 -3
  123. data/webpack/components/WithOrganization/__snapshots__/withOrganization.test.js.snap +3 -3
  124. data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard.js +24 -30
  125. data/webpack/components/extensions/HostDetails/HostDetailsConstants.js +1 -0
  126. data/webpack/components/extensions/HostDetails/HostDetailsSelectors.js +16 -0
  127. data/webpack/components/extensions/HostDetails/HostErrata/HostErrataConstants.js +2 -0
  128. data/webpack/components/extensions/HostDetails/HostPackages/HostPackagesActions.js +11 -0
  129. data/webpack/components/extensions/HostDetails/HostPackages/HostPackagesConstants.js +2 -0
  130. data/webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js +16 -0
  131. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js +4 -0
  132. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/constants.js +1 -0
  133. data/webpack/components/extensions/HostDetails/Tabs/ErrataTab.js +119 -25
  134. data/webpack/components/extensions/HostDetails/Tabs/HostTracesConstants.js +1 -0
  135. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab.js +127 -0
  136. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab.scss +11 -0
  137. data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +30 -4
  138. data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionConstants.js +1 -0
  139. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsActions.js +73 -0
  140. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js +2 -0
  141. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsSelectors.js +16 -0
  142. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +347 -0
  143. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.scss +7 -0
  144. data/webpack/components/extensions/HostDetails/Tabs/TracesTab.js +38 -31
  145. data/webpack/components/extensions/HostDetails/Tabs/__tests__/bookmarks.fixtures.json +12 -0
  146. data/webpack/components/extensions/HostDetails/Tabs/__tests__/contentOverrides.fixtures.json +227 -0
  147. data/webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js +423 -2
  148. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packages.fixtures.json +28 -0
  149. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +91 -0
  150. data/webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySets.fixtures.json +120 -0
  151. data/webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySetsTab.test.js +307 -0
  152. data/webpack/components/extensions/HostDetails/Tabs/__tests__/resolveErrata.fixtures.json +35 -0
  153. data/webpack/components/extensions/HostDetails/Tabs/__tests__/tracesTab.test.js +55 -9
  154. data/webpack/components/extensions/HostDetails/Tabs/customizedRexUrlHelpers.js +28 -14
  155. data/webpack/containers/Application/overrides.scss +31 -9
  156. data/webpack/global_index.js +11 -4
  157. data/webpack/redux/reducers/RedHatRepositories/enabled.fixtures.js +0 -2
  158. data/webpack/scenes/Content/ContentConfig.js +23 -7
  159. data/webpack/scenes/Content/Details/__tests__/contentDetail.test.js +2 -0
  160. data/webpack/scenes/ContentCredentials/ContentCredentialActions.js +18 -0
  161. data/webpack/scenes/ContentCredentials/ContentCredentialConstants.js +2 -0
  162. data/webpack/scenes/ContentCredentials/ContentCredentialSelectors.js +12 -0
  163. data/webpack/scenes/ContentCredentials/__tests__/contentCredentials.fixtures.js +73 -0
  164. data/webpack/scenes/ContentViews/Copy/CopyContentViewForm.js +8 -12
  165. data/webpack/scenes/ContentViews/Copy/CopyContentViewModal.js +1 -1
  166. data/webpack/scenes/ContentViews/Copy/__tests__/copyContentView.test.js +1 -1
  167. data/webpack/scenes/ContentViews/Create/ContentViewFormComponents.js +3 -3
  168. data/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +7 -2
  169. data/webpack/scenes/ContentViews/Create/CreateContentViewForm.scss +7 -0
  170. data/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js +9 -9
  171. data/webpack/scenes/ContentViews/Delete/ContentViewDeleteWizard.js +6 -6
  172. data/webpack/scenes/ContentViews/Delete/Steps/CVDeleteEnvironmentsSelection.js +39 -37
  173. data/webpack/scenes/ContentViews/Delete/Steps/CVDeletionFinish.js +10 -4
  174. data/webpack/scenes/ContentViews/Delete/Steps/CVDeletionReview.js +35 -33
  175. data/webpack/scenes/ContentViews/Delete/__tests__/contentViewDelete.test.js +12 -7
  176. data/webpack/scenes/ContentViews/Delete/__tests__/cvVersionsData.fixtures.json +2 -6
  177. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentEnvironments.js +13 -14
  178. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +36 -31
  179. data/webpack/scenes/ContentViews/Details/ContentViewDetailActions.js +8 -8
  180. data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +108 -41
  181. data/webpack/scenes/ContentViews/Details/ContentViewInfo.js +3 -2
  182. data/webpack/scenes/ContentViews/Details/Filters/Add/CVFilterAddModal.js +2 -2
  183. data/webpack/scenes/ContentViews/Details/Filters/Add/__tests__/cvFilterCreateResult.fixtures.json +1 -2
  184. data/webpack/scenes/ContentViews/Details/Filters/AffectedRepositories/AffectedRepositoryTable.js +1 -4
  185. data/webpack/scenes/ContentViews/Details/Filters/CVContainerImageFilterContent.js +6 -6
  186. data/webpack/scenes/ContentViews/Details/Filters/CVErrataDateFilterContent.js +11 -5
  187. data/webpack/scenes/ContentViews/Details/Filters/CVErrataIDFilterContent.js +6 -9
  188. data/webpack/scenes/ContentViews/Details/Filters/CVModuleStreamFilterContent.js +5 -8
  189. data/webpack/scenes/ContentViews/Details/Filters/CVPackageGroupFilterContent.js +40 -43
  190. data/webpack/scenes/ContentViews/Details/Filters/CVRpmFilterContent.js +2 -2
  191. data/webpack/scenes/ContentViews/Details/Filters/ContentType.js +4 -4
  192. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilterDetailsHeader.js +6 -8
  193. data/webpack/scenes/ContentViews/Details/Filters/ContentViewFilters.js +6 -1
  194. data/webpack/scenes/ContentViews/Details/Filters/Rules/ContainerTag/AddEditContainerTagRuleModal.js +1 -1
  195. data/webpack/scenes/ContentViews/Details/Filters/Rules/Package/AddEditPackageRuleModal.js +16 -22
  196. data/webpack/scenes/ContentViews/Details/Filters/__tests__/CVRpmFilterContent.test.js +8 -8
  197. data/webpack/scenes/ContentViews/Details/Filters/__tests__/ContentViewPackageGroupFilter.test.js +3 -5
  198. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewErrataByDateDetails.fixtures.json +1 -8
  199. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilterDetail.fixtures.json +1 -2
  200. data/webpack/scenes/ContentViews/Details/Filters/__tests__/contentViewFilterDetails.test.js +5 -9
  201. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvAllRepos.fixtures.json +0 -2
  202. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvErrataDateFilterContent.test.js +1 -9
  203. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvErrataIDFilter.test.js +2 -4
  204. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvErratumFilterDetails.fixtures.json +1 -2
  205. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvFilterDetailModuleAffectedRepos.fixtures.json +1 -8
  206. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvFilterDetailWithAffectedRepos.fixtures.json +1 -8
  207. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvModuleStreamFilter.test.js +2 -4
  208. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvModuleStreamFilterDetails.fixtures.json +1 -2
  209. data/webpack/scenes/ContentViews/Details/Filters/__tests__/cvPackageFilterDetail.fixtures.json +1 -3
  210. data/webpack/scenes/ContentViews/Details/Promote/ContentViewVersionPromote.js +61 -32
  211. data/webpack/scenes/ContentViews/Details/Repositories/ContentCounts.js +6 -1
  212. data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +5 -8
  213. data/webpack/scenes/ContentViews/Details/Repositories/LastSync.js +55 -9
  214. data/webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewAddRemove.test.js +2 -0
  215. data/webpack/scenes/ContentViews/Details/Repositories/__tests__/contentViewDetailRepos.fixtures.json +0 -2
  216. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionContent.js +48 -29
  217. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionEnvironments.js +2 -2
  218. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionErrata.js +9 -7
  219. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersionErrata.scss +5 -2
  220. data/webpack/scenes/ContentViews/Details/Versions/ContentViewVersions.js +38 -9
  221. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveCVVersionWizard.js +4 -1
  222. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVEnvironmentSelectionForm.js +59 -53
  223. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVVersionDeleteFinish.js +14 -3
  224. data/webpack/scenes/ContentViews/Details/Versions/Delete/RemoveSteps/CVVersionRemoveReview.js +24 -17
  225. data/webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/cvVersionRemove.test.js +3 -3
  226. data/webpack/scenes/ContentViews/Details/Versions/Delete/__tests__/versionsResponseData.fixtures.json +1 -4
  227. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetails.js +4 -2
  228. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionDetailsHeader.js +134 -32
  229. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/ContentViewVersionRepositoryCell.js +8 -3
  230. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionComponent.fixtures.json +1 -4
  231. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionDetails.fixtures.json +1 -2
  232. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionDetails.test.js +21 -1
  233. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionDetailsCounts.fixtures.json +1 -2
  234. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionDetailsEmpty.test.js +22 -1
  235. data/webpack/scenes/ContentViews/Details/Versions/VersionDetails/__tests__/ContentViewVersionRepositories.fixtures.json +1 -18
  236. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewVersions.fixtures.json +5 -5
  237. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewVersions.test.js +2 -0
  238. data/webpack/scenes/ContentViews/Details/Versions/__tests__/contentViewVersionsWithTask.fixtures.json +1 -3
  239. data/webpack/scenes/ContentViews/Details/contentViewInfo.scss +0 -4
  240. data/webpack/scenes/ContentViews/Publish/CVPublishForm.js +66 -53
  241. data/webpack/scenes/ContentViews/Publish/CVPublishReview.js +40 -28
  242. data/webpack/scenes/ContentViews/Publish/PublishContentViewWizard.js +3 -3
  243. data/webpack/scenes/ContentViews/Publish/__tests__/publishContentView.test.js +14 -14
  244. data/webpack/scenes/ContentViews/Publish/cvPublishForm.scss +6 -0
  245. data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +53 -12
  246. data/webpack/scenes/ContentViews/Table/tableDataGenerator.js +12 -6
  247. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +6 -6
  248. data/webpack/scenes/ContentViews/components/ContentViewIcon.js +12 -7
  249. data/webpack/scenes/ContentViews/components/ContentViewsCounter.js +2 -2
  250. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.js +26 -27
  251. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.scss +18 -6
  252. data/webpack/scenes/ContentViews/components/WizardHeader.js +44 -0
  253. data/webpack/scenes/ContentViews/components/contentViewIcon.scss +13 -2
  254. data/webpack/scenes/Organizations/OrganizationActions.js +22 -24
  255. data/webpack/scenes/Organizations/OrganizationConstants.js +1 -3
  256. data/webpack/scenes/Organizations/OrganizationReducer.js +0 -7
  257. data/webpack/scenes/Organizations/OrganizationSelectors.js +16 -0
  258. data/webpack/scenes/Organizations/__tests__/OrganizationActions.test.js +1 -21
  259. data/webpack/scenes/Organizations/__tests__/OrganizationReducer.test.js +0 -20
  260. data/webpack/scenes/Organizations/__tests__/organizations.fixtures.js +34 -23
  261. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationForm.js +185 -0
  262. data/webpack/scenes/Subscriptions/Manifest/CdnConfigurationForm.scss +3 -0
  263. data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +112 -146
  264. data/webpack/scenes/Subscriptions/Manifest/__tests__/CdnConfigurationForm.test.js +114 -0
  265. data/webpack/scenes/Subscriptions/Manifest/__tests__/ManageManifestModal.test.js +121 -31
  266. data/webpack/scenes/Subscriptions/Manifest/index.js +14 -3
  267. data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsActions.test.js.snap +1 -0
  268. data/webpack/scenes/Tasks/TaskActions.js +4 -3
  269. data/webpack/scenes/Tasks/__tests__/__snapshots__/TaskActions.test.js.snap +1 -0
  270. data/webpack/utils/helpers.js +2 -2
  271. metadata +62 -43
  272. data/app/controllers/katello/api/v2/ostree_branches_controller.rb +0 -16
  273. data/app/lib/actions/pulp/repository/presenters/ostree_presenter.rb +0 -91
  274. data/app/models/katello/ostree_branch.rb +0 -12
  275. data/app/models/katello/repository_ostree_branch.rb +0 -7
  276. data/app/services/katello/pulp/ostree_branch.rb +0 -14
  277. data/app/services/katello/pulp/repository/ostree.rb +0 -48
  278. data/app/views/katello/api/v2/ostree_branches/compare.json.rabl +0 -10
  279. data/app/views/katello/api/v2/ostree_branches/index.json.rabl +0 -7
  280. data/app/views/katello/api/v2/ostree_branches/show.json.rabl +0 -5
  281. data/app/views/katello/api/v2/root/resource_list.json.rabl +0 -3
  282. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-ostree-branches.html +0 -26
  283. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-ostree.html +0 -27
  284. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch-repositories.controller.js +0 -77
  285. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch.controller.js +0 -31
  286. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch-info.html +0 -15
  287. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch-repositories.html +0 -72
  288. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch.html +0 -30
  289. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branch.factory.js +0 -27
  290. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.controller.js +0 -67
  291. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.module.js +0 -15
  292. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js +0 -50
  293. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/views/ostree-branches.html +0 -40
  294. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-ostree-branches.html +0 -40
  295. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/ostree-upstream-sync-policy.service.js +0 -26
  296. data/webpack/components/extensions/HostDetails/Tabs/SubscriptionTab.js +0 -12
  297. data/webpack/scenes/Content/Details/ContentCounts.js +0 -42
  298. data/webpack/scenes/Subscriptions/Manifest/__tests__/SimpleContentAccess.test.js +0 -108
  299. data/webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap +0 -158
@@ -84,6 +84,7 @@ Array [
84
84
  Object {
85
85
  "interval": 5000,
86
86
  "payload": Object {
87
+ "handleSuccess": undefined,
87
88
  "key": "SUBSCRIPTIONS_POLL_TASK",
88
89
  "url": "/foreman_tasks/api/tasks/eb1b6271-8a69-4d98-84fc-bea06ddcc166",
89
90
  },
@@ -31,12 +31,13 @@ export const startPollingTasks = (key, taskSearchParams = {}) =>
31
31
 
32
32
  export const stopPollingTasks = key => stopInterval(bulkSearchKey(key));
33
33
 
34
- const getTask = (key, task) => get({
34
+ const getTask = (key, task, handleSuccess) => get({
35
35
  key,
36
36
  url: `${foremanTasksApi.baseApiPath}/tasks/${task.id}`,
37
+ handleSuccess,
37
38
  });
38
39
 
39
- export const startPollingTask = (key, task) =>
40
- withInterval(getTask(pollTaskKey(key), task));
40
+ export const startPollingTask = (key, task, handleSuccess) =>
41
+ withInterval(getTask(pollTaskKey(key), task, handleSuccess));
41
42
 
42
43
  export const stopPollingTask = key => stopInterval(pollTaskKey(key));
@@ -4,6 +4,7 @@ exports[`task actions can poll a task 1`] = `
4
4
  Object {
5
5
  "interval": 5000,
6
6
  "payload": Object {
7
+ "handleSuccess": undefined,
7
8
  "key": "TEST_POLL_TASK",
8
9
  "url": "/foreman_tasks/api/tasks/12345",
9
10
  },
@@ -40,7 +40,7 @@ export const getResponseErrorMsgs = ({ data, actionType } = {}) => {
40
40
  data.displayMessage ||
41
41
  data.message ||
42
42
  data.errors ||
43
- data.error;
43
+ data.error?.message;
44
44
  return Array.isArray(messages) ? messages : [messages];
45
45
  }
46
46
  return [];
@@ -107,7 +107,7 @@ export const apiError = (actionType, result, additionalData = {}) => (dispatch)
107
107
 
108
108
  export const capitalize = s => s && s[0].toUpperCase() + s.slice(1);
109
109
 
110
- export const truncate = (str, truncateLimit = 50) => (str.length > truncateLimit ? `${str.substring(0, truncateLimit - 3)}...` : str);
110
+ export const truncate = (str = '', truncateLimit = 50) => (str.length > truncateLimit ? `${str.substring(0, truncateLimit - 3)}...` : str);
111
111
 
112
112
  export const pluralize = (quantity, singular, plural = `${singular}s`) => {
113
113
  if (quantity === 1) return `${quantity} ${singular}`;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katello
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0.rc1
4
+ version: 4.3.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - N/A
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-16 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -274,20 +274,20 @@ dependencies:
274
274
  requirements:
275
275
  - - ">="
276
276
  - !ruby/object:Gem::Version
277
- version: 3.15.0
277
+ version: 3.16.0
278
278
  - - "<"
279
279
  - !ruby/object:Gem::Version
280
- version: 3.16.0
280
+ version: 3.17.0
281
281
  type: :runtime
282
282
  prerelease: false
283
283
  version_requirements: !ruby/object:Gem::Requirement
284
284
  requirements:
285
285
  - - ">="
286
286
  - !ruby/object:Gem::Version
287
- version: 3.15.0
287
+ version: 3.16.0
288
288
  - - "<"
289
289
  - !ruby/object:Gem::Version
290
- version: 3.16.0
290
+ version: 3.17.0
291
291
  - !ruby/object:Gem::Dependency
292
292
  name: pulp_file_client
293
293
  requirement: !ruby/object:Gem::Requirement
@@ -354,40 +354,40 @@ dependencies:
354
354
  requirements:
355
355
  - - ">="
356
356
  - !ruby/object:Gem::Version
357
- version: 2.15.0
357
+ version: 2.16.0
358
358
  - - "<"
359
359
  - !ruby/object:Gem::Version
360
- version: 2.16.0
360
+ version: 2.17.0
361
361
  type: :runtime
362
362
  prerelease: false
363
363
  version_requirements: !ruby/object:Gem::Requirement
364
364
  requirements:
365
365
  - - ">="
366
366
  - !ruby/object:Gem::Version
367
- version: 2.15.0
367
+ version: 2.16.0
368
368
  - - "<"
369
369
  - !ruby/object:Gem::Version
370
- version: 2.16.0
370
+ version: 2.17.0
371
371
  - !ruby/object:Gem::Dependency
372
372
  name: pulp_rpm_client
373
373
  requirement: !ruby/object:Gem::Requirement
374
374
  requirements:
375
375
  - - ">="
376
376
  - !ruby/object:Gem::Version
377
- version: 3.15.0
377
+ version: 3.16.0
378
378
  - - "<"
379
379
  - !ruby/object:Gem::Version
380
- version: 3.16.0
380
+ version: 3.17.0
381
381
  type: :runtime
382
382
  prerelease: false
383
383
  version_requirements: !ruby/object:Gem::Requirement
384
384
  requirements:
385
385
  - - ">="
386
386
  - !ruby/object:Gem::Version
387
- version: 3.15.0
387
+ version: 3.16.0
388
388
  - - "<"
389
389
  - !ruby/object:Gem::Version
390
- version: 3.16.0
390
+ version: 3.17.0
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: pulp_certguard_client
393
393
  requirement: !ruby/object:Gem::Requirement
@@ -772,7 +772,6 @@ files:
772
772
  - app/controllers/katello/api/v2/katello_ping_controller.rb
773
773
  - app/controllers/katello/api/v2/module_streams_controller.rb
774
774
  - app/controllers/katello/api/v2/organizations_controller.rb
775
- - app/controllers/katello/api/v2/ostree_branches_controller.rb
776
775
  - app/controllers/katello/api/v2/package_groups_controller.rb
777
776
  - app/controllers/katello/api/v2/packages_controller.rb
778
777
  - app/controllers/katello/api/v2/products_bulk_actions_controller.rb
@@ -1052,7 +1051,6 @@ files:
1052
1051
  - app/lib/actions/pulp/repository/presenters/deb_presenter.rb
1053
1052
  - app/lib/actions/pulp/repository/presenters/docker_presenter.rb
1054
1053
  - app/lib/actions/pulp/repository/presenters/file_unit_presenter.rb
1055
- - app/lib/actions/pulp/repository/presenters/ostree_presenter.rb
1056
1054
  - app/lib/actions/pulp/repository/presenters/yum_presenter.rb
1057
1055
  - app/lib/actions/pulp/repository/refresh.rb
1058
1056
  - app/lib/actions/pulp/repository/regenerate_applicability.rb
@@ -1066,6 +1064,7 @@ files:
1066
1064
  - app/lib/actions/pulp3/abstract.rb
1067
1065
  - app/lib/actions/pulp3/abstract_async_task.rb
1068
1066
  - app/lib/actions/pulp3/capsule_content/generate_metadata.rb
1067
+ - app/lib/actions/pulp3/capsule_content/reclaim_space.rb
1069
1068
  - app/lib/actions/pulp3/capsule_content/refresh_distribution.rb
1070
1069
  - app/lib/actions/pulp3/capsule_content/sync.rb
1071
1070
  - app/lib/actions/pulp3/content_guard/refresh.rb
@@ -1089,6 +1088,7 @@ files:
1089
1088
  - app/lib/actions/pulp3/orchestration/repository/create.rb
1090
1089
  - app/lib/actions/pulp3/orchestration/repository/delete.rb
1091
1090
  - app/lib/actions/pulp3/orchestration/repository/generate_metadata.rb
1091
+ - app/lib/actions/pulp3/orchestration/repository/import_repository_upload.rb
1092
1092
  - app/lib/actions/pulp3/orchestration/repository/import_upload.rb
1093
1093
  - app/lib/actions/pulp3/orchestration/repository/multi_copy_all_units.rb
1094
1094
  - app/lib/actions/pulp3/orchestration/repository/refresh_if_needed.rb
@@ -1120,6 +1120,7 @@ files:
1120
1120
  - app/lib/actions/pulp3/repository/presenters/abstract_sync_presenter.rb
1121
1121
  - app/lib/actions/pulp3/repository/presenters/content_unit_presenter.rb
1122
1122
  - app/lib/actions/pulp3/repository/presenters/repair_presenter.rb
1123
+ - app/lib/actions/pulp3/repository/reclaim_space.rb
1123
1124
  - app/lib/actions/pulp3/repository/refresh_distribution.rb
1124
1125
  - app/lib/actions/pulp3/repository/refresh_remote.rb
1125
1126
  - app/lib/actions/pulp3/repository/remove_units.rb
@@ -1374,7 +1375,6 @@ files:
1374
1375
  - app/models/katello/module_stream_artifact.rb
1375
1376
  - app/models/katello/module_stream_erratum_package.rb
1376
1377
  - app/models/katello/module_stream_rpm.rb
1377
- - app/models/katello/ostree_branch.rb
1378
1378
  - app/models/katello/package_category.rb
1379
1379
  - app/models/katello/package_group.rb
1380
1380
  - app/models/katello/ping.rb
@@ -1409,7 +1409,6 @@ files:
1409
1409
  - app/models/katello/repository_file_unit.rb
1410
1410
  - app/models/katello/repository_generic_content_unit.rb
1411
1411
  - app/models/katello/repository_module_stream.rb
1412
- - app/models/katello/repository_ostree_branch.rb
1413
1412
  - app/models/katello/repository_package_group.rb
1414
1413
  - app/models/katello/repository_rpm.rb
1415
1414
  - app/models/katello/repository_srpm.rb
@@ -1437,6 +1436,7 @@ files:
1437
1436
  - app/overrides/override_taxonomy_actions.rb
1438
1437
  - app/presenters/katello/activation_key_subscriptions_presenter.rb
1439
1438
  - app/presenters/katello/content_view_version_compare_presenter.rb
1439
+ - app/presenters/katello/host_package_presenter.rb
1440
1440
  - app/presenters/katello/host_subscription_presenter.rb
1441
1441
  - app/presenters/katello/host_subscriptions_presenter.rb
1442
1442
  - app/presenters/katello/product_content_presenter.rb
@@ -1450,6 +1450,7 @@ files:
1450
1450
  - app/services/katello/applicability/applicable_content_helper.rb
1451
1451
  - app/services/katello/applicable_host_queue.rb
1452
1452
  - app/services/katello/authentication/client_authentication.rb
1453
+ - app/services/katello/bulk_items_helper.rb
1453
1454
  - app/services/katello/candlepin/consumer.rb
1454
1455
  - app/services/katello/candlepin/event_handler.rb
1455
1456
  - app/services/katello/candlepin/message_handler.rb
@@ -1482,7 +1483,6 @@ files:
1482
1483
  - app/services/katello/pulp/file_unit.rb
1483
1484
  - app/services/katello/pulp/importer_comparison.rb
1484
1485
  - app/services/katello/pulp/module_stream.rb
1485
- - app/services/katello/pulp/ostree_branch.rb
1486
1486
  - app/services/katello/pulp/package_category.rb
1487
1487
  - app/services/katello/pulp/package_group.rb
1488
1488
  - app/services/katello/pulp/pulp_content_unit.rb
@@ -1490,7 +1490,6 @@ files:
1490
1490
  - app/services/katello/pulp/repository/deb.rb
1491
1491
  - app/services/katello/pulp/repository/docker.rb
1492
1492
  - app/services/katello/pulp/repository/file.rb
1493
- - app/services/katello/pulp/repository/ostree.rb
1494
1493
  - app/services/katello/pulp/repository/yum.rb
1495
1494
  - app/services/katello/pulp/rpm.rb
1496
1495
  - app/services/katello/pulp/server.rb
@@ -1573,6 +1572,7 @@ files:
1573
1572
  - app/views/dashboard/_subscription_status_widget.html.erb
1574
1573
  - app/views/dashboard/_subscription_widget.html.erb
1575
1574
  - app/views/dashboard/_sync_widget.html.erb
1575
+ - app/views/foreman/job_templates/change_content_source.erb
1576
1576
  - app/views/foreman/job_templates/install_errata.erb
1577
1577
  - app/views/foreman/job_templates/install_errata_-_katello_ansible_default.erb
1578
1578
  - app/views/foreman/job_templates/install_group.erb
@@ -1593,6 +1593,7 @@ files:
1593
1593
  - app/views/foreman/job_templates/update_package_-_katello_ansible_default.erb
1594
1594
  - app/views/foreman/smart_proxies/_content_sync.html.erb
1595
1595
  - app/views/foreman/smart_proxies/_content_tab.html.erb
1596
+ - app/views/foreman/smart_proxies/_reclaim_space.html.erb
1596
1597
  - app/views/foreman/smart_proxies/show.html.erb
1597
1598
  - app/views/katello/api/v2/activation_keys/available_host_collections.json.rabl
1598
1599
  - app/views/katello/api/v2/activation_keys/available_releases.json.rabl
@@ -1605,6 +1606,7 @@ files:
1605
1606
  - app/views/katello/api/v2/ansible_collections/show.json.rabl
1606
1607
  - app/views/katello/api/v2/capsule_content/lifecycle_environments.json.rabl
1607
1608
  - app/views/katello/api/v2/capsule_content/sync_status.json.rabl
1609
+ - app/views/katello/api/v2/cdn_configurations/show.json.rabl
1608
1610
  - app/views/katello/api/v2/common/_identifier.json.rabl
1609
1611
  - app/views/katello/api/v2/common/_metadata.json.rabl
1610
1612
  - app/views/katello/api/v2/common/_org_reference.json.rabl
@@ -1730,14 +1732,10 @@ files:
1730
1732
  - app/views/katello/api/v2/module_streams/name_stream.json.rabl
1731
1733
  - app/views/katello/api/v2/module_streams/name_streams.json.rabl
1732
1734
  - app/views/katello/api/v2/module_streams/show.json.rabl
1733
- - app/views/katello/api/v2/organizations/cdn_configuration.rabl
1734
1735
  - app/views/katello/api/v2/organizations/index.json.rabl
1735
1736
  - app/views/katello/api/v2/organizations/owner_details.rabl
1736
1737
  - app/views/katello/api/v2/organizations/show.json.rabl
1737
1738
  - app/views/katello/api/v2/organizations/upstream_consumer.rabl
1738
- - app/views/katello/api/v2/ostree_branches/compare.json.rabl
1739
- - app/views/katello/api/v2/ostree_branches/index.json.rabl
1740
- - app/views/katello/api/v2/ostree_branches/show.json.rabl
1741
1739
  - app/views/katello/api/v2/package_groups/backend.json.rabl
1742
1740
  - app/views/katello/api/v2/package_groups/base.json.rabl
1743
1741
  - app/views/katello/api/v2/package_groups/compare.json.rabl
@@ -1766,7 +1764,6 @@ files:
1766
1764
  - app/views/katello/api/v2/repository_sets/available_repositories.json.rabl
1767
1765
  - app/views/katello/api/v2/repository_sets/index.json.rabl
1768
1766
  - app/views/katello/api/v2/repository_sets/show.json.rabl
1769
- - app/views/katello/api/v2/root/resource_list.json.rabl
1770
1767
  - app/views/katello/api/v2/smart_proxies/pulp_info.json.rabl
1771
1768
  - app/views/katello/api/v2/srpms/backend.json.rabl
1772
1769
  - app/views/katello/api/v2/srpms/base.json.rabl
@@ -2176,6 +2173,8 @@ files:
2176
2173
  - db/migrate/20211006161617_add_filename_to_katello_generic_content_units.rb
2177
2174
  - db/migrate/20211019192121_create_cdn_configuration.katello.rb
2178
2175
  - db/migrate/20211025181315_add_additional_metadata_to_katello_generic_content_units.rb
2176
+ - db/migrate/20211115215210_drop_ostree_branches.rb
2177
+ - db/migrate/20211129200124_remove_dependency_solving_algorithm_setting.rb
2179
2178
  - db/seeds.d/101-locations.rb
2180
2179
  - db/seeds.d/102-organizations.rb
2181
2180
  - db/seeds.d/104-proxy.rb
@@ -4178,7 +4177,6 @@ files:
4178
4177
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-errata.html
4179
4178
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-file.html
4180
4179
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-module-streams.html
4181
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-ostree-branches.html
4182
4180
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-package-groups.html
4183
4181
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-packages.html
4184
4182
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-yum.html
@@ -4219,7 +4217,6 @@ files:
4219
4217
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-docker.html
4220
4218
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-errata.html
4221
4219
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-module-streams.html
4222
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-ostree.html
4223
4220
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-packages.html
4224
4221
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-repositories.html
4225
4222
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment.html
@@ -4314,16 +4311,6 @@ files:
4314
4311
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organizations.module.js
4315
4312
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organizations.routes.js
4316
4313
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/views/organization-selector.html
4317
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch-repositories.controller.js
4318
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branch.controller.js
4319
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch-info.html
4320
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch-repositories.html
4321
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branch.html
4322
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branch.factory.js
4323
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.controller.js
4324
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.module.js
4325
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
4326
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/views/ostree-branches.html
4327
4314
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/package-groups/package-group.factory.js
4328
4315
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/package-groups/package-groups.module.js
4329
4316
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-repositories.controller.js
@@ -4355,9 +4342,11 @@ files:
4355
4342
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.controller.js
4356
4343
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-info.filter.js
4357
4344
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-manage-content.controller.js
4345
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details-reclaim-space-modal.controller.js
4358
4346
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js
4359
4347
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-advanced-sync-options.html
4360
4348
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-advanced-sync.html
4349
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details-reclaim-space-modal.html
4361
4350
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html
4362
4351
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html
4363
4352
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-ansible-collections.html
@@ -4368,7 +4357,6 @@ files:
4368
4357
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-files.html
4369
4358
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-generic-content.html
4370
4359
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-module-streams.html
4371
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-ostree-branches.html
4372
4360
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-package-groups.html
4373
4361
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-packages.html
4374
4362
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-tasks.html
@@ -4377,11 +4365,12 @@ files:
4377
4365
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/new-repository.controller.js
4378
4366
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html
4379
4367
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/os-versions.service.js
4380
- - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/ostree-upstream-sync-policy.service.js
4368
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/product-repositories-reclaim-space-modal.controller.js
4381
4369
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.module.js
4382
4370
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.routes.js
4383
4371
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repository-types.service.js
4384
4372
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repository.factory.js
4373
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories-reclaim-space-modal.html
4385
4374
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html
4386
4375
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/yum-content-units.service.js
4387
4376
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-details.html
@@ -4407,6 +4396,10 @@ files:
4407
4396
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.routes.js
4408
4397
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/partials/product-table-sync-status.html
4409
4398
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products.html
4399
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/pulp-primary/pulp-primary.controller.js
4400
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/pulp-primary/pulp-primary.factory.js
4401
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/pulp-primary/pulp-primary.module.js
4402
+ - engines/bastion_katello/app/assets/javascripts/bastion_katello/pulp-primary/pulp-primary.routes.js
4410
4403
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/repository-sets/content-override-helper.service.js
4411
4404
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/repository-sets/repository-set.factory.js
4412
4405
  - engines/bastion_katello/app/assets/javascripts/bastion_katello/repository-sets/repository-sets-enabled.filter.js
@@ -4517,6 +4510,7 @@ files:
4517
4510
  - lib/katello/tasks/upgrades/4.1/reupdate_content_import_export_perms.rake
4518
4511
  - lib/katello/tasks/upgrades/4.1/sync_noarch_content.rake
4519
4512
  - lib/katello/tasks/upgrades/4.2/remove_checksum_values.rake
4513
+ - lib/katello/tasks/upgrades/4.3/fix_url_auth.rake
4520
4514
  - lib/katello/tasks/virt_who_report.rake
4521
4515
  - lib/katello/url_constrained_cookie_store.rb
4522
4516
  - lib/katello/version.rb
@@ -4665,6 +4659,7 @@ files:
4665
4659
  - webpack/components/OptionTooltip/__tests__/OptionTooltip.test.js
4666
4660
  - webpack/components/OptionTooltip/__tests__/__snapshots__/OptionTooltip.test.js.snap
4667
4661
  - webpack/components/OptionTooltip/index.js
4662
+ - webpack/components/Packages/index.js
4668
4663
  - webpack/components/RoutedTabs/__tests__/RoutedTabs.test.js
4669
4664
  - webpack/components/RoutedTabs/index.js
4670
4665
  - webpack/components/Search/Search.js
@@ -4710,9 +4705,14 @@ files:
4710
4705
  - webpack/components/WithOrganization/withOrganization.test.js
4711
4706
  - webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard.js
4712
4707
  - webpack/components/extensions/HostDetails/Cards/__tests__/contentViewDetailsCard.test.js
4708
+ - webpack/components/extensions/HostDetails/HostDetailsConstants.js
4709
+ - webpack/components/extensions/HostDetails/HostDetailsSelectors.js
4713
4710
  - webpack/components/extensions/HostDetails/HostErrata/HostErrataActions.js
4714
4711
  - webpack/components/extensions/HostDetails/HostErrata/HostErrataConstants.js
4715
4712
  - webpack/components/extensions/HostDetails/HostErrata/HostErrataSelectors.js
4713
+ - webpack/components/extensions/HostDetails/HostPackages/HostPackagesActions.js
4714
+ - webpack/components/extensions/HostDetails/HostPackages/HostPackagesConstants.js
4715
+ - webpack/components/extensions/HostDetails/HostPackages/HostPackagesSelectors.js
4716
4716
  - webpack/components/extensions/HostDetails/Tabs/ContentTab/EmptyPage.js
4717
4717
  - webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js
4718
4718
  - webpack/components/extensions/HostDetails/Tabs/ContentTab/constants.js
@@ -4727,13 +4727,26 @@ files:
4727
4727
  - webpack/components/extensions/HostDetails/Tabs/HostTracesActions.js
4728
4728
  - webpack/components/extensions/HostDetails/Tabs/HostTracesConstants.js
4729
4729
  - webpack/components/extensions/HostDetails/Tabs/HostTracesSelectors.js
4730
+ - webpack/components/extensions/HostDetails/Tabs/PackagesTab.js
4731
+ - webpack/components/extensions/HostDetails/Tabs/PackagesTab.scss
4730
4732
  - webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js
4731
4733
  - webpack/components/extensions/HostDetails/Tabs/RemoteExecutionConstants.js
4732
- - webpack/components/extensions/HostDetails/Tabs/SubscriptionTab.js
4734
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsActions.js
4735
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
4736
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsSelectors.js
4737
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js
4738
+ - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.scss
4733
4739
  - webpack/components/extensions/HostDetails/Tabs/TracesTab.js
4734
4740
  - webpack/components/extensions/HostDetails/Tabs/TracesTab.scss
4741
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/bookmarks.fixtures.json
4742
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/contentOverrides.fixtures.json
4735
4743
  - webpack/components/extensions/HostDetails/Tabs/__tests__/errata.fixtures.json
4736
4744
  - webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js
4745
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/packages.fixtures.json
4746
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js
4747
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySets.fixtures.json
4748
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySetsTab.test.js
4749
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/resolveErrata.fixtures.json
4737
4750
  - webpack/components/extensions/HostDetails/Tabs/__tests__/resolveTraces.fixtures.json
4738
4751
  - webpack/components/extensions/HostDetails/Tabs/__tests__/tracerEmptyTraceResults.fixtures.json
4739
4752
  - webpack/components/extensions/HostDetails/Tabs/__tests__/tracerEnableJobInvocation.fixtures.json
@@ -4875,7 +4888,6 @@ files:
4875
4888
  - webpack/scenes/Content/ContentConstants.js
4876
4889
  - webpack/scenes/Content/ContentPage.js
4877
4890
  - webpack/scenes/Content/ContentSelectors.js
4878
- - webpack/scenes/Content/Details/ContentCounts.js
4879
4891
  - webpack/scenes/Content/Details/ContentDetails.js
4880
4892
  - webpack/scenes/Content/Details/ContentInfo.js
4881
4893
  - webpack/scenes/Content/Details/ContentRepositories.js
@@ -4892,6 +4904,10 @@ files:
4892
4904
  - webpack/scenes/Content/__tests__/contentTypes.fixtures.json
4893
4905
  - webpack/scenes/Content/__tests__/pythonPackages.fixtures.json
4894
4906
  - webpack/scenes/Content/index.js
4907
+ - webpack/scenes/ContentCredentials/ContentCredentialActions.js
4908
+ - webpack/scenes/ContentCredentials/ContentCredentialConstants.js
4909
+ - webpack/scenes/ContentCredentials/ContentCredentialSelectors.js
4910
+ - webpack/scenes/ContentCredentials/__tests__/contentCredentials.fixtures.js
4895
4911
  - webpack/scenes/ContentViews/ContentViewSelectors.js
4896
4912
  - webpack/scenes/ContentViews/ContentViewsActions.js
4897
4913
  - webpack/scenes/ContentViews/ContentViewsConstants.js
@@ -4905,6 +4921,7 @@ files:
4905
4921
  - webpack/scenes/ContentViews/Create/ContentViewCreateSelectors.js
4906
4922
  - webpack/scenes/ContentViews/Create/ContentViewFormComponents.js
4907
4923
  - webpack/scenes/ContentViews/Create/CreateContentViewForm.js
4924
+ - webpack/scenes/ContentViews/Create/CreateContentViewForm.scss
4908
4925
  - webpack/scenes/ContentViews/Create/CreateContentViewModal.js
4909
4926
  - webpack/scenes/ContentViews/Create/__tests__/contentViewCreateResult.fixtures.json
4910
4927
  - webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js
@@ -5079,6 +5096,7 @@ files:
5079
5096
  - webpack/scenes/ContentViews/components/IconWithCount.scss
5080
5097
  - webpack/scenes/ContentViews/components/InactiveText.js
5081
5098
  - webpack/scenes/ContentViews/components/TaskPresenter/TaskPresenter.js
5099
+ - webpack/scenes/ContentViews/components/WizardHeader.js
5082
5100
  - webpack/scenes/ContentViews/components/contentViewIcon.scss
5083
5101
  - webpack/scenes/ContentViews/expansions/DetailsExpansion.js
5084
5102
  - webpack/scenes/ContentViews/expansions/RelatedCompositeContentViewsModal.js
@@ -5218,6 +5236,8 @@ files:
5218
5236
  - webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap
5219
5237
  - webpack/scenes/Subscriptions/Details/__tests__/subscriptionDetails.fixtures.js
5220
5238
  - webpack/scenes/Subscriptions/Details/index.js
5239
+ - webpack/scenes/Subscriptions/Manifest/CdnConfigurationForm.js
5240
+ - webpack/scenes/Subscriptions/Manifest/CdnConfigurationForm.scss
5221
5241
  - webpack/scenes/Subscriptions/Manifest/DeleteManifestModalText.js
5222
5242
  - webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js
5223
5243
  - webpack/scenes/Subscriptions/Manifest/ManageManifestModal.scss
@@ -5227,11 +5247,10 @@ files:
5227
5247
  - webpack/scenes/Subscriptions/Manifest/ManifestHistoryReducer.js
5228
5248
  - webpack/scenes/Subscriptions/Manifest/ManifestHistoryTableSchema.js
5229
5249
  - webpack/scenes/Subscriptions/Manifest/SimpleContentAccess.js
5250
+ - webpack/scenes/Subscriptions/Manifest/__tests__/CdnConfigurationForm.test.js
5230
5251
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManageManifestModal.test.js
5231
5252
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManifestActions.test.js
5232
5253
  - webpack/scenes/Subscriptions/Manifest/__tests__/ManifestHistoryReducer.test.js
5233
- - webpack/scenes/Subscriptions/Manifest/__tests__/SimpleContentAccess.test.js
5234
- - webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap
5235
5254
  - webpack/scenes/Subscriptions/Manifest/__tests__/manifest.fixtures.js
5236
5255
  - webpack/scenes/Subscriptions/Manifest/index.js
5237
5256
  - webpack/scenes/Subscriptions/SubscriptionActions.js
@@ -1,16 +0,0 @@
1
- module Katello
2
- class Api::V2::OstreeBranchesController < Api::V2::ApiController
3
- apipie_concern_subst(:a_resource => N_("an ostree branch"), :resource => "ostree_branches")
4
- include Katello::Concerns::Api::V2::RepositoryContentController
5
-
6
- def default_sort
7
- %w(version desc)
8
- end
9
-
10
- private
11
-
12
- def resource_class
13
- OstreeBranch
14
- end
15
- end
16
- end
@@ -1,91 +0,0 @@
1
- module Actions
2
- module Pulp
3
- module Repository
4
- module Presenters
5
- class OstreePresenter < AbstractSyncPresenter
6
- def progress
7
- return 0.01 unless task_progress_details
8
-
9
- completion = 0.0
10
- completion += 0.2 if content_completed?(details("import_create_repository"))
11
-
12
- if content_completed?(details("import_pull"))
13
- completion += 0.5
14
- end
15
- completion += 0.3 if content_completed?(details("import_add_unit"))
16
- completion
17
- end
18
-
19
- private
20
-
21
- def fetch_pull_ratio(content_details)
22
- # looks like "details": "fetching 24980/46836 53%",
23
- fetch_details_line = content_details["details"]
24
- ret = "0"
25
- if fetch_details_line[-1] == "%"
26
- ret = fetch_details_line.split[-2] # "24980/46836"
27
- end
28
- ret
29
- end
30
-
31
- def humanized_details
32
- ret = []
33
- ret << _("Cancelled") if cancelled?
34
-
35
- if pending?
36
- ret << case current_step["step_type"]
37
- when "import_create_repository"
38
- _("Creating local repository")
39
- when "import_pull"
40
- _("Pulling remote branches. Downloaded %s units." % fetch_pull_ratio(details("import_pull")))
41
- when "import_add_unit"
42
- _("Adding content units")
43
- end
44
- end
45
-
46
- if task_result
47
- ret << _("Branches updated")
48
- end
49
-
50
- ret << sync_error if sync_error
51
- ret.join("\n")
52
- end
53
-
54
- def details(step_type)
55
- task_progress_details.find do |step|
56
- step[:step_type] == step_type
57
- end
58
- end
59
-
60
- def content_completed?(content_details)
61
- content_details && content_details[:state] == 'FINISHED'
62
- end
63
-
64
- def task_progress
65
- sync_task['progress_report']
66
- end
67
-
68
- def task_progress_details
69
- task_progress && task_progress['ostree_web_importer']
70
- end
71
-
72
- def pending?
73
- sync_task["state"] == 'running'
74
- end
75
-
76
- def current_step
77
- task_progress_details.detect { |step| step["state"] == "IN_PROGRESS" }
78
- end
79
-
80
- def finished?
81
- sync_task["state"] == 'finished'
82
- end
83
-
84
- def sync_error
85
- task_result && task_result["error_message"]
86
- end
87
- end
88
- end
89
- end
90
- end
91
- end
@@ -1,12 +0,0 @@
1
- module Katello
2
- class OstreeBranch < Katello::Model
3
- include Concerns::PulpDatabaseUnit
4
-
5
- scoped_search :on => :name, :complete_value => true
6
- scoped_search :on => :version, :complete_value => true
7
- scoped_search :on => :commit, :complete_value => true
8
- scoped_search :on => :pulp_id, :complete_value => true, :rename => :uuid
9
-
10
- CONTENT_TYPE = "ostree".freeze
11
- end
12
- end
@@ -1,7 +0,0 @@
1
- module Katello
2
- class RepositoryOstreeBranch < Katello::Model
3
- # Do not use active record callbacks in this join model. Direct INSERTs and DELETEs are done
4
- belongs_to :repository, :inverse_of => :repository_ostree_branches, :class_name => 'Katello::Repository'
5
- belongs_to :ostree_branch, :inverse_of => :repository_ostree_branches, :class_name => 'Katello::OstreeBranch'
6
- end
7
- end
@@ -1,14 +0,0 @@
1
- module Katello
2
- module Pulp
3
- class OstreeBranch < PulpContentUnit
4
- CONTENT_TYPE = "ostree".freeze
5
-
6
- def update_model(model)
7
- model.update(:name => backend_data[:branch],
8
- :version => backend_data[:metadata][:version],
9
- :commit => backend_data[:commit]
10
- )
11
- end
12
- end
13
- end
14
- end