summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Abdulwahid W [Tue, 30 Apr 2024 13:04:44 +0000 (18:34 +0530)]
RIC:1060: Change in PTL
Change-Id: I83226a9b093b3ca996c79359fb56ae0e12042151
Signed-off-by: Abdulwahid W <abdulwahid.w@nokia.com>
Jessica Wagantall [Thu, 11 Apr 2024 21:38:11 +0000 (14:38 -0700)]
CI: Add silent autotools SonarCloud scan
Change-Id: If896cb337d99062d469f94227df16360ec7a93e7
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
czichy [Wed, 13 Dec 2023 13:39:22 +0000 (15:39 +0200)]
I release step 2 of 2
Change-Id: I04e65e8e0e819d307f05b3642e2dc16525978ded
Signed-off-by: czichy <thoralf.czichy@nokia.com>
czichy [Wed, 13 Dec 2023 10:30:06 +0000 (12:30 +0200)]
Redis update and release I step 1 of 2
Change-Id: Ia9ed8cfbd9976a499cf1e978b8bfdd1d2f991cd4
Signed-off-by: czichy <thoralf.czichy@nokia.com>
czichy [Thu, 8 Jun 2023 11:23:27 +0000 (14:23 +0300)]
H release stp 2 of 2
Change-Id: I6fc451e2da07211abf3467f4b8c1448a1412fd16
Signed-off-by: czichy <thoralf.czichy@nokia.com>
rimverma [Mon, 29 May 2023 10:54:24 +0000 (16:24 +0530)]
Upgrade redis version to 6.2.12
Change-Id: Ib2c0b6cfb62a2190558d4f2221a8a3960eb62268
Signed-off-by: rimverma <rimjhim.verma@nokia.com>
Anil Belur [Tue, 30 May 2023 07:31:04 +0000 (17:31 +1000)]
Fix: tox config error
Pin urllib3<2.0.0 breaks dependencies with the latest release
Change-Id: If2ca0d08052fb093eb486cce7393bfc1e46ee362
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
czichy [Fri, 2 Dec 2022 11:55:00 +0000 (13:55 +0200)]
Replacing committers with new ones
Signed-off-by: czichy <thoralf.czichy@nokia.com>
Change-Id: I164738b5876bcac3317bc4785fe34b55194bc6da
Timo Tietavainen [Fri, 15 Jul 2022 19:35:48 +0000 (22:35 +0300)]
Release DBAAS 0.6.2 container image
Issue-Id:RIC-927
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I7f15b8b97672bade26510af5abeb4fb670582f7a
Timo Tietavainen [Wed, 13 Jul 2022 17:31:48 +0000 (20:31 +0300)]
Bump Redis to 6.2.7 to fix security vulnerability
Fix following security vulnerability tickets by taking to use Redis
runner base container image version 6.2.7:
https://nvd.nist.gov/vuln/detail/CVE-2022-24735
https://nvd.nist.gov/vuln/detail/CVE-2022-24736
New DBAAS container version 0.6.2 will be built on top of Redis 6.2.7.
Issue-Id: RIC-927
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ib4fa78c4319d0419060a45e69dacc88f7346b8e7
Petri Ovaska [Mon, 4 Apr 2022 12:14:12 +0000 (15:14 +0300)]
Release DBAAS 0.6.1 container
Issue-Id: RIC-698
Change-Id: I811fe2b0dfd7bac6496eaac2ad0f6df348497069
Signed-off-by: Petri Ovaska <petri.ovaska@nokia.com>
Petri Ovaska [Mon, 21 Mar 2022 10:54:53 +0000 (12:54 +0200)]
Upgrade v0.10.0 SDLGO tag for sdlcli and make DBAAS 0.6.1 tag
Upgrade sdlgo v0.10.0 version to enable configuration
of DBAAS_MASTER_NAME, DBAAS_SERVICE_PORT and
DBAAS_SERVICE_SENTINEL_PORT value configuration for different
DB servers. Notice that env lists are supported only in SEP
deployments (no support in RIC platform deployments).
Made also new DBAAS container to 0.6.1 version.
Issue-Id: RIC-698
Change-Id: I709865b2213b1d8b5b42fc34753b1ea0caf1b69b
Signed-off-by: Petri Ovaska <petri.ovaska@nokia.com>
Timo Tietavainen [Fri, 21 Jan 2022 08:17:34 +0000 (10:17 +0200)]
Release DBAAS container version 0.6.0
Issue-Id: RIC-698
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I642e7701bd8facacaa303824cb5ef5f6b1e02e0e
Timo Tietavainen [Thu, 20 Jan 2022 06:41:59 +0000 (08:41 +0200)]
Bump base image to Redis 6.2.6 Alpine 3.15
Redis server 5 is going soon out of maintenance, that's upgrade
base image to 6.2.6-alpine3.15.
Update DBAAS Docker image version to 0.6.0.
Issue-Id: RIC-698
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ib930dd69325feaf63657ba979d1bba141614aefb
Timo Tietavainen [Thu, 30 Dec 2021 16:14:30 +0000 (18:14 +0200)]
Release DBAAS container version 0.5.7
Issue-Id: RIC-873
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I4244e095cb369678421b9f1eaed728dee332a914
Timo Tietavainen [Thu, 30 Dec 2021 15:38:31 +0000 (17:38 +0200)]
Build new DBAAS image with latest sdlcli (v0.9.3)
Build DBAAS image 0.5.7 with the version v0.9.3 of the sdlcli -tool.
Version v0.9.3 has a fix for sdlcli get -command result write to stdout
stream instead of stderr when comment success.
Issue-Id: RIC-873
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I26bdd64ebe2c938f8a37379a2ab954139ad7d3de
Timo Tietavainen [Tue, 28 Dec 2021 07:56:07 +0000 (09:56 +0200)]
Release DBAAS container version 0.5.6
Issue-Id: RIC-869
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ic8ce86bb0cded880bb915473b53a502170635742
Timo Tietavainen [Tue, 28 Dec 2021 06:10:43 +0000 (08:10 +0200)]
Build new DBAAS image with latest sdlcli (v0.9.2)
Build DBAAS image 0.5.6 with the version v0.9.2 of the sdlcli -tool.
Version v0.9.2 has a fix for Redis Sentinel statuses handling in sdlcli
'healthcheck' command.
Issue-Id: RIC-869
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I5997c48306d4d04b5ee1ce8f8d4159864f67ff70
Timo Tietavainen [Thu, 16 Dec 2021 17:59:40 +0000 (19:59 +0200)]
Release DBAAS container version 0.5.5
Issue-Id: RIC-113
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ic1454db0fa39822d534e9b6b05b136b16b43b3e2
Timo Tietavainen [Thu, 16 Dec 2021 15:14:11 +0000 (17:14 +0200)]
Build new DBAAS image to have latest sdlcli
Build DBAAS image 0.5.5 with the latest version of the sdlcli -tool.
Update also DBAAAS README file with a short notice about sdlcli -tool.
Issue-Id: RIC-113
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I7ff58b15150cbd30bc8a9c39a4fbaca99e3205ca
Petri Ovaska [Tue, 26 Oct 2021 13:27:11 +0000 (16:27 +0300)]
Add sdlcli -tool for troubleshooting SDL and Database problems
Added 'sdlcli' -command line tool for troubleshooting SDL and
Database problems.
Issue-Id: RIC-113
DB: SDL CLI for debugging and testing
Change-Id: I749b92256490d22f3728b2aaa00d9fe16f053ad7
Signed-off-by: Petri Ovaska <petri.ovaska@nokia.com>
Timo Tietavainen [Thu, 23 Sep 2021 08:30:46 +0000 (11:30 +0300)]
Add Ovaska and remove Heinonen from committers list
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ic077ea4b40e92fc57c0e5ca7469d7001813a9811
Petri Ovaska [Fri, 27 Aug 2021 06:11:58 +0000 (09:11 +0300)]
Release DBAAS version 0.5.3
Issue-Id: RIC-828
Change-Id: Iced50309e14b2f0b908bcd5cda129596b6e72d44
Signed-off-by: Petri Ovaska <petri.ovaska@nokia.com>
Petri Ovaska [Thu, 26 Aug 2021 13:20:53 +0000 (16:20 +0300)]
Fix DBAAS (alpine3.11) vulnerabilities found in package apk-tools
CRITICAL apk-tools (fixed in: 2.10.7-r0) CVE-2021-36159
HIGH apk-tools (fixed in: 2.10.6-r0) CVE-2021-30139
Upgrading apk-tools 2.10.5-r0 -> 2.10.8-r0 in Alpine 3.11 image.
Issue-Id: RIC-828
Change-Id: I274e18254bdae7784ed1e25e5469bd09b7b43cc5
Signed-off-by: Petri Ovaska <petri.ovaska@nokia.com>
Timo Tietavainen [Mon, 7 Jun 2021 04:06:17 +0000 (07:06 +0300)]
Release DBAAS version 0.5.2
Issue-ID: RIC-794
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I935dcb7f72ed031755f5d1de6b6c44413fa1bd9e
Timo Tietavainen [Fri, 4 Jun 2021 19:08:55 +0000 (22:08 +0300)]
Fix security issues in DBAAS docker image
Anchore scan reported some security issues reported at CVE to exist in DBAAS
base Docker image, Alpine 3.11. To fix the issues update these packages to
DBAAS image on top of the Alpine 3.11:
openssl (fixed in: 1.1.1k-r0)(CVE-2021-3449)
openssl (fixed in: 1.1.1k-r0)(CVE-2021-3450)
libssl1.1 (fixed in: 1.1.1k-r0)(CVE-2021-3449)
libssl1.1 (fixed in: 1.1.1k-r0)(CVE-2021-3450)
libcrypto1.1 (fixed in: 1.1.1k-r0)(CVE-2021-3449)
libcrypto1.1 (fixed in: 1.1.1k-r0)(CVE-2021-3450)
musl-utils (fixed in: 1.1.24-r3)(CVE-2020-28928)
ssl_client (fixed in: 1.31.1-r10)(CVE-2021-28831)
busybox (fixed in: 1.31.1-r10)(CVE-2021-28831)
Remove the install of the curl package what does not seem to be mandatory for
DBAAS operations to exists. This also minimize possible security issues with
curl in the future.
Issue-ID: RIC-794
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I70d847f6438397d1f81bb3d6eb51e0c6f4dc2a57
Timo Tietavainen [Thu, 25 Feb 2021 13:44:00 +0000 (15:44 +0200)]
Release DBAAS version 0.5.1
Issue-ID: RIC-755
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ia4959448459a0ba581d49c1b8948b944d32524d9
Timo Tietavainen [Thu, 25 Feb 2021 12:29:04 +0000 (14:29 +0200)]
Update openssl package of DBAAS docker image
Update openssl package to version openssl-1.1.1j-r0, because current version
has an SSL related security vulnerability. DBAAS doesn't use SSL so we
shouldn't face the issue but anyhow better to fix it. More information about
the issue can be found from here:
libcrypto1.1 (fixed in: 1.1.1i-r0)(CVE-2020-1971)
libssl1.1 (fixed in: 1.1.1i-r0)(CVE-2020-1971)
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1971)
Fixed also DBAAS testing application compile issue due to redis-client
dependency issue with the latest version of the go.opentelemetry.io/otel
package.
Issue-ID: RIC-755
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Icc1206c6c435a88217aea407b574fc5865e59ae8
Timo Tietavainen [Sat, 12 Dec 2020 17:25:15 +0000 (19:25 +0200)]
Release DBAAS version 0.5.0
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I03241d5e3eeccfc92c28e5ee7ff97f114e8ea4cf
Timo Tietavainen [Fri, 11 Dec 2020 19:40:34 +0000 (21:40 +0200)]
Update base image to redis:5.0.9-alpine3.11 and builder images
Upgrade DBAAS container's base Redis image to redis:5.0.9-alpine3.11.
Upgrade Redis module's base builder image to bldr-alpine3-go:2.0.0.
Upgrade DBAAS unit test's base builder image to ubuntu:18.04, because 19.10 has
reached end of life.
Update DBAAS container tag to 0.5.0.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Iafee39c335da2044c4c5cb9cd1db63395310a90d
Timo Tietavainen [Thu, 26 Nov 2020 16:30:25 +0000 (18:30 +0200)]
Remove make install from the test docker building
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I88f3cc9b6cc139c03bec70f41dff70b1c70a0824
Timo Tietavainen [Thu, 26 Nov 2020 12:44:56 +0000 (14:44 +0200)]
Update docker file to run UTs to produce cpputest logs
Add a new step to docker file run unit test to produce cpputest result
xml files.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I7e0b985b4a381aaf93f03b20ce22aba31ca11642
Timo Tietavainen [Wed, 25 Nov 2020 22:57:33 +0000 (00:57 +0200)]
Name DBAAS container building stage as a build
Add a name 'build' for DBAAS container building stage.
Install also lcov tool to unit test container.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I9851dc55db6f5a11ab35aa840488f7b19d9179fb
Timo Tietavainen [Wed, 21 Oct 2020 21:42:53 +0000 (00:42 +0300)]
Add unit test junit and Valgrind options
Add junit option to Redis module unit tests execution.
Add more Valgrind options to enable wider set of Valgrind checks for the Redis
module code.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I8e3335cb3566bf9e4ad3fed319443356cf59150b
Timo Tietavainen [Wed, 17 Jun 2020 05:43:19 +0000 (08:43 +0300)]
Upgrade base build image for alpine
Update base image to bldr-alpine3:12-a3.11.
Bump docker tag to 0.4.1.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I71abad1354950c18d200d8b53ecb6b63b84e0a30
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