[katello-devel] /katello/products/:id/repositories route

Mike McCune mmccune at redhat.com
Thu Jul 7 21:44:36 UTC 2011


On 07/07/2011 10:03 AM, Dmitri Dolguikh wrote:
> Does anybody know anything about this route? We don't have logs before
> the move to public git repo...
>
> # some paths conflicts with rhsm
> scope 'katello' do
>
> # routes for non-ActiveRecord-based resources
> match '/products/:id/repositories' => 'products#repo_create', :via =>
> :post, :constraints => { :id => /[0-9\.]*/ }
>
> end
>
>
> it's not functional atm. Do we still need it? Why is it in a different
> namespace? We don't want clients to be aware of what url they need to use.
>

I don't see that used anywhere.  I'd expect to be able to have an *API* 
call that would be simliar to that route:

  /api/products/:id/repositories

to list the repos in a product ... but the UI doesn't need the above path.

Mike
-- 
Mike McCune
mmccune AT redhat.com
Red Hat Engineering       | Portland, OR
Systems Management        | 650.254.4248




More information about the katello-devel mailing list