Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code to search the collection of resources (paginated search) is repeated in some resources #201

Closed
3 tasks done
ricardogpsf opened this issue Mar 7, 2017 · 0 comments
Closed
3 tasks done

Comments

@ricardogpsf
Copy link
Member

ricardogpsf commented Mar 7, 2017

Scenario/Intent

Resource OneviewSDK::API200::C7000::Volume has repeated code to search collection of resources (similar code exists in find_by method of Resource class)
Resource OneviewSDK::API300::C7000::ServerHardware has repeated (similar code exists in find_by method of Resource class). And code in get_firmwares method of ServerHarware possibly has bug to get the collection, because the loop does not have condition for get out.

  • get_snapshots method on OneviewSDK::API200::C7000::Volume
  • get_attachable_volumes method on OneviewSDK::API200::C7000::Volume
  • get_firmwares method on OneviewSDK::API300::C7000::ServerHardware

Environment Details

  • OneView Client API Version: api300 (C7000) and api200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant