summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Timo Tietavainen [Tue, 16 Jun 2020 17:07:27 +0000 (20:07 +0300)]
Rephrase release notes introduction
Remove release name from introduction section to make it
unaltered for release changes.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ieae39787297e6648d62501aedee9fa0678c69d20
Timo Tietavainen [Thu, 23 Apr 2020 12:05:41 +0000 (15:05 +0300)]
Update DBAAS version to 0.4.0
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ibba4883f2f937c137133ee7b82dbbca8c8e226c3
Timo Tietavainen [Thu, 23 Apr 2020 11:10:39 +0000 (14:10 +0300)]
Bump docker tag version to 0.4.0 to follow RIC versioning rules
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ib0ee4f64f2edeadbd0e889afe69de0f2841024cf
Lott, Christopher (cl778h) [Wed, 22 Apr 2020 15:16:05 +0000 (11:16 -0400)]
Upgrade base image that builds library for alpine
Use image bldr-alpine3:10-a3.11-rmr3
Bump docker tag to 0.3.2
No functional changes
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I65ecd61386406841e31ef6b2c46c95b4afc558bf
Heinonen Arvo [Thu, 16 Apr 2020 07:22:31 +0000 (10:22 +0300)]
Free resources when 'nget.noatomic' thread terminates
Call 'pthread_detach' from newly created thread.
Update unit tests to check that 'pthread_detach'
is called.
Update redismodule test container base image to '2-rmr1.13.1'
because '1-rmr1.13.1' no longer exists.
Previously the redismodule command 'nget.noatomic'
started a thread but the started thread was never
cleaned up because by default pthread cleans up
threads only when 'pthread_join' is called.
In case of 'nget.noatomic' the thread from which
'pthread_create' is called terminates immediately
and 'pthread_join' is never called resulting in
a resource leak.
We expect the created thread to be joined.
Therefore we need to call 'pthread_detach' from the
newly created thread which signals to pthread that
the resources allocated by the newly created thread
can be deallocated when the thread terminates.
Signed-off-by: Heinonen Arvo <arvo.heinonen@nokia.com>
Change-Id: If4d076fc4d58f65896638e99948c2d91a0000a9b
Lott, Christopher (cl778h) [Wed, 12 Feb 2020 18:37:13 +0000 (13:37 -0500)]
Upgrade Alpine base builder image
Switch from old base builder image with outdated NNG.
Document change in release notes as version 0.3.1.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I644e5fb42b548a92a9e8928812bc495834c4ba96
Heinonen Arvo [Thu, 13 Feb 2020 08:15:00 +0000 (10:15 +0200)]
Update release notes for version 0.3.0
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: I639f2d192747f9458bc56e0ddb88a19175388a61
Heinonen Arvo [Thu, 23 Jan 2020 15:35:45 +0000 (17:35 +0200)]
Enable redismodule UT in CI pipeline
Add new build stage to 'Dockerfile.redis'
that runs unit tests with valgrind in ubuntu-based
container.
Also run unit tests without valgrind in the actual
build stage. Valgrind is not run at this stage
because alpine-linux uses musl implementation
of libc which causes valgrind to emit false
positives.
Unit tests and valgrind memory checks are now enabled
by default. They can be disabled with the configure options:
'--disable-unit-test' and '--disable-unit-test-memcheck'
respectively.
Disabled cpputest's builtin memory checks in UT even if
they are available.
Updated redismodule/README.md on compiling redismodule.
Removed some Nokia-specific scripts.
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: Id7c37f6a99888d1a9229ca41dd7cbc325b6d495f
Heinonen Arvo [Thu, 16 Jan 2020 15:41:11 +0000 (17:41 +0200)]
Add refactored ndel command and UT
Add refactored ndel command 'ndel.atomic'.
Add new unit test for this command.
Remove unused includes.
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: Ie051e170ec12af45f076876c94016b989a2ead25
Heinonen Arvo [Thu, 16 Jan 2020 15:23:07 +0000 (17:23 +0200)]
Add refactored nget commands and UT
Add refactored nget commands 'nget.atomic' and 'nget.noatomic'.
Add new unit tests for these commands.
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: Icbb116bf59f3e84dfdcee1a55d4209affa6b4244
Heinonen Arvo [Thu, 12 Dec 2019 14:22:12 +0000 (16:22 +0200)]
Add updated version of Redis modules
Adapted from Nokia internal RCP code repository, revision
120a6bb from
branch 'rcp2.0'.
Changes to original:
* Unit tests and checking for unit test dependencies is now disabled
by default.
* Unit tests can be enabled with the configure flag '--enable-unit-test'
* Remove Nget and Ndel. These will be refactored and reintroduced in
a later commit.
* Run valgrind in UT to check for memory leaks.
* For opaque types there is not need to use real redis types in UT.
Instead define opaque types as dummy structs in
'tst/mock/include/redismodule.h'.
* Add instructions on running UT to redismodule/README.md.
* Remove dead code and unused includes.
* Fix compiler warnings in UT.
* Treat warnings as errors in UT.
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: I8759d1c91d0dbd8c6373b7863ea11287e2d799c2
wrider [Fri, 10 Jan 2020 15:22:36 +0000 (10:22 -0500)]
releasing the 0.1.0 version container (non HA)
Change-Id: Idfaff31c99e2ab1975ebb6dc9b2d3a8c7d061fe6
Signed-off-by: wrider <lji@research.att.com>
Timo Tietavainen [Fri, 29 Nov 2019 07:44:37 +0000 (09:44 +0200)]
Increment Docker container version number after Amber release
Incremented container version from 0.2.2 to 0.3.0 in order to
publish a new Docker container, which is not overlapping with
the container name what has been released out for Amber release.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ib59c5ef58ea9af28492a8779e91a35efea15742f
Timo Tietavainen [Thu, 28 Nov 2019 14:15:47 +0000 (16:15 +0200)]
Add dbaas docker release file
Added dbaas container release file based on ric-plt-dbaas
docker container version 0.2.2.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Id8cbe23e33a08c0c711f171b95244dada8291b70
Timo Tietavainen [Thu, 28 Nov 2019 09:36:03 +0000 (09:36 +0000)]
Merge "Add extra line about src files are part of RIC platform project"
Timo Tietavainen [Thu, 28 Nov 2019 08:02:41 +0000 (10:02 +0200)]
Add extra line about src files are part of RIC platform project
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I9535911cf22c10f2f12db1a1ed190d09bd7bc093
Aric Gardner [Fri, 8 Nov 2019 15:58:20 +0000 (15:58 +0000)]
Automation adds INFO.yaml
Change-Id: Ide1b2e7c2428c0bc9fbcf9e02e755ab79b53663b
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Timo Tietavainen [Tue, 12 Nov 2019 11:24:44 +0000 (13:24 +0200)]
Add documentation files
Added mandatory documentation files for the RIC Amber release.
Updated also docker base image to Alpine 6-a3.9, because
older version has been removed from ORAN nexus3 repository.
Change-Id: I3c55faf82cf589e339019e2fd70bad4fe40ce195
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Marco Tallskog [Tue, 17 Sep 2019 06:46:53 +0000 (09:46 +0300)]
Include curl in dbaas docker image
Add the curl tool to docker image to facilitate trouble-shooting.
Change-Id: I0e06aecc0c5c16bb2af9540ccfcf05d7adefa7cf
Signed-off-by: Marco Tallskog <marco.tallskog@nokia.com>
Marco Tallskog [Tue, 3 Sep 2019 12:11:26 +0000 (15:11 +0300)]
Take Redis 5.0 in use
Modify the dockerfile to use two phase build process. In the first phase
build the redismodules and install them in the second phase. The actual
docker image is built using the publicly available redis docker file
which is using alpine distribution as a base build.
Change-Id: I292c58a61a114b951434bbd26f4798fc1b50d63d
Signed-off-by: Marco Tallskog <marco.tallskog@nokia.com>
Marco Tallskog [Mon, 17 Jun 2019 05:42:51 +0000 (05:42 +0000)]
Merge "Add tag file to support CI-based build of DBaaS"
Lott, Christopher (cl778h) [Wed, 5 Jun 2019 15:34:25 +0000 (11:34 -0400)]
Add tag file to support CI-based build of DBaaS
This tag-definition file is read by the Jenkins job
that builds a Docker image.
Also add .gitattributes and .gitreview for convenience.
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Iee7c2ac87ef726b4ad8cb9da6054c4e85676c8ad
Heinonen Arvo [Wed, 15 May 2019 12:55:44 +0000 (15:55 +0300)]
Add new redis command DELMPUB
Add new redis command DELMPUB which is functionally identical to
DELMPUB except that it allows to specify multiple channel-message pairs
at once.
The syntax for the new command is:
DELMPUB number_of_keys number_of_channel_message_pairs
key [ key ... ]
channel message [ channel message ... ]
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: I9ee19675589ef1d0c19b2525281dfc2ac769da99
Heinonen Arvo [Wed, 15 May 2019 14:03:52 +0000 (17:03 +0300)]
Refactor delpub-commands, Allow multiple channels
Refactor the implementation of redis commands: DELPUB, DELIEPUB
and DELNEPUB to make more clear which parts of the old implementation
are specific to each command.
Allow multiple channels as parameter in the redis commands
DELIEPUB and DELNEPUB.
New syntaxes:
DELIEPUB key oldvalue channel message [ channel message .. ]
DELNEPUB key oldvalue channel message [ channel message .. ]
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: I3dfb86ed4c8951bb395aff053b9c2bb898cfd0a4
Remove old delpub command implementation
After refactoring the old delpub command implementation in
'delPubStringGenericCommand' is no longer used. Remove it.
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: I77817744aea6c78226e8cab8aebbd401efe63c40
Heinonen Arvo [Tue, 14 May 2019 08:23:44 +0000 (11:23 +0300)]
Add new redis command MSETMPUB
Add new redis command MSETMPUB which is functionally identical to
MSETPUB except that it allows to specify multiple channel-message pairs
at once.
The syntax for the new command is:
MSETMPUB number_of_key_value_pairs number_of_channel_message_pairs
key value [ key value ... ]
channel message [ channel message ... ]
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: Ib237eacaaaf5dc22b9c8850e7127d8c96f11a36b
Heinonen Arvo [Tue, 14 May 2019 08:22:38 +0000 (11:22 +0300)]
Refactor setpub-commands, Allow multiple channels
Refactor the implementation of redis commands: MSETPUB, SETIEPUB,
SETNEPUB, SETXXPUB and SETNXPUB to make more clear which parts
of the old implementation are specific to each command.
Allow multiple channels as parameter in the redis commands
SETXXPUB, SETNXPUB, SETIEPUB and SETNEPUB.
New syntaxes:
SETXXPUB key value channel message [ channel message .. ]
SETNXPUB key value channel message [ channel message .. ]
SETIEPUB key value oldvalue channel message [ channel message .. ]
SETNEPUB key value oldvalue channel message [ channel message .. ]
Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: If1c99f54148140f76a213d3a88269bd4fc83e49c
Rolf Badorek [Fri, 10 May 2019 13:12:32 +0000 (16:12 +0300)]
Add base version of Redis modules
Copied from Nokia internal RCP code repository, revision
d452b42d from
branch 'rcp2.0'.
No functional changes compared to above mentioned base version.
Documentation of the available commands added to README file.
Updated `Dockerfile.redis` so that Redis modules are built and
installed to image which is used as a basis for `redis-standalone`
pod.
Change-Id: I32bc59b4f0a60eb3683fdd31e295d57ee68d8430
Signed-off-by: Rolf Badorek <rolf.badorek@nokia.com>
Rolf Badorek [Mon, 13 May 2019 11:51:45 +0000 (14:51 +0300)]
Disable data persistency
Currently the Redis default setting is used, which is that a periodic
snapshot writing to disk is enabled.
Its implementation is quite optimal, but as backup snapshots are not
needed for anything in current configuration, those are disabled in
this commit.
Redis server instance is defined to be an init process in DBaaS service
pod/container. In case of service restart the container will restart
also. There is no external storage for `/var/lib/redis/dump.rdb`
file and thus its content will be lost in service restart.
Redis data persistency over different failure scenarios is a future
feature candidate of RIC.
Change-Id: Ic9216bcb5067ed59c846e2b7805a78ee675bbc35
Signed-off-by: Rolf Badorek <rolf.badorek@nokia.com>
Marco Tallskog [Thu, 4 Apr 2019 11:15:24 +0000 (14:15 +0300)]
Initial commit
Change-Id: Ia3c105ab233c474abd2eb1a8af0310412fea3d0a
Signed-off-by: Marco Tallskog <marco.tallskog@nokia.com>
Andrew Grimberg [Thu, 21 Mar 2019 23:55:41 +0000 (23:55 +0000)]
Initial empty repository