Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Relevant Issue: https://sagebionetworks.jira.com/browse/PLFM-4253

REMOVE BASE KEY

keyprefixuuid

just implement file handle

make ClientDelegatedS3FIleHandle extend an new ExternalFileHandleInterface and move preview and externalFileHandle externalFileHandle 

ExternalObjectStoreFileHandle,ExternalObjectStorageLocationSetting, ExternalObjectStoreUploadDestination

Image Modified

StorageLocationSettings are immutable and thus can be cached client side. The information in these will therefore not be repeated in the new implementations of UploadDestination and FileHandle.
The keyPath in ClientDelegatedS3UploadDestination is client generated:/<<UUID>>.
The key in ClientDelegatedS3FIleHandle, once uploaded will be <<UUID>>/fileName.

...

ActionURIMethodRequest BodyResponse Body
Creates a ClientDelegatedS3FileHandle. Its storageLocationId must match that of a ClientDelegatedS3StorageLocationSetting/externalFileHandle/clientS3????POSTClientDelegatedS3FileHandleClientDelegatedS3FIleHandle

...