Change in ovirt-engine[master]: api: Changing address to be optional

yzaslavs at redhat.com yzaslavs at redhat.com
Wed May 16 09:14:05 UTC 2012


Yair Zaslavsky has submitted this change and it was merged.

Change subject: api: Changing address to be optional
......................................................................


api: Changing address to be optional

In order to conform to previous usages of
AddStorageDomain via REST-API, and due to the fact
that NFS is posix FS compliant, the user will be allowed
to use the "Address" and "Path" fields (a mountSpec of
address:path will be passed to VDSM).
However, as mountSpec is not required to have ":"
it will be possible to use path field only.

Change-Id: I52f9c73694952bc7839124e23d74d1b029dc6a6c
Acked-By:
Signed-off-by: Yair Zaslavsk <yzaslavs at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainsResource.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/StorageDomainMapper.java
2 files changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I52f9c73694952bc7839124e23d74d1b029dc6a6c
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list