Change in ovirt-engine[master]: core: Enable running canDoAction in the same trx with execute

masayag at redhat.com masayag at redhat.com
Tue Jan 27 19:47:01 UTC 2015


Moti Asayag has submitted this change and it was merged.

Change subject: core: Enable running canDoAction in the same trx with execute
......................................................................


core: Enable running canDoAction in the same trx with execute

@CanDoActionSupportsTransaction annotation added in order to avoid
suspending current transaction for executing canDoAction.
That allows sharing a single transaction between multiple commands
executions.

Change-Id: I41034c27b993ee0cc179f500ed8cf32552f23c81
Signed-off-by: Yevgeny Zaspitsky <yzaspits at redhat.com>
---
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CanDoActionSupportsTransaction.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
2 files changed, 22 insertions(+), 2 deletions(-)

Approvals:
  Moti Asayag: Looks good to me, approved
  Yevgeny Zaspitsky: Verified



-- 
To view, visit http://gerrit.ovirt.org/37227
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I41034c27b993ee0cc179f500ed8cf32552f23c81
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list