BUG-9048 Fix actor crash when writing incorrect data 08/63608/4
authorTomas Cere <tcere@cisco.com>
Wed, 27 Sep 2017 10:49:02 +0000 (12:49 +0200)
committerTomas Cere <tcere@cisco.com>
Fri, 6 Oct 2017 11:24:50 +0000 (11:24 +0000)
commit6b78886b34fca71afdb3d133ba2575574f48edf3
treef85d7e85bc7aaef2228955c7d14c9feccc717f0a
parentfdf23e41ad0538ca01dd8e630f406679a7334650
BUG-9048 Fix actor crash when writing incorrect data

We need to catch all unechecked exceptions when writing data
in the clustered implementation since these will crash the actor
running and cause problems down the line.

Change-Id: Ib9d243d1db0f6e29e55c97f794a122f307420055
Signed-off-by: Tomas Cere <tcere@cisco.com>
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/impl/actors/WriteAdapter.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/impl/tx/ProxyWriteAdapter.java
netconf/netconf-topology-singleton/src/main/java/org/opendaylight/netconf/topology/singleton/messages/transactions/SubmitFailedReply.java
netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/actors/ReadWriteTransactionActorTest.java
netconf/netconf-topology-singleton/src/test/java/org/opendaylight/netconf/topology/singleton/impl/actors/WriteTransactionActorTest.java