[katello-devel] Foreman-api

Jason Rist jrist at redhat.com
Fri Aug 24 14:52:53 UTC 2012


On 08/24/2012 10:50 AM, Dmitri Dolguikh wrote:
> On 24/08/12 03:38 PM, Lukas Zapletal wrote:
>> On Fri, Aug 24, 2012 at 11:01:16AM +0100, Dmitri Dolguikh wrote:
>>> Hey guys,
>>>
>>> I'm about to add api bindings for environments to Foreman API, but
>>> was wondering about the goals of that [sub]-project. In particular,
>>> why did we choose to create our own code instead of using Rails
>>> ActiveResource (did anyone looked if there are still issues with
>>> Oauth when using ActiveResource)? Another one is why do we perform
>>> client side validation of parameters?
>> The right question is maybe - why we started coding resource/pulp.rb and
>> resource/candlepin.rb huge files with all the methods there? ;-)
> They started small. It's pretty easy to break them up (we should) - each
> file is a collection of classes corresponding to resources on
> pulp/candlepin server. I'd like to see if we can switch to
> ActiveResource though - perhaps it's viable now. Ohad - have you looked
> at this lately?
> 
> -d
>>
>> Any outcomes so far?
>>
>> LZ
>>
> 
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel


OpenShift is primarily using ActiveResource.

-J

-- 
Jason E. Rist
Senior Software Engineer
Systems Management and Cloud Enablement
Red Hat, Inc.
+1.919.754.4048
Freenode: jrist




More information about the katello-devel mailing list