Bug 1216231

Summary: API doc for /api/v2/locations does not mention organizations
Product: Red Hat Satellite Reporter: jaudet
Component: Organizations and LocationsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10359
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-12 15:30:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jaudet 2015-04-28 20:07:06 UTC
Description of problem:
The API documentation for /api/v2/locations (at https://sat.example.com/apidoc/v2/locations.html) does not make any mention of organizations. This is problematic because it is, in fact, possible to associate a location with an organization by POSTing to /api/v2/locations, and also presumably by PUTting to /api/v2/locations/:id.

Version-Release number of selected component (if applicable):
Tested against Satellite-6.1.0-RHEL-6-20150424.0 and Satellite-6.1.0-RHEL-7-20150424.0.

How reproducible:
100%

Steps to Reproduce:
1.Go to https://sat.example.com/apidoc/v2/locations.html. Search for "organization".

Actual results:
No mention of organizations.

Expected results:
Mention of the fact that one can associate a location with zero or more organizations.

Additional info:

Comment 1 RHEL Program Management 2015-04-28 20:13:31 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Bryan Kearney 2015-05-04 13:41:43 UTC
Created redmine issue http://projects.theforeman.org/issues/10359 from this bug

Comment 4 Bryan Kearney 2015-08-25 18:35:16 UTC
Upstream bug component is Multi Org

Comment 5 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Bryan Kearney 2016-07-26 15:46:17 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 8 Bryan Kearney 2017-01-12 15:30:23 UTC
This is an older bug which has been reported upstream. We are not going to track this bug downstream. When the upstream issue is resolved, the next build will contain the fix. Thank you.