Skip to content
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

feat(microservices): add local domain transporter #13794

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

patrykbojczuk
Copy link

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Currently there is no unix socket/named pipe microservice transporter.

What is the new behavior?

This adds new microservice transporter using named pipes on Windows or unix sockets for other operating systems.
This uses node's net module and is copy of TCP transporter changed to support local domain (i.e. unix sockets/named pipes) transport instead of host and port.

Does this PR introduce a breaking change?

  • Yes
  • No

@coveralls
Copy link

Pull Request Test Coverage Report for Build ce27e432-215c-4f79-97ce-9505a67d0c2d

Details

  • 186 of 202 (92.08%) changed or added relevant lines in 13 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.004%) to 92.204%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/microservices/helpers/local-domain-socket.ts 29 32 90.63%
packages/microservices/server/server-local-domain.ts 47 52 90.38%
packages/microservices/client/client-local-domain.ts 54 62 87.1%
Totals Coverage Status
Change from base Build d60c66a1-ca4c-4b6a-b0cc-2fd524f244cf: -0.004%
Covered Lines: 6931
Relevant Lines: 7517

💛 - Coveralls

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.

None yet

2 participants