Open amolari opened 1 month ago
Posting an async declaration the following payload is returned:
{ "id": "dc5c5f6d-1e86-4428-b643-e6da3a9b72ed", "results": [ { "message": "Declaration successfully submitted", "tenant": "", "host": "", "runTime": 0, "code": 0, "declarationId": "691121" } ], "declaration": {}, "selfLink": "https://localhost/mgmt/shared/appsvcs/task/dc5c5f6d-1e86-4428-b643-e6da3a9b72ed" }
when querying the task-id, if the task is in-progress we get the following payload returned:
{ "id": "dc5c5f6d-1e86-4428-b643-e6da3a9b72ed", "results": [ { "message": "in progress", "tenant": "", "host": "", "runtTime": 0, "code": 0 } ], "declaration": {} }
Issues:
runtTime
runTime
declarationId
selfLink
@amolari thanks for opening this cosmetic issue. Easy fix on your end
--- Change "runtTime": 0, to runTime
Added AUTOTOOL-4353
@amolari picked up in the current sprint
Environment
Summary
Posting an async declaration the following payload is returned:
when querying the task-id, if the task is in-progress we get the following payload returned:
Issues:
runtTime
=> should berunTime
(code: https://github.com/F5Networks/f5-appsvcs-extension/blob/91e3b2dd2be4369b95eaea039899bd2174f48830/src/lib/asyncHandler.js#L98)declarationId
is missingselfLink
is missing