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

refactor(discovery-client): add new mDNS browser wrapper #6154

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

mcous
Copy link
Contributor

@mcous mcous commented Jul 16, 2020

Overview

This PR adds a new mDNS browser wrapper to the Discovery Client to create a unified facade around the mDNS browser provided by mdns-js. Mostly, this PR serves to move setup and teardown logic that currently exists in the DiscoveryClient class and put it into a testable module that can be started and stopped like the HealthPoller

Blocked by #6153 and will require rebase

Changelog

  • refactor(discovery-client): add new mDNS browser wrapper

Review requests

This is the last PR before the PR that actually wires things up and can be tested on actual robots. For now, without the wireup:

  • Code and tests make sense

Risk assessment

N/A

@mcous mcous added ready for review robot-svcs Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience). discovery-client labels Jul 16, 2020
@mcous mcous requested review from a team as code owners July 16, 2020 19:19
@mcous mcous requested review from amitlissack, sanni-t and b-cooper and removed request for a team July 16, 2020 19:19
@mcous mcous force-pushed the dc_refactor-initialize-state branch from b851ab8 to 8d3c8ea Compare July 20, 2020 18:19
@mcous mcous requested a review from a team as a code owner July 20, 2020 18:19
@mcous mcous force-pushed the dc_refactor-mdns-wrapper branch from 9ad39d0 to d0204e5 Compare July 20, 2020 18:21
Base automatically changed from dc_refactor-initialize-state to edge July 21, 2020 16:37
@mcous mcous force-pushed the dc_refactor-mdns-wrapper branch from d0204e5 to 396b99d Compare July 21, 2020 16:38
@mcous mcous merged commit da5f8b9 into edge Jul 21, 2020
@mcous mcous deleted the dc_refactor-mdns-wrapper branch July 21, 2020 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discovery-client robot-svcs Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants