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: dynamic routing mvp #619

Merged
merged 4 commits into from
Dec 16, 2024
Merged

feat: dynamic routing mvp #619

merged 4 commits into from
Dec 16, 2024

Conversation

adamspofford-dfinity
Copy link
Contributor

This PR sets the final interface of the dynamic routing feature as a wrapper around the draft implementation, since work on the final implementation has stalled. The draft implementation may or may not be replaced in the future.

@adamspofford-dfinity adamspofford-dfinity marked this pull request as ready for review December 13, 2024 13:44
@adamspofford-dfinity adamspofford-dfinity requested a review from a team as a code owner December 13, 2024 13:44
};
use url::Url;

use crate::agent::AgentError;

use super::HttpService;
#[cfg(not(feature = "_internal_dynamic-routing"))]
pub(crate) mod dynamic_routing;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we make this pub? Otherwise DynamicRouteProviderBuilder can't be used to create a custom route_provider for the .with_arc_route_provider(). For the ic-gateway we should be able to do it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is pub if you enable _internal_dynamic-routing, for internal use-cases like ic-gateway.

Copy link
Contributor

@nikolay-komarevskiy nikolay-komarevskiy left a comment

Choose a reason for hiding this comment

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

LGTM

@adamspofford-dfinity adamspofford-dfinity merged commit f76fecf into main Dec 16, 2024
25 checks passed
@adamspofford-dfinity adamspofford-dfinity deleted the spofford/route-mvp branch December 16, 2024 12:53
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.

3 participants