basic API service

Bug #1514745 reported by Eran Gampel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Karbor
Fix Released
Undecided
chenying

Bug Description

implement the basic boilerplate for the smaug APIs, using WSGI and OSLO services.
as an example, you can look at :
https://github.com/openstack/neutron/blob/master/neutron/wsgi.py

chenying (ying-chen)
Changed in smaug:
assignee: nobody → chenying (ying-chen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to smaug (master)

Fix proposed to branch: master
Review: https://review.openstack.org/247440

Changed in smaug:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to smaug (master)

Reviewed: https://review.openstack.org/247440
Committed: https://git.openstack.org/cgit/openstack/smaug/commit/?id=b2a624c783e6059dc22f6e5f2b1b668b7140404e
Submitter: Jenkins
Branch: master

commit b2a624c783e6059dc22f6e5f2b1b668b7140404e
Author: chenying <email address hidden>
Date: Thu Nov 19 19:17:04 2015 +0800

    basic API service

    Implement the basic boilerplate for the smaug APIs, using WSGI and
    OSLO services.
    Smaug-api service now can respond the request of the resource plans.

    Follow these steps to using smaug API service:

    1 download the source code form github.

    2 install dependency libraries
    pip install -r requirements.txt

    3 install smaug API service
    python setup.py install

    4 start smaug API service
    python /usr/local/bin/smaug-api --config-file /etc/smaug/smaug.conf

    4 using the resource plans RESTAPI (now only available with auth_strategy noauth )
    http://10.229.46.128:8799/v1/55daed3cc6da42c6aa25e55d15bb1757/plans

    Closes-Bug: #1514745
    Change-Id: Id27c624714c1839818937b94c1ecd33f393ec282

Changed in smaug:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.