taftster opened a new pull request #4221: URL: https://github.com/apache/nifi/pull/4221
This PR fundamentally removes the hard-coded number of flowfiles in the listing returned by StandardConnectionDAO.java, adding a new parameter called 'maxResults' the parent interface. This value can then be consulted and used when calling the backend for the queue listing. The current hard-coded value of '100' can be limiting in certain use cases, for example, when the queue has a backlog of > 100 flowfiles and the dataflow manager needs to interrogate the 101+ flowfile. The maxResults parameter is exposed as part of the REST API, so that calling programs (like the UI) can control the number of displayed flowfiles. By default, the listing size will remain at 100, but a UI option is added to "view all" flowfiles in the queue. Additionally, the parameter can be controlled by the REST API for custom clients. This PR is broken into two commits; one for the backend changes, one for the UI changes. These can be considered separately or can be easily squashed together as desired. This features closes NIFI-6394 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org