Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: QA
-
Story Points:4
-
Epic Link:
-
Team:SQuaRE
Description
DM-6629 introduced a new measurement API. The post-qa app needs to be updated to shim and upload this JSON to the SQUASH API.
Note that this ticket only updates the shims for the new measurement api's JSON to the current SQUASH API. A separate ticket will be needed to then adapt this the output schema for a more fully-featured SQUASH API.
This ticket should use JSON Schema to validate that the shims are successfully producing the JSON that is expected by the SQUASH API.
Jonathan Sick, Joshua Hoblitt
Related to the JSON generated by post_qa, right now it looks like the example below
{
{ "metric": "AM1", "value": 7.137208394754365 }"ci_id": "177",
"ci_name": "demo",
"ci_url": "https://ci.lsst.codes/job/validate_drp/dataset=cfht,label=centos-7,python=py2/177/",
"date": "2016-07-27T16:32:08.300213+00:00",
"measurements": [
,
ci_name should assume the value validate_drp right?
and I am planning to add
"ci_dataset": "cfht"
and
"ci_label": "centos-7"
to implement the ability of filtering the data by dataset and platform in the dashboard (related to ticket
DM-6992).do you agree with this change?