Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-4934

Api: list module streams for introspected repos

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Content

      Goal: 

      • List modules and their streams for introspected repositories

      Acceptance Criteria:

      • an api:
      • POST /repositories/module_streams/search

      with input:

      {
         uuids: ["abcde"],
         package_names: ["foo", "bar"]
      }

      and return a list of modules with their streams:

      {
       data: [
           {
              module_name: "postgresql",
              streams: [
                 {
                   stream: "14",
                   profiles: { common: ["pkg1", "pkg2"], 
                               client: ["pkg3", "pkg4"] }            }            },
                 {
                   stream: "13",
                   profiles: { common: ["pkg1", "pkg2"], 
                              client: ["pkg3", "pkg4"] }            }
              ]      
           }
       ]
        
      }

      This should include pagination

       

      We'll need to store this data internally at introspection time

      We'll want to force introspection for all repositories (clearing repositories.repomd_checksum  should do this?)

              rhn-engineering-jsherrill Justin Sherrill
              rhn-engineering-jsherrill Justin Sherrill
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: