arpadboda commented on a change in pull request #460: MINIFICPP-479: Add processor property descriptor updates with c2 validation URL: https://github.com/apache/nifi-minifi-cpp/pull/460#discussion_r246432554
########## File path: libminifi/include/FlowController.h ########## @@ -175,21 +175,27 @@ class FlowController : public core::controller::ControllerServiceProvider, publi bool applyConfiguration(const std::string &source, const std::string &configurePayload); // get name - std::string getName() const{ + std::string getName() const { if (root_ != nullptr) return root_->getName(); else return ""; } - virtual std::string getComponentName() { + virtual std::string getComponentName() const { return "FlowController"; } + virtual std::string getComponentUUID() const { + utils::Identifier ident; + root_->getUUID(ident); + return ident.to_string(); + } + // get version virtual std::string getVersion() { Review comment: const, too? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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 With regards, Apache Git Services