Mark, I created NIFI-3987.
Thanks Carlos From: Mark Payne [mailto:[email protected]] Sent: sexta-feira, 26 de maio de 2017 19:15 To: [email protected] Subject: Re: CVSReader Controller Service with more properties Suporting Expression Language Carlos, Thanks, I'm glad that you're getting some use out of the new record-oriented stuff! You're right, these properties probably do make sense to support Expression Language. Do you mind filing at JIRA [1] to add support for Expression Language for these properties? Thanks -Mark [1] https://issues.apache.org/jira/browse/NIFI On May 26, 2017, at 2:08 PM, Carlos Manuel Fernandes (DSI) <[email protected]<mailto:[email protected]>> wrote: Congratulations Team for 1.2 release and especially for the Record Oriented Paradigm. It’s a great abstraction and permit create more concise and reusable flows . My first experience was a simple use case: Create a service who accepts file parameters (ex: file.name, file.avro.schema, file.separator) and target table parameters (ex:table.name, table.schema) , get the file and put the file data on target Table. This may be made : HandleHttpRequest (receiving all the parameters) -> FetchFile ( using file.name parameter) ->PutDatabaseRecord (schema and table parameters) + CSVReader(with file.avro.schema parameter) -> HandleHttpResponse. This works and its general, but CSVReader Controller properties (value Separator, Skip Header, quote and Escape ) don’t supports expression Language and this limits the reusability of this Flow Service for files of given separator, header, etc. It’s possible to put expression language Suport on CSVReader fixed properties? Thanks Carlos
