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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Mon Jul 4 16:32:22 UTC 2016


Juan Hernandez 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>
---
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
  Jenkins CI: Passed CI tests



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

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



More information about the Engine-commits mailing list