copy profile to another server1

This commit is contained in:
Priec
2026-09-03 19:21:54 +02:00
parent cfb3bde02e
commit 05c387406c
7 changed files with 454 additions and 2 deletions

View File

@@ -1335,6 +1335,33 @@ impl GrpcClient {
.into_inner())
}
pub async fn export_profile_blueprint(
&mut self,
request: common::proto::komp_ac::table_definition::ExportProfileBlueprintRequest,
) -> Result<common::proto::komp_ac::table_definition::ExportProfileBlueprintResponse> {
let request = self.authenticated_request(request)?;
Ok(self.table_definition_client.export_profile_blueprint(request).await
.context("gRPC ExportProfileBlueprint call failed")?.into_inner())
}
pub async fn plan_profile_blueprint_import(
&mut self,
request: common::proto::komp_ac::table_definition::PlanProfileBlueprintImportRequest,
) -> Result<common::proto::komp_ac::table_definition::PlanProfileBlueprintImportResponse> {
let request = self.authenticated_request(request)?;
Ok(self.table_definition_client.plan_profile_blueprint_import(request).await
.context("gRPC PlanProfileBlueprintImport call failed")?.into_inner())
}
pub async fn import_profile_blueprint(
&mut self,
request: common::proto::komp_ac::table_definition::ImportProfileBlueprintRequest,
) -> Result<common::proto::komp_ac::table_definition::ImportProfileBlueprintResponse> {
let request = self.authenticated_request(request)?;
Ok(self.table_definition_client.import_profile_blueprint(request).await
.context("gRPC ImportProfileBlueprint call failed")?.into_inner())
}
pub async fn get_alias_change_history(
&mut self,
request: common::proto::komp_ac::table_definition::GetAliasChangeHistoryRequest,