Bug #12315
closedMissing routes on API end points
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1253900
Description of problem:
These api end points are missing routes.
/katello/api/guestids
/katello/api/content_overrides
/katello/api/available_releases
These endpoints are presented at /katello/api/
Version-Release number of selected component (if applicable):
6.1.1
How reproducible:
Easy
Steps to Reproduce:
1. curl -s -k -X GET -u $SATUSER:$SATPASS -H "Accept:application/json" https://$SATHOST/katello/api/guestids
2. curl -s -k -X GET -u $SATUSER:$SATPASS -H "Accept:application/json" https://$SATHOST/katello/api/content_overrides
3. curl -s -k -X GET -u $SATUSER:$SATPASS -H "Accept:application/json" https://$SATHOST/katello/api/available_releases
Actual results:
"
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
"
Expected results:
Additional info:
2015-08-15 11:25:39 [F]
ActionController::RoutingError (No route matches [GET] "/katello/api/guestids"):
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
2015-08-15 11:26:19 [F]
ActionController::RoutingError (No route matches [GET] "/katello/api/content_overrides"):
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
2015-08-15 11:27:14 [F]
ActionController::RoutingError (No route matches [GET] "/katello/api/available_releases"):
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'