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

[RAC-6211] Port Redfish Get Inventory feature underlying implementation from Racadm to WSMAN #799

Merged
merged 1 commit into from
Oct 27, 2017

Conversation

AlaricChan
Copy link
Contributor

Background
Based on the preceding investigation work, start to port redfish get inventory underlying implementation from Racadm with WSMAN API.

Details

  1. Replaced the RACADM catalog dependencies with WSMAN inventory catalog while getting FW/SW inventories;
  2. Fixed unit test after the above modifications

Reviewer
@leoyjchang @nortonluo @lanchongyizu @yaolingling @anhou

@JenkinsRHD
Copy link
Contributor

BUILD on-http #635 : FAILURE

@JenkinsRHD
Copy link
Contributor

BUILD on-http #637 : FAILURE

@AlaricChan
Copy link
Contributor Author

test this please

}
xmlParser(fqddString, function (err, result) {
if(err){
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to add logger.error or throw error

expect(response.body).to.have.property('message', 'test');
});
});

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It' better to add case for success

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other cases had been covered. This case is specified for the error case.

@anhou anhou merged commit dc4f8bb into RackHD:master Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants