Closed Zakaria-Kofiro closed 1 year ago
This change adds the following routes for uploading and downloading scripts and datafiles:
GET /v2/scripts/download/{scriptId} -> Downloads the Tank XML file for a script
GET /v2/scripts/harness/download/{scriptId} -> Downloads the Tank Harness file for a script
GET /v2/scripts/external/download/{externalScriptId} -> Downloads the Tank XML file for an external script
POST /v2/scripts/upload -> Uploads a script XML file output generated by the Tank Proxy Package
Optional query parameters for upload:
GET /v2/datafiles/download/{datafileId} -> Downloads a datafile
POST /v2/scripts/upload -> Uploads a datafile to Tank
Please make sure these check boxes are checked before submitting
mvn clean test -P default
PR review process
Add upload/download routes to script and datafile services
This change adds the following routes for uploading and downloading scripts and datafiles:
Scripts:
GET /v2/scripts/download/{scriptId} -> Downloads the Tank XML file for a script
GET /v2/scripts/harness/download/{scriptId} -> Downloads the Tank Harness file for a script
GET /v2/scripts/external/download/{externalScriptId} -> Downloads the Tank XML file for an external script
POST /v2/scripts/upload -> Uploads a script XML file output generated by the Tank Proxy Package
Optional query parameters for upload:
Datafiles:
GET /v2/datafiles/download/{datafileId} -> Downloads a datafile
POST /v2/scripts/upload -> Uploads a datafile to Tank
Optional query parameters for upload:
Please make sure these check boxes are checked before submitting
mvn clean test -P default
PR review process