Plugin migration to use the new Schema independent Library. 14/8614/3
authorMadhu Venugopal <mavenugo@gmail.com>
Tue, 1 Jul 2014 08:11:34 +0000 (01:11 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Thu, 3 Jul 2014 18:09:54 +0000 (11:09 -0700)
commitda199f68ebdebb8d99f034243a073245a03fb24a
tree98f5a136a2f2295eb1263100954358b74181c107
parente6d4850c1151388d6244ef271fa9675803b5e587
Plugin migration to use the new Schema independent Library.

Plugin layer is completely migrated to use the new Schema independent Library.
Since the existing plugin layer has a lot of Open_vSwitch assumption, this migration did not remove such an assumption
and break functionalities. Rather, a few design compromises were made in an effort to make this transition smoother.
Once these commits are merged, we will introduce more Schema independent APIs that will have no assumption on the
underlying Schemas.
Because of this reason, you will see a few places with access to OvsVswitchdSchemaConstants class, which indicates that
the Open_vSwitch schema assumption is made. Also, there are a few "special" case handling done on the ConfigurationService
to deal with existing API assumptions. These assumptions are marked as Special. Again, when the new APIs are introduced
these Assumptions can be easily removed.

The plugin layer changes helped in hardening the Library layer and hence resulted in some Library changes as well.

Enough effort is invested in both the PAX-EXAM based IT and regular Plugin IT code to ensure smooth migration.

Change-Id: Ie6365a23e3fa9b6ca4431d3eba7494330c8a07ca
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
36 files changed:
commons/integrationtest/pom.xml
integrationtest/src/test/java/org/opendaylight/ovsdb/integrationtest/plugin/OvsdbPluginIT.java
library/src/main/java/org/opendaylight/ovsdb/lib/MonitorCallBack.java
library/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbClientImpl.java
library/src/main/java/org/opendaylight/ovsdb/lib/jsonrpc/JsonRpcServiceBinderHandler.java
library/src/main/java/org/opendaylight/ovsdb/lib/message/UpdateNotification.java
library/src/main/java/org/opendaylight/ovsdb/lib/notation/json/Converter.java
library/src/main/java/org/opendaylight/ovsdb/lib/operations/Operations.java
library/src/main/java/org/opendaylight/ovsdb/lib/operations/Update.java
library/src/main/java/org/opendaylight/ovsdb/lib/schema/ColumnSchema.java
library/src/test/java/org/opendaylight/ovsdb/lib/OvsdbClientTestIT.java
plugin/pom.xml
plugin/src/main/java/org/opendaylight/ovsdb/plugin/Activator.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/ConfigurationService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/ConnectionService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/IConnectionServiceInternal.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/InventoryService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/InventoryServiceInternal.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/NodeDB.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/OVSDBConfigService.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/OVSDBInventoryListener.java
plugin/src/main/java/org/opendaylight/ovsdb/plugin/OvsVswitchdSchemaConstants.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestAddBridgeIT.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestAddPortIT.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestAddTunnelIT.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestAddVlanIT.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestBase.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestBridgeConfigIT.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestDeletePortIT.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestGetBridgeDomainsIT.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestSetManagerIT.java
plugin/src/test/java/org/opendaylight/ovsdb/plugin/OvsdbTestSetOFControllerIT.java
pom.xml
schemas/Open_vSwitch/src/test/java/org/opendaylight/ovsdb/schema/openvswitch/BridgeTestCases.java
schemas/Open_vSwitch/src/test/java/org/opendaylight/ovsdb/schema/openvswitch/ControllerTestCases.java
schemas/Open_vSwitch/src/test/java/org/opendaylight/ovsdb/schema/openvswitch/MonitorTestCases.java