[openstack-dev] Extending API via Plugins

王正浩 wangzhh at awcloud.com
Fri Mar 25 03:10:40 UTC 2016

Hi Serg Melikyan,I don't know much about CF Broker API. I'm sorry that I
have no real use-case. But here is a test one which I plan to 

I modified murano/common/wsgi.py[0], murano/api/v1/router.py[1],
murano.api.v1.extensions =
    test = murano.api.v1.extensions.test:testAPI
to the setup.cfg[2]. Imply the class testAPI[3]. 

The class testAPI  inherit a base class APIExtensionBase[4].
I'll show you my code.
P.S. I copied it from nova. So there are some extra code, hope you don't mind.
[0] http://paste.openstack.org/show/491841/
[1] http://paste.openstack.org/show/491840/
[2] http://paste.openstack.org/show/491842/
[3] http://paste.openstack.org/show/491845/
[4] http://paste.openstack.org/show/491843/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160325/9baae6e8/attachment.html>

More information about the OpenStack-dev mailing list