Change in ovirt-engine[ovirt-engine-4.0]: restapi: Convert job and step status to upper case

tnisan at redhat.com tnisan at redhat.com
Mon Jul 4 18:14:51 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: restapi: Convert job and step status to upper case
......................................................................


restapi: Convert job and step status to upper case

In version 4 of the API all the enums are represented using lower case,
including the job and steps status. The values are by default copied
without modification by the version 3 adapters. But some enums used to
be represented using upper case in version 3 of the API, in particular
job and step status used to be upper case, so we need to convert them.

Change-Id: I237ce19f5995ce27647650bdf085227ae89e7d2d
Bug-Url: https://bugzilla.redhat.com/1352575
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit 96850da1bba491bba64c5a63229c36f182a03114)
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3JobOutAdapter.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/v3/adapters/V3StepOutAdapter.java
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests

Objections:
  Jenkins CI: Failed CI tests



-- 
To view, visit https://gerrit.ovirt.org/60163
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I237ce19f5995ce27647650bdf085227ae89e7d2d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list