Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12353

REST allow backup restore progress to be submitted and polled

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 12.0.0.Dev03
    • 12.0.0.Dev05
    • REST
    • None

    Description

      The current rest endpoint for restoring backups is too restrictive, as there is no way to submit a restoration and then poll it's current status. We should add the following so that the endpoints are akin to the process for creating a backup:

       # Create, return 202 or 409 if {restoreName} already exists
       POST /rest/v2/cache-managers/{cacheManagerName}/restores/{restoreName}
      
       # Poll progress 201 complete, 202 if in progress, or 404 if not found
       HEAD /rest/v2/cache-managers/{cacheManagerName}/restores/{restoreName}
      

      Attachments

        Issue Links

          Activity

            People

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: