Pax Scanner

Make scanners able to "watch" scanned resources for changes

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Currently scanners know how to scan specific resources and this is done on request of provision service.
It can be interesting if provision service will support "monitoring" of the scanned resource and react on changes. For example for dir scanner the scanned directory can be monitored and if there are bundles added/removed from that directory the bundle will be installed/uninstalled from the platform. For an file scanner it will monitor the scanned file for changes. If content of file changes bundles are again installed/uninstalled.

An option to implement this can be to allow an extra option on the scan-x urls to specify the interval between the scans. If this option is not specified then they will act as before (no rescan) and if it is specified then a scanning process is repeated after the specified time interval.

This should be supported for stand alone use of scanners not when they run as part of pax runner.

Activity

Hide
Alin Dreghiciu added a comment -

Actually with this approach the dir scanner will act as FileInstall with the advantage being able to monitor as many directories as you need.

Show
Alin Dreghiciu added a comment - Actually with this approach the dir scanner will act as FileInstall with the advantage being able to monitor as many directories as you need.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: