Fix futures handling in the NetconfRestconfTransaction 27/95327/2
authorOleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
Tue, 23 Feb 2021 16:06:05 +0000 (18:06 +0200)
committerOleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
Tue, 23 Feb 2021 16:24:20 +0000 (18:24 +0200)
commitfbedf3e1c6ede6bf9b0348f85a54e5b5f53abf1b
tree1a0ff2b374ef268883010e34b117404eeb7799cc
parente0a49028dc54c0a6dda3d4975afbef9017856670
Fix futures handling in the NetconfRestconfTransaction

This change solves the problem when the NetconfDataTreeService.lock()
returns an immutable list of futures, and the NetconfRestconfTransaction
wrapper can't change items on the list.

JIRA: NETCONF-705
Change-Id: Ie98f23382660683e269d3c1cdad6419be72545e5
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/transactions/NetconfRestconfTransaction.java