ric-plt/dbaas.git
5 days agoCI: Add silent autotools SonarCloud scan 29/12729/4 master
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>
4 months agoI release step 2 of 2 68/12268/1 i-release
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>
4 months agoRedis update and release I step 1 of 2 58/12258/1 0.6.4
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>
10 months agoH release stp 2 of 2 00/11300/1 h-release
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>
11 months agoUpgrade redis version to 6.2.12 46/11146/3 0.6.3
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>
11 months agoFix: tox config error 42/11242/1
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>
16 months agoReplacing committers with new ones 04/9904/1 g-release
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

21 months agoRelease DBAAS 0.6.2 container image 80/8780/1
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

21 months agoBump Redis to 6.2.7 to fix security vulnerability 74/8774/2 0.6.2
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

2 years agoRelease DBAAS 0.6.1 container 30/8030/1 f-release
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>
2 years agoUpgrade v0.10.0 SDLGO tag for sdlcli and make DBAAS 0.6.1 tag 65/7965/1 0.6.1
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>
2 years agoRelease DBAAS container version 0.6.0 96/7596/1
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

2 years agoBump base image to Redis 6.2.6 Alpine 3.15 89/7589/3 0.6.0
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

2 years agoRelease DBAAS container version 0.5.7 89/7489/1
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

2 years agoBuild new DBAAS image with latest sdlcli (v0.9.3) 88/7488/1 0.5.7
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

2 years agoRelease DBAAS container version 0.5.6 78/7478/1
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

2 years agoBuild new DBAAS image with latest sdlcli (v0.9.2) 77/7477/1 0.5.6
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

2 years agoRelease DBAAS container version 0.5.5 10/7410/1 e-release
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

2 years agoBuild new DBAAS image to have latest sdlcli 06/7406/2 0.5.5
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

2 years agoAdd sdlcli -tool for troubleshooting SDL and Database problems 40/6940/1
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>
2 years agoAdd Ovaska and remove Heinonen from committers list 38/6738/2
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

2 years agoRelease DBAAS version 0.5.3 31/6631/1
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>
2 years agoFix DBAAS (alpine3.11) vulnerabilities found in package apk-tools 27/6627/2 0.5.3
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>
2 years agoRelease DBAAS version 0.5.2 40/6240/1 dawn
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

2 years agoFix security issues in DBAAS docker image 36/6236/1 0.5.2
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

3 years agoRelease DBAAS version 0.5.1 98/5698/1
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

3 years agoUpdate openssl package of DBAAS docker image 95/5695/1 0.5.1
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

3 years agoRelease DBAAS version 0.5.0 40/5340/1 cherry
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

3 years agoUpdate base image to redis:5.0.9-alpine3.11 and builder images 32/5332/4 0.5.0
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

3 years agoRemove make install from the test docker building 76/5176/1
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

3 years agoUpdate docker file to run UTs to produce cpputest logs 72/5172/1
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

3 years agoName DBAAS container building stage as a build 57/5157/1
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

3 years agoAdd unit test junit and Valgrind options 77/4877/3
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

3 years agoUpgrade base build image for alpine 50/4150/1 bronze
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

3 years agoRephrase release notes introduction 40/4140/1
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

4 years agoUpdate DBAAS version to 0.4.0 25/3425/1
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

4 years agoBump docker tag version to 0.4.0 to follow RIC versioning rules 23/3423/1 0.4.0
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

4 years agoUpgrade base image that builds library for alpine 92/3392/1
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

4 years agoFree resources when 'nget.noatomic' thread terminates 94/3294/2
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

4 years agoUpgrade Alpine base builder image 90/2490/4
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

4 years agoUpdate release notes for version 0.3.0 01/2501/2
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

4 years agoEnable redismodule UT in CI pipeline 57/2357/3
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

4 years agoAdd refactored ndel command and UT 55/2255/6
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

4 years agoAdd refactored nget commands and UT 54/2254/6
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

4 years agoAdd updated version of Redis modules 53/2253/2
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

4 years agoreleasing the 0.1.0 version container (non HA) 94/2194/1
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>
4 years agoIncrement Docker container version number after Amber release 70/1870/1
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

4 years agoAdd dbaas docker release file 47/1847/1
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

4 years agoMerge "Add extra line about src files are part of RIC platform project" Amber 0.2.2
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"

4 years agoAdd extra line about src files are part of RIC platform project 32/1832/1
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

4 years agoAutomation adds INFO.yaml 28/1428/3
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>
4 years agoAdd documentation files 96/1496/9
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>
4 years agoInclude curl in dbaas docker image 61/961/1
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>
4 years agoTake Redis 5.0 in use 80/880/1
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>
4 years agoMerge "Add tag file to support CI-based build of DBaaS" 0.1.0
Marco Tallskog [Mon, 17 Jun 2019 05:42:51 +0000 (05:42 +0000)]
Merge "Add tag file to support CI-based build of DBaaS"

4 years agoAdd tag file to support CI-based build of DBaaS 59/259/3
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

4 years agoAdd new redis command DELMPUB 28/228/4
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

4 years agoRefactor delpub-commands, Allow multiple channels 27/227/4
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

4 years agoAdd new redis command MSETMPUB 24/224/4
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

4 years agoRefactor setpub-commands, Allow multiple channels 23/223/4
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

4 years agoAdd base version of Redis modules 36/136/3
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>
4 years agoDisable data persistency 41/141/1
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>
5 years agoInitial commit 33/33/1
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>
5 years agoInitial empty repository
Andrew Grimberg [Thu, 21 Mar 2019 23:55:41 +0000 (23:55 +0000)]
Initial empty repository