-
Feature
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
5
-
Sprint 151
Problem: We have obscure download URLs in our file download links.
User: End User, Automated Download Script/Tool
Solution:
Acceptance Criteria:
Update all file download URLS to reflect RESTful form (File download page)
Friendly URL should only be displayed for Gateway local (ie. on disk) and brokered files.
Friendly URL behaves like current fileDownload.htm?logicalFileId= URL where files served from the TDS are redirected to the file access point.
Update WGet scripts to use new URL form.
Review URLs for file download API (this may be done).
Confirm that metrics harvesting can process these URLs (this may be done).
Example old url:
https://localhost:8443/download/fileDownload.html?logicalFileId=cb83599b-efcb-11e4-bac3-00c0f03d5b7c
Example new file URLs:
Gateway URL:
https://www.earthsystemgrid.org/dataset/nmme.output1.CCCMA.CanCM3.19810101.mon.atmos/file/clt_Amon_CanCM3_198101_r10i1p1_198101-198112.nc4
File Download API URL:
https://www.earthsystemgrid.org/api/v1/dataset/nmme.output1.CCCMA.CanCM3.19810101.mon.atmos/file/clt_Amon_CanCM3_198101_r10i1p1_198101-198112.nc4?api-token=ABCblah
Note: Archive (SRM) request URLs are done.
User: End User, Automated Download Script/Tool
Solution:
Acceptance Criteria:
Update all file download URLS to reflect RESTful form (File download page)
Friendly URL should only be displayed for Gateway local (ie. on disk) and brokered files.
Friendly URL behaves like current fileDownload.htm?logicalFileId= URL where files served from the TDS are redirected to the file access point.
Update WGet scripts to use new URL form.
Review URLs for file download API (this may be done).
Confirm that metrics harvesting can process these URLs (this may be done).
Example old url:
https://localhost:8443/download/fileDownload.html?logicalFileId=cb83599b-efcb-11e4-bac3-00c0f03d5b7c
Example new file URLs:
Gateway URL:
https://www.earthsystemgrid.org/dataset/nmme.output1.CCCMA.CanCM3.19810101.mon.atmos/file/clt_Amon_CanCM3_198101_r10i1p1_198101-198112.nc4
File Download API URL:
https://www.earthsystemgrid.org/api/v1/dataset/nmme.output1.CCCMA.CanCM3.19810101.mon.atmos/file/clt_Amon_CanCM3_198101_r10i1p1_198101-198112.nc4?api-token=ABCblah
Note: Archive (SRM) request URLs are done.