A cli-facing module providing functionality to "validate"
one or more resource descriptors.
Validation means giving some prognosis as to whether RD will properly
work within both the DC and the VO.
While validation is active there's base.VALIDATING=True. If RDs to
anything expensive, they're advised to have something like:
|
|
|
|
|
outputWarning(rdId,
message,
verbose=False) |
source code
|
|
|
|
|
isIVOPublished(svc)
returns true if svc has a publication facing the VO. |
source code
|
|
|
validateServices(rd,
args)
outputs to stdout various diagnostics about the services on rd. |
source code
|
|
|
validateRST(rd,
args)
outputs diagnostics on RST formatting problems. |
source code
|
|
|
validateRowmakers(rd,
args)
tries to build all rowmakers mentioned in the RD and bails out if one
is bad. |
source code
|
|
|
validateOtherCode(rd,
args)
tries to compile other pieces of code in an RD and bails out if one
is bad. |
source code
|
|
|
validateTables(rd,
args)
does some sanity checks on the (top-level) tables within rd. |
source code
|
|
|
validateOne(rdId,
args)
outputs to stdout various information on the RD identified by rdId. |
source code
|
|
|
validateAll(args)
validates all accessible RDs. |
source code
|
|
|
|
|
|