You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/06 04:29:00 UTC
[jira] [Commented] (NIFIREG-65) List of flow versions should be
returned in order of newest to oldest
[ https://issues.apache.org/jira/browse/NIFIREG-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279650#comment-16279650 ]
ASF GitHub Bot commented on NIFIREG-65:
---------------------------------------
GitHub user kevdoran opened a pull request:
https://github.com/apache/nifi-registry/pull/49
NIFIREG-65 Return flow versions in reverse order
Change the REST API endpoint that returns a list of all flow versions to sort by newest to oldest.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kevdoran/nifi-registry NIFIREG-65
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-registry/pull/49.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #49
----
commit a1a7da9dc88a4726bfbc91d5c6055601def6b04c
Author: Kevin Doran <kd...@gmail.com>
Date: 2017-12-06T04:25:20Z
NIFIREG-65 Return flow versions in reverse order
Change the REST API endpoint that returns a list of all flow
versions to sort by newest to oldest.
----
> List of flow versions should be returned in order of newest to oldest
> ----------------------------------------------------------------------
>
> Key: NIFIREG-65
> URL: https://issues.apache.org/jira/browse/NIFIREG-65
> Project: NiFi Registry
> Issue Type: Improvement
> Reporter: Kevin Doran
> Priority: Minor
>
> Currently, {{GET /buckets/:id/flows/:id/versions}} returns a list of all flow versions in ascending (i.e., oldest to newest) order.
> The user / UI is interested in the most recent versions first, so we should change the ordering to be by descending version number (i.e., newest to oldest). While this could be done client-side, if pagination gets introduced that would complicate things. So it will be better to return this order from the rest api to make it easier to display.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)