copy profile to another server1
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user