Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-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 3BA54177B8 for ; Fri, 13 Mar 2015 13:45:00 +0000 (UTC) Received: (qmail 5451 invoked by uid 500); 13 Mar 2015 13:45:00 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 5408 invoked by uid 500); 13 Mar 2015 13:45:00 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 5397 invoked by uid 99); 13 Mar 2015 13:44:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2015 13:44:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 13 Mar 2015 13:44:58 +0000 Received: (qmail 4605 invoked by uid 99); 13 Mar 2015 13:44:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2015 13:44:38 +0000 Date: Fri, 13 Mar 2015 13:44:38 +0000 (UTC) From: "Suhas Vasu (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1071) Feed Listing API default behaviour for start and end not handled properly. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suhas Vasu updated FALCON-1071: ------------------------------- Attachment: FALCON-1071.patch > Feed Listing API default behaviour for start and end not handled properly. > --------------------------------------------------------------------------- > > Key: FALCON-1071 > URL: https://issues.apache.org/jira/browse/FALCON-1071 > Project: Falcon > Issue Type: Improvement > Components: feed > Affects Versions: trunk > Environment: QA > Reporter: Karishma Gulati > Assignee: Suhas Vasu > Attachments: FALCON-1071.patch > > > The default values of start and end, in case they aren't specified are as follows: > {code} > start > By default, it is set to (end - (10 * entityFrequency)). > end > Default is set to now. > {code} > So, when only start is specified, it still takes the default value of end as now. Therefore, if a start time of say 2012 is specified, the output will be a massive 3 years worth instance information. If just start is specified, we can probably take the default value of end as start + (10*frequency), as is for the vice versa case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)