tpalfy 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_r391150825
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/nifi-web-api-context.xml
 ##########
 @@ -75,6 +75,128 @@
         <property name="dtoFactory" ref="dtoFactory" />
     </bean>
 
+    <!-- search functionality -->
+    <bean id="searchQueryParser" 
class="org.apache.nifi.web.search.query.RegexSearchQueryParser" />
+
+    <bean id="attributeMatcher" 
class="org.apache.nifi.web.search.attributematchers.BasicAttributeMatcher" />
+    <bean id="limitedAttributeMatcher" 
class="org.apache.nifi.web.search.attributematchers.BasicAttributeMatcher">
+        <constructor-arg value="false" />
+    </bean>
+    <bean id="schedulingMatcher" 
class="org.apache.nifi.web.search.attributematchers.SchedulingMatcher" />
+    <bean id="executionMatcher" 
class="org.apache.nifi.web.search.attributematchers.ExecutionMatcher" />
+    <bean id="scheduledStateMatcher" 
class="org.apache.nifi.web.search.attributematchers.ScheduledStateMatcher" />
+    <bean id="relationshipMatcher" 
class="org.apache.nifi.web.search.attributematchers.RelationshipMatcher" />
+    <bean id="processorMetadataMatcher" 
class="org.apache.nifi.web.search.attributematchers.ProcessorMetadataMatcher" />
+    <bean id="propertyMatcher" 
class="org.apache.nifi.web.search.attributematchers.PropertyMatcher" />
+    <bean id="searchableMatcher" 
class="org.apache.nifi.web.search.attributematchers.SearchableMatcher">
+        <property name="variableRegistry" ref="variableRegistry" />
 
 Review comment:
   Don't we need to inject `flowController` as well?

----------------------------------------------------------------
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

Reply via email to