HewlettPackard / oneview-redfish-toolkit

HPE OneView Redfish Toolkit provides a REST service to answer DMTF's Redfish compliant requests by querying HPE OneView
Apache License 2.0
18 stars 21 forks source link

Version Upgrade #578

Closed bksaroja closed 3 years ago

bksaroja commented 3 years ago

As a part of this commit the following changes are made:

  1. API_version is changed to 1200 from 600
  2. hponeview sdk is changed from 4.7 to 5.3. The following changes had to be made as the latest version of oneview is not backward compatible:

    1. The get calls are replaced by : get_by_id or get_by_uri based on the input
    2. Multiple Parameter strategy introduced to triage the difference in method signature introduced as a part of oneview 5.0. This is done particularly for methods server profile delete, get_environmental_configuration, get_utilization, update_power_state
    3. Return type has been changed to the respective "resource" type from 'dict' type in oneview-sdk, this change is not uniform hence the return type is checked and the relevant data is passed further.
    4. Composing server profile request has 'unrecognized fields' . The same has been checked and deleted where necessary.