Add hooks mechanism to extend default behaviour

Registered by Dina Belova

Implement opportunity of adding hooks in resource plugins. This is needed, for example, to add hooks to Manager service for running extra events types (not only start_lease, end_lease and notify in the future). This allows extending events behaviour without going to the leases level from the resources one.

Blueprint information

Status:
Complete
Approver:
Blazar core developers
Priority:
Low
Drafter:
Dina Belova
Direction:
Approved
Assignee:
Dina Belova
Definition:
Approved
Series goal:
Accepted for 0.1.x
Implementation:
Implemented
Milestone target:
None
Started by
Dina Belova
Completed by
Dina Belova

Related branches

Sprints

Whiteboard

Maybe this blueprint is already done by this change ?
https://review.openstack.org/#/c/53840/10/climate/manager/service.py

What do you think about it ? Does it match your need ?

======

yes they are

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.