Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 77A36200B82 for ; Fri, 16 Sep 2016 19:45:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7656C160ADE; Fri, 16 Sep 2016 17:45:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B7725160AB7 for ; Fri, 16 Sep 2016 19:45:21 +0200 (CEST) Received: (qmail 80632 invoked by uid 500); 16 Sep 2016 17:45:20 -0000 Mailing-List: contact issues-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list issues@nifi.apache.org Received: (qmail 80609 invoked by uid 99); 16 Sep 2016 17:45:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2016 17:45:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B60022C014C for ; Fri, 16 Sep 2016 17:45:20 +0000 (UTC) Date: Fri, 16 Sep 2016 17:45:20 +0000 (UTC) From: "Matt Gilman (JIRA)" To: issues@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (NIFI-2785) Template Upload - Unable to upload to descendant group MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 16 Sep 2016 17:45:22 -0000 [ 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. 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)