Bug 209342

Summary: [ews] Better organize patch status api data
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=208940
Bug Depends on:    
Bug Blocks: 208938    
Attachments:
Description Flags
Patch jbedard: review+

Aakash Jain
Reported 2020-03-20 09:14:58 PDT
[ews] Better organize patch status api data. Instead of returning a list of statuses, return a dictionary with queue-name as a key, and queue-status as data. This would make it easier to access patch-status for a particular queue from the data. For example, instead of: [{"url": "https://ews-build.webkit-uat.org/#/builders/14/builds/934", "timestamp": 1584709288, "state": 2, "name": "ios-sim"}] Return: {"ios-sim": {"url": "https://ews-build.webkit-uat.org/#/builders/14/builds/934", "timestamp": 1584709288, "state": 2}}
Attachments
Patch (2.24 KB, patch)
2020-03-20 09:21 PDT, Aakash Jain
jbedard: review+
Aakash Jain
Comment 1 2020-03-20 09:21:15 PDT
Aakash Jain
Comment 3 2020-03-20 13:44:59 PDT
Radar WebKit Bug Importer
Comment 4 2020-03-20 13:45:18 PDT
Note You need to log in before you can comment on or make changes to this bug.