Build new DBAAS image to have latest sdlcli 06/7406/2 0.5.5
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 16 Dec 2021 15:14:11 +0000 (17:14 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 16 Dec 2021 15:30:47 +0000 (17:30 +0200)
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

README.md
container-tag.yaml
docker/Dockerfile.redis
docs/release-notes.rst

index 6d2011b..917f488 100644 (file)
--- a/README.md
+++ b/README.md
@@ -38,11 +38,12 @@ Standalone dbaas database is configured to be non-persistent and
 non-redundant. HA dbaas provides redundancy but it is also configured to be
 non-persistent.
 
-After dbaas service is installed, environment variables **DBAAS_SERVICE_HOST**
-and **DBAAS_SERVICE_PORT** are exposed to application containers. In the case
-of HA dbaas deployment environment variables **DBAAS_MASTER_NAME** and
-**DBAAS_SERVICE_SENTINEL_PORT** are also exposed to application containers.
-SDL library will automatically use these environment variables.
+After dbaas service is installed, environment variables **DBAAS_SERVICE_HOST**,
+**DBAAS_SERVICE_PORT** and **DBAAS_NODE_COUNT** are exposed to application
+containers. In the case of HA dbaas deployment also environment variables
+**DBAAS_MASTER_NAME** and **DBAAS_SERVICE_SENTINEL_PORT** are exposed to
+application containers. SDL library will automatically use these environment
+variables.
 
 The service is installed via helm by using dbaas-service chart. Modify the
 values accordingly before installation (repository location, image name, ..)
@@ -51,6 +52,13 @@ values accordingly before installation (repository location, image name, ..)
 helm install ./dbaas-service
 ```
 
+### SDLCLI
+There is a pre-installed `sdlcli` tool in DBaaS container. With this tool user
+can see statistics of database backend (Redis), check healthiness of DBaaS
+database backend, list database keys and get and set values into database.
+To get more information about available commands and how to use them, please
+check help instructions: `sdlcli --help`.
+
 ### DBaaS test application
 
 Test application is installed via helm by using dbaas-test chart. Modify the
@@ -90,7 +98,7 @@ The environment variables for database backend should be set:
 >>printenv
 DBAAS_SERVICE_HOST=10.108.103.51
 DBAAS_SERVICE_PORT=6379
-
+DBAAS_NODE_COUNT=1
 
 Go test application using preliminary go SDL-API should be able to perform reads and writes:
 
index c04eea9..5a54527 100644 (file)
@@ -2,4 +2,4 @@
 # This file is expected to be in the docker build directory;
 # can be moved with suitable JJB configuration.
 ---
-tag: '0.5.4'
+tag: '0.5.5'
index 044644c..bb4d8d7 100644 (file)
@@ -76,6 +76,7 @@ RUN cd /go/src && \
     cd sdlgo && \
     go build -v -o /usr/local/bin/sdlcli cmd/sdlcli/main.go
 
+
 FROM redis:5.0.9-alpine3.11 as build
 
 RUN apk --update add --upgrade --no-cache \
index fd3a193..259a7a8 100644 (file)
@@ -30,6 +30,10 @@ This document provides the release notes of the dbaas.
 Version history
 ---------------
 
+[0.5.5] - 2021-12-16
+
+* Build a new DBAAS Docker image to take the latest version (0.9.0) of the sdlcli -tool in
+
 [0.5.4] - 2021-10-26
 
 * Add sdlcli -tool for troubleshooting SDL and Database problems