Add audit.planner events
In this changeset, I implemented the following notifications: - audit.planner.start - audit.planner.end - audit.planner.error Partially Implements: blueprint audit-versioned-notifications-api Change-Id: I29d371f8cb3fd7948c87bec97186e24a88e8fdb6
This commit is contained in:
@@ -91,7 +91,7 @@ class ContinuousAuditHandler(base.AuditHandler):
|
||||
self.execute(audit, request_context)
|
||||
|
||||
def post_execute(self, audit, solution, request_context):
|
||||
self.planner.schedule(request_context, audit.id, solution)
|
||||
self.do_schedule(request_context, audit, solution)
|
||||
|
||||
def launch_audits_periodically(self):
|
||||
audit_context = context.RequestContext(is_admin=True)
|
||||
|
||||
Reference in New Issue
Block a user