Adding support for Unfiltered Monitoring 89/7989/1
authorMadhu Venugopal <mavenugo@gmail.com>
Fri, 13 Jun 2014 13:29:47 +0000 (06:29 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Fri, 13 Jun 2014 13:29:47 +0000 (06:29 -0700)
commit0ae9fed3ecc2e3f612c9d97d1aedbbf43baa7a7a
tree04c8905283751c7e003607f435cccf2f89028443
parent4547a66ee45fc7c945eb5a7633e2deacf7eed971
Adding support for Unfiltered Monitoring

RFC 7047 supports unfiltered monitoring, wherein an application can send a Table Monitor request without specifying any
Columns to filter upon. OVSDB server will respond with TableUpdate for the requested table with data from all of its
columns (except _uuid).
In order to add this support, changes were made to MonitorRequest with an option of keeping its "columns" member as null.
Jackson serialization will ignore any member with a null value which will aid in the unfiltered monitor request.

Tests were added to cover this case as well.
Also thanks to this IT test, an existing bug is unearthed wherein the special column name was "_version" instead of "version".

Change-Id: I8e43624b09a2bf38a8846bd33ed1b493c14695ee
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
library/src/main/java/org/opendaylight/ovsdb/lib/message/MonitorRequest.java
library/src/main/java/org/opendaylight/ovsdb/lib/message/MonitorRequestBuilder.java
library/src/main/java/org/opendaylight/ovsdb/lib/schema/TableSchema.java
library/src/test/java/org/opendaylight/ovsdb/lib/OvsDBClientTestIT.java