Add synchronous SDL readiness waiting API 93/6593/4 1.4.0
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Wed, 11 Aug 2021 04:33:30 +0000 (07:33 +0300)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Wed, 11 Aug 2021 18:02:03 +0000 (21:02 +0300)
commitd565df6613d97c08664a00f3fbc7cb5fdcf233f6
treecf44368d3ae4aba41f5db6d6e6121c61c3f8238c
parentfaf9fc79e58fa4ace9b0ef317b741afb2c1a8abe
Add synchronous SDL readiness waiting API

Add a new synchronous API function 'SyncStorage::waitReady()', which
can be used to wait SDL service readiness for the given namespace.
Function can be used to validate SDL service readiness for example
after application container start-up before any other
SDL operations (set, get, remove) are tried to do.
Also timeout value can be given to 'SyncStorage::waitReady()' function
to define expiration time for the case when readiness validation hangs
too long.

Issue-ID: RIC-226

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ic334cf04fa6c80f04a3c3e06b01fbf1ff7e940fd
12 files changed:
README.md
configure.ac
debian/changelog.in
docs/release-notes.rst
docs/user-guide.rst
include/private/syncstorageimpl.hpp
include/sdl/syncstorage.hpp
include/sdl/tst/mockablesyncstorage.hpp
rpm/sdl.spec.in
src/cli/testgetsetcommand.cpp
src/syncstorageimpl.cpp
tst/syncstorageimpl_test.cpp