mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
updates backup and restore to have their own prefix, not use diasasterrecovery (#573)
This commit is contained in:
@@ -22,6 +22,6 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
|
||||
{
|
||||
public static readonly
|
||||
RequestType<DefaultDatabaseInfoParams, BackupConfigInfoResponse> Type =
|
||||
RequestType<DefaultDatabaseInfoParams, BackupConfigInfoResponse>.Create("disasterrecovery/backupconfiginfo");
|
||||
RequestType<DefaultDatabaseInfoParams, BackupConfigInfoResponse>.Create("backup/backupconfiginfo");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,6 +47,6 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
|
||||
{
|
||||
public static readonly
|
||||
RequestType<BackupParams, BackupResponse> Type =
|
||||
RequestType<BackupParams, BackupResponse>.Create("disasterrecovery/backup");
|
||||
RequestType<BackupParams, BackupResponse>.Create("backup/backup");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,6 +38,6 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
|
||||
{
|
||||
public static readonly
|
||||
RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse> Type =
|
||||
RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse>.Create("disasterrecovery/restoreconfiginfo");
|
||||
RequestType<RestoreConfigInfoRequestParams, RestoreConfigInfoResponse>.Create("restore/restoreconfiginfo");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,13 +85,13 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
|
||||
{
|
||||
public static readonly
|
||||
RequestType<RestoreParams, RestorePlanResponse> Type =
|
||||
RequestType<RestoreParams, RestorePlanResponse>.Create("disasterrecovery/restoreplan");
|
||||
RequestType<RestoreParams, RestorePlanResponse>.Create("restore/restoreplan");
|
||||
}
|
||||
|
||||
public class CancelRestorePlanRequest
|
||||
{
|
||||
public static readonly
|
||||
RequestType<RestoreParams, bool> Type =
|
||||
RequestType<RestoreParams, bool>.Create("disasterrecovery/cancelrestoreplan");
|
||||
RequestType<RestoreParams, bool>.Create("restore/cancelrestoreplan");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Microsoft.SqlTools.ServiceLayer.DisasterRecovery.Contracts
|
||||
{
|
||||
public static readonly
|
||||
RequestType<RestoreParams, RestoreResponse> Type =
|
||||
RequestType<RestoreParams, RestoreResponse>.Create("disasterrecovery/restore");
|
||||
RequestType<RestoreParams, RestoreResponse>.Create("restore/restore");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user