Bug 1125313
Summary: | apipie-bindings's api_version designation is inconsistent with apipie-rails's api_version designation | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Adam Price <adprice> |
Component: | API | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED WONTFIX | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | Unspecified | CC: | dcleal, ehelms |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-13 19:55:30 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
Adam Price
2014-07-31 14:31:10 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. it appears that my apipie-bindings cache was causing some confusion along with me not passing enough arguments to apipie-bindings. $ pry [1] pry(main)> require 'apipie-bindings' true [2] pry(main)> api = ApipieBindings::API.new(:uri => "http://localhost:3000", :username => "admin", :password => "changeme", :aggressive_cache_checking => true, :api_version => 2) #<ApipieBindings::API ... > [3] pry(main)> api.resources.size 84 though i would argue that the api_version designation be consistent with apipie-rails. everywhere in the code server-side the api_version is set as 'v1' or 'v2' but in apipie-bindings you set the api_version as 1 or 2 (integers). these should be consistent to avoid confusion. This would be better moved to an upstream bug tracker (probably apipie-bindings itself), as it's not really suitable for QE/product-level tracking. This is an older bug which I do not envision being addressed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you. |