RedHatQE/katello.auto — pull request #913 by AdamSaleh (2013-09-30 16:50:05+00:00)
Title: Do not Merge : Rest-setup work-in progress

As I promissed, while not done yet, at least posting my w-i-p.

What works:
rest/create-all-recursive
creating and synchronizing repositories

What doesn't:
content views
When trying to access /katello/api/content_view_definitions I only get {"displayMessage":"Resource not found on the server","errors":["Not found"]} as a response, which I am not sure if means, that there are no c-v's yet, or that I am accessing something wrong-ly.

Example, trying to create a c-v-d as in http://www.katello.org/apidoc/content_view_definitions/create.html,
with command (katello.rest/http-post
"https://10-16-6-158.rhq.lab.eng.bos.redhat.com/katello//api/content_view_definitions"
{:body {:content_view_definition {:description nil, :name "content-view-0930-175841-063"}}})

and only get 404 exception returned, with said message {"displayMessage":"Resource not found on the server","errors":["Not found"]}