[
https://issues.apache.org/jira/browse/NIFI-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504066#comment-15504066
]
ASF GitHub Bot commented on NIFI-2785:
--------------------------------------
GitHub user mcgilman opened a pull request:
https://github.com/apache/nifi/pull/1029
Fixed issue uploading templates into descendant Process Groups
NIFI-2785:
- Ensure the URL is updated when uploading a template to ensure it's going
to the appropriate Process Group.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcgilman/nifi NIFI-2785
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1029.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1029
----
commit c64a9059f8b68cd803caebd0ec61f5cfbe3c1a44
Author: Matt Gilman <[email protected]>
Date: 2016-09-19T17:23:00Z
NIFI-2785:
- Ensure the URL is updated when uploading a template to ensure it's going
to the appropriate Process Group.
----
> 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
> 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)