Add python shareddatalayer API and public exceptions. 17/1417/4 b-temp
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Fri, 8 Nov 2019 10:39:24 +0000 (12:39 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Mon, 11 Nov 2019 17:37:00 +0000 (19:37 +0200)
commit047d2955bd606627113334c8142a27e73334d475
treece48d38c6f67b242d9f1259f0ce353b08b52864f
parent6a38ff3aaaa50c3056645140d03da1eb4b99d8fb
Add python shareddatalayer API and public exceptions.

Added synchronous API functions:
* To read, write and remove from SDL storage.
* To read, write and remove from SDL group.
* To acquire, release and control an SDL lock entry.

Defined a set of SDL exceptions what SDL python implementation
will raise when there happens an error either in SDL or in
the backend database (Redis) what SDL utilizes.

Change-Id: Iaf0f4b3052d2cf189feadf2eb506b7e9a8463409
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
sdl/__init__.py [new file with mode: 0644]
sdl/exceptions.py [new file with mode: 0644]
sdl/syncstorage_abc.py [new file with mode: 0644]