Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-3338

[bulk-import][backend] Add 'GET /organizations/:org/imports' endpoint

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • Bulk Import
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required

      To improve the response time when loading the list of repositories and organizations, the bulk import backend API exposes the following endpoints:

      • `GET /organizations` that returns a paginated list of all organizations accessible from all GH integrations
      • `GET /organizations/:org_name/repositories` that returns a paginated list of all repositories part of the given organization accessible from all GH integrations

      For import jobs, there is currently a single `GET /imports` endpoint that returns all imports from all repositories accessible from all GH integrations. And it can take time to return its data since it needs to fetch data from all accessible repositories.
      We want to segregate data by organizations, by exposing a new `GET /organizations/:org_name/imports` endpoint.

      Priority set to Minor because the UI currently does not list imports per organizations.

              Unassigned Unassigned
              rh-ee-asoro Armel Soro
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: