Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-41099

containerfile_install_command API respects page_size erroneously

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 6.19.0
    • Image Mode
    • False
    • Artemis Refinement Backlog
    • sat-artemis
    • None
    • None
    • None
    • None

      Description of problem:

      /api/v2/hosts/:id/transient_packages/containerfile_install_command should not respect pagination by default since it returns a command for users to copy/paste.

      We can still consider respecting it in case it is useful, but the default should be to not paginate. We need to be careful though if hammer sends pagination params be default.

      How reproducible:

      100%

      Is this issue a regression from an earlier version:

       

      Steps to Reproduce:

      1. Get more than 20 transient packages into katello_host_installed_packages

      2.  Query /api/v2/hosts/:id/transient_packages/containerfile_install_command

      Actual behavior:
      Only 20 packages will be included in the response.

      Expected behavior:
      Greater than 20 packages returned.

      Business Impact / Additional info:

       

              Unassigned Unassigned
              iballou@redhat.com Ian Ballou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: