Document the Magnum API

Bug #1460161 reported by Adrian Otto
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magnum
Fix Committed
Wishlist
Lars Butler

Bug Description

In accordance with requirements from SEMVER (http://docs.openstack.org/developer/pbr/semver.html) Magnum needs a documented API. Our API source code may be found here:

http://git.openstack.org/cgit/openstack/magnum/tree/magnum/conductor/api.py
http://git.openstack.org/cgit/openstack/magnum/tree/magnum/api/controllers/v1

Please resolve this task by documenting the Magnum API in a style consistent with other OpenStack services.

Example:
http://developer.openstack.org/api-ref-orchestration-v1.html

Tags: magnum
Steven Dake (sdake)
Changed in magnum:
milestone: liberty-1 → liberty-2
Michael Sambol (sambol)
Changed in magnum:
assignee: nobody → Michael Sambol (sambol)
Revision history for this message
Anne Gentle (annegentle) wrote :

We have a Swagger document going here: https://github.com/jamiehannaford/swagger-magnum

Michael, please feel free to reach out to me on IRC to talk about our plans for WADL to Swagger conversions. Since Magnum never had a WADL, it made sense to go straight to swagger.

Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → High
Akihiro Motoki (amotoki)
tags: added: magnum
Revision history for this message
Lars Butler (lars-butler) wrote :

I'd like to assign this bug to myself, since there hasn't been any activity on it in a number of months. Please let know if there are any objections.

Changed in magnum:
assignee: Michael Sambol (sambol) → Lars Butler (lars-butler)
Changed in openstack-api-site:
assignee: nobody → Lars Butler (lars-butler)
Revision history for this message
Lars Butler (lars-butler) wrote :

I've taken a first stab at this, but I'm blocked on some build changes, which are still under review: https://review.openstack.org/#/c/286659/.

Anne Gentle (annegentle)
no longer affects: openstack-api-site
Revision history for this message
Anne Gentle (annegentle) wrote :

Lars, the files won't be built from api-site any longer, so the review you point to is going to be abandoned.

Instead, the source files need to be in the magnum repository. Let me know if you need any further direction on this. See docs.openstack.org/contributor-guide/api-guides.html and http://specs.openstack.org/openstack/api-wg/guidelines/api-docs.html.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

Changed in magnum:
status: Triaged → In Progress
Revision history for this message
Lars Butler (lars-butler) wrote :

I've submitted a new patch to the magnum repo: https://review.openstack.org/#/c/317368. It's been through several rounds of code reviews, but it still needs a +2.

Revision history for this message
Spyros Trigazis (strigazi) wrote :
Changed in magnum:
milestone: liberty-2 → newton-2
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Lars Butler (<email address hidden>) on branch: master
Review: https://review.openstack.org/317368

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.