Deprecating the Schma-dependent Plugin CRUD APIs and Introducing Schema-independent... 19/9619/4
authorMadhu Venugopal <mavenugo@gmail.com>
Mon, 4 Aug 2014 20:47:29 +0000 (13:47 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Mon, 4 Aug 2014 22:11:47 +0000 (15:11 -0700)
commit2047486138447356aedc33c2cf5380fa756a7171
tree7e1a4bafa15647b7557a306e9edd124db47e8102
parent484d79a8adca3686ca3d992ded6962d936e32fd8
Deprecating the Schma-dependent Plugin CRUD APIs and Introducing Schema-independent CRUD API definitions in the Plugin layer.

1. Deprecated all the existing insert/get/update/Delete methods that are Open_vSwitch Schema-dependent
2. Introduced equivalent methods with DatabaseName as an additional argument.
3. Introduced a new inssertTree method that has the capability to insert a Tree of rows with parent-child relationship
4. Changed the return types to make more sense (instead of the status types returned today)
5. Added a more generic Exception class which will be inherited by more specific exceptions as the need araises.

The implementation for these methods are not done yet.

Change-Id: Ia363574a4d71e301f7c4b1a2e3bac08de53c62f9
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
plugin/pom.xml
plugin/src/main/java/org/opendaylight/ovsdb/plugin/api/OvsdbConfigurationService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/error/OvsdbPluginException.java [new file with mode: 0644]
plugin/src/main/java/org/opendaylight/ovsdb/plugin/impl/ConfigurationServiceImpl.java