nifi icon indicating copy to clipboard operation
nifi copied to clipboard

NIFI-12595 Introduce 'Track Last Listing Time' mode to ListedEntityTracker

Open EndzeitBegins opened this issue 1 year ago • 0 comments

Summary

Introduces the notion of an "Entity Tracking Mode" to ListedEntityTracker and provides a second mode of "Track Last Listing Time" to the existing "Track Entity Timestamp".

NIFI-12595

Beside the added test code, I did a manual test of the exemplary integration in ListSFTP, which worked as intended, as far as I could see; listing all files regardless of their modified time, keeping track of them as long as they're listable from source (+ time window), listing them again once they couldn't be seen for one whole time window or were modified while being tracked.

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • [x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • [x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

  • [x] Pull Request based on current revision of the main branch
  • [x] Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • [x] Build completed using mvn clean install -P contrib-check
    • [x] JDK 21

Licensing

  • [x] New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • [x] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • [x] Documentation formatting appears as expected in rendered files

EndzeitBegins avatar Jan 14 '24 18:01 EndzeitBegins