Add a way to embed a file in a .weave archive
|Assignee:||Andy Dufilie||% Done:|
|Category:||Internal Code Refactoring|
We should have an option to reference the name of an embedded file or AMF3-encoded object (AMF3 would be preferable for speed). This feature is about creating a generalized interface for embedding files and referencing embedded files. WeaveAPI should have a new way to save and access embedded objects or files just like we have a reference to the globalHashMap.
Use CSVDataSource as a first test. CSVDataSource should have an option to embed data in .weave file as a file attachment instead of including it in the session state.
When exporting session state as XML, the files can be embedded as top-level tags.
These files will not be a part of the session history. We also need a way to manage embedded files, and when exporting a session state it should show the total size of the embedded files and have a button to open the manager. When deleting a file the interface should make it clear that removing the file will be a permanent change and not saved in the session history.
#1 Updated by Andy Dufilie almost 4 years ago
- Subject changed from CSVDataSource should embed data in .weave file as a file attachment instead of including it in the session state. to Add a way to embed a file in a .weave archive
- Description updated (diff)
- Status changed from Open to In Progress
- Assignee set to Andy Dufilie