cloudera / cm_api

Cloudera Manager API Client
Apache License 2.0
305 stars 283 forks source link

Ruby client #29

Open pburkholder opened 9 years ago

pburkholder commented 9 years ago

A ruby client for the API would be great. Any work underway on that?

aetherical commented 8 years ago

I generated one last night..... (before I saw this issue). I've not as yet had a chance to test it much, but I converted the wadl to a swagger (OpenAPI) file, then used swagger-codegen to create a rubygem..

wing328 commented 8 years ago

The Ruby API client generated by Swagger Codegen (latest master) also comes with auto-generated documentation (markdown). Here is an example: https://github.com/wing328/petstore-ruby. Please let us know if you've any feedback via https://github.com/swagger-api/swagger-codegen/issues.

@aetherical do you mind sharing the swagger (openapi) file publicly via http://gist.github.com or other channel?

aetherical commented 8 years ago

Happy to do so @wing328 -- it's already up in my fork: https://raw.githubusercontent.com/aetherical/cm_api/master/ruby/application.swagger.json

I haven't submitted a pull request as yet -- wanted to run some tests.

wing328 commented 8 years ago

Thanks Matt :)

aetherical commented 8 years ago

My pleasure!

On March 30, 2016 9:34:31 AM EDT, wing328 notifications@github.com wrote:

Thanks Matt :)


You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/cloudera/cm_api/issues/29#issuecomment-203435578

Sent from my Android device with K-9 Mail. Please excuse my brevity.