[[BackLinksMenu]] [[TicketQuery(summary=S2S_PERSIST_RESOURCES_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = == Overview == We need to define a model for storing resources on the Sophie2 Server. == Task requirements == * It must be decided what resources will be persisted on the server. For example, resources with local scope and targets of resources with server scope will probably not be stored. * Then must be decided how these resources will be stored (database, xml, etc.) * The persistence module must be updated with a proto "resource persistence" support. You can see the basic resource operations here: [wiki:BASE_RESOURCE_COMMONS_R0] * Approptiate unit tests must be written. == Task result == Source code (updated org.sophie2.server.persistence module, unit tests). == Implementation idea == * Look at BASE_RESOURCE_COMMONS_R0 (in "related") for a basic concept of resources. * Schedule a discussion about resource persistence and write the conclusions in this design section. == Related == [wiki:BASE_RESOURCE_COMMONS_R0] [[BR]] [wiki:S2S_PERSIST_MODEL_R0] [[BR]] [wiki:S2S_PERSISTENCE_COMMONS_R0] [[BR]] == How to demo == Show the new classes, run the unit tests. = Design = = Implementation = ^(Implementation results should be described and linked here (from the wiki or the repository))^ = Testing = = Comments = ^(Write comments for this or later revisions here.)