Getting hostgroups via the API takes an eternity
|Assigned to:||Ohad Levy||% Done:||
Started GET "/hostgroups?format=json" for 126.96.36.199 at Wed Aug 29 11:56:32 +0200 2012 Processing by HostgroupsController#index as JSON Completed 200 OK in 35368ms (Views: 33777.7ms | ActiveRecord: 1591.4ms)
Attached is a full log.
fixes #1842 - Getting hostgroups via the API takes an eternity.
This changes a bit the API resonspe as well, as it makes little sense in a rest
context to return full nested objects (when the child objects can be very large).
therefore, instead of environments and puppetclasses (and eventually smart vars)
the environment and classes are now reference by id.
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 2aabb4567368da4f64912ba170e1ae005812061c.