[openstack-dev] [murano] Fw:Extending API via Plugins
kzaitsev at mirantis.com
Thu Mar 31 09:34:21 UTC 2016
I’d like to add my 2 cents for this:
It’s really hard to read through the changes on pastes. May I ask you to submit it on gerrit for review as a WIP patch? This would allow us to give you proper feedback.
I +1 Serg’s idea to add a formal spec for this change. May I ask you to submit one to murano-specs repo?
If you have any questions on the process of implementing these — feel free to come to #murano on IRC or to one of our weekly meetings https://wiki.openstack.org/wiki/Meetings/MuranoAgenda (feel free to add your ideas to agenda items).
I’m including [murano] in the title to get correct folks’s attention =)
On 30 March 2016 at 20:33:54, Serg Melikyan (smelikyan at mirantis.com) wrote:
I think this look reasonable, but I would prefer to have a proper spec for this feature. I generally like to have extendable API in Murano.
On Thu, Mar 24, 2016 at 8:49 PM, 王正浩 <wangzhh at awcloud.com> wrote:
I'm sorry that I forgot to tell you murano-paste.ini should be modified to
paste.app_factory = murano.api.v1.router:APIRouterV1.factory
And the file  is murano/api/v1/extensions_base.py
------------------ Original ------------------
From: "王正浩"<wangzhh at awcloud.com>;
Date: Fri, Mar 25, 2016 11:10 AM
To: "List"<OpenStack-dev at lists.openstack.org>;
Cc: "smelikyan"<smelikyan at mirantis.com>;
Subject: Extending API via Plugins
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, murano/api/v1/router.py,
test = murano.api.v1.extensions.test:testAPI
to the setup.cfg. Imply the class testAPI.
The class testAPI inherit a base class APIExtensionBase.
I'll show you my code.
P.S. I copied it from nova. So there are some extra code, hope you don't mind.
Serg Melikyan, Development Manager at Mirantis, Inc.
http://mirantis.com | email@example.com | +1 (650) 440-8979
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev