OVSDB V3 northbound failed to find node 70/15870/2
authorSam Hague <shague@redhat.com>
Sun, 1 Mar 2015 22:56:43 +0000 (17:56 -0500)
committerSam Hague <shague@redhat.com>
Sun, 1 Mar 2015 23:56:47 +0000 (18:56 -0500)
commit31be79c8058f3435791ea213454cbb5c4804cb24
treed0dcd29cdcd0c36b31fcd13b594f93c876f6a954
parentcb0add946084628f2116dafbf93a12d6764366cd
OVSDB V3 northbound failed to find node

The Node.fromString(id) no longer works with the latest adsal deprecation changes.

A new helper method getNode() was previously created as a workaround but the v3 code was not using it. This commit fixes that.

Also added unit test for the v3 northbound.

Change-Id: I3bdffe52b8ba63b6bd52da482b0a3b1a162b6db8
Signed-off-by: Sam Hague <shague@redhat.com>
northbound/src/main/java/org/opendaylight/ovsdb/northbound/DatabaseResource.java
northbound/src/main/java/org/opendaylight/ovsdb/northbound/NodeResource.java
northbound/src/main/java/org/opendaylight/ovsdb/northbound/RowResource.java
northbound/src/main/java/org/opendaylight/ovsdb/northbound/TableResource.java
northbound/src/test/java/org/opendaylight/ovsdb/northbound/NodeResourceTest.java [new file with mode: 0644]