Skip to content

Commit e131bdf

Browse files
author
Tim Middleton
authored
Initial EntrySetFilterWithComparator (#127)
* Initial EntrySetFilterWithComparator * Minor docs updates * Minor updates to speciify grpc v0 api * Minor updates * Add custom comparator and entry processor example * Add GITHUB_TOKEN to stop rate limiting of curl requests * Fix workflow name, queues test harden * Output rate limiting information * Minimize protoc generation * Fix curl command options
1 parent 7da895a commit e131bdf

37 files changed

+624
-112
lines changed

.github/workflows/build-compatability-1412.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ on:
1919
jobs:
2020
build:
2121
runs-on: ubuntu-22.04
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
strategy:
2325
fail-fast: false
2426
matrix:
2527
coherenceVersion:
26-
- 14.1.2-0-1
27-
- 14.1.2-0-2-SNAPSHOT
28+
- 14.1.2-0-2
29+
- 14.1.2-0-3-SNAPSHOT
2830
go-version:
2931
- 1.23.x
3032
- 1.24.x
@@ -82,7 +84,7 @@ jobs:
8284
shell: bash
8385
run: |
8486
go get google.golang.org/grpc/cmd/[email protected]
85-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope
87+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope
8688
8789
- uses: actions/upload-artifact@v4
8890
if: failure()
@@ -103,7 +105,7 @@ jobs:
103105
run: |
104106
echo "Running verify against $COH_VERSION"
105107
go get google.golang.org/grpc/cmd/[email protected]
106-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
108+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
107109
COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \
108110
COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \
109111
COHERENCE_TLS_CLIENT_KEY=`pwd`/test/utils/certs/star-lord.key \

.github/workflows/build-compatability-2206.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ on:
1919
jobs:
2020
build:
2121
runs-on: ubuntu-22.04
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
strategy:
2325
fail-fast: false
2426
matrix:
2527
coherenceVersion:
2628
- 22.06.11
27-
- 22.06.12-SNAPSHOT
29+
- 22.06.12
30+
- 22.06.13-SNAPSHOT
2831
go-version:
2932
- 1.23.x
3033
- 1.24.x
@@ -82,7 +85,7 @@ jobs:
8285
shell: bash
8386
run: |
8487
go get google.golang.org/grpc/cmd/[email protected]
85-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope
88+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope
8689
8790
- uses: actions/upload-artifact@v4
8891
if: failure()
@@ -103,7 +106,7 @@ jobs:
103106
run: |
104107
echo "Running verify against $COH_VERSION"
105108
go get google.golang.org/grpc/cmd/[email protected]
106-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
109+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
107110
COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \
108111
COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \
109112
COHERENCE_TLS_CLIENT_KEY=`pwd`/test/utils/certs/star-lord.key \

.github/workflows/build-compatability-v1-1412.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ on:
1919
jobs:
2020
build:
2121
runs-on: ubuntu-22.04
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
strategy:
2325
fail-fast: false
2426
matrix:
2527
coherenceVersion:
2628
- 14.1.2-0-2
27-
- 14.1.2-0-2-SNAPSHOT
29+
- 14.1.2-0-3-SNAPSHOT
2830
go-version:
2931
- 1.23.x
3032
- 1.24.x
@@ -87,7 +89,7 @@ jobs:
8789
shell: bash
8890
run: |
8991
go get google.golang.org/grpc/cmd/[email protected]
90-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope
92+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope
9193
9294
- uses: actions/upload-artifact@v4
9395
if: failure()
@@ -102,7 +104,7 @@ jobs:
102104
run: |
103105
echo "Running verify against $COH_VERSION"
104106
go get google.golang.org/grpc/cmd/[email protected]
105-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
107+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
106108
COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \
107109
COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \
108110
COHERENCE_TLS_CLIENT_KEY=`pwd`/test/utils/certs/star-lord.key \

.github/workflows/build-compatability-v1.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ on:
1919
jobs:
2020
build:
2121
runs-on: ubuntu-22.04
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
strategy:
2325
fail-fast: false
2426
matrix:
2527
coherenceVersion:
26-
- 24.09.3
2728
- 25.03
29+
- 25.03.1
2830
go-version:
2931
- 1.23.x
3032
- 1.24.x
@@ -87,7 +89,7 @@ jobs:
8789
shell: bash
8890
run: |
8991
go get google.golang.org/grpc/cmd/[email protected]
90-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,jakarta,-javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope
92+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,jakarta,-javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope
9193
9294
- uses: actions/upload-artifact@v4
9395
if: failure()
@@ -102,7 +104,7 @@ jobs:
102104
run: |
103105
echo "Running verify against $COH_VERSION"
104106
go get google.golang.org/grpc/cmd/[email protected]
105-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
107+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
106108
COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \
107109
COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \
108110
COHERENCE_TLS_CLIENT_KEY=`pwd`/test/utils/certs/star-lord.key \

.github/workflows/build-compatability.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ on:
1919
jobs:
2020
build:
2121
runs-on: ubuntu-22.04
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
strategy:
2325
fail-fast: false
2426
matrix:
2527
coherenceVersion:
26-
- 24.09.3
2728
- 25.03
29+
- 25.03.1
2830
go-version:
2931
- 1.23.x
3032
- 1.24.x
@@ -87,7 +89,7 @@ jobs:
8789
shell: bash
8890
run: |
8991
go get google.golang.org/grpc/cmd/[email protected]
90-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,jakarta,-javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope
92+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,jakarta,-javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope
9193
9294
- uses: actions/upload-artifact@v4
9395
if: failure()
@@ -102,7 +104,7 @@ jobs:
102104
run: |
103105
echo "Running verify against $COH_VERSION"
104106
go get google.golang.org/grpc/cmd/[email protected]
105-
COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
107+
SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \
106108
COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \
107109
COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \
108110
COHERENCE_TLS_CLIENT_KEY=`pwd`/test/utils/certs/star-lord.key \

.github/workflows/build-perf.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on:
1919
jobs:
2020
build:
2121
runs-on: ubuntu-latest
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
strategy:
2325
fail-fast: false
2426
matrix:
@@ -66,7 +68,7 @@ jobs:
6668
- name: Run Perf Test
6769
shell: bash
6870
run: |
69-
curl -sL https://raw.githubusercontent.com/oracle/coherence-cli/main/scripts/install.sh | bash
71+
curl --retry 5 --retry-delay 2 -sL https://raw.githubusercontent.com/oracle/coherence-cli/main/scripts/install.sh | bash
7072
COHERENCE_CLIENT_REQUEST_TIMEOUT=200000 COHERENCE_VERSION=${{ matrix.coherenceVersion }} make test-perf
7173
7274
- uses: actions/upload-artifact@v4

.github/workflows/build-queues-1412.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on:
1919
jobs:
2020
build:
2121
runs-on: ubuntu-22.04
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
strategy:
2325
fail-fast: false
2426
matrix:

.github/workflows/build-queues.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on:
1919
jobs:
2020
build:
2121
runs-on: ubuntu-22.04
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
strategy:
2325
fail-fast: false
2426
matrix:

.github/workflows/build-v1.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,18 @@ on:
1616
jobs:
1717
build:
1818
runs-on: ubuntu-22.04
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1921
timeout-minutes: 60
2022
strategy:
2123
matrix:
2224
go-version:
2325
- 1.23.x
2426
- 1.24.x
2527
coherence-version:
26-
- 24.09.3
2728
- 25.03
28-
- 25.03.1-SNAPSHOT
29+
- 25.03.1
30+
- 25.03.2-SNAPSHOT
2931

3032
# Checkout the source, we need a depth of zero to fetch all of the history otherwise
3133
# the copyright check cannot work out the date of the files from Git.

.github/workflows/build.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
jobs:
1717
build:
1818
runs-on: ubuntu-24.04
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1921
timeout-minutes: 60
2022
strategy:
2123
matrix:
@@ -66,7 +68,7 @@ jobs:
6668
shell: bash
6769
run: |
6870
go get google.golang.org/grpc/cmd/[email protected]
69-
INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax COHERENCE_VERSION=22.06.11 make clean generate-proto build-test-images test-e2e-standalone
71+
INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax COHERENCE_VERSION=22.06.12 make clean generate-proto build-test-images test-e2e-standalone
7072
7173
- name: Profile Near Cache
7274
shell: bash
@@ -83,7 +85,7 @@ jobs:
8385
shell: bash
8486
run: |
8587
go get google.golang.org/grpc/cmd/[email protected]
86-
COHERENCE_VERSION=22.06.11 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope
88+
SKIP_PROTO_GENERATION=true COHERENCE_VERSION=22.06.11 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope
8789
8890
- uses: actions/upload-artifact@v4
8991
if: failure()
@@ -94,7 +96,7 @@ jobs:
9496
- name: E2E Local Tests SSL (env)
9597
shell: bash
9698
run: |
97-
SECURE=env COHERENCE_IGNORE_INVALID_CERTS=true \
99+
SKIP_PROTO_GENERATION=true SECURE=env COHERENCE_IGNORE_INVALID_CERTS=true \
98100
COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \
99101
COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \
100102
COHERENCE_TLS_CLIENT_KEY=`pwd`/test/utils/certs/star-lord.key \
@@ -103,7 +105,7 @@ jobs:
103105
- name: E2E Local Tests SSL (options)
104106
shell: bash
105107
run: |
106-
SECURE=options COHERENCE_IGNORE_INVALID_CERTS_OPTION=true \
108+
SKIP_PROTO_GENERATION=true SECURE=options COHERENCE_IGNORE_INVALID_CERTS_OPTION=true \
107109
COHERENCE_TLS_CERTS_PATH_OPTION=`pwd`/test/utils/certs/guardians-ca.crt \
108110
COHERENCE_TLS_CLIENT_CERT_OPTION=`pwd`/test/utils/certs/star-lord.crt \
109111
COHERENCE_TLS_CLIENT_KEY_OPTION=`pwd`/test/utils/certs/star-lord.key \
@@ -112,7 +114,7 @@ jobs:
112114
- name: E2E Local Tests SSL (tlsConfig)
113115
shell: bash
114116
run: |
115-
SECURE=tlsConfig COHERENCE_IGNORE_INVALID_CERTS_OPTION=true \
117+
SKIP_PROTO_GENERATION=true SECURE=tlsConfig COHERENCE_IGNORE_INVALID_CERTS_OPTION=true \
116118
COHERENCE_TLS_CERTS_PATH_OPTION=`pwd`/test/utils/certs/guardians-ca.crt \
117119
COHERENCE_TLS_CLIENT_CERT_OPTION=`pwd`/test/utils/certs/star-lord.crt \
118120
COHERENCE_TLS_CLIENT_KEY_OPTION=`pwd`/test/utils/certs/star-lord.key \

0 commit comments

Comments
 (0)