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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: TK-FS-WATCHER 1.1.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Platform Core
    • Story Points:
      2
    • Sprint:
      Platform Core 2017-08-08, Platform Core 2017-08-22
    • Release Notes:
      New Feature
    • QA Risk Assessment:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support