Skip to content

Alpha#559

Merged
jwulf merged 7 commits into
mainfrom
alpha
Jul 25, 2025
Merged

Alpha#559
jwulf merged 7 commits into
mainfrom
alpha

Conversation

@jwulf

@jwulf jwulf commented Jul 25, 2025

Copy link
Copy Markdown
Member

Description of the change

This PR introduces protocol-based configuration for ZEEBE_GRPC_ADDRESS with explicit TLS handling, moving away from legacy configuration patterns. The changes enhance the SDK to support grpc:// and grpcs:// protocols for clearer connection configuration.

Key Changes

  • Enhanced ZEEBE_GRPC_ADDRESS to support protocol-based configuration (grpc:// for insecure, grpcs:// for secure connections)
  • Added comprehensive validation and warning system for deprecated configuration options
  • Updated test suite and documentation to use the new protocol-based addressing

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • I have read the CONTRIBUTING doc
  • I have opened this pull request against the alpha branch
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@jwulf jwulf requested a review from Copilot July 25, 2025 02:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces protocol-based configuration for ZEEBE_GRPC_ADDRESS with explicit TLS handling, moving away from legacy configuration patterns. The changes enhance the SDK to support grpc:// and grpcs:// protocols for clearer connection configuration.

Key Changes

  • Enhanced ZEEBE_GRPC_ADDRESS to support protocol-based configuration (grpc:// for insecure, grpcs:// for secure connections)
  • Added comprehensive validation and warning system for deprecated configuration options
  • Updated test suite and documentation to use the new protocol-based addressing

Reviewed Changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/lib/ZeebeGrpcAddressUtils.ts New utility module for parsing and validating ZEEBE_GRPC_ADDRESS with protocol support
src/zeebe/zb/ZeebeGrpcClient.ts Updated client to handle protocol-based TLS configuration from ZEEBE_GRPC_ADDRESS
src/lib/Configuration.ts Enhanced configuration merging with validation, warnings, and default handling
src/c8/lib/CamundaRestClient.ts Updated JSDoc comment to remove alpha status notation
src/c8/lib/C8Dto.ts Added documentation comments for ProcessDeployment fields
Multiple test files Updated tests to use new ZEEBE_GRPC_ADDRESS format and improved test reliability
README.md Updated documentation examples to use protocol-based addressing
GitHub workflows Updated CI configuration to use new addressing format
Comments suppressed due to low confidence (1)

src/tests/c8/rest/refreshBearerToken.unit.spec.ts:41

  • [nitpick] The parameter name 'call' is generic and could be more descriptive. Consider renaming to 'grpcCall' or 'request' to better indicate its purpose.
				Topology: (call, callback) => {

Comment thread src/zeebe/zb/ZeebeGrpcClient.ts
Comment thread src/lib/ZeebeGrpcAddressUtils.ts
Comment thread src/lib/ZeebeGrpcAddressUtils.ts
Comment thread src/lib/ZeebeGrpcAddressUtils.ts
Signed-off-by: Josh Wulf <josh.wulf@camunda.com>
@jwulf jwulf merged commit 54afe92 into main Jul 25, 2025
7 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants