Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/build-compatability-2206.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 22.06.11
- 22.06.12
- 22.06.13-SNAPSHOT
go-version:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
shell: bash
run: |
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
SKIP_PROTO_GENERATION=true COHERENCE_VERSION=22.06.11 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope
SKIP_PROTO_GENERATION=true COHERENCE_VERSION=22.06.12 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope

- uses: actions/upload-artifact@v4
if: failure()
Expand All @@ -100,7 +100,7 @@ jobs:
COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \
COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \
COHERENCE_TLS_CLIENT_KEY=`pwd`/test/utils/certs/star-lord.key \
COHERENCE_VERSION=22.06.11 PROFILES=,secure,-jakarta,javax make clean certs generate-proto build-test-images test-e2e-standalone
COHERENCE_VERSION=22.06.12 PROFILES=,secure,-jakarta,javax make clean certs generate-proto build-test-images test-e2e-standalone

- name: E2E Local Tests SSL (options)
shell: bash
Expand All @@ -109,7 +109,7 @@ jobs:
COHERENCE_TLS_CERTS_PATH_OPTION=`pwd`/test/utils/certs/guardians-ca.crt \
COHERENCE_TLS_CLIENT_CERT_OPTION=`pwd`/test/utils/certs/star-lord.crt \
COHERENCE_TLS_CLIENT_KEY_OPTION=`pwd`/test/utils/certs/star-lord.key \
COHERENCE_VERSION=22.06.11 PROFILES=,secure,-jakarta,javax,scope make clean certs generate-proto build-test-images test-e2e-standalone-scope
COHERENCE_VERSION=22.06.12 PROFILES=,secure,-jakarta,javax,scope make clean certs generate-proto build-test-images test-e2e-standalone-scope

- name: E2E Local Tests SSL (tlsConfig)
shell: bash
Expand All @@ -118,7 +118,7 @@ jobs:
COHERENCE_TLS_CERTS_PATH_OPTION=`pwd`/test/utils/certs/guardians-ca.crt \
COHERENCE_TLS_CLIENT_CERT_OPTION=`pwd`/test/utils/certs/star-lord.crt \
COHERENCE_TLS_CLIENT_KEY_OPTION=`pwd`/test/utils/certs/star-lord.key \
COHERENCE_VERSION=22.06.11 PROFILES=,secure,-jakarta,javax,scope make clean certs generate-proto build-test-images test-e2e-standalone-scope
COHERENCE_VERSION=22.06.12 PROFILES=,secure,-jakarta,javax,scope make clean certs generate-proto build-test-images test-e2e-standalone-scope

- uses: actions/upload-artifact@v4
if: failure()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/streaming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 22.06.13-SNAPSHOT
- 22.06.12
# - 22.06.13-SNAPSHOT
# - 22.06.12
- 14.1.2-0-2
- 14.1.2-0-3-SNAPSHOT
go-version:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ to a Coherence Cluster using gRPC for the network transport.
* session lifecycle events such as connected, disconnected, reconnected and closed
* Support for storing Go structs as JSON as well as the ability to serialize to Java objects on the server for access from other Coherence language API's
* Near cache support to cache frequently accessed data in the Go client to avoid sending requests across the network
* Support for simple and double-ended queues in Coherence Community Edition 24.09+ and commercial version 14.1.2.0+
* Support for simple and double-ended queues in Coherence Community Edition 25.03+ and commercial version 14.1.2.0+
* Full support for Go generics in all Coherence API's

#### Requirements

* Coherence CE 22.06.4+, 24.09+ or Coherence 14.1.1.2206.4+ Commercial edition with a configured [gRPCProxy](https://docs.oracle.com/en/middleware/standalone/coherence/14.1.1.2206/develop-remote-clients/using-coherence-grpc-server.html).
* Coherence CE 22.06.4+, 25.03+ or Coherence 14.1.1.2206.4+ Commercial edition with a configured [gRPCProxy](https://docs.oracle.com/en/middleware/standalone/coherence/14.1.1.2206/develop-remote-clients/using-coherence-grpc-server.html).
* Go 1.23.+

> Note: If you wish to use the queues API in the latest release, you must use CE 24.09 or commercial version 14.1.2.0.x.
Expand Down
8 changes: 4 additions & 4 deletions coherence/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The Coherence Go client provides the following features:
and session lifecycle events such as connected, disconnected, reconnected and closed
- Support for storing Go structs as JSON as well as the ability to serialize to Java objects on the server for access from other Coherence language API's
- Near cache support to cache frequently accessed data in the Go client to avoid sending requests across the network
- Support for simple and double-ended queues in Coherence Community Edition 24.09+ and commercial version 14.1.2.0+
- Support for simple and double-ended queues in Coherence Community Edition 25.03+ and commercial version 14.1.2.0+
- Full support for Go generics in all Coherence API's

For more information on Coherence caches, please see the [Coherence Documentation].
Expand Down Expand Up @@ -536,7 +536,7 @@ in your main code, create a new [Session] and register the listener

# Working with Queues

When connecting to a Coherence CE cluster versions 24.09 or above or commercial 14.1.2.0.+, you have the ability to create two main types of queues, a [NamedQueue] or [NamedDequeue].
When connecting to a Coherence CE cluster versions 25.03 or above or commercial 14.1.2.0.+, you have the ability to create two main types of queues, a [NamedQueue] or [NamedDequeue].

A [NamedQueue] is a simple FIFO queue which can be one of two types: either [Queue] - a simple queue which stores data in a single
partition and is limited to approx 2GB of storage, or [PagedQueue] which distributes data over the cluster and is only limited
Expand Down Expand Up @@ -700,7 +700,7 @@ that occur against a [NamedQueue].
time.Sleep(5 * time.Second)

// output:
// 2024/11/28 11:40:58 INFO: Session [b1435a16-f210-4289-97e4-e1654947acd5] connected to [localhost:1408] Coherence version: 24.09, serverProtocolVersion: 1, proxyMemberId: 1
// 2024/11/28 11:40:58 INFO: Session [b1435a16-f210-4289-97e4-e1654947acd5] connected to [localhost:1408] Coherence version: 25.03, serverProtocolVersion: 1, proxyMemberId: 1
// **EVENT=queue_released: source=NamedQueue{name=queue-events, type=Queue, queueID=1198559040}
// 2024/11/28 11:41:03 INFO: Session [b1435a16-f210-4289-97e4-e1654947acd5] closed

Expand Down Expand Up @@ -895,6 +895,6 @@ accessed and created entries.
[examples]: https://github.com/oracle/coherence-go-client/tree/main/examples
[gRPC Proxy documentation]: https://docs.oracle.com/en/middleware/standalone/coherence/14.1.1.2206/develop-remote-clients/using-coherence-grpc-server.html
[gRPC Naming]: https://github.com/grpc/grpc/blob/master/doc/naming.md
[Queues]: https://coherence.community/latest/24.09/docs/#/docs/core/09_queues
[Queues]: https://docs.oracle.com/en/middleware/fusion-middleware/coherence/14.1.2/develop-applications/implementing-concurreny-distributed-environment.html#GUID-18AEA825-C23E-4997-A938-DC7E5915AD45
*/
package coherence
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<maven.compiler.target>11</maven.compiler.target>

<coherence.group.id>com.oracle.coherence.ce</coherence.group.id>
<coherence.version>22.09</coherence.version>
<coherence.version>25.03.1</coherence.version>

<!-- The version of Coherence to use in the test images -->
<coherence.test.groupId>com.oracle.coherence.ce</coherence.test.groupId>
Expand Down
19 changes: 0 additions & 19 deletions scripts/run-checkin-test.sh

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/run-test-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ do
echo "==========================================="

if [ ! -z `echo $file | grep queues` ]; then
# Check for queues which cannot be run unless we have versions 24.09, 14.1.2, or 15.1.1
if echo "$COHERENCE_VERSION" | grep -q -e 24.09 -e 14.1.2 -e 15.1.1; then
# Check for queues which cannot be run unless we have versions 25.03, 14.1.2, or 15.1.1
if echo "$COHERENCE_VERSION" | grep -q -e 25.03 -e 14.1.2 -e 15.1.1; then
go run -race "$file"
fi
else
Expand Down
Loading