From 1e7939d6924e517c77a253d7cdfc5c9c7a686089 Mon Sep 17 00:00:00 2001 From: Stefano Scafiti Date: Wed, 22 May 2024 22:13:31 +0200 Subject: [PATCH] Update data types --- immudb/datatypesv2.py | 6 ++++++ tests/starttestcontainers.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/immudb/datatypesv2.py b/immudb/datatypesv2.py index fdbe3cf..d2112a3 100644 --- a/immudb/datatypesv2.py +++ b/immudb/datatypesv2.py @@ -401,6 +401,10 @@ class ServerInfoRequest(GRPCTransformable): @dataclass class ServerInfoResponse(GRPCTransformable): version: str = None + startedAt: int = None + numTransactions: int = None + numDatabases: int = None + databasesDiskSize: int = None @dataclass @@ -1135,6 +1139,8 @@ class DatabaseInfo(GRPCTransformable): name: str = None settings: DatabaseSettingsV2 = None loaded: bool = None + diskSize: int = None + numTransactions: int = None @dataclass diff --git a/tests/starttestcontainers.sh b/tests/starttestcontainers.sh index 425393a..4a4343b 100755 --- a/tests/starttestcontainers.sh +++ b/tests/starttestcontainers.sh @@ -1,7 +1,7 @@ #!/bin/bash cd "$(dirname "$0")" -docker run -d --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -v "$PWD"/certs/my.key.pem:/key.pem -p 3322:3322 codenotary/immudb:1.9DOM --signingKey=/key.pem +docker run -d --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -v "$PWD"/certs/my.key.pem:/key.pem -p 3322:3322 codenotary/immudb:1.9.3 --signingKey=/key.pem docker run -d --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -v "$PWD"/certs/my.key.pem:/key.pem -p 3333:3322 codenotary/immudb:1.5.0 --signingKey=/key.pem docker run -d --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -v "$PWD"/certs/my.key.pem:/key.pem -p 3344:3322 codenotary/immudb:1.4.1 --signingKey=/key.pem docker run -d --health-cmd "immuadmin status" --health-interval 10s --health-timeout 5s --health-retries 5 -v "$PWD"/certs/my.key.pem:/key.pem -p 3355:3322 codenotary/immudb:1.4.0 --signingKey=/key.pem