Skip to content

Commit 1434d9d

Browse files
Rebase
1 parent 80e309b commit 1434d9d

File tree

1 file changed

+8
-8
lines changed
  • crates/admin/src/schema_registry

1 file changed

+8
-8
lines changed

crates/admin/src/schema_registry/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@
88
// the Business Source License, use of this software will be governed
99
// by the Apache License, Version 2.0.
1010

11+
use std::borrow::Borrow;
1112
use std::collections::HashMap;
1213
use std::ops::Deref;
1314
use std::sync::Arc;
1415

15-
use http::Uri;
16+
use anyhow::Context;
17+
use http::{HeaderMap, HeaderValue, Uri, uri::PathAndQuery};
1618
use tracing::subscriber::NoSubscriber;
1719
use tracing::trace;
1820

19-
use restate_core::{Metadata, MetadataWriter, ShutdownError};
21+
use restate_core::{Metadata, MetadataWriter, ShutdownError, TaskCenter, TaskKind};
2022
use restate_metadata_store::ReadModifyWriteError;
23+
use restate_service_client::HttpClient;
2124
use restate_service_protocol::discovery::{DiscoverEndpoint, DiscoveredEndpoint, ServiceDiscovery};
2225
use restate_types::identifiers::{DeploymentId, ServiceRevision, SubscriptionId};
2326
use restate_types::schema::deployment::{
@@ -27,6 +30,7 @@ use restate_types::schema::service::{HandlerMetadata, ServiceMetadata, ServiceMe
2730
use restate_types::schema::subscriptions::{
2831
ListSubscriptionFilter, Subscription, SubscriptionResolver, SubscriptionValidator,
2932
};
33+
use restate_types::schema::updater::ServiceError;
3034
use restate_types::schema::{Schema, updater};
3135

3236
#[derive(Debug, thiserror::Error, codederror::CodedError)]
@@ -505,14 +509,10 @@ impl AsRef<str> for ServiceName {
505509
}
506510
}
507511

508-
impl ServiceName {
509-
fn into_inner(self) -> String {
510-
self.0
511-
}
512-
}
513-
514512
impl Borrow<String> for ServiceName {
515513
fn borrow(&self) -> &String {
516514
&self.0
517515
}
518516
}
517+
518+
static TELEMETRY_URI_PREFIX: &str = "https://restate.gateway.scarf.sh/sdk-registration/";

0 commit comments

Comments
 (0)