Add implementation of SDL in python 43/1943/3
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Wed, 27 Nov 2019 09:50:01 +0000 (11:50 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 5 Dec 2019 13:45:27 +0000 (15:45 +0200)
commitdada8463c0fd4c3b90eedc54b6c913f0fa0e7272
tree1a0282545a8ea579b21114e6ac8cfb73a3ed1cc3
parent7085c423bd3d977bfc66839c616b538b435260a9
Add implementation of SDL in python

Added implementation for the SDL API functions:
* Functions to set, get and remove synchronously key-values from
  SDL storage.
* Functions to set, get and remove synchronously group members from
  SDL storage.
* Functions to acquire, manipulate and release a lock.

Added also simple examples how to use SDL API functions.

Added configuration file for the tox tool to run unittests.

Added configuration file for the tox tool to generate documents.

Added sonar pom and tox hooks to verify code coverage.

Change-Id: I1f12879f725d903397ee8f9e788edf7890db381d
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
31 files changed:
.gitignore
.readthedocs.yaml [new file with mode: 0644]
README.md
docs/_static/logo.png [new file with mode: 0644]
docs/conf.py [new file with mode: 0644]
docs/conf.yaml [new file with mode: 0644]
docs/favicon.ico [new file with mode: 0644]
docs/index.rst [new file with mode: 0644]
docs/overview.rst [new file with mode: 0644]
docs/release-notes.rst [new file with mode: 0644]
docs/requirements-docs.txt [new file with mode: 0644]
pom.xml [new file with mode: 0644]
ricsdl-package/LICENSES.txt [new file with mode: 0644]
ricsdl-package/README.md [new file with mode: 0644]
ricsdl-package/examples/__init__.py [moved from sdl/__init__.py with 85% similarity]
ricsdl-package/examples/sync.py [new file with mode: 0644]
ricsdl-package/ricsdl/__init__.py [new file with mode: 0644]
ricsdl-package/ricsdl/backend/__init__.py [new file with mode: 0644]
ricsdl-package/ricsdl/backend/dbbackend_abc.py [new file with mode: 0644]
ricsdl-package/ricsdl/backend/redis.py [new file with mode: 0644]
ricsdl-package/ricsdl/configuration.py [new file with mode: 0644]
ricsdl-package/ricsdl/exceptions.py [moved from sdl/exceptions.py with 72% similarity]
ricsdl-package/ricsdl/syncstorage.py [new file with mode: 0644]
ricsdl-package/ricsdl/syncstorage_abc.py [moved from sdl/syncstorage_abc.py with 71% similarity]
ricsdl-package/setup.py [new file with mode: 0644]
ricsdl-package/tests/__init__.py [new file with mode: 0644]
ricsdl-package/tests/backend/__init__.py [new file with mode: 0644]
ricsdl-package/tests/backend/test_redis.py [new file with mode: 0644]
ricsdl-package/tests/test_syncstorage.py [new file with mode: 0644]
ricsdl-package/tox.ini [new file with mode: 0644]
tox.ini [new file with mode: 0644]