summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Timothy Ebido [Wed, 26 Aug 2020 06:08:04 +0000 (15:08 +0900)]
Release ricsdl 2.1.0
- Add support for notifications
Issue ID: RIC-372
Signed-off-by: Timothy Ebido <tj.ebido@samsung.com>
Change-Id: I51359e8f11fdcf9db5e0fee430f2cace6ef8103a
Timothy Ebido [Wed, 12 Aug 2020 01:49:26 +0000 (10:49 +0900)]
Add support for notifications
- set_and_publish
- set_if_and_publish
- remove_and_publish
- remove_if_and_publish
- remove_all_and_publish
- start_event_listener
- handle_events
- subscribe_channel
- unsubscribe_channel
Issue ID: RIC-372
Signed-off-by: Timothy Ebido <tj.ebido@samsung.com>
Change-Id: I55b32df5cdf6ed394a80fe70f8cd1e0d09dc4b3b
Timo Tietavainen [Wed, 13 May 2020 13:58:43 +0000 (13:58 +0000)]
Merge "Use specific RTD link to SDL documentation"
Lott, Christopher (cl778h) [Wed, 13 May 2020 12:57:45 +0000 (08:57 -0400)]
Use specific RTD link to SDL documentation
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I452c879f5c24d9c7d8e0c4e060a82d33412c4c03
Timo Tietavainen [Wed, 13 May 2020 12:37:50 +0000 (15:37 +0300)]
Release ricsdl new version 2.0.4
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I62912fdd7cc28ce2698bcc854072e91073f40c6f
Timo Tietavainen [Wed, 13 May 2020 11:21:09 +0000 (14:21 +0300)]
Improve SDL API function argument validation
Improve SDL API set() function argument validation to cover also dictionary items.
Issue-ID: RIC-379.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I006ec530e0127a731f96154088e29b3b9d0e49c6
Timo Tietavainen [Thu, 23 Jan 2020 15:27:26 +0000 (15:27 +0000)]
Merge "Move pom for sonar analyses into ricsdl-package"
Lott, Christopher (cl778h) [Tue, 21 Jan 2020 21:51:30 +0000 (16:51 -0500)]
Move pom for sonar analyses into ricsdl-package
The test coverage data file is written by tox into ricsdl-package,
so launch maven at that directory, not in the repo root.
Drop ricsdl-package/ prefix from sonar.source and other properties.
Add directory names to sonar.inclusions property.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I23a47a1c61d584c35429b9b40fd3098e5f4cb565
Timo Tietavainen [Wed, 22 Jan 2020 13:45:57 +0000 (15:45 +0200)]
Release ricsdl new version 2.0.3
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I167ed33a3b1ff9e7e080394ddd8aa8cc56774a66
Timo Tietavainen [Tue, 21 Jan 2020 19:57:17 +0000 (21:57 +0200)]
Add a new SDL storage API function 'is_active()'
Implement a new SDL storage API function 'is_active()' to check healthiness
of an SDL instance. For now function only validates SDL DB backend (Redis)
connection. This function can be integrated into SDL client (such as A1
Mediator) health checks and runtime initializations.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I8bf457b9528e39223ea65a20d422d2fab49602bb
Lott, Christopher (cl778h) [Mon, 20 Jan 2020 16:02:11 +0000 (11:02 -0500)]
Change sonar property for new sonar maven plugin
LF environment now uses sonar-maven-plugin version 3.7.0.1746
Old property: sonar.python.coverage.reportPath
New property: sonar.python.coverage.reportPaths
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I017abb9e7d753d29ffe9853dc61ae9f625404666
Timo Tietavainen [Mon, 13 Jan 2020 22:40:57 +0000 (00:40 +0200)]
Release ricsdl new version 2.0.2
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I175cf69bb29ffb449e46103c09919c0a39c2acfe
Timo Tietavainen [Mon, 13 Jan 2020 22:01:37 +0000 (00:01 +0200)]
Version bump to version 2.0.2
Version bump is needed to do to get ricsdl released out
properly to [test]pypi.org.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ie5f863495932aec8cdc705b6e0d1c2ae20093e5a
Timo Tietavainen [Mon, 13 Jan 2020 16:32:29 +0000 (18:32 +0200)]
Fix fake SDL database backend to support multiple set calls
Old fake SDL database backend implementation overwrote the whole fake
database (dictionary) with new key-values what were given in set() API
call. Fixed this to append received key-values in a set() API call to
the old values in the dictionary.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I8000ed86a1976951270c40d4d2358077ecc3785b
Timo Tietavainen [Wed, 8 Jan 2020 14:49:11 +0000 (16:49 +0200)]
Implement a fake SDL database backend
Implement a fake SDL database backend what can be used only for
local testing purposes, when SDL client does not need real DBAAS
database services. An SDL client can activate fake SDL database
backend usage when SDL instance is initiated with optional
'fake_db_backend' parameter:
sdl_instance = SyncStorage(fake_db_backend='dict')
Value 'dict' is only supported.
Change-Id: I2ee7474175d0923617e026c306ec684b117dab60
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Timo Tietavainen [Fri, 3 Jan 2020 16:40:39 +0000 (18:40 +0200)]
Release ricsdl new version 2.0.0
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I07434242c72e194f375563c3adb4d6b8d20e6365
Timo Tietavainen [Sun, 15 Dec 2019 18:16:23 +0000 (20:16 +0200)]
Implement regular expression support for key searching
There is a use case to use only some part of the full key as a
searching criterion, as an example of such a criterion could be gNBID,
arp or qci. That's why change find_keys() and find_and_get() API
functions to take in a key search pattern instead of a key prefix.
A pattern can contain glob-style regular expression to match a key.
Removed also 'atomic' parameter of find_and_get(), because only
reasonable selection would be to use non-atomic option, which does not
block the whole Redis for a long time as atomic option could do.
Returned dictionary of matched key values are now sorted by key values
in alphabetical order.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I870089f51b1ce4d72c7984220af0f770b562563f
Timo Tietavainen [Wed, 18 Dec 2019 12:08:04 +0000 (14:08 +0200)]
Release ricsdl new version 1.0.2
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: If2eca37bf6d4d2c85d9eceb23bc840bf20aa4686
Timo Tietavainen [Sat, 7 Dec 2019 18:09:31 +0000 (20:09 +0200)]
Take Hiredis into use in Redis backend
Add dependency to Hiredis package to take it into use in ricsdl
Redis backend, because Hiredis provides better performance for
Redis server response handling than pure build-in implementation
of Redis client in python.
Add new unit tests for configuration reading from environment
variables.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I43227df9df4f3a84a2646d0aaa71552d0105c9d5
Timo Tietavainen [Thu, 5 Dec 2019 19:24:24 +0000 (21:24 +0200)]
Add ricsdl release file for version 1.0.1
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I02b868c574f0b84b558e7004e9a104468a897784
Timo Tietavainen [Fri, 6 Dec 2019 14:35:09 +0000 (16:35 +0200)]
Version bump to version 1.0.1
Version 1.0.1 does not include any ricsdl code changes compared
to the previous version 1.0.0. Version bump is needed to do to get
ricsdl released out properly to [test]pypi.org.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ibc8167dfd46cf6673f9f1d6cb1c2a61e39869e92
Timo Tietavainen [Wed, 27 Nov 2019 09:50:01 +0000 (11:50 +0200)]
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>
Timo Tietavainen [Fri, 8 Nov 2019 10:39:24 +0000 (12:39 +0200)]
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>
Timo Tietavainen [Fri, 8 Nov 2019 07:50:00 +0000 (09:50 +0200)]
Add empty README file
Change-Id: I363a6394a170a7b291d6cff3a804a6363584b98f
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Timo Tietavainen [Fri, 8 Nov 2019 07:43:22 +0000 (09:43 +0200)]
Add license file
Change-Id: I11a27acb01015ce69ea447158c7fdc7af91a6965
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Timo Tietavainen [Fri, 8 Nov 2019 06:23:21 +0000 (08:23 +0200)]
Add initial versions of Git Control files
Change-Id: I17d0a89182c9eac712d840b42e90cbdd045e0c08
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Aric Gardner [Fri, 8 Nov 2019 16:02:36 +0000 (16:02 +0000)]
Automation adds INFO.yaml
Change-Id: Ibf7c872253a8a6b030276307a70db74c76620542
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Andrew Grimberg [Mon, 8 Apr 2019 19:44:49 +0000 (19:44 +0000)]
Initial empty repository