Bug 851331
Summary: | REST: /api/providers/{id} returns unusable organization_id | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Brad P. Crochet <brad> |
Component: | API | Assignee: | Marek Hulan <mhulan> |
Status: | CLOSED UPSTREAM | QA Contact: | Og Maciel <omaciel> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.0 | CC: | mhulan, mmccune, omaciel |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-19 18:10:25 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
Brad P. Crochet
2012-08-23 20:09:25 UTC
*** Bug 851332 has been marked as a duplicate of this bug. *** /api/organizations/{org_id} requires organization label as $org_id in order to find correct record however changing provider organization_id json attribute does not seem right to me. Wouldn't be it better to add extra json attribute called organization_label that you could use for this purpose? The reason is that we should not call label by name "id", this could bring a lot of confusion later. Adding an organization_label would be a reasonable addition. As long as it would then be directly usable against candlepin, aka the cpkey. Merged https://github.com/Katello/katello/pull/1544 https://github.com/Katello/katello/commit/624ef184626a957135d78ee61f303787c96ecb0b These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM. If this is a mistake feel free to re-open. |