mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-10 02:02:37 -05:00
Integrate generate script with task service (#426)
* Support generate script for backup * change * update task service data contract for Generate Script * more changes * update test * add comments * Add missing files * update stub backup operation for testing * pr comments * remove empty space * Fix tests * Add unit/integration tests and isCancelable to TaskInfo * address pr comments * pr comments - fix tests * fix minor issue * fix minor issues * remove unused variable
This commit is contained in:
@@ -3277,27 +3277,27 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string Backup_TaskName
|
||||
public static string BackupTaskName
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.Backup_TaskName);
|
||||
return Keys.GetString(Keys.BackupTaskName);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Task_InProgress
|
||||
public static string TaskInProgress
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.Task_InProgress);
|
||||
return Keys.GetString(Keys.TaskInProgress);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Task_Completed
|
||||
public static string TaskCompleted
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.Task_Completed);
|
||||
return Keys.GetString(Keys.TaskCompleted);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3485,6 +3485,14 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string ScriptTaskName
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.ScriptTaskName);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ConnectionServiceListDbErrorNotConnected(string uri)
|
||||
{
|
||||
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
|
||||
@@ -4823,13 +4831,13 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string prototype_file_noApplicableFileGroup = "prototype_file_noApplicableFileGroup";
|
||||
|
||||
|
||||
public const string Backup_TaskName = "Backup_TaskName";
|
||||
public const string BackupTaskName = "BackupTaskName";
|
||||
|
||||
|
||||
public const string Task_InProgress = "Task_InProgress";
|
||||
public const string TaskInProgress = "TaskInProgress";
|
||||
|
||||
|
||||
public const string Task_Completed = "Task_Completed";
|
||||
public const string TaskCompleted = "TaskCompleted";
|
||||
|
||||
|
||||
public const string ConflictWithNoRecovery = "ConflictWithNoRecovery";
|
||||
@@ -4901,6 +4909,9 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string TheLastBackupTaken = "TheLastBackupTaken";
|
||||
|
||||
|
||||
public const string ScriptTaskName = "ScriptTaskName";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user