nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Gilman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NIFI-2785) Template Upload - Unable to upload to descendant group
Date Fri, 16 Sep 2016 17:50:20 GMT

     [ https://issues.apache.org/jira/browse/NIFI-2785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Gilman updated NIFI-2785:
------------------------------
    Description: 
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.

  was:
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.


> 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)

Mime
View raw message