[ https://issues.apache.org/jira/browse/NIFI-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510797#comment-15510797 ]
ASF subversion and git services commented on NIFI-2785: ------------------------------------------------------- Commit b304f70f3ee3715dd744e03bc94c231853abf2b5 in nifi's branch refs/heads/master from [~mcgilman] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=b304f70 ] NIFI-2785: - Ensure the URL is updated when uploading a template to ensure it's going to the appropriate Process Group. This closes #1029. Signed-off-by: Bryan Bende <bbe...@apache.org> > Template Upload - Unable to upload to descendant group > ------------------------------------------------------ > > Key: NIFI-2785 > URL: https://issues.apache.org/jira/browse/NIFI-2785 > Project: Apache NiFi > Issue Type: Bug > Components: Core UI > Reporter: Matt Gilman > Assignee: Matt Gilman > Priority: Critical > Fix For: 1.1.0 > > > Templates can be uploaded to any Process Group. This is driven by the URL > used during the upload request. Currently, the URL in the UI for the upload > request is initialized with the root group id and never updated. As a result, > through the UI templates can only be uploaded to the root group. > > As a work-around, templates could still be uploaded to descendant groups via > a request directly to the REST API. This can be done using the following > command: > {noformat}curl -X POST -v -F template=@"/path/to/template.xml" > http://{host}:{port}/nifi-api/process-groups/{process-group-id}/templates/upload{noformat} > Additionally, templates uploaded to the root group could have explicit > policies set to share with other users. -- This message was sent by Atlassian JIRA (v6.3.4#6332)