richscott opened a new pull request, #892:
URL: https://github.com/apache/yunikorn-core/pull/892

   ### What is this PR for?
   These changes enhance the `getApplication()` function in `pkg/webservice/` 
to include some additional fields that may be valuable to users viewing 
completed applications - specifically, the response now included `StartTime`, 
`ResourceUsage`, `PreemptedResource`, and `PlaceholderResource` members.  
   
   ### What type of PR is it?
   * [ ] - Bug Fix
   * [x] - Improvement
   * [ ] - Feature
   * [ ] - Documentation
   * [ ] - Hot Fix
   * [ ] - Refactoring
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   https://issues.apache.org/jira/browse/YUNIKORN-2652
   
   ### How should this be tested?
   Any request to the endpoint(s) that use the `getApplication()` function can 
be queried, with an additional boolean query parameter of `details` set to 
true, e.g.
   ```
   $ curl --silent 
'http://localhost:9889/ws/v1/partition/default/queue/root.default/application/app-1?details=true'
 | jq
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to