|
|
|
makeBaseRecord(res,
keepTimestamp=False)
returns a dictionary giving the metadata common to resource records. |
source code
|
|
|
|
|
iterSvcRecs(service,
keepTimestamp=False)
iterates over records suitable for importing into the service list
for service. |
source code
|
|
|
iterResRecs(res,
keepTimestamp=False)
as iterSvcRecs, just for ResRecs rather than Services. |
source code
|
|
|
iterDataRecs(res,
keepTimestamp=False)
as iterSvcRecs, just for DataDescriptors rather than Services. |
source code
|
|
|
|
|
updateServiceList(rds,
metaToo=False,
connection=None,
onlyWarn=True,
keepTimestamp=False,
unpublish=False)
updates the services defined in rds in the services table in the
database. |
source code
|
|
|
makeDeletedRecord(ivoid,
conn)
enters records into the internal service tables to mark ivoid as
deleted. |
source code
|
|
|
findAllRDs()
returns ids of all RDs (inputs and built-in) known to the system. |
source code
|
|
|
findPublishedRDs()
returns the ids of all RDs which have been published before. |
source code
|
|
|
getRDs(args)
returns a list of RDs from a list of RD ids or paths. |
source code
|
|
|
|
|
updateRegistryTimestamp()
edits the dateupdated field for the registry service in servicelist. |
source code
|
|
|
main()
handles the user interaction for gavo publish. |
source code
|
|