Michael Pasternak has submitted this change and it was merged.
Change subject: restapi: VM-runtime-only information presented after VM goes down
(#869682)
......................................................................
restapi: VM-runtime-only information presented after VM goes down (#869682)
VM-runtime-only display information is presented by api after VM goes down
The runtime only information like address, port, secure_port and start_time
need to be hidden when the vm is not running.
Change-Id: Ie36fa8049c8ddad483e7e16f13a3d0a029f8f218
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=869682
Signed-off-by: Ravi Nori <rnori(a)redhat.com>
---
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmMapper.java
M
backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/VmMapperTest.java
2 files changed, 45 insertions(+), 29 deletions(-)
Approvals:
Michael Pasternak: Looks good to me, approved
Ravi Nori: Verified
--
To view, visit
http://gerrit.ovirt.org/9090
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie36fa8049c8ddad483e7e16f13a3d0a029f8f218
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>