Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A845F0E3 for ; Fri, 22 Mar 2013 20:33:16 +0000 (UTC) Received: (qmail 89497 invoked by uid 500); 22 Mar 2013 20:33:15 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 89471 invoked by uid 500); 22 Mar 2013 20:33:15 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 89359 invoked by uid 99); 22 Mar 2013 20:33:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 20:33:15 +0000 Date: Fri, 22 Mar 2013 20:33:15 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-1688) API support to return 10 most recent requests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611195#comment-13611195 ] Sumit Mohanty commented on AMBARI-1688: --------------------------------------- +1 > API support to return 10 most recent requests > --------------------------------------------- > > Key: AMBARI-1688 > URL: https://issues.apache.org/jira/browse/AMBARI-1688 > Project: Ambari > Issue Type: Bug > Affects Versions: 1.3.0 > Reporter: Sumit Mohanty > Assignee: Siddharth Wagle > Fix For: 1.3.0 > > Attachments: AMBARI-1688.patch > > > The modification is > 1) An unfiltered request for Request resources currently returns all 'IN_PROGRESS' requests. Change this behavior so that an unfiltered request will return the last 20 requests regardless of what the status is. This is still a bit of a hack but no worse than what we already have. It should be okay until pagination is done. > 2) To get the in progress requests we should do something like 'requests?Requests/request_status=IN_PROGRESS'. This is what we should have been doing all along. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira