Implement SDL multi-namespace API 61/6061/2 v0.6.0
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Tue, 11 May 2021 12:28:57 +0000 (15:28 +0300)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Tue, 11 May 2021 13:14:47 +0000 (16:14 +0300)
commit725e2204f7256de05686d380b4e30a72e9dea8b4
tree632bffdce46e841e87788af81c0a16cb5f5d7362
parentcf2b20b2b54f9ca26e3faa48ee52981c05565796
Implement SDL multi-namespace API

Add 'SyncStorage' with its write and read APIs to support multi-namespace API
what has been implemented already in Python and C++ SDL APIs. In Multi-
namespace API, at SyncStorage' creation time, connection to database backend is
created but namespace is not defined. Namespace is given later as a parameter
to every SDL read and write API calls what makes it easy to write and read from
different namespaces in single SDL instance of type 'SyncStorage'.

This multi-namespace implementation is a prerequisite to have before sentinel
based DB capacity scaling feature RIC-699 can be implemented properly.

Issue-ID: RIC-699

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I018dde1f016630d6b6e44e66a2f276a04e38505a
bench_test.go
cmd/sdltester/sdltester.go
doc.go
docs/release-notes.rst
example_test.go
sdl.go
sdl_private_fn_test.go
sdl_test.go
syncstorage.go [new file with mode: 0644]