Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: butler
-
Labels:None
-
Story Points:10
-
Epic Link:
-
Sprint:DB_W16_01, DB_W16_02
-
Team:Data Access and Database
Description
For Get:
- If the mapper returns a URL:
- retrieve the URL contents into a file
- return the path to the file.
This will be optimized in subsequent stories by "add read support for various transports to the afw object readers". This is a degenerate case that will be used if the object does not have a reader for a given transport protocol.
Need to solve the cleanup problem of when to delete the file that was downloaded.
For Put:
- serialize the object to a temporary file
- transfer the file to the URL
I assume the mention of "files" in the description is really talking about what an initial implementation might look like, not something that would be visible in the interfaces. It would be good to have an interface that could support in-memory work and, potentially, streaming.