ric-plt/dbaas.git
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

5 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>
5 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