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

Repositories should have bulk delete api endpoint.

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

      Suggestion: 

      Having bulk delete API for repositories will help.

       

      The performance team has requested this as well, as deleting 300 repos takes a while (since our current latency is sitting close to ~500ms, this could take 150s to do.)

      we likely would limit this to 100 repositories at a time.  The request should look like:

       

      POST  /repositories/bulk_delete/  

      {   "uuids": ["abcd", "efgh"] }

       

      If any one item fails (isn't found), the whole request should fail.

       

      Additional points: 

      • We will need to send notifications in a similar way as seen here
      • Delete the snapshots associated to each repository, as is done for the delete endpoint here

              rh-ee-dpang David Pang (Inactive)
              mlahane Mayuri Hadole
              Ryan Verdile
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: