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.
Alin Dreghiciu created PAXSCANNER-5
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.
Votes: 0, Watches: 0