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 1DB17200C6A for ; Wed, 19 Apr 2017 15:43:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1C35A160B94; Wed, 19 Apr 2017 13:43:28 +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 6263C160B86 for ; Wed, 19 Apr 2017 15:43:27 +0200 (CEST) Received: (qmail 98917 invoked by uid 500); 19 Apr 2017 13:43:26 -0000 Mailing-List: contact dev-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 dev@nifi.apache.org Received: (qmail 98903 invoked by uid 99); 19 Apr 2017 13:43:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2017 13:43:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D1CE1C0040 for ; Wed, 19 Apr 2017 13:43:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.781 X-Spam-Level: * X-Spam-Status: No, score=1.781 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=windofkeltia-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Z83snw2uqVbI for ; Wed, 19 Apr 2017 13:43:21 +0000 (UTC) Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 689075FCAE for ; Wed, 19 Apr 2017 13:43:21 +0000 (UTC) Received: by mail-it0-f50.google.com with SMTP id 70so5645563ita.0 for ; Wed, 19 Apr 2017 06:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windofkeltia-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=viGxlqDF4BIVHwORHB/xStR5i8FwHtz9RP96Bt5GJU8=; b=0lV82vto1YgeJsFPNWxdmeYWGFoHaWhZ//tvX30ASuOK5AoelcGRJ35ADACujndwhP gawm8yUDRoIpsIO8Py6sNrH8ULggwGGFH+FiO5U4Vg7vIKifyWnH9mzhhOgox12TS1Ot P3A46ciaAdOQc0fQHgK5zBtZ0ilJKJQaCO/7SKSQ/Iso5+DEHebeaNRiGPfX7ZSN1Ikx LYJW/a9vMGxOCX5DcWdQLUL0n79CDlInvNO4WCrc1drIIJXtplo19m0fBQjseXFlQzBa NRpL2olC/6zZN0xP2BuQjW5BvVLMwNeWZVInaRs3KGkDpdKYksRbXvTWOjcUV686mDoR KF/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=viGxlqDF4BIVHwORHB/xStR5i8FwHtz9RP96Bt5GJU8=; b=CPrZOZ9InorVKsioX/d8RACmOH/HbJsPbofYBdjjJkqgUQx+DmYU/+gp9/8wvAAASm rvGLiWaVvIVZofPTrsKLbSB8RVPpVJ7Y9mFm9Qlc0KGUoFkIqTLbwTs8u9UO693nmndy 0hQeFFn9doc/Iu1QSAe0Efv4AjzWN683dlI6oYPuco9vHuZ4o4xRZuGgUewgBeROUmCn P7mApqkuZhE8TjbTeu1V0SScMeZGZ48xFY5P0oNPsMt7Gi+buqh8LvQmepQtc0PcB2Lw I2fyni4MtEphjic/Kftc26k7bkDU4Yxj4tdzJX2Zg9KRyFE54bVY5PkxIXpweSFyZgbo rOKA== X-Gm-Message-State: AN3rC/46xuAxPxjYuXmoh2r7UvDs6EybQ+OJYJYaAar6V0EHRK2axZ2J 7rR5exNMgIrThYq1fVo= X-Received: by 10.84.229.2 with SMTP id b2mr4219370plk.154.1492609400368; Wed, 19 Apr 2017 06:43:20 -0700 (PDT) Received: from localhost.localdomain ([199.192.164.75]) by smtp.googlemail.com with ESMTPSA id c3sm4911361pfg.46.2017.04.19.06.43.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 06:43:19 -0700 (PDT) Subject: Re: NiFi property values and line separators To: dev@nifi.apache.org References: <58F691A7.2010301@perfectsearchcorp.com> <58F69235.80302@windofkeltia.com> From: Russell Bateman Message-ID: <58F76976.5000905@windofkeltia.com> Date: Wed, 19 Apr 2017 07:43:18 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------030508020709030003000907" archived-at: Wed, 19 Apr 2017 13:43:28 -0000 --------------030508020709030003000907 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit No, you're right, Matt. Clearly it does preserve them. Copying them after they've been created seemed to lose them, but I was wrong about that. Thanks. On 04/19/2017 07:02 AM, Matt Gilman wrote: > Russell, > > Are you able to provide steps to replicate the loss of line returns? I've > tried with properties that both support EL and not. Can you verify the loss > of line returns by viewing your flow.xml.gz? > > Matt > > On Tue, Apr 18, 2017 at 6:24 PM, Russell Bateman > wrote: > >> I'm writing a custom processor. It needs to support dynamic properties the >> values of which must often contain line separators as entered from the UI. >> I'm a little confused from having attempted to put values (by holding down >> Shift when pressing Enter) into other processors' properties (like >> /UpdateAttributes/) because, while it appears to work, I'm not sure they >> are preserved. (They appear to be discarded at some point if I'm looking at >> what I think I'm looking at.) >> >> I'm asking before I go to the work to support properties for configuring >> this data (formerly, it came in from configuration files, but it's >> inconvenient to force flow writers to manage files and file locations >> outside of the UI when they're already sitting there in a perfectly good >> NiFi configuration dialog). If this doesn't work so well, I won't go to the >> trouble of creating this better mechanism. >> >> Suggestions? >> >> Russ >> >> >> --------------030508020709030003000907--