Resolve Bug:654 - Fix config-persister exception handling.
authorTomas Olvecky <tolvecky@cisco.com>
Fri, 4 Apr 2014 10:29:19 +0000 (12:29 +0200)
committerTomas Olvecky <tolvecky@cisco.com>
Fri, 4 Apr 2014 14:37:43 +0000 (16:37 +0200)
commit9966cb0d1c103345c380f6d670ba929836d0a66d
treea907c91d63de204caf845fc875ff3b4d84f4ff64
parent2e5d10b7a1cbe55209673d955e3e6ae264a79670
Resolve Bug:654 - Fix config-persister exception handling.

Modify NetconfUtil to fail on any <rpc-error>, not detecting transaction conflicts. Move
exception handling to ConfigPusher.
Also fix bug when config-netconf-connector detects discrepancy between yang store and
config manager factories: persister will retry as if some capabilities were not found.

Change-Id: Ibd80fd3859031ae41301481dad9b50f74207e64c
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
opendaylight/netconf/config-persister-impl/src/main/java/org/opendaylight/controller/netconf/persist/impl/ConfigPusher.java
opendaylight/netconf/config-persister-impl/src/test/java/org/opendaylight/controller/netconf/persist/impl/osgi/ConfigPersisterTest.java
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/NetconfUtil.java
opendaylight/netconf/netconf-util/src/test/java/org/opendaylight/controller/netconf/util/NetconfUtilTest.java