This is very good. So now there two ways to accomplish the objective! 😊

-----Original Message-----
From: Koji Kawamura <[email protected]>
Sent: Tuesday, November 13, 2018 7:50 PM
To: [email protected]
Subject: Re: Parsing a template to identify processor names

Hello,

I'm not sure if this is what you're looking for, but I wrote a test case before 
that loads template and use flow information to automate tests.
The code can be a reference.
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-atlas-bundle/nifi-atlas-reporting-task/src/test/java/org/apache/nifi/atlas/reporting/ITReportLineageToAtlas.java#L100

Thanks,
Koji
On Wed, Nov 14, 2018 at 7:23 AM Vitaly Krivoy <[email protected]> 
wrote:
>
> If a process group template contains multiple processors of the same type, I 
> need to make sure that they have different names. Is there an easier way of 
> parsing a template outside of instantiating it and then getting all 
> processors from a resulting process group? I do already have the code to do 
> the latter, but I am curious if there is another way. Thanks.
>
>
>
> STATEMENT OF CONFIDENTIALITY The information contained in this email message 
> and any attachments may be confidential and legally privileged and is 
> intended for the use of the addressee(s) only. If you are not an intended 
> recipient, please: (1) notify me immediately by replying to this message; (2) 
> do not use, disseminate, distribute or reproduce any part of the message or 
> any attachment; and (3) destroy all copies of this message and any 
> attachments.

STATEMENT OF CONFIDENTIALITY The information contained in this email message 
and any attachments may be confidential and legally privileged and is intended 
for the use of the addressee(s) only. If you are not an intended recipient, 
please: (1) notify me immediately by replying to this message; (2) do not use, 
disseminate, distribute or reproduce any part of the message or any attachment; 
and (3) destroy all copies of this message and any attachments.

Reply via email to