Add UI and API support to edit and delete replications
Fixes #98 (closed); Reference #98 (closed)
Add UI support to update replications and delete replication with PENDING status. Add API support to deletion replication with PENDING status.
Screenshots:
Replication page with Edit icon:
Replication editing with error/ Replication with status STARTED that won't allow deletion:
Edit form with SUCCESSFUL status selected:
Cancel Action Button: Cancel and go back to previous page:
Delete/Cancel Replications:
Edit form with PENDING status that allows deletion:
Delete through api calls:
$ curl -i -u admin:admin -XDELETE http://localhost:8080/api/replications/70
HTTP/1.1 204
Set-Cookie: JSESSIONID=11FDCFB24AE1952740DDA4A513C9475C; Path=/; HttpOnly
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Date: Mon, 06 Jan 2020 22:24:01 GMT
@mcritchlow1 I've reapply the change in MR !24 (closed), add added support for cancelling the action. Please review. Thanks.