Uploaded image for project: 'Trapperkeeper'
  1. Trapperkeeper
  2. TK-448

Support non-recursive directory watching in tk-fs-watcher

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • TK-FS-WATCHER 1.1.0
    • TrapperKeeper
    • None
    • New Feature
    • No Action

    Description

      For the work being done for TK-149, we're looking into using the trapperkeeper-filesystem-watcher library to watch for changes to the directory where the CRL file that the Jetty webserver uses. Currently, tk-fs-watcher only supports recursively watching an entire directory tree but for this use case it would be more efficient to just be able to watch the immediate directory in which the CRL file resides. Ideally, it would be even better to be able to just watch for changes to the CRL file itself but it appears that the Path.register functionality that tk-fs-watcher uses will only support directory-level watching.

      The work for this ticket would involve enhancing the tk-fs-watcher with a way to avoid having to recursively watch all files in a directory tree - to instead be able to watch changes to the immediate directory only.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jeremy.barlow Jeremy Barlow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support