Ryan Emerson created ISPN-12353:
-----------------------------------
Summary: REST allow backup restore progress to be submitted and polled
Key: ISPN-12353
URL:
https://issues.redhat.com/browse/ISPN-12353
Project: Infinispan
Issue Type: Enhancement
Components: REST
Affects Versions: 12.0.0.Dev03
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 12.0.0.Final
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}
```
--
This message was sent by Atlassian Jira
(v7.13.8#713008)