[
https://issues.apache.org/jira/browse/NIFI-7040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018169#comment-17018169
]
Jacob OBrien commented on NIFI-7040:
------------------------------------
The "type" needs to be the fully qualified class name:
org.apache.nifi.reporting.SiteToSiteProvenanceReportingTask
> SiteToSiteProvenanceReportingTask 1.10.0 - Unable to create using API
> ---------------------------------------------------------------------
>
> Key: NIFI-7040
> URL: https://issues.apache.org/jira/browse/NIFI-7040
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.10.0
> Environment: Linux (CentOs)
> Reporter: Jacob OBrien
> Priority: Major
>
> Response error when trying to create a Reporting Task using the API.
> ReportingTaskDTO:
> {code:java}
> {
> { "revision":
> { "version": 0 },
> "component": {
> "name": "SiteToSiteProvenanceReportingTask",
> "type": "SiteToSiteProvenanceReportingTask",
> "bundle": {
> "group": "org.apache.nifi",
> "artifact": "nifi-site-to-site-reporting-nar",
> "version": "1.10.0"
> }
> }
> }
> {code}
> Response: *Found bundle
> org.apache.nifi:nifi-site-to-site-reporting-nar:1.10.0 but does not support
> SiteToSiteProvenanceReportingTask*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)