-
Feature
-
Resolution: Done
-
Standard
-
None
-
None
-
None
-
None
-
8
-
Sprint 160
Acceptance Criteria:
Build a script that can test Gateway downloads and TDS downloads.
Exercise all our file download APIs and end user URLs.
Test OpenID workflow with TDS downloads.
Test range requests.
Automate testing if possible.
Use Cases to Test... All cases need to test both a normal download and a range request download.
Gateway
- Download without authentication/authorization needed (E.g.: ncl file)
Authorization Failures
- Attempt to download a file that requires authentication without being authenticated.
This dataset only requires authentication (being logged in), but not authorization.
https://www.earthsystemgrid.org/dataset/gridded_precip_and_temp.html
The files are HUGE in this dataset, however there is a doc file that is only a few megs in size:
https://www.earthsystemgrid.org/dataset/gridded_precip_and_temp/file/precip_temperature_ensemble_dataset_known_issues.docx
This dataset requires both authentication and authorization:
https://www.earthsystemgrid.org/dataset/ucar.cgd.clm.src.2.0.html
Group: CCSM (Community Climate System Model) users.
- Attempt to download a file that requires authorization without being authenticated.
- Download a file for a retracted dataset.
Authentication via OpenId/Username & Password
- Download file that requires only authentication.
- Attempt to download a file that requires authorization without proper authorization.
- Download a file that requires authorization with proper authorization.
- Download a file for a retracted dataset.
Authentication via Api-Token
- Download file that requires only authentication.
- Attempt to download a file that requires authorization without proper authorization.
- Download a file that requires authorization with proper authorization.
- Download a file for a retracted dataset.
TDS
- Download without authentication/authorization needed (E.g.: ncl file)
Authorization Failures
- Attempt to download a file that requires authentication without being authenticated. (cmip or nmme)
- Attempt to download a file that requires authorization without being authenticated.
Authentication via OpenId
- Download file that requires only authentication.
- Attempt to download a file that requires authorization without proper authorization.
- Download a file that requires authorization with proper authorization.
Authentication via Auth-Token
- Download file that requires only authentication.
- Attempt to download a file that requires authorization without proper authorization.
- Download a file that requires authorization with proper authorization.
Build a script that can test Gateway downloads and TDS downloads.
Exercise all our file download APIs and end user URLs.
Test OpenID workflow with TDS downloads.
Test range requests.
Automate testing if possible.
Use Cases to Test... All cases need to test both a normal download and a range request download.
Gateway
- Download without authentication/authorization needed (E.g.: ncl file)
Authorization Failures
- Attempt to download a file that requires authentication without being authenticated.
This dataset only requires authentication (being logged in), but not authorization.
https://www.earthsystemgrid.org/dataset/gridded_precip_and_temp.html
The files are HUGE in this dataset, however there is a doc file that is only a few megs in size:
https://www.earthsystemgrid.org/dataset/gridded_precip_and_temp/file/precip_temperature_ensemble_dataset_known_issues.docx
This dataset requires both authentication and authorization:
https://www.earthsystemgrid.org/dataset/ucar.cgd.clm.src.2.0.html
Group: CCSM (Community Climate System Model) users.
- Attempt to download a file that requires authorization without being authenticated.
- Download a file for a retracted dataset.
Authentication via OpenId/Username & Password
- Download file that requires only authentication.
- Attempt to download a file that requires authorization without proper authorization.
- Download a file that requires authorization with proper authorization.
- Download a file for a retracted dataset.
Authentication via Api-Token
- Download file that requires only authentication.
- Attempt to download a file that requires authorization without proper authorization.
- Download a file that requires authorization with proper authorization.
- Download a file for a retracted dataset.
TDS
- Download without authentication/authorization needed (E.g.: ncl file)
Authorization Failures
- Attempt to download a file that requires authentication without being authenticated. (cmip or nmme)
- Attempt to download a file that requires authorization without being authenticated.
Authentication via OpenId
- Download file that requires only authentication.
- Attempt to download a file that requires authorization without proper authorization.
- Download a file that requires authorization with proper authorization.
Authentication via Auth-Token
- Download file that requires only authentication.
- Attempt to download a file that requires authorization without proper authorization.
- Download a file that requires authorization with proper authorization.
- Depends On
-
GTWY-4844 Unable to Download Files from Gateway with API-Tokens
- Done