Feature #1163

Add a way to embed a file in a .weave archive

Added by Andy Dufilie over 4 years ago. Updated about 3 years ago.

Status:ResolvedStart date:01/29/2013
Priority:NormalDue date:
Assignee:Andy Dufilie% Done:

0%

Category:Internal Code Refactoring
Target version:-
Complexity:Medium OIC Priority:No
Required by:

Description

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.


Related issues

Related to Weave - Feature #1399: Add a GUI for managing embedded files Open 02/27/2014
Blocks Weave - Feature #1165: Add an option to store (and read) all the cached data from a WeaveDataSource into an exported .weave file. Open 01/30/2013

History

#1 Updated by Andy Dufilie about 3 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

#2 Updated by Andy Dufilie about 3 years ago

John, I plan to finish this today. I already have in mind what architecture I want.

#3 Updated by John Fallon about 3 years ago

Alright, let me know if you need any help.

#4 Updated by Andy Dufilie about 3 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF