90 likes | 110 Views
INSPIRE Registry Versioning. Versioning. Languages Hierarchy Item URIs. Versioning level. Registry. Register. Register. Item. Item. EN. DE. FR. Versioning level. Proposal: versioning at items level. Registry. Keep changelog
E N D
Versioning • Languages • Hierarchy • Item URIs
Versioning level Registry Register Register ... Item Item ... ... EN DE FR
Versioning level • Proposal: versioning at items level Registry • Keep changelog • Enable searching for items changed before/after a certain date Register Register ... Clarification no new versions Supersesion Retirement Invalidation Item Item new versions ... ... EN DE FR
Hierarchy Relations between • collection-parent and collection-item (Example: codelist - codevalue) • parent and child item Codevalue Item collection Codelist register Codelist Codevalue Codevalue Codelist Hierarchy Codevalue Codelist Codevalue Codelist Codelist Codevalue
Hierarchy: parent-child • Parent increase the version every time a child increase the version Pro: all the children's changes are reflected to the parent; Cons: the parent’s version may rapidly increase, bigger database. • Parent keeps its version even if a children change its version • Pro: smaller database, less complexity of the versioning system; • Cons: the contained item‘s changes are reflected only at that item’s level; at the parent level no changes seems to be done.
Hierarchy: item retirement • If a item is retired, all the collection items / children linked to it will be retired • If a collection father/parent is retired, there could be the possibility to choose what to do with the collection item / children: • Retire too • Keep and link to other collection father/parent
Items URI • The item’s URI contains the reference to the version concatenating the URI name to the version number: • URIname: reference to the latest version. • URIname_v1: reference to the specific version; http://inspire.ec.europa.eu/theme/ad http://inspire.ec.europa.eu/theme/ad_1
Thank you • Questions? • Feedback? • inspire-registry-dev@jrc.ec.europa.eu • Feedback tool: • http://inspire.ec.europa.eu/useresponse/registry