70 likes | 249 Views
T HE US N ATIONAL V IRTUAL O BSERVATORY. VOSpace 1.1. Matthew J. Graham (Caltech, NVO). Data model. Specification - I. Links: extends Node with <target> URI </target> Containers: extends DataNode handles ‘/’ in URIs copy is recursive deep copy move and delete act on children too
E N D
THE US NATIONAL VIRTUAL OBSERVATORY VOSpace 1.1 Matthew J. Graham (Caltech, NVO) IVOA Trieste: Grid & Web Services
Data model IVOA Trieste: Grid & Web Services
Specification - I • Links: • extends Node with <target> URI </target> • Containers: • extends DataNode • handles ‘/’ in URIs • copy is recursive deep copy • move and delete act on children too • list only matches direct children and wildcards only in last step: a/b/c/*.txt • if accepts archive format (tar, zip,etc) will provide access to archive contents as children • inheritable properties IVOA Trieste: Grid & Web Services
Specification - II • Auto-generated names: • .auto is a reserved keyword: vos://service/path/.auto • Find: • regex match on [property][value] • and/or operators:<or> <and> <match uri=“…”> regex </match> <match uri=“…”> regex </match> </and> <match uri=“…”> regex </match></or> • (p1 and p2) or p3 IVOA Trieste: Grid & Web Services
Specification - III • Capabilities to expose 3rd party APIs:<node> <capability uri=“ivo://ivoa.net/srb”> <endpoint> some uri </endpoint> </capability></node> IVOA Trieste: Grid & Web Services
Discussion points - I IVOA Trieste: Grid & Web Services • Data model • Should capabilities only exist on the ContainerNode? • Inheritable properties • If a property is also declared on a child, which value takes priority? • How are properties registered as inheritable? • Container views • What are the names of the children nodes (for a container format that is imported to a container node)? • Are the children nodes Structured_/_UnstructuredDataNodes? • What is the default and is this settable? • How does the service identify what it considers to be archive formats? • Capabilities • What members other than uri and endpoint should a Capability have, e.g. param to specify additional arguments that might be required for access?
Discussion points - II IVOA Trieste: Grid & Web Services • Web service operations • getCapabilities • Do we want this operation (not VOSI)? • createNode • Do we need both a LinkFound and a ContainerNotFound exception or does the latter work for both cases? • findNodes • Are wildcards allowed in the property URIs - find me all nodes where any property matches this regular expression? • pushToVoSpace • If a Node already exists at the target URI and it is a ContainerNode, should it be overwritten by the target Node or should the target Node become a child of the ContainerNode? This also applies to pullToVoSpace.