simonbence commented on a change in pull request #4123: NIFI-7188: Adding
filter capabilities into search & prerequisite refactors
URL: https://github.com/apache/nifi/pull/4123#discussion_r396090029
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/controller/ControllerFacade.java
##########
@@ -1614,15 +1615,20 @@ private void setComponentDetails(final
ProvenanceEventDTO dto) {
/**
* Searches this controller for the specified term.
*
- * @param search search
+ * @param searchLiteral search
+ * @param activeGroupId the identifier of the currently visited group
* @return result
*/
- public SearchResultsDTO search(final String search) {
+ public SearchResultsDTO search(final String searchLiteral, final String
activeGroupId) {
final ProcessGroup rootGroup = getRootGroup();
+ final ProcessGroup activeGroup =
flowController.getFlowManager().getGroup(activeGroupId);
Review comment:
I added this a couple of days ago, I just forgot to answer here. Thanks for
pointing out! I am just adding a unit test to ensure about it's behaviour.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services