From caea5ad84617051b180cf4d5352207ad92f3f834 Mon Sep 17 00:00:00 2001 From: Javier Dario VEGA BAEZ <66302636+dario-vega@users.noreply.github.com> Date: Wed, 6 Mar 2024 08:38:01 +0100 Subject: [PATCH] Update to NoSQL CE 23.3.30 (#2769) --- NoSQL/README-sec.md | 25 ++++++++++++------------- NoSQL/README.md | 22 ++++++++++------------ NoSQL/ce-sec/Dockerfile | 4 ++-- NoSQL/ce/Dockerfile | 4 ++-- 4 files changed, 26 insertions(+), 29 deletions(-) diff --git a/NoSQL/README-sec.md b/NoSQL/README-sec.md index e8c06cd33d..c5a006524e 100644 --- a/NoSQL/README-sec.md +++ b/NoSQL/README-sec.md @@ -86,7 +86,7 @@ For example, to check the version of KVLite, use the `version` command: ```shell $ docker run --rm -ti --link kvlite:store oracle/nosql:ce-sec java -Xmx64m -Xms64m -jar lib/kvstore.jar version -22.3.32 2023-02-14 19:38:03 UTC Build id: 23acbda81a26 Edition: Community +23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community ``` To check the size of the storage shard: @@ -110,18 +110,17 @@ $ docker run --rm -ti -v secfiles:/shared_conf:ro --link kvlite:store oracle/nos -security /shared_conf/user.security kv-> ping + Pinging components of store kvstore based upon topology sequence #14 10 partitions and 1 storage nodes -Time: 2023-02-27 06:37:49 UTC Version: 22.3.32 +Time: 2024-02-28 08:20:36 UTC Version: 23.3.30 Shard Status: healthy: 1 writable-degraded: 0 read-only: 0 offline: 0 total: 1 Admin Status: healthy Zone [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] RN Status: online: 1 read-only: 0 offline: 0 -Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 22.3.32 2023-02-14 -19:38:03 UTC Build id: 23acbda81a26 Edition: Community isMasterBalanced: true serviceStartTime: 2023-02-27 06:36:21 UTC - Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2023-02-27 06:36:26 UTC stateChangeTime: 2023-02-27 06:36:25 UTC -availableStorageSize: 2 GB - Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 361 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime: -2023-02-27 06:36:28 UTC stateChangeTime: 2023-02-27 06:36:28 UTC +Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community isMasterBalanced: true serviceStartTime: 2024-02-28 08:11:20 UTC + Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-02-28 08:11:23 UTC stateChangeTime: 2024-02-28 08:11:23 UTC availableStorageSize: 2 GB + Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 508 haPort: 5011 availableStorageSize: 6 GB storageType: HD serviceStartTime: 2024-02-28 08:11:25 UTC stateChangeTime: 2024-02-28 08:11:25 UTC + kv-> put kv -key /SomeKey -value SomeValue Operation successful, record inserted. @@ -203,7 +202,7 @@ $ openssl x509 -text -noout -in /mylocalpath/certificate.pem | grep CN ```` Note: the certicate can be customized in the script setup-http-proxy-sec.sh -(e.g adding [SAN](https://docs.oracle.com/en/database/other-databases/nosql-database/22.1/security/ssl-using-openssl.html)) +(e.g adding [SAN](https://docs.oracle.com/en/database/other-databases/nosql-database/23.1/security/ssl-using-openssl.html)) ## Advanced Scenario: connecting to Oracle NoSQL CE from another host @@ -218,7 +217,7 @@ be made via the Oracle NoSQL Database Proxy on the `KV_PROXY_PORT`. First, install the latest version of Oracle NoSQL on your remote host: ```shell -KV_VERSION=22.3.32 +KV_VERSION=23.3.30 rm -rf kv-$KV_VERSION DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip" @@ -401,7 +400,7 @@ number used for the image tag: ```shell -KV_VERSION=22.3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" . +KV_VERSION=23.3.30 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" . ``` ## More information @@ -424,9 +423,9 @@ Oracle provides no commercial support for the Oracle NoSQL Community Edition. ## Copyright -Copyright (c) 2017, 2023 Oracle and/or its affiliates. +Copyright (c) 2017, 2024 Oracle and/or its affiliates. [NOSQL]: http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html [DOCS]: https://docs.oracle.com/en/database/other-databases/nosql-database/index.html -[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/22.3/license/index.html#NSXLI-GUID-006E432E-1965-45A2-AEDE-204BD05E1560 +[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/23.3/license/index.html#GUID-006E432E-1965-45A2-AEDE-204BD05E1560 [GraalVM-License]: https://github.com/graalvm/container/blob/master/LICENSE.md diff --git a/NoSQL/README.md b/NoSQL/README.md index eb9564a9de..eb9ef8224a 100644 --- a/NoSQL/README.md +++ b/NoSQL/README.md @@ -73,7 +73,7 @@ For example, to check the version of KVLite, use the `version` command: ```shell $ docker run --rm -ti --link kvlite:store oracle/nosql:ce java -Xmx64m -Xms64m -jar lib/kvstore.jar version -22.3.32 2023-02-14 19:38:03 UTC Build id: 23acbda81a26 Edition: Community +23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community ``` To check the size of the storage shard: @@ -98,16 +98,14 @@ $ docker run --rm -ti --link kvlite:store oracle/nosql:ce \ Pinging components of store kvstore based upon topology sequence #14 10 partitions and 1 storage nodes -Time: 2023-02-27 06:25:43 UTC Version: 22.3.32 +Time: 2024-02-28 08:20:36 UTC Version: 23.3.30 Shard Status: healthy: 1 writable-degraded: 0 read-only: 0 offline: 0 total: 1 Admin Status: healthy Zone [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] RN Status: online: 1 read-only: 0 offline: 0 -Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 22.3.32 2023-02-14 -19:38:03 UTC Build id: 23acbda81a26 Edition: Community isMasterBalanced: true serviceStartTime: 2023-02-27 06:24:27 UTC - Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2023-02-27 06:24:30 UTC stateChangeTime: 2023-02-27 06:24:30 UTC -availableStorageSize: 2 GB - Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 314 haPort: 5011 availableStorageSize: 9 GB storageType: HD -serviceStartTime: 2023-02-27 06:24:33 UTC stateChangeTime: 2023-02-27 06:24:34 UTC +Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community isMasterBalanced: true serviceStartTime: 2024-02-28 08:11:20 UTC + Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-02-28 08:11:23 UTC stateChangeTime: 2024-02-28 08:11:23 UTC availableStorageSize: 2 GB + Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 508 haPort: 5011 availableStorageSize: 6 GB storageType: HD serviceStartTime: 2024-02-28 08:11:25 UTC stateChangeTime: 2024-02-28 08:11:25 UTC + kv-> put kv -key /SomeKey -value SomeValue Operation successful, record inserted. @@ -175,7 +173,7 @@ be made via the Oracle NoSQL Database Proxy on the `KV_PROXY_PORT`. First, install the latest version of Oracle NoSQL on your remote host: ```shell -KV_VERSION=22.3.32 +KV_VERSION=23.3.30 rm -rf kv-$KV_VERSION DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip" @@ -335,7 +333,7 @@ number used for the image tag: ```shell -KV_VERSION=22.3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce:$KV_VERSION" . +KV_VERSION=23.3.30 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce:$KV_VERSION" . ``` ## More information @@ -358,9 +356,9 @@ Oracle provides no commercial support for the Oracle NoSQL Community Edition. ## Copyright -Copyright (c) 2017, 2023 Oracle and/or its affiliates. +Copyright (c) 2017, 2024 Oracle and/or its affiliates. [NOSQL]: http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html [DOCS]: https://docs.oracle.com/en/database/other-databases/nosql-database/index.html -[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/22.3/license/index.html#NSXLI-GUID-006E432E-1965-45A2-AEDE-204BD05E1560 +[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/23.3/license/index.html#GUID-006E432E-1965-45A2-AEDE-204BD05E1560 [GraalVM-License]: https://github.com/graalvm/container/blob/master/LICENSE.md diff --git a/NoSQL/ce-sec/Dockerfile b/NoSQL/ce-sec/Dockerfile index eb301df560..ede59869cc 100644 --- a/NoSQL/ce-sec/Dockerfile +++ b/NoSQL/ce-sec/Dockerfile @@ -1,11 +1,11 @@ -# Copyright (c) 2022, 2023 Oracle and/or its affiliates. +# Copyright (c) 2022, 2024 Oracle and/or its affiliates. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/ # FROM ghcr.io/graalvm/jdk:ol8-java17 LABEL org.opencontainers.image.source = "https://github.com/oracle/docker-images" -ARG KV_VERSION=22.3.32 +ARG KV_VERSION=23.3.30 ARG DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database ARG DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip" ARG DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}" diff --git a/NoSQL/ce/Dockerfile b/NoSQL/ce/Dockerfile index b83c8392eb..ac12149c48 100644 --- a/NoSQL/ce/Dockerfile +++ b/NoSQL/ce/Dockerfile @@ -1,11 +1,11 @@ -# Copyright (c) 2022, 2023 Oracle and/or its affiliates. +# Copyright (c) 2022, 2024 Oracle and/or its affiliates. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/ # FROM ghcr.io/graalvm/jdk:ol8-java17 LABEL org.opencontainers.image.source = "https://github.com/oracle/docker-images" -ARG KV_VERSION=22.3.32 +ARG KV_VERSION=23.3.30 ARG DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database ARG DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip" ARG DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"