By allowing the event handlers in
plugin_extensions.openstack.agent.events we remove the final constraint that now allows using a context manager to manage a global searcher object that is shared across all parts in a plugin. This is now shared with all implementations of YHanlderBase i.e. events and scenarios. A future patch will enable pre-loading scenario searches into the global searcher.
By allowing the event handlers in plugin_extensions.openstack.agent.events we remove the final constraint that now allows using a context manager to manage a global searcher object that is shared across all parts in a plugin. This is now shared with all implementations of YHanlderBase i.e. events and scenarios. A future patch will enable pre-loading scenario searches into the global searcher.