Skip to content

Implement Base Topics Functionality #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6f43730
Implement Base Topics Functionality
tmiddlet2666 Jul 3, 2025
72584ca
Fix some CI/CD issues
tmiddlet2666 Jul 3, 2025
184dfc1
Remove duplication
tmiddlet2666 Jul 3, 2025
5949c92
Add DAPR Tests
tmiddlet2666 Jul 4, 2025
1af9588
Fic DAPR test
tmiddlet2666 Jul 4, 2025
e4609b9
Add dapr init
tmiddlet2666 Jul 4, 2025
b19b2b2
Add the CLI to show the caches
tmiddlet2666 Jul 4, 2025
b3203dd
Update cli address to 127.0.0.1
tmiddlet2666 Jul 4, 2025
e011048
Fix dapr test script
tmiddlet2666 Jul 4, 2025
11a755e
Add check to make sure coherence is up
tmiddlet2666 Jul 4, 2025
2abf3c1
More tests for topics
tmiddlet2666 Jul 4, 2025
f575dd2
Use current coherence-go-client in dapr build
tmiddlet2666 Jul 5, 2025
b89197d
Use current coherence-go-client in dapr build
tmiddlet2666 Jul 5, 2025
7d925f8
Use current coherence-go-client in dapr build
tmiddlet2666 Jul 5, 2025
b0d02d8
Use current coherence-go-client in dapr build
tmiddlet2666 Jul 5, 2025
630eab5
Add subscriber group commands
tmiddlet2666 Jul 7, 2025
7d63aa2
Minor changes to topics
tmiddlet2666 Jul 7, 2025
1d7d0f6
Fix issue with subscriber test
tmiddlet2666 Jul 7, 2025
6f25d5e
Add tls tests for dapr
tmiddlet2666 Jul 8, 2025
410b3dc
Correct tls test
tmiddlet2666 Jul 8, 2025
a5af2b7
Correct tls test
tmiddlet2666 Jul 8, 2025
6582e49
Correct tls test
tmiddlet2666 Jul 8, 2025
df0c78c
Correct tls test
tmiddlet2666 Jul 8, 2025
cfba191
Correct tls test
tmiddlet2666 Jul 8, 2025
e185600
Correct tls test
tmiddlet2666 Jul 8, 2025
63d2b41
Correct tls test
tmiddlet2666 Jul 8, 2025
595cc8e
Fix topics test
tmiddlet2666 Jul 8, 2025
587412e
More topic events updates, update dapr test
tmiddlet2666 Jul 10, 2025
df960fd
remove clone of components-contrib
tmiddlet2666 Jul 10, 2025
56693fc
Add initial subscriber event tests
tmiddlet2666 Jul 10, 2025
e87634d
initial subscriber events
tmiddlet2666 Jul 10, 2025
43eef67
Subscriber and Publisher events progress
tmiddlet2666 Jul 15, 2025
7acb67a
Subscriber and Publisher events progress
tmiddlet2666 Jul 15, 2025
5a70c14
Test and repository updates
tmiddlet2666 Jul 18, 2025
cb34113
Further test updates
tmiddlet2666 Jul 18, 2025
6abee30
Update CE versions
tmiddlet2666 Jul 21, 2025
97eb0d0
Fix dapr action
tmiddlet2666 Jul 21, 2025
9c08dfe
Fix examples action
tmiddlet2666 Jul 21, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/build-compatability-1412.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 14.1.2-0-2
- 14.1.2-0-3-SNAPSHOT
- 14.1.2-0-3
- 14.1.2-0-4-SNAPSHOT
go-version:
- 1.23.x
- 1.24.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-compatability-2206.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 22.06.12
- 22.06.13-SNAPSHOT
- 22.06.13
- 22.06.14-SNAPSHOT
go-version:
- 1.23.x
- 1.24.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-compatability-v1-1412.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 14.1.2-0-2
- 14.1.2-0-3-SNAPSHOT
- 14.1.2-0-3
- 14.1.2-0-4-SNAPSHOT
go-version:
- 1.23.x
- 1.24.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-compatability-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 25.03
- 25.03.1
- 25.03.2
go-version:
- 1.23.x
- 1.24.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-compatability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 25.03
- 25.03.1
- 25.03.2
go-version:
- 1.23.x
- 1.24.x
Expand Down
85 changes: 85 additions & 0 deletions .github/workflows/build-dapr-tls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Copyright 2024, 2025 Oracle Corporation and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at
# https://oss.oracle.com/licenses/upl.

# ---------------------------------------------------------------------------
# Coherence Go Client GitHub Actions CI build DAPR TLS
# ---------------------------------------------------------------------------
name: CI DAPR TLS

on:
workflow_dispatch:
push:
branches:
- '*'
schedule:
# Every day at midnight
- cron: '0 0 * * *'

jobs:
build:
runs-on: ubuntu-22.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
coherenceVersion:
- 25.09-SNAPSHOT
- 25.03.3-SNAPSHOT
- 25.03.2
go-version:
- 1.24.x

# Checkout the source, we need a depth of zero to fetch all of the history otherwise
# the copyright check cannot work out the date of the files from Git.
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get Docker Images
shell: bash
run: |
docker pull gcr.io/distroless/java17-debian12

- name: Set up JDK 17 for Build
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'

- name: Cache Go Modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-mods-

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go-version }}'

- name: Test DAPR
env:
COH_VERSION: ${{ matrix.coherenceVersion }}
shell: bash
run: |
go install google.golang.org/grpc/cmd/[email protected]
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 PROFILES=,secure,jakarta,-javax COHERENCE_VERSION=$COH_VERSION make clean certs generate-proto generate-proto-v1 build-test-images test-cluster-startup test-dapr-tls
make test-cluster-shutdown

- uses: actions/upload-artifact@v4
if: failure()
with:
name: test-output-${{ matrix.go-version }}-${{ matrix.coherenceVersion }}
path: build/_output/test-logs
86 changes: 86 additions & 0 deletions .github/workflows/build-dapr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Copyright 2024, 2025 Oracle Corporation and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at
# https://oss.oracle.com/licenses/upl.

# ---------------------------------------------------------------------------
# Coherence Go Client GitHub Actions CI build DAPR
# ---------------------------------------------------------------------------
name: CI DAPR

on:
workflow_dispatch:
push:
branches:
- '*'
schedule:
# Every day at midnight
- cron: '0 0 * * *'

jobs:
build:
runs-on: ubuntu-22.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
coherenceVersion:
- 25.09-SNAPSHOT
- 25.03.2
- 25.03.3-SNAPSHOT
go-version:
- 1.24.x

# Checkout the source, we need a depth of zero to fetch all of the history otherwise
# the copyright check cannot work out the date of the files from Git.
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get Docker Images
shell: bash
run: |
docker pull gcr.io/distroless/java17-debian12

- name: Set up JDK 17 for Build
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'

- name: Cache Go Modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-mods-

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go-version }}'

- name: Test DAPR
env:
COH_VERSION: ${{ matrix.coherenceVersion }}
shell: bash
run: |
go install google.golang.org/grpc/cmd/[email protected]
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 PROFILES=,jakarta,-javax COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-cluster-startup
make test-dapr
make test-cluster-shutdown

- uses: actions/upload-artifact@v4
if: failure()
with:
name: test-output-${{ matrix.go-version }}-${{ matrix.coherenceVersion }}
path: build/_output/test-logs
4 changes: 2 additions & 2 deletions .github/workflows/build-perf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 14.1.2-0-2
- 25.03.1
- 14.1.2-0-3
- 25.03.2
go-version:
- 1.23.x
- 1.24.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-queues-1412.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 14.1.2-0-2
- 14.1.2-0-3-SNAPSHOT
- 14.1.2-0-3
- 14.1.2-0-4-SNAPSHOT
go-version:
- 1.23.x
- 1.24.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-queues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
coherenceVersion:
- 25.03.1
- 25.03.2-SNAPSHOT
- 25.03.2
- 25.03.3-SNAPSHOT
go-version:
- 1.23.x
- 1.24.x
Expand Down
83 changes: 83 additions & 0 deletions .github/workflows/build-topics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Copyright 2024, 2025 Oracle Corporation and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at
# https://oss.oracle.com/licenses/upl.

# ---------------------------------------------------------------------------
# Coherence Go Client GitHub Actions CI build Topics
# ---------------------------------------------------------------------------
name: CI Topics

on:
workflow_dispatch:
push:
branches:
- '*'
schedule:
# Every day at midnight
- cron: '0 0 * * *'

jobs:
build:
runs-on: ubuntu-22.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
coherenceVersion:
- 25.09-SNAPSHOT
go-version:
- 1.23.x
- 1.24.x

# Checkout the source, we need a depth of zero to fetch all of the history otherwise
# the copyright check cannot work out the date of the files from Git.
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get Docker Images
shell: bash
run: |
docker pull gcr.io/distroless/java17-debian12

- name: Set up JDK 17 for Build
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'

- name: Cache Go Modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-mods-

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go-version }}'

- name: E2E Topics Tests
env:
COH_VERSION: ${{ matrix.coherenceVersion }}
shell: bash
run: |
go install google.golang.org/grpc/cmd/[email protected]
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 PROFILES=,jakarta,-javax COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-topics

- uses: actions/upload-artifact@v4
if: failure()
with:
name: test-output-${{ matrix.go-version }}-${{ matrix.coherenceVersion }}
path: build/_output/test-logs
4 changes: 2 additions & 2 deletions .github/workflows/build-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- 1.23.x
- 1.24.x
coherence-version:
- 25.03
- 25.03.1
- 25.03.2-SNAPSHOT
- 25.03.2
- 25.03.3-SNAPSHOT

# Checkout the source, we need a depth of zero to fetch all of the history otherwise
# the copyright check cannot work out the date of the files from Git.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
shell: bash
run: |
go install google.golang.org/grpc/cmd/[email protected]
INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax COHERENCE_VERSION=22.06.12 make clean generate-proto build-test-images test-e2e-standalone
INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax COHERENCE_VERSION=22.06.13 make clean generate-proto build-test-images test-e2e-standalone

- name: Profile Near Cache
shell: bash
Expand All @@ -85,7 +85,7 @@ jobs:
shell: bash
run: |
go install google.golang.org/grpc/cmd/[email protected]
SKIP_PROTO_GENERATION=true COHERENCE_VERSION=22.06.12 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope
SKIP_PROTO_GENERATION=true COHERENCE_VERSION=22.06.13 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.12 PROFILES=,secure,-jakarta,javax make clean certs generate-proto build-test-images test-e2e-standalone
COHERENCE_VERSION=22.06.13 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.12 PROFILES=,secure,-jakarta,javax,scope make clean certs generate-proto build-test-images test-e2e-standalone-scope
COHERENCE_VERSION=22.06.13 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.12 PROFILES=,secure,-jakarta,javax,scope make clean certs generate-proto build-test-images test-e2e-standalone-scope
COHERENCE_VERSION=22.06.13 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
Loading
Loading