metadatacenter / cedar-submission-server

CEDAR server to handle submissions to metadata repositories
Other
0 stars 1 forks source link

Create ImmPort upload registration ticket #7

Closed martinjoconnor closed 7 years ago

martinjoconnor commented 7 years ago

Using previous authentication credentials and workspace selection (#6) the submission server call the ImmPort Private Data API to create an upload registration ticket and provides the ImmPort credentials, the workspace ID, and the package name (either a zip file name or a directory name).

ImmPort Private Data API performs authentication and authorization based on ImmPort credentials and workspace ID and if valid, possibly updates the package name (replaces spaces with underscores, etc), creates an upload registration ticket with a status of 'Created', and returns the HTTP status, the upload registration ticket and its status, and the (possibly modified) package name. If authentication or authorization fails, or an error occurs during this process, the appropriate error is returned.

Required for steps 6-8 in ImmPort Submission Steps here:

https://docs.google.com/document/d/1J0j3scmOK8yZQDMH1Te1EiU_epmGCts01dsEHjj--e4/edit

martinjoconnor commented 7 years ago

This step no longer needed. One step upload instead. See #9.