130 likes | 155 Views
Learn how to update metadata without submitting new documents, deprecate items without updates, and manage versioning effectively in ebRIM 3.0. Includes guidelines for logical IDs and object deprecation strategies.
E N D
Use Cases • Update metadata without submitting new document (version mgmt) • Deprecate without update • Delete
Version Mgmt • Versioning of Documents and Metadata objects (separately) • Focus on versioning of metadata objects • ebRS 3.0 Section 5.7
New Attributes • lid - logical id • versionInfo
Logical ID Attribute • First version of object has lid = id • Second (and after) has • Same lid attribute • New id attribute
versionInfo attribute • Maintained by Registry • Incremented for each version of an object
Submitting Update • Use UpdateObjectsRequest • Would pass through Document Repository actor un-altered • Entire object is updated (XDSDocumentEntry for example)
Packaging Update • XDS requirement that all submissions are bundled into SubmissionSet • Simplest update - of SubmissionSet object • Same lid as original • New id
Packaging Update (2) • Update Document • SubmissionSet and Association with new lid • DocumentEntry with original lid and new id
Query • Always reference latest version • Existing Stored Queries reference latest version • Add new Stored Query to get all versions of an object given parameter “lid”
lid vs id conflict • Sometimes reference is to id • Submission Set HasMember reference to new version • Sometimes reference is to lid • Everywhere else • Rule • Submission Set HasMember reference is always to id • All others use lid
Deprecate without Update • DeprecateObjectsRequest • Pass through Document Repository • Specify object(s) to deprecate via • ObjectRefList • Stored Query specification
Delete • RemoveObjectsRequest • Pass through Document Repository • Specify object(s) to remove via • ObjectRefList • Stored Query specification • Problem: what to do about document in repository?