[
https://issues.apache.org/jira/browse/FALCON-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107392#comment-14107392
]
Balu Vellanki commented on FALCON-474:
--------------------------------------
We plan to add summary option for entities with certain filters. This option is
"list" entities with a summary
Inputs: schedulable entity-type, cluster, # of recent instances (defaults to
7), optional date range (defaults to last 2 days):
- If cluster is not specified an error is thrown.
- User can filter the entities by name, status, pipelines and tags
associated with the entity.
- User can also limit the number of entities she/he can view and sort the
returned entities by name and type.
Sample Output :
GET
http://localhost:15000/api/entity/summary/feed?cluster=primaryCluster&filterBy=status:SUBMITTED&orderBy=name&offset=0&numResults=1&numInstances=2
{
"entities": [
{
"name" : "SampleInput",
"type" : "feed",
"status": "SUBMITTED",
"instanceSummary": [
{
"details": "",
"endTime": "2013-10-21T14:40:26-07:00",
"startTime": "2013-10-21T14:39:56-07:00",
"cluster": "primaryCluster",
"logFile":
"http:\/\/localhost:11000\/oozie?job=0000070-131021115933395-oozie-rgau-W",
"status": "RUNNING",
"instance": "2012-04-03T07:00Z"
},
{
"details": "",
"endTime": "2013-10-21T14:42:27-07:00",
"startTime": "2013-10-21T14:41:57-07:00",
"cluster": "primaryCluster",
"logFile":
"http:\/\/localhost:11000\/oozie?job=0000070-131021115933397-oozie-rgau-W",
"status": "RUNNING",
"instance": "2012-04-03T08:00Z"
},
]
}
]
"requestId": "default\/e15bb378-d09f-4911-9df2-5334a45153d2\n",
"message": "default\/STATUS\n",
"status": "SUCCEEDED"
}
> Add Bulk APIs to drive the dashboard needs
> ------------------------------------------
>
> Key: FALCON-474
> URL: https://issues.apache.org/jira/browse/FALCON-474
> Project: Falcon
> Issue Type: Sub-task
> Components: webapp
> Affects Versions: 0.6
> Reporter: Venkatesh Seetharam
> Assignee: Balu Vellanki
> Labels: rest_api
> Fix For: 0.6
>
> Attachments: Falcon-Jira-474-v2.patch, Falcon-Jira-474-v3.patch,
> Falcon-Jira-474-v4.patch
>
>
> This needs to be thought through based on the UX requirements. A use case
> that Ambari wanted was to list feeds with status for the last 7 instances for
> each feed as a summary view.
> This should also support the performance requirements needed by the dashbaord.
--
This message was sent by Atlassian JIRA
(v6.2#6252)