RedHatQE / uplift

Other
0 stars 1 forks source link

[RFE] Log/output monitor #4

Open rarebreed opened 9 years ago

rarebreed commented 9 years ago

Rationale

Have the ability to watch some kind of file-like object similiar to the unix tail command. Any object that can be read from should be able to be monitored. The monitor can run in a separate process/thread (eg core.async), and will examine output.

Pluggable handlers to examine this output should be made possible so that the handler can trigger some kind of event to interested processes. For example, if a certain keyword or phrase is discovered in the output, the handler can notify a test that it failed. Another example could be a file watcher to determine if the file changed.

Benefits

By being able to have dynamic logic inserted into a output monitor, and having events that can be triggered based on that logic, the events can be sent to interested parties for various tasks.