Skip to content

Commit

Permalink
Merge branch 'main' into aditya059/fixing_readme_for_issue_2760
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya059 committed May 15, 2024
2 parents 9a30317 + 748f128 commit 4624a35
Show file tree
Hide file tree
Showing 25 changed files with 687 additions and 449 deletions.
10 changes: 10 additions & 0 deletions .github/linters/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[*.sh]
binary_next_line = true
indent_style = space
indent_size = 4
insert_final_newline = true
keep_padding = true
shell_variant = bash
space_redirects = true
switch_case_indent = true
trim_trailing_whitespace = true
1 change: 0 additions & 1 deletion .github/super-linter.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ VALIDATE_BASH_EXEC=true
VALIDATE_DOCKERFILE_HADOLINT=true
VALIDATE_GITHUB_ACTIONS=true
VALIDATE_MARKDOWN=true
VALIDATE_SHELL_SHFMT=true
16 changes: 8 additions & 8 deletions NoSQL/README-sec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community
23.3.32 2024-03-06 18:21:38 UTC Build id: 69f48431fc69 Edition: Community
```

To check the size of the storage shard:
Expand All @@ -113,13 +113,13 @@ $ docker run --rm -ti -v secfiles:/shared_conf:ro --link kvlite:store oracle/nos

Pinging components of store kvstore based upon topology sequence #14
10 partitions and 1 storage nodes
Time: 2024-02-28 08:20:36 UTC Version: 23.3.30
Time: 2024-04-25 08:13:14 UTC Version: 23.3.32
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: 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
Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 23.3.32 2024-03-06 18:21:38 UTC Build id: 69f48431fc69 Edition: Community isMasterBalanced: true serviceStartTime: 2024-04-25 08:10:10 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-04-25 08:10:13 UTC stateChangeTime: 2024-04-25 08:10:13 UTC availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 86 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime: 2024-04-25 08:10:14 UTC stateChangeTime: 2024-04-25 08:10:15 UTC


kv-> put kv -key /SomeKey -value SomeValue
Expand Down Expand Up @@ -217,10 +217,10 @@ 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=23.3.30
KV_VERSION=23.3.32
rm -rf kv-$KV_VERSION
DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
DOWNLOAD_FILE="community-edition-${KV_VERSION}.zip"
DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"
curl -OLs $DOWNLOAD_LINK
jar tf $DOWNLOAD_FILE | grep "kv-$KV_VERSION/lib" > extract.libs
Expand Down Expand Up @@ -400,7 +400,7 @@ number used for the image tag:
```shell
KV_VERSION=23.3.30 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" .
KV_VERSION=23.3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" .
```
## More information
Expand Down
17 changes: 8 additions & 9 deletions NoSQL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
23.3.30 2023-12-01 19:37:33 UTC Build id: c5db6593507b Edition: Community
23.3.32 2024-03-06 18:21:38 UTC Build id: 69f48431fc69 Edition: Community
```

To check the size of the storage shard:
Expand All @@ -98,14 +98,13 @@ $ 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: 2024-02-28 08:20:36 UTC Version: 23.3.30
Time: 2024-04-25 08:13:14 UTC Version: 23.3.32
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: 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

Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 23.3.32 2024-03-06 18:21:38 UTC Build id: 69f48431fc69 Edition: Community isMasterBalanced: true serviceStartTime: 2024-04-25 08:10:10 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-04-25 08:10:13 UTC stateChangeTime: 2024-04-25 08:10:13 UTC availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 86 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime: 2024-04-25 08:10:14 UTC stateChangeTime: 2024-04-25 08:10:15 UTC

kv-> put kv -key /SomeKey -value SomeValue
Operation successful, record inserted.
Expand Down Expand Up @@ -173,10 +172,10 @@ 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=23.3.30
KV_VERSION=23.3.32
rm -rf kv-$KV_VERSION
DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
DOWNLOAD_FILE="community-edition-${KV_VERSION}.zip"
DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"
curl -OLs $DOWNLOAD_LINK
jar tf $DOWNLOAD_FILE | grep "kv-$KV_VERSION/lib" > extract.libs
Expand Down Expand Up @@ -333,7 +332,7 @@ number used for the image tag:


```shell
KV_VERSION=23.3.30 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce:$KV_VERSION" .
KV_VERSION=23.3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce:$KV_VERSION" .
```

## More information
Expand Down
4 changes: 2 additions & 2 deletions NoSQL/ce-sec/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ FROM ghcr.io/graalvm/jdk:ol8-java17

LABEL org.opencontainers.image.source = "https://github.com/oracle/docker-images"

ARG KV_VERSION=23.3.30
ARG KV_VERSION=23.3.32
ARG DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
ARG DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
ARG DOWNLOAD_FILE="community-edition-${KV_VERSION}.zip"
ARG DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"

ENV KV_PROXY_PORT 8080
Expand Down
4 changes: 2 additions & 2 deletions NoSQL/ce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ FROM ghcr.io/graalvm/jdk:ol8-java17

LABEL org.opencontainers.image.source = "https://github.com/oracle/docker-images"

ARG KV_VERSION=23.3.30
ARG KV_VERSION=23.3.32
ARG DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
ARG DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
ARG DOWNLOAD_FILE="community-edition-${KV_VERSION}.zip"
ARG DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"

ENV KV_PROXY_PORT 8080
Expand Down
2 changes: 1 addition & 1 deletion OracleDatabase/SingleInstance/COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 1982 - 2016, Oracle Corporation. All rights reserved.
Copyright (c) 1982 - 2024, Oracle Corporation. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down

0 comments on commit 4624a35

Please sign in to comment.