Introduce a new entry in the gRPC channel resolution priority order so a
single override can target all versions of a workflow:
1. namespace:name:version:taskName - task-level override
2. namespace:name:version - workflow-level override
3. namespace:name - versionless override (NEW)
4. workflow ID as client name
5. default channel
6. SDK fallback
Refactor resolveClientName into a pure, testable static method (the
channel-existence check is injected as a Predicate) and add unit tests
covering the full priority order.
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
Description
This pull request aims to add a versionless gRPC channel resolution override: It allows to define a gRPC channel to be used by all version of a workflow.
Fixes #691
Changes
ClientOverridetoClientOverrideConfigto follow the current codebase standardTesting
Test Plan
Manual Testing
Checklist
Before submitting this PR, please ensure:
./mvnw clean install -DskipITs=falseAdditional Notes