Resolve Bug:654 - Fix config-persister exception handling. 05/5905/3
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)
commita7bc1dbcfefd7a349f4792242ea0f7a2ad072374
tree048fa57682519bf0eb14015677d6ee04a9661342
parent5aa059de760149de263e9068fd87aa38a8f82835
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