neutron/neutron/services/timestamp
Henry Gessau b3c0d5f239 Eliminate lookup of "resource extend" funcs by name
By registering functions directly we cut off the dependency of the
"resource extend" functions on the plugin. This is a step towards
the goal of removing the CommonDbMixin mixin class.

Also, we register all "resource extend" functions at plugin create
(in __new__) instead of in the class definition (which caused the
hooks to be registered on import). This ensures the "resource
extend" functions are only registered for the plugins/mixins that
are actually used.

Note that decorators are used to register "resource extend" methods,
similar to the callback receiver decorators.

Related-Blueprint: neutron-lib

Change-Id: I128cfda773d5f9597df9cd61261fdc05f2a174aa
2017-04-21 14:48:42 -04:00
..
__init__.py Add timestamp for neutron core resources 2016-03-05 02:17:35 +00:00
timestamp_db.py Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
timestamp_plugin.py Eliminate lookup of model query hooks by name 2017-04-16 10:33:36 -04:00