Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
Situation:
Currently, the path format of retrieving application is /ws/v1/partition/{partitionName}/queue/{queueName}/application/{appId}.
We have to give 3 parameters (partitionName, queueName & appID) to fetch application information. But one application can only be submitted to one queue and PartitionContext stores all applications. It means that we can fetch the target application without queue name.
Proposal:
As we have discussed in slack, we can add the following 2 RESTful API.
- /ws/v1/partition/{partitionName}/applications/{type}
aim to list applications IDs via the types: rejected, running and completed - /ws/v1/partition/{partitionName}/application/{applicationID}
aim to retrieving one application object directly.
Attachments
Issue Links
- is related to
-
YUNIKORN-2315 Update REST API docs with changes from YUNIKORN-2235
- Closed
- links to