hakbot / hakbot-origin-controller

Vendor-Neutral Security Tool Automation Controller (over REST)
29 stars 18 forks source link

Refactor to use event model #6

Closed stevespringett closed 7 years ago

stevespringett commented 8 years ago

The current job manager and execution code is based on older code and needs to be refactored to use an event driven model where a series of providers and publishers can be executed as part of a single job definition, rather than a static 1-1 workflow.

stevespringett commented 7 years ago

I'd like to implement this sooner rather than later. Changing this from 2.0 to the initial 1.0 release.

stevespringett commented 7 years ago

Event subsystem is currently in place capable of async job processing. Need to refactor JobManager to use the new event system

stevespringett commented 7 years ago

For the time being, the assumption will be a 1-1 (provider to publisher) ratio. However, the event system is in place. An update to the API definition may be required to account for additional workflows.