Bug 760803

Summary: Headpin/api lists too many urls
Product: [Retired] Subscription Asset Manager Reporter: Bryan Kearney <bkearney>
Component: katelloAssignee: Jordan OMara <jomara>
Status: CLOSED CURRENTRELEASE QA Contact: SAM QE List <sam-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: athomas
Target Milestone: ---Keywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-27 00:22:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 703617    

Description Bryan Kearney 2011-12-07 01:24:42 UTC
The following is the output from the HATEOAS API for Katello. 

[{"href":"/api/systems/","rel":"systems"},{"href":"/api/providers/","rel":"providers"},{"href":"/api/templates/","rel":"templates"},{"href":"/api/organizations/","rel":"organizations"},{"href":"/api/changesets/","rel":"changesets"},{"href":"/api/products/","rel":"products"},{"href":"/api/repositories/","rel":"repositories"},{"href":"/api/environments/","rel":"environments"},{"href":"/api/activation_keys/","rel":"activation_keys"},{"href":"/api/packages/","rel":"packages"},{"href":"/api/errata/","rel":"errata"},{"href":"/api/distributions/","rel":"distributions"},{"href":"/api/users/","rel":"users"},{"href":"/api/tasks/","rel":"tasks"},{"href":"/api/consumers/","rel":"consumers"},{"href":"/api/entitlements/","rel":"entitlements"}]

The following hrefs are not applicable to headpin:

api/templates
api/changesets
api/repositories
api/packages
api/errata
api/distrbutions


and should be removed from this list.

Comment 1 Jordan OMara 2012-01-23 21:31:16 UTC
committed 00ce8c2686ee79e087c70e700792a0ea5b680c15