adam-markovics commented on a change in pull request #1042:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1042#discussion_r611703112



##########
File path: extensions/standard-processors/processors/ExecuteProcess.h
##########
@@ -51,7 +51,7 @@ namespace processors {
 #ifndef WIN32
 
 // ExecuteProcess Class
-class ExecuteProcess : public core::Processor {
+class ExecuteProcess : public core::Processor, public 
core::annotation::input::Forbidden {

Review comment:
       Done.

##########
File path: libminifi/src/core/Processor.cpp
##########
@@ -386,6 +379,39 @@ std::shared_ptr<Connectable> 
Processor::pickIncomingConnection() {
   return getNextIncomingConnectionImpl(rel_guard);
 }
 
+using annotation::input::EInputRequirement;
+
+void Processor::validateAnnotations() const {

Review comment:
       Done.

##########
File path: libminifi/src/ThreadedSchedulingAgent.cpp
##########
@@ -88,6 +88,7 @@ void 
ThreadedSchedulingAgent::schedule(std::shared_ptr<core::Processor> processo
 
   auto sessionFactory = 
std::make_shared<core::ProcessSessionFactory>(processContext);
 
+  processor->validateAnnotations();

Review comment:
       Done.




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


Reply via email to