mirror of https://github.com/apache/nifi.git
b55998afc1
NIFI-8081 Added new Listing Strategy to ListFTP and ListSFTP: Adjusted Time Window. User can specify the time zone or time difference (compared to where NiFi runs) of the system hosting the files and based on the calculates the current time there. Lists files modified before this adjusted current time (and after the last listing). NIFI-8081 'Time Adjustment' validated not to be set if listing strategy is not 'Adjusted Time Window'. Extracted validator to a separate class. Added more tests. Minor refactor. Typo fix. NIFI-8081 Improved validation. NIFI-8081 'Time Adjustment' is not necessary - in fact it can cause problems. SFTP (and usually FTP - which has a more general bug at the moment) returns a timestamp that doesn't really need adjustment. (SFTP in particular returns the an 'epoch' time.) Everything remains the same - the new listing strategy relies on a sliding time window, but without the unnecessary option to adjust for the modification time. NIFI-8081 Resolved conflicts after rebasing to main. NIFI-8081 Renamed 'AbstractListProcessor.listByAdjustedSlidingTimeWindow' to 'listByTimeWindow'. Post main rebase correction. NIFI-8081 Updated user doc for the BY_TIME_WINDOW strategy to warn user on it's reliance of accurate time. This closes #4721. Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org> |
||
---|---|---|
.. | ||
nifi-database-test-utils | ||
nifi-database-utils | ||
nifi-hadoop-utils | ||
nifi-kerberos-test-utils | ||
nifi-processor-utils | ||
nifi-prometheus-utils | ||
nifi-record-utils | ||
nifi-reporting-utils | ||
nifi-service-utils | ||
nifi-syslog-utils | ||
pom.xml |