Github user mosermw commented on the issue:
https://github.com/apache/nifi/pull/2936
Please do add Port to your PR, if you can, then I think this will also
cover NIFI-4723. It looks like PORT_VALIDATOR already supports expression
language, so you are good there.---
