Hello,

I am using Nifi 0.7.0. 
I want to create the template of the processor groups.
Instead of creating it from UI. I want to design a flow that creates a 
processor group template based on its id, download it and store it somewhere 
locally. 
Is it possible ? If yes, Is there any method/api available for the same?
 
Thanks You
Ashish Agarwal

-----Original Message-----
From: Joe Witt [mailto:joe.w...@gmail.com] 
Sent: Tuesday, September 27, 2016 6:06 PM
To: users@nifi.apache.org
Subject: Re: Create NiFi Templates

Ashish,

If the question is 'at runtime what are the ways I could trigger the
creation of a NiFI template?'

  You could call the REST API endpoint using some mechanism other than
the NiFi UI or you could use the NiFi UI.

If the question is 'can I programmatically create a template during
development time?'

  We don't have any direct public API's to accomplish this that I am
aware of though it is an interesting idea.

Can you help direct us to where you're more interested right now so we
can help most effectively.

Thanks
Joe

On Tue, Sep 27, 2016 at 8:31 AM, Oleg Zhurakousky
<ozhurakou...@hortonworks.com> wrote:
> Ashish
>
> I am not sure I fully understand the question. . .
> Templates represented as an XML file and therefore if you “type everything
> correctly” you’ll get a working template, but it would be simpler to use
> NIFI UI as a design tool to do the same.
> Could you please clarify more as to what exactly are you trying to
> accomplish?
>
> Cheers
> Oleg
>
> On Sep 27, 2016, at 3:06 AM, Ashish Agarwal 10 <aagarwa...@sapient.com>
> wrote:
>
> Hello,
>
> Is there a way to create a template of a process group other than the button
> present on UI ?
>
> Regards,
> Ashish Agarwal
>
>

Reply via email to