Re: Regarding Nifi packaging and deployment

2015-12-14 Thread shweta
Thanks Joe for giving pointers!! 



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/Regarding-Nifi-packaging-and-deployment-tp5716p5774.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Re: Regarding Nifi packaging and deployment

2015-12-14 Thread shweta
Thanks Matthew !! 



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/Regarding-Nifi-packaging-and-deployment-tp5716p5775.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Re: Regarding Nifi packaging and deployment

2015-12-11 Thread Matthew Clarke
The NiFi Expression language (EL) can also use system user environment
variables as well as NiFI JVM properties as input.  So you could create
templates that have EL statements that reference these environment
variables which would allow each system running the same dataflow to pull
in different values.  NiFI JVM properties would be added to the
bootstrap.conf file in your NiFi installation.  While system environment
variables are set at the OS level.  There is an order of preference is NiFi
will first search for FlowFIle Attributes matching the defined subject/key
name, then system environment variables, and last JVM environment variables.

On Thu, Dec 10, 2015 at 10:25 PM, Joe Witt <joe.w...@gmail.com> wrote:

> Shweta,
>
> The primary mechanism is flow templates [1].
>
> They do have some important limitations today though that you'll want
> to understand.  First, some properties are sensitive, like passwords,
> and thus are not included in the templates so you'll have to reenter
> them when you apply the template in the new environment.  Second,
> there are at times properties you'd want to have different values for
> in different environments.  We need to provide a property/env variable
> mapping mechanism.  Both of these we intend to address but neither are
> presently actively being worked as far as I'm aware of.
>
> [1] https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#templates
>
> Thanks
> Joe
>
> On Thu, Dec 10, 2015 at 9:25 PM, shweta <shweta.agg1...@gmail.com> wrote:
> > Hi all,
> >
> > I'm new to Nifi. I have created some sample flows. I want to know how
> can I
> > package and deploy the same
> > from development environment to testing environment or do I need to
> recreate
> > the entire data flow again in different environment.
> >
> > Thanks,
> > Shweta
> >
> >
> >
> > --
> > View this message in context:
> http://apache-nifi-developer-list.39713.n7.nabble.com/Regarding-Nifi-packaging-and-deployment-tp5716.html
> > Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>


Re: Regarding Nifi packaging and deployment

2015-12-10 Thread Joe Witt
Shweta,

The primary mechanism is flow templates [1].

They do have some important limitations today though that you'll want
to understand.  First, some properties are sensitive, like passwords,
and thus are not included in the templates so you'll have to reenter
them when you apply the template in the new environment.  Second,
there are at times properties you'd want to have different values for
in different environments.  We need to provide a property/env variable
mapping mechanism.  Both of these we intend to address but neither are
presently actively being worked as far as I'm aware of.

[1] https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#templates

Thanks
Joe

On Thu, Dec 10, 2015 at 9:25 PM, shweta <shweta.agg1...@gmail.com> wrote:
> Hi all,
>
> I'm new to Nifi. I have created some sample flows. I want to know how can I
> package and deploy the same
> from development environment to testing environment or do I need to recreate
> the entire data flow again in different environment.
>
> Thanks,
> Shweta
>
>
>
> --
> View this message in context: 
> http://apache-nifi-developer-list.39713.n7.nabble.com/Regarding-Nifi-packaging-and-deployment-tp5716.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Regarding Nifi packaging and deployment

2015-12-10 Thread shweta
Hi all,

I'm new to Nifi. I have created some sample flows. I want to know how can I
package and deploy the same 
from development environment to testing environment or do I need to recreate
the entire data flow again in different environment.

Thanks,
Shweta



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/Regarding-Nifi-packaging-and-deployment-tp5716.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.