Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 11-08-2016 10:18 AM
Hi Team,
I have requirement like need to read the environment property file and keep in memory, also need to auto refresh is any update done in property file. Example Env.properties
parent_path = /sourcesystem/country/
Auth_key = 234234fsdaf234
password =**************
IN = india
i need to use the above property in my processor across the flow. Example in ListFile processor i want to use ${parent_path} , this should replace "/sourcesystem/country/ " value.
Created 11-08-2016 12:49 PM
There are 2 ways to do it:
1) Custom properties file
2) OS environment variable (best for sensitive values not to be exposed in a file)
The following links show more details
Created 11-08-2016 12:49 PM
There are 2 ways to do it:
1) Custom properties file
2) OS environment variable (best for sensitive values not to be exposed in a file)
The following links show more details
Created 11-08-2016 02:19 PM
I tried with 1) Custom properties file. This is working. Thank you Greg Keys
Created 11-08-2016 02:20 PM
Thanks @Greg Keys for your quick response. Custom Properties file is working absolutely fine
Created 11-08-2016 02:31 PM
Glad it helped 🙂 (If you want to get more reuse from nifi, see first link in answer for reusing templates during development).