Bug 2106: Refactored FlowCapableInventoryProvider to properly work with failures. 63/11663/2
authorTony Tkacik <ttkacik@cisco.com>
Mon, 29 Sep 2014 17:04:40 +0000 (19:04 +0200)
committerEd Warnicke <eaw@cisco.com>
Mon, 29 Sep 2014 17:37:04 +0000 (10:37 -0700)
commitfe8c630fee135ac9732f3228da443d68c0fd6d7a
treef12864f15fd2fcd292c81ca9c4f730b082db7685
parentc2413b99508fe07fd3569b225267f054743020b1
Bug 2106: Refactored FlowCapableInventoryProvider to properly work with failures.

FlowCapableInventoryProvider was unable to continue if transaction chain
failed during construction of new transaction.

Refactored it in way, that it is able to reconstruct and retry transaction,
which failed because of previous transaction and retries it once
in new transaction chain. If it fails again, it continues with next batch.

Change-Id: I4a90a3b60b0a49d562c8648a779e790f55840b5d
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
opendaylight/md-sal/inventory-manager/src/main/java/org/opendaylight/controller/md/inventory/manager/FlowCapableInventoryProvider.java