Michael Pasternak has submitted this change and it was merged.

Change subject: API: Adding mapping between host and action parameters and 
using username field
......................................................................


API: Adding mapping between host and action parameters and using username field

Using username field when specified. When both password and rootPassword
are specified, prefer the rootPassword for backward compatibility.
Using HostMapper for mapping action and host objects to operation's parameters
in update, install, approve host actions.

Change-Id: Ifc7f6ba85ed6a5a790b3cc0acce3f5d6eb305789
Signed-off-by: Yaniv Bronhaim <[email protected]>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostResource.java
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostsResource.java
M 
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java
4 files changed, 64 insertions(+), 41 deletions(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved


-- 
To view, visit http://gerrit.ovirt.org/17194
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifc7f6ba85ed6a5a790b3cc0acce3f5d6eb305789
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to