dapr / js-sdk

Dapr SDK for Javascript
Apache License 2.0
194 stars 82 forks source link

Grpc endpoint parsing #543

Closed elena-kolevska closed 9 months ago

elena-kolevska commented 10 months ago

Description

This PR updates the js-sdk so it satisfies the requirements for gRPC endpoint parsing added in https://github.com/dapr/proposals/pull/40.

It also adds support for all URIs that the gRPC name resolution document defines, including DNS links with authority, unix paths with absolute and relative sockets, unix-abstract and virtual sockets.

Backwards compatibility has been maintained for endpoints where tls was inferred based on the scheme https.

Issue reference

https://github.com/dapr/js-sdk/issues/542

Checklist

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (66d4bd0) 100.00% compared to head (1befe91) 100.00%. Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #543 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 1 1 Lines 6 6 Branches 1 1 ========================================= Hits 6 6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dapr-bot commented 9 months ago

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

elena-kolevska commented 9 months ago

Revival ping