[katello-devel] Katello-Foreman Integration API Layer Question

Martin Bacovsky mbacovsk at redhat.com
Wed Aug 22 08:23:10 UTC 2012


On 08/22/2012 09:12 AM, Ivan Nečas wrote:
> On Tue 21 Aug 2012 05:31:43 PM CEST, Eric Helms wrote:
>> A question after seeing the current progress of the Foreman 
>> integration work around the API layer. This is inspired by some 
>> thoughts we've had around the Pulp v2 migrations.
>>
>> Has any thought been given to generating a separate 
>> library/gem/project for the API part? Since this would be a re-usable 
>> component by potentially other communities and present a nice, clean 
>> set of ruby bindings for the Foreman APIs that we could consume (as 
>> well as others).
>
> Is this the answer?
>
> https://github.com/mbacovsky/foreman_api
>
> -- Ivan
The foreman_api is generated from API documentation using the Apipie 
tool [1]. The tool's other nice feature is that you can generate simple 
CLI client, but as the new API is still far from complete neither we nor 
the foreman community provide one.

The foreman_api is available in git repo [3] (most fresh version is 
usually on the link Ivan provided), as a gem on rubygems.org and also in 
our katello-thirdparty repo as a rpm. It should be available soon as a 
rpm and deb for the Foreman community by their own means.

Here is short wiki [2] on how we use the bindings in katello. If you 
find anything you need to add there, let me know.

Martin

[1] https://github.com/Pajk/apipie-rails
[2] https://fedorahosted.org/katello/wiki/ForemanIntegrationAPI
[3] https://github.com/theforeman/foreman_api


>>
>> - Eric
>>
>> _______________________________________________
>> katello-devel mailing list
>> katello-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/katello-devel
>
>
>
> -- 
> Ivan
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list