From 0087800e0448812e8b11606b830485754c58be28 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Wed, 20 Sep 2017 20:05:09 +0200 Subject: [PATCH] Updated git submodules Project: genius stable/carbon 59caf785376497197e8cccd214b2243f27dde5f9 ManagedTransactionRunner utility to help close transactions BACKPORT from master WITHOUT ItmTunnelAggregationHelper, and ManagedNewTransactionRunnerImplTest w.o. LogCaptureRule, and adjusting for DataBrokerTestModule changed in master; FOR https://jira.opendaylight.org/browse/NETVIRT-985. REQUIRES https://git.opendaylight.org/gerrit/#/c/65602/ _______________________________________________________________________ Commit Message from original change on master: inspired by https://git.opendaylight.org/gerrit/#/q/topic:transaction-helper, but: (1) instead of the cancel-if-lambda-didn't-submit design, forbid lambda from doing submit() or cancel(), and instead let new transaction utility do that. This is better because it already opens the door for non-single transactions in the future (see upcoming next chained change) (2) allow lambda to throw checked exceptions (see CheckedConsumer), which will, obviously, lead to the Transaction to be canceled. This is important as it helps avoid errors where using code forget this. TODO: Make all places which topic:transaction-helper converted to using TransactionHelper use this change's ManagedNewTransactionRunner instead. Change-Id: I613ab7720e226c09d46c90329f0bc767f4642530 Signed-off-by: Michael Vorburger --- docs/submodules/genius | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/submodules/genius b/docs/submodules/genius index 8b1861b4a..59caf7853 160000 --- a/docs/submodules/genius +++ b/docs/submodules/genius @@ -1 +1 @@ -Subproject commit 8b1861b4a40c586c2fa1f57358ceccb9d05ac0f0 +Subproject commit 59caf785376497197e8cccd214b2243f27dde5f9 -- 2.36.6