[asterisk-bugs] [JIRA] (ASTERISK-22517) ARI Client Libraries
David M. Lee (JIRA)
noreply at issues.asterisk.org
Mon Oct 28 11:56:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211295#comment-211295 ]
David M. Lee commented on ASTERISK-22517:
-----------------------------------------
A Python client library is now available.
We have [Swagger.py|https://github.com/digium/swagger-py], which is a generic Python client library for Swagger enabled API's.
And we have [ari-py|https://github.com/asterisk/ari-py], which is an ARI specific wrapper around Swagger.py, which provides some first class objects for {{Channel}}, {{Bridge}}, etc.
> ARI Client Libraries
> --------------------
>
> Key: ASTERISK-22517
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22517
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Resources/res_ari
> Affects Versions: 12.0.0-alpha1
> Reporter: Matt Jordan
> Assignee: David M. Lee
>
> After some initial investigation, the following is the proposed plan by @dlee to develop the prototype client libraries:
> # Publish SwaggerPy to the GitHubz
> ** Submit to PyPI
> # Python client development
> ** Refactor to use SwaggerPy
> ** Clean up object model
> ** Tie events back to source objects
> ** Clean up for submission to PyPI
> # JavaScript client
> ** Refactor to use Swagger.js
> ** Clean up object model
> ** Tie events back to source objects
> ** npm submit
> # Other clients
> ** Implement Mustache based code generator
> ** Refactor Perl API to use the Mustache codegen (or drop it)
> ** Refactor Asterisk code generator to use SwaggerPy
> Each portion of this plan can be done relatively independently. The initial focus for the work will be to develop the Python API, as it integrates the best with the Asterisk Test Suite. JavaScript will be next; Perl may or may not be done depending on the need.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list