Modified the Library to be more friendlier towards the uuid value obtained through... 33/7933/3
authorMadhu Venugopal <mavenugo@gmail.com>
Thu, 12 Jun 2014 07:59:42 +0000 (00:59 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Thu, 12 Jun 2014 17:02:41 +0000 (10:02 -0700)
commit385beff61442ecb64049aa0b8569123c3e080c97
treea6119c4e57be14d4821545ba994aadbf534bfd88
parent2b46f43a8a12c4e586fbc2db6dd74bfe53fa8154
Modified the Library to be more friendlier towards the uuid value obtained through Table updates and the _uuid column.

This change involves the following :

- Populated columnschema for internally generated columns(_uuid and version) by default to the TableSchema (Refer RFC 7047 section 3.2)
- Added "uuid" field in TableUpdate, without which the applications were unable to get the Row identifier
- Moved the generic Object in OperationResult to Row<GenericTableSchema>. But this change alone is not enough to make Select operation
  work as expected. We need a more richer way to populate the "columns" in Row class during the Select response (Bug 1190)
- Modified OvsDBClientTestIT.java to use the uuid column obtained from open_vSwitch monitor in order to insert and delete Bridges during
  add and delete operation (Note that the current IT code updates the open_vSwitch row without this where clause).

Change-Id: Ie0a58c6e45be72993a52a93d8c4374eda72fe687
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
library/src/main/java/org/opendaylight/ovsdb/lib/OvsDBClientImpl.java
library/src/main/java/org/opendaylight/ovsdb/lib/jsonrpc/JsonRpcEndpoint.java
library/src/main/java/org/opendaylight/ovsdb/lib/message/TableUpdate.java
library/src/main/java/org/opendaylight/ovsdb/lib/message/TableUpdates.java
library/src/main/java/org/opendaylight/ovsdb/lib/notation/Row.java
library/src/main/java/org/opendaylight/ovsdb/lib/operations/OperationResult.java
library/src/main/java/org/opendaylight/ovsdb/lib/schema/DatabaseSchema.java
library/src/main/java/org/opendaylight/ovsdb/lib/schema/TableSchema.java
library/src/test/java/org/opendaylight/ovsdb/lib/OvsDBClientTestIT.java