1 """
2 Registry interface: service list, record generation, OAI endpoint.
3
4 Our identifiers have the form
5
6 ivo://<authority>/<rd-path>/service-id
7
8 except for the authority itself, which is, of course, just
9 ivo://<authority>.
10
11 authority is given by authority in the ivoa section of config.
12
13 This package deals with two ways to represent resources:
14
15 - res tuples, as returned by servicelist.queryServicesList and used
16 whenever no or little metadata is necessary. Contrary to what their
17 name suggests, they are actually dictionaries.
18
19 - res objects. Those are the actual objects (e.g., svc.Service or
20 similar). Since they may be expensive to construct (though, of
21 course, most of them ought to be cached on reasonably busy sites),
22 they are only constructed when real metadata is required.
23 """
24
25
26
27
28
29
30
31
32
33 from gavo.registry.common import *
34 from gavo.registry import oaiinter
35 from gavo.registry import servicelist
36
37
38 from gavo.registry.builders import (getVOResourceElement,
39 getVORMetadataElement)
40 from gavo.registry.identifiers import (getResobFromIdentifier,
41 getResobFromRestup, parseIdentifier)
42 from gavo.registry.publication import (
43 findAllRDs,
44 findPublishedRDs,
45 HIDDEN_RENDERERS)
46 from gavo.registry.servicelist import getTableDef
47 from gavo.registry.nonservice import ResRec
48 from gavo.registry.tableset import getTablesetForService
49