updates backup and restore to have their own prefix, not use diasasterrecovery (#573)

This commit is contained in:
Anthony Dresser
2018-01-16 14:03:35 -08:00
committed by GitHub
parent b7cffa3194
commit 7b1a88f842
5 changed files with 6 additions and 6 deletions

View File

@@ -22,6 +22,6 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
{ {
public static readonly public static readonly
RequestType<DefaultDatabaseInfoParams, BackupConfigInfoResponse> Type = RequestType<DefaultDatabaseInfoParams, BackupConfigInfoResponse> Type =
RequestType<DefaultDatabaseInfoParams, BackupConfigInfoResponse>.Create("disasterrecovery/backupconfiginfo"); RequestType<DefaultDatabaseInfoParams, BackupConfigInfoResponse>.Create("backup/backupconfiginfo");
} }
} }

View File

@@ -47,6 +47,6 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
{ {
public static readonly public static readonly
RequestType<BackupParams, BackupResponse> Type = RequestType<BackupParams, BackupResponse> Type =
RequestType<BackupParams, BackupResponse>.Create("disasterrecovery/backup"); RequestType<BackupParams, BackupResponse>.Create("backup/backup");
} }
} }

View File

@@ -38,6 +38,6 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
{ {
public static readonly public static readonly
RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse> Type = RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse> Type =
RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse>.Create("disasterrecovery/restoreconfiginfo"); RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse>.Create("restore/restoreconfiginfo");
} }
} }

View File

@@ -85,13 +85,13 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
{ {
public static readonly public static readonly
RequestType<RestoreParams, RestorePlanResponse> Type = RequestType<RestoreParams, RestorePlanResponse> Type =
RequestType<RestoreParams, RestorePlanResponse>.Create("disasterrecovery/restoreplan"); RequestType<RestoreParams, RestorePlanResponse>.Create("restore/restoreplan");
} }
public class CancelRestorePlanRequest public class CancelRestorePlanRequest
{ {
public static readonly public static readonly
RequestType<RestoreParams, bool> Type = RequestType<RestoreParams, bool> Type =
RequestType<RestoreParams, bool>.Create("disasterrecovery/cancelrestoreplan"); RequestType<RestoreParams, bool>.Create("restore/cancelrestoreplan");
} }
} }

View File

@@ -35,7 +35,7 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
{ {
public static readonly public static readonly
RequestType<RestoreParams, RestoreResponse> Type = RequestType<RestoreParams, RestoreResponse> Type =
RequestType<RestoreParams, RestoreResponse>.Create("disasterrecovery/restore"); RequestType<RestoreParams, RestoreResponse>.Create("restore/restore");
} }