1973-02-03T12:22:01Z
DaCHS SSA unittest resource
You should not see this.
testing
Hendrix, J.; Page, J; et al.
The Master Tester
hendrix@nirvana.int
3.2.1-testing
A boring and pointless test table
2015ivoa.spec.0617D
four
//ssap#hcd
//obscore#publishSSAPHCD
dl
ssa_pubDID
enumerate
enumerate
ssa-nopreviews
r"\schema.hcdtest"
@mime
yield row
baseAccref = row["prodtblPath"]
row["prodtblAccref"] = baseAccref+".vot"
row["prodtblPath"] = "dcc://data.ssatest/mksdm?"+baseAccref
row["prodtblMime"] = "application/x-votable+xml"
yield row
"ivo://test.inv/"+@id
@\item
@targetName
"\schema.hcdtest"
"ivo://test.inv/"+@id
"junk from "+@id
@targetName
"Paper on "+@id
"Bruce Astrograph"
"test.junk"
auto
ssatest test ssa
artificial
archival
TARGETNAME=alpha%20Boo
(dachstoy:Location) {
x: @spectral
y: @flux
z: 23.4
}
//ssap#sdm-instance
seed = sum(ord(c) for c in self.sourceToken["accref"])
for count in range(seed//10):
yield {"spectral": seed+count, "flux": seed-count}
"\rdId#hcdtest"
False
"\rdId#datamaker"
if descriptor.pubDID is None:
# in-SSA response: Build a sentinel
yield MS(InputKey, name="bogus", description="Sentinel for"
" a skipped link")
return
yield descriptor.makeLink("http://example.org/auxstuff/"
+descriptor.pubDID.split("/")[-1],
description="An auxiliary test dataset",
semantics="#alternative")
"\rdId#hcdtest"
"\rdId#datamaker"
An SSAP service supporting getData
and datalink.
ssatest c
artificial
archival
TARGETNAME=alpha%20Boo
"accref"
r"\schema.hcdtest"
yield descriptor.makeLink(
str(descriptor.metadata["ssa_targname"]),
description="Preview image",
contentType='image/jpeg')
yield descriptor.makeLink(
base.makeAbsoluteURL(descriptor.metadata['accref']),
description="The full dataset",
contentType="application/fits")
descriptor.data = DataFromURL(
base.makeAbsoluteURL(descriptor.metadata["accref"]))