Re: FILE_EXISTS_VALIDATOR allows directories as well, is this a feature or a bug?

2020-11-28 Thread Mike Thomsen
Lars, I think we'd be better off keeping it simple like FILE_EXISTENCE_VALIDATOR and FOLDER_EXISTENCE_VALIDATOR. I'm not sure that symlinks are really an issue here for validation purposes. Regardless, we'd need to give community members with their own custom bundles a good 2-3 releases worth of

Re: FILE_EXISTS_VALIDATOR allows directories as well, is this a feature or a bug?

2020-11-28 Thread Lars Winderling
Mike, what about giving it another name then like REAL_FILE_VALIDATOR? It's not perfect, but it draws from the distinction between real (proper) files on the one, and symlinks, dirs etc in the other side, like many apis use it. I'm not quite sure, what do you think? Best, Lars On 28 November

Re: FILE_EXISTS_VALIDATOR allows directories as well, is this a feature or a bug?

2020-11-28 Thread Mike Thomsen
Nissim, If I had to guess, it was an oversight that it handles both folders and files. Any refactored version would have to not change the current default behavior. So, what I'd suggest would be a second constructor that allows you to set a boolean flag to put in a "file-only" mode and then add

Re: [DISCUSS] Release of Apache NiFi 1.13.0

2020-11-28 Thread Phillip Grenier
I wouldn't mind https://github.com/apache/nifi/pull/4554 making it in. Have seen a couple more instances where people have created custom processors to work around this PR. On Thu, Nov 26, 2020 at 11:10 AM Mike Thomsen wrote: > Also, for most of us (committers and community members), it's a >