openstacksdk/releasenotes/notes/add_vendor_hook-e87b6afb7f215a30.yaml
Artem Goncharov 75b0f292f8 Add support for vendor hooks
Add possibility to pass a hook in the vendor config, clouds-public.* or 
upon building a connection. This should be a string parameter - function
name to be executed. This gives possibility to register new services of 
the cloud automatically or alter behavior of the present services.
It would have not been necessary, if public clouds followed 
upstream-first aproach.

While we are here fix warnings on not closed files in the test_json

Change-Id: Ifd6c0847102af4f46e361dcb1a665829c77553b9
2019-05-13 20:15:07 +02:00

9 lines
357 B
YAML

---
features:
- |
Add possibility to automatically invoke vendor hooks. This can be done
either through extending profile (vendor_hook), or passing `vendor_hook`
parameter to the connection. The format of the vendor_hook is the same as
in the setuptools (module.name:function_name). The hook will get connection
as the only parameter.