When importing a template, I am not able to overwrite NiFi processor's property value if that property's value has a variable in it. Here are steps to reproduce.
Add nifi.executesparkjob[validate_and_split_records].applicationjar=foobar to application.properties
Restart Kylo
Go to Admin -> Templates
Import a template from data_ingest.zip which is provided by Kylo
Go to NiFi -> reusable_templates -> standard-ingest
View properties of Validate And Split Records processor
Expected result:
ApplicationJAR property should be set to foobar
Actual result:
ApplicationJAR property is set to ${nifi.home}/current/lib/app/kylo-spark-validate-cleanse-jar-with-dependencies.jar
I believe this is the bug in https://github.com/Teradata/kylo/blob/3e9411308f0c48f441a030acf28a02a0495e5993/integrations/nifi/nifi-rest/nifi-rest-client/nifi-rest-client-api/src/main/java/com/thinkbiganalytics/nifi/feedmgr/ConfigurationPropertyReplacer.java#L170. This bug happens when there is a variable in property's value.
-Binh