
Juan Hernandez has submitted this change and it was merged. Change subject: restapi: Add V3 capabilites for version 4 of the server ...................................................................... restapi: Add V3 capabilites for version 4 of the server There are users of the API that get the version number of the product (from the API itself, or from other places) and then expect to find a capabilities description for that version. But these descriptions of the API have been copied from version 3.6 of the server, which doesn't contain a description for 4.0. This means that those user will fail. To avoid that problem this patch modifies the V3 capabilities server so that it takes the capabilities of version 3.6 and duplicates, but setting the version number to 4.0. This way those users will continue working. Change-Id: I627eee5db1e79634ef83a76101139966550ec446 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/servers/V3CapabilitiesServer.java M backend/manager/modules/restapi/jaxrs/src/main/resources/v3/capabilities.xml 2 files changed, 33 insertions(+), 4 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Petr Balogh: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/54583 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I627eee5db1e79634ef83a76101139966550ec446 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Petr Balogh <pbalogh@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>