-
Notifications
You must be signed in to change notification settings - Fork 80
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
Conversation
}; | ||
use url::Url; | ||
|
||
use crate::agent::AgentError; | ||
|
||
use super::HttpService; | ||
#[cfg(not(feature = "_internal_dynamic-routing"))] | ||
pub(crate) mod dynamic_routing; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
.
ic-agent/src/agent/route_provider/dynamic_routing/dynamic_route_provider.rs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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.