| 128 | } |
| 129 | |
| 130 | std::shared_ptr<core::controller::ControllerServiceNode> FlowConfiguration::createControllerService(const std::string &class_name, const std::string &full_class_name, const std::string &name, |
| 131 | const utils::Identifier& uuid) { |
| 132 | std::shared_ptr<core::controller::ControllerServiceNode> controllerServicesNode = service_provider_->createControllerService(class_name, full_class_name, name, true); |
| 133 | if (nullptr != controllerServicesNode) |
| 134 | controllerServicesNode->setUUID(uuid); |
| 135 | return controllerServicesNode; |
| 136 | } |
| 137 | |
| 138 | } /* namespace core */ |
| 139 | } /* namespace minifi */ |