From commits-return-44575-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Wed Apr 28 16:00:16 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 01A7D180642 for ; Wed, 28 Apr 2021 18:00:16 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 1257161846 for ; Wed, 28 Apr 2021 16:00:12 +0000 (UTC) Received: (qmail 60530 invoked by uid 500); 28 Apr 2021 16:00:08 -0000 Mailing-List: contact commits-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 commits@nifi.apache.org Received: (qmail 60329 invoked by uid 99); 28 Apr 2021 16:00:08 -0000 Received: from mailrelay1-he-de.apache.org (HELO mailrelay1-he-de.apache.org) (116.203.21.61) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2021 16:00:08 +0000 Received: from jira2-he-de.apache.org (jira2-he-de.apache.org [168.119.33.54]) by mailrelay1-he-de.apache.org (ASF Mail Server at mailrelay1-he-de.apache.org) with ESMTPS id 5110E3E8D6 for ; Wed, 28 Apr 2021 16:00:06 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id CFE4DC80945 for ; Wed, 28 Apr 2021 16:00:05 +0000 (UTC) Date: Wed, 28 Apr 2021 16:00:05 +0000 (UTC) From: "Matt Burgess (Jira)" To: commits@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MINIFI-424) Expose bootstrap properties in the ConfigTransformer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MINIFI-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Burgess updated MINIFI-424: -------------------------------- Fix Version/s: (was: 0.6.0) 1.14.0 > Expose bootstrap properties in the ConfigTransformer > ---------------------------------------------------- > > Key: MINIFI-424 > URL: https://issues.apache.org/jira/browse/MINIFI-424 > Project: Apache NiFi MiNiFi > Issue Type: New Feature > Reporter: Joe Percivall > Assignee: Joe Percivall > Priority: Major > Fix For: 1.14.0 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > The ConfigTransformer takes in the config.yml and creates the nifi.properties and flow.xml. In order to better support customizations on a per MiNiFi instance for things that aren't able to reference EL, we could expose the properties listed in the bootstrap.conf. > As an example, the bootstrap conf could have properties identifying the S2S URL and port UUID to use. Then when MiNiFi pulls down the new config.yml it would translate the keys to their proper values as identified in the bootstrap.conf. > The main unknown is what the "escape" identifiers would be. In EL it is "${ ..... }" (not sure why Jira is formatting this with new lines). This would need to be specific enough that it doesn't collide with anything that'd be in the config.yml. > Much further down the line, this could eventually evolve to expose ENV variables, key/values stored in a file, and maybe even basic functions as needed. Essentially a basic version of EL but I hesitate to call it that b/c I don't want users to expect all of that functionality. This should really be for things that can't be done via EL. -- This message was sent by Atlassian Jira (v8.3.4#803005)