Added support of complex data types to BackendDB
authorEd Bartosh <eduard.bartosh@intel.com>
Mon, 17 Jun 2013 12:50:53 +0000 (15:50 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Mon, 17 Jun 2013 12:50:53 +0000 (15:50 +0300)
commitcb309c59635b2faee63a0d2ef061e29317b7a28d
treee85c36fd393f977e3fe96e1808d62e38975017ae
parent294845ccbf7ed29c7845620df3af36e1b000829e
Added support of complex data types to BackendDB

It's implemented using json. When some key or list item or string is
marked as jsoned BackendDB will try to encode it to json before
storing in Redis and decode it when retriving.

Change-Id: Ifdba0453fa9bbef173cef301e587ded536c98be3
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
common/backenddb.py
tests/test_backenddb.py