Add python shareddatalayer API and public exceptions. 42/1942/1
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Fri, 8 Nov 2019 10:39:24 +0000 (12:39 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 5 Dec 2019 09:45:29 +0000 (11:45 +0200)
commit7085c423bd3d977bfc66839c616b538b435260a9
treedd5cd6c441e672c7f6c9ad340b2d19d09680a3ec
parent72916d7bcac9a6f0db8abde5769fe811ecf44647
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]