From issues-return-81854-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Fri Jul 26 15:30:16 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 01DD5180595 for ; Fri, 26 Jul 2019 17:30:15 +0200 (CEST) Received: (qmail 51695 invoked by uid 500); 26 Jul 2019 15:30:06 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 51602 invoked by uid 99); 26 Jul 2019 15:30:06 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2019 15:30:06 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3C16BE2F71 for ; Fri, 26 Jul 2019 15:30:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9C17126611 for ; Fri, 26 Jul 2019 15:30:00 +0000 (UTC) Date: Fri, 26 Jul 2019 15:30:00 +0000 (UTC) From: "Mark Payne (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (NIFI-6433) Update getStatusHistory to honor filter parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-6433?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Payne resolved NIFI-6433. ------------------------------ Resolution: Fixed > Update getStatusHistory to honor filter parameters > -------------------------------------------------- > > Key: NIFI-6433 > URL: https://issues.apache.org/jira/browse/NIFI-6433 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework > Affects Versions: 1.9.2 > Reporter: Mark Owens > Assignee: Mark Owens > Priority: Minor > Fix For: 1.10.0 > > Time Spent: 20m > Remaining Estimate: 0h > > This modification updates the getStatusHistory methods of VolatileCompone= ntStatusRepository to utilize the start, end, and preferredDataPoints param= eters when retrieving status histories. > When calling the various getXXXStatusHistory methods of VolatileComponent= StatusRepository, they are all passed start, end, and preferredDataPoints v= alues to allow the filtering of histories according to the provided paramet= ers. But the follow-on method calls ignore those values completely. This ti= cket updates those methods to honor the parameters and filter the returned = Dates accordingly. > Although for VolatileComponentStatusRepository the timestamps buffer is r= ather small, it seems better that the parameters be utilized rather than be= ing silently ignored. This was found during work on a task where I only nee= ded a subset of the buffer returned. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.14#76016)