Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Fix V3 snapshot action links
......................................................................
restapi: Fix V3 snapshot action links
In version 4 of the API all the URL segments are generated concatenating
the words of the relevant name without separators. But in version 3 some
URL segments didn't follow this rule, in particular the URL segments
corresponding to snapshot actions used an underscore to separate words:
preview_snapshot
commit_snapshot
undo_snapshot
To preserve backwards compatibility this patch changes the V3 adapter so
that it fixes the links to these actions, adding the required
underscore.
Change-Id: Idf1712f58dc29d6a91335f2c2f228e9fe9f746aa
Bug-Url:
https://bugzilla.redhat.com/1332986
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3VmOutAdapter.java
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/servers/V3VmServer.java
2 files changed, 39 insertions(+), 4 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
Allon Mureinik: Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/57088
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Idf1712f58dc29d6a91335f2c2f228e9fe9f746aa
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>