Update returned link structure for tests runs in collect.cgi

VERIFIED FIXED in 1.0

Status

Webtools Graveyard
Graph Server
VERIFIED FIXED
9 years ago
a year ago

People

(Reporter: rdoherty, Assigned: lars)

Tracking

Details

(Reporter)

Description

9 years ago
I'd like to change the link structure for the links returned by collect.cgi for test runs.

The current link structure is:
RETURN:testname:graph.html#runid=TESTRUNID

The link structure I'd like is:
RETURN:testname:graph.html#type=series&tests=[{"test":TESTID,"branch":BRANCHID,"machine":MACHINEID, "testrun":TESTRUNID}]


By sending the testid, branchid, machineid and testrunid in the url it saves searching for extra test information via an AJAX request and DB query on the graph server. It also reduces code complexity.

Let me know what you think.
(Reporter)

Comment 1

9 years ago
Discussed this with Alice via IRC, also need to change the ':' separators to tabs:


RETURN    testname    graph.html#type=series&tests=[{"test":TESTID,"branch":BRANCHID,"machine":MACHINEID,"testrun":TESTRUNID}]
(Assignee)

Comment 2

9 years ago
the updates have been made so that the collector complies with the new format directive.  The wiki has also been updated to demonstrate this output.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

9 years ago
Awesome, Alice, can you mark this bug Verified once it's been tested?
Looks fine on this end.
Status: RESOLVED → VERIFIED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.