mskcc / LimsRest

the restful service used by the IGO LIMS
2 stars 2 forks source link

Adding PendingStage #193

Closed DavidStreid closed 4 years ago

DavidStreid commented 4 years ago

Change Add pendingStage to summary of getRequestTracking API response

More PendingStage is reported as first stage in a request that has not completed - conservative e.g. 7/8 finished sequencing and 7/7 finished data qc -> pendingStage: "Sequencing"

Testing (local) See getRequestTrackingTaskTest.java

Testing (tango)

{
   "summary": {
      "total": 10,
      "RecentDeliveryDate": null,
      "stagesComplete": false,
      "pendingStage": "Sequencing",
      "isIgoComplete": false,
      "completed": 0,
      "failed": 0,
      "CompletedDate": null
   },
   "metaData": {},
   "requestId": "10793",
   "stages": [],
   "samples": []
}

https://tango.mskcc.org:8443/LimsRest/getRequestTracking?request=10793

mskbot commented 4 years ago

Can one of the admins verify this patch?