HewlettPackard / oneview-puppet

This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Terraform and Ansible Collection
https://forge.puppet.com/hewlettpackard/oneview
Apache License 2.0
8 stars 17 forks source link

Refactor oneview_resource class and common for v2.2.0 #145

Closed fgbulsoni closed 7 years ago

fgbulsoni commented 7 years ago

Since the module has grown considerably and extended it support, it is time to invoke the good practice of refactoring the code to reduce code repetition project-wide and improve overall coverage.

The exists?, create and delete methods could be majorly improved, as well as some other methods inside oneview_resource and common which could be reduced and improved.

This issue will track the PRs #138 #143 , which focus on this refactor.