|
Since export/import is allowed at any time, I think it makes sense to add (as needed) to the Gradebook service API to handle all of the actual reads and writes. That way the same code can be used whether we use the legacy "Entity" approach or the projected new import/export approach.
Will the export include assignments tied to the Assignment , Test and Survey and Message Center tools if the data from those tools are also exported?
It will not include anything from Test and Quzzes because that tool stores its own data about the grade entries that are exported.
As of 2.4, Assignments will allow you to create entries that are stored in the Gradebook database. Those entries will be included because they will not create the potential for future data problems upon import of the gradebook "shell." Message Center does not store its own grade information, so there is no potential for conflict. All of the MC entries will be included. It is important to distinguish between the ability to archive a site and to re-use it. We are tackling the latter in this task. Sakai does not yet provide a way to take a complete snapshot of a site and then selectively import that same site for re-use. Before adding new methods to the one monolithic GradebookService, we wanted to split it into three separate service interfaces to reflect our three types of programmatic client: code which wanted to act like the Gradebook application itself does (including any authorization checks), external assessment engines which completely control their own data and use the Gradebook just as a passive mirror, and the framework which creates and deletes Gradebook instances.
Since this task involves adding service methods, I finally made the split and checked it as revision 20345. After looking at the legacy "Site Archive" UI and code, Oliver and I agreed that for now we would stick to supporting migration between sites ("Import from Site" rather than "Import from File"). We'll leave external archival and restoration to be part of the newer archive / import / merge work.
Checked in support for site migration (with some guesses for future work) as revision 20758. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1) Should the assignment's "is counted" state be included? My guess is yes, since that's presumably often used to distinguish survey or trial assessments.
2) Should the assignment's "is released" state be included? My guess is no, since that's presumably more often used to indicate that everyone's taken the assignment.
3) Should gradebook-wide options (notably the grading scheme) be included? My guess is no, at least in this first release, since Sakai users can import from multiple sites / archives at once or over time.