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).