Doron Fediuck has submitted this change and it was merged. Change subject: backend: Report available RHEV-H ISO versions (#769196) ......................................................................
backend: Report available RHEV-H ISO versions (#769196) https://bugzilla.redhat.com/769196 The patch modifies the way RHEV-H images were retrieved to the user: Start from rhevh 6.2 for beta-3, the installation of ovirt-rpm on engine server will add additional versions of iso files and a text file for each iso which contains the iso version, in the same folder (/usr/share/rhev-hypervisor/) See https://bugzilla.redhat.com/show_bug.cgi?id=740565#c20. The patch will retrieve the list of available isos by parsing the version files, resolving the iso file, validate its existence and its version (should be greater than 5.7, where the isos folder used to contain a single file in unsupported naming convention). In addition, a host could be provided to the GetoVirtISOsQuery and the returned ISO list will contain only support ISOs for the specific host. Change-Id: I5ccec7c5c6464e80882b06997868d0597f8f8775 Acked-by: FirstName LastName <email> --- A backend/manager/dbscripts/upgrade/03_01_0160_add_ovirt_iso_options.sql M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetoVirtISOsQuery.java M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ConfigMocker.java A backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetoVirtISOsTest.java A backend/manager/modules/bll/src/test/resources/ovirt-isos/rhevh-5.8-20111010.0.el6.iso A backend/manager/modules/bll/src/test/resources/ovirt-isos/rhevh-6.2-20111010.0.el6.iso A backend/manager/modules/bll/src/test/resources/ovirt-isos/version-5.8-20111010.0.el6.txt A backend/manager/modules/bll/src/test/resources/ovirt-isos/version-6.2-20111010.0.el6.txt M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java M backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/RpmVersion.java M backend/manager/tools/engine-config/src/main/resources/engine-config.properties 11 files changed, 309 insertions(+), 15 deletions(-) Approvals: Doron Fediuck: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/39 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5ccec7c5c6464e80882b06997868d0597f8f8775 Gerrit-PatchSet: 12 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Moti Asayag <[email protected]> Gerrit-Reviewer: Doron Fediuck <[email protected]> Gerrit-Reviewer: Moti Asayag <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
