Bug 1132817

Summary: Sync plan
Product: Red Hat Satellite Reporter: Peter Vreman <peter.vreman>
Component: APIAssignee: Christine Fouant <cfouant>
Status: CLOSED ERRATA QA Contact: jaudet
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cwelton, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/7328
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:12:52 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:
Bug Depends On:    
Bug Blocks: 1122832    

Description Peter Vreman 2014-08-22 06:50:33 UTC
Description of problem:
API routes for sync plan are inconsistent with products. 

Products have API calls to list all products and per org:

GET /katello/api/v2/products
List products
GET /katello/api/v2/organizations/:organization_id/products
List of products in an organization

Sync-plan has not the list all plans, only the per org
GET /katello/api/v2/organizations/:organization_id/sync_plans
List synchronization plans



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

Consistent routes, either only per Organization routes only or add also the route for sync_plans without the organizations part in the URL


Additional info:

Comment 1 RHEL Program Management 2014-08-22 06:53:08 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 Christine Fouant 2014-09-02 14:24:51 UTC
Created redmine issue http://projects.theforeman.org/issues/7328 from this bug

Comment 4 Bryan Kearney 2014-09-03 18:04:38 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/7328 has been closed
-------------
Christine Fouant
Applied in changeset commit:katello|92423954bdedb3eefafd3d94284f98186fc7aa5e.

Comment 7 jaudet 2015-03-09 13:05:47 UTC
Tested against Satellite-6.1.0-RHEL-6-20150303.0 and Satellite-6.1.0-RHEL-7-20150303.0. Automated tests for this bug should be added to QE's test suite shortly. See: https://github.com/SatelliteQE/robottelo/pull/1973

Comment 8 Bryan Kearney 2015-08-11 13:34:45 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 errata-xmlrpc 2015-08-12 05:12:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:1592