... | ... | @@ -210,7 +210,6 @@ The following tests apply to "Institutional File Store" storage. |
|
|
- [ ] On "My Account", check your IFS storage is deleted.
|
|
|
|
|
|
|
|
|
|
|
|
#### Notes:
|
|
|
|
|
|
1. The tester will need SSGW admin rights when performing the above tests.
|
... | ... | @@ -229,19 +228,17 @@ The following tests apply to "Institutional File Store" storage. |
|
|
curl -H "Content-Type: application/json" -H "Authorization: Bearer $HPC_API_TOKEN" -X POST \
|
|
|
--data '{"timestamp":"2021-06-17T15:29","space_available":4000,"space_used":2000,"space_usedsnap":500,"space_usedds":1500,"snapshot_ratio":2}' \
|
|
|
$SSGW_HOST/api/storage/usage/{hpc_id}
|
|
|
|
|
|
# The `hpc_id` can be retrieved using the `/api/storage/project/` endpoint.
|
|
|
```
|
|
|
|
|
|
7. While testing, it is useful to impersonate other users.
|
|
|
This can be done in all non-production deployment by visiting `/superadmin/impersonate`
|
|
|
This can be done in all non-production deployments by visiting `/superadmin/impersonate`
|
|
|
and typing the username of the user you wish to impersonate.
|
|
|
Note that the user must already exist before they can be impersonate.
|
|
|
Note that the user must already exist before they can be impersonated.
|
|
|
https://django-hijack.readthedocs.io/
|
|
|
|
|
|
|
|
|
The `hpc_id` can be retrieved using the `/api/storage/project/` endpoint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Institutional Storage testing demo
|
|
|
|
|
|
Couldn't upload it into GitLab given the 10MB limit, so here is a [Google Drive link](https://drive.google.com/file/d/1cJsz4NNl66GMTmlOH6d-SKTNenebVB_j/view?usp=sharing) to access. |
|
|
\ No newline at end of file |