Repository: incubator-nifi Updated Branches: refs/heads/NIFI-250 fe24f368e -> 8a830bef4
NIFI-250: - Fixing issue preventing reporting task from being included in controller service referencing components. Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/47e84c00 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/47e84c00 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/47e84c00 Branch: refs/heads/NIFI-250 Commit: 47e84c009db874b5f2151bd5eb92b403461c5730 Parents: fe24f36 Author: Matt Gilman <[email protected]> Authored: Thu Mar 26 08:04:17 2015 -0400 Committer: Matt Gilman <[email protected]> Committed: Thu Mar 26 08:04:17 2015 -0400 ---------------------------------------------------------------------- .../src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/47e84c00/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java ---------------------------------------------------------------------- diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java index 2ec8b68..2ebc860 100644 --- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java +++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java @@ -1012,7 +1012,7 @@ public final class DtoFactory { propertyDescriptors = node.getControllerServiceImplementation().getPropertyDescriptors(); validationErrors = node.getValidationErrors(); - } else if (component instanceof ReportingTask) { + } else if (component instanceof ReportingTaskNode) { final ReportingTaskNode node = ((ReportingTaskNode) component); dto.setState(node.getScheduledState().name()); dto.setActiveThreadCount(node.getActiveThreadCount());
