mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-08 01:28:29 -05:00
Drop job step and Create\Update alert handlers (#636)
* Add Delete Job Step implementation * Update create\update agent alert handlers to use execution handler * Cleanup create/update/delete operator request handlers
This commit is contained in:
@@ -4349,6 +4349,78 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string AlertNameCannotBeBlank
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.AlertNameCannotBeBlank);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CannotCreateNewAlert
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CannotCreateNewAlert);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CannotAlterAlert
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CannotAlterAlert);
|
||||
}
|
||||
}
|
||||
|
||||
public static string InvalidScheduleTitle
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.InvalidScheduleTitle);
|
||||
}
|
||||
}
|
||||
|
||||
public static string InvalidWeeklySchedule
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.InvalidWeeklySchedule);
|
||||
}
|
||||
}
|
||||
|
||||
public static string StartDateGreaterThanEndDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.StartDateGreaterThanEndDate);
|
||||
}
|
||||
}
|
||||
|
||||
public static string StartTimeGreaterThanEndTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.StartTimeGreaterThanEndTime);
|
||||
}
|
||||
}
|
||||
|
||||
public static string EndTimeEqualToStartTime
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EndTimeEqualToStartTime);
|
||||
}
|
||||
}
|
||||
|
||||
public static string InvalidStartDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.InvalidStartDate);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ConnectionServiceListDbErrorNotConnected(string uri)
|
||||
{
|
||||
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
|
||||
@@ -4594,6 +4666,11 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
return Keys.GetString(Keys.JobStepNameAlreadyExists, jobName);
|
||||
}
|
||||
|
||||
public static string ScheduleNameAlreadyExists(string scheduleName)
|
||||
{
|
||||
return Keys.GetString(Keys.ScheduleNameAlreadyExists, scheduleName);
|
||||
}
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Keys
|
||||
{
|
||||
@@ -6369,6 +6446,36 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string JobStepNameAlreadyExists = "JobStepNameAlreadyExists";
|
||||
|
||||
|
||||
public const string AlertNameCannotBeBlank = "AlertNameCannotBeBlank";
|
||||
|
||||
|
||||
public const string CannotCreateNewAlert = "CannotCreateNewAlert";
|
||||
|
||||
|
||||
public const string CannotAlterAlert = "CannotAlterAlert";
|
||||
|
||||
|
||||
public const string InvalidScheduleTitle = "InvalidScheduleTitle";
|
||||
|
||||
|
||||
public const string InvalidWeeklySchedule = "InvalidWeeklySchedule";
|
||||
|
||||
|
||||
public const string StartDateGreaterThanEndDate = "StartDateGreaterThanEndDate";
|
||||
|
||||
|
||||
public const string StartTimeGreaterThanEndTime = "StartTimeGreaterThanEndTime";
|
||||
|
||||
|
||||
public const string EndTimeEqualToStartTime = "EndTimeEqualToStartTime";
|
||||
|
||||
|
||||
public const string InvalidStartDate = "InvalidStartDate";
|
||||
|
||||
|
||||
public const string ScheduleNameAlreadyExists = "ScheduleNameAlreadyExists";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
@@ -2522,4 +2522,45 @@
|
||||
<comment>.
|
||||
Parameters: 0 - jobName (string) </comment>
|
||||
</data>
|
||||
<data name="AlertNameCannotBeBlank" xml:space="preserve">
|
||||
<value>The name of the alert cannot be blank.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CannotCreateNewAlert" xml:space="preserve">
|
||||
<value>Cannot create new alert.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CannotAlterAlert" xml:space="preserve">
|
||||
<value>Cannot alter alert.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="InvalidScheduleTitle" xml:space="preserve">
|
||||
<value>Invalid Schedule</value>
|
||||
<comment> Schedule error message</comment>
|
||||
</data>
|
||||
<data name="InvalidWeeklySchedule" xml:space="preserve">
|
||||
<value>Select at least one day to be part of this weekly schedule.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="StartDateGreaterThanEndDate" xml:space="preserve">
|
||||
<value>The job schedule starting date cannot be greater than the ending date.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="StartTimeGreaterThanEndTime" xml:space="preserve">
|
||||
<value>The job schedule starting time cannot be after the ending time.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="EndTimeEqualToStartTime" xml:space="preserve">
|
||||
<value>The job schedule ending time must be after the starting time.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="InvalidStartDate" xml:space="preserve">
|
||||
<value>Start date must be on or after January 1, 1990.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="ScheduleNameAlreadyExists" xml:space="preserve">
|
||||
<value>There is already a schedule named '{0}' for this job. You must specify a different name.</value>
|
||||
<comment>.
|
||||
Parameters: 0 - scheduleName (string) </comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -888,18 +888,6 @@ InvalidPathError = Cannot access the specified path on the server: {0}
|
||||
# Profiler
|
||||
ProfilerConnectionNotFound = Connection not found
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#############################################################################
|
||||
# SQL Agent
|
||||
EnableAlertsTitle(String serverName) = Enable Alerts - {0}
|
||||
@@ -1016,8 +1004,6 @@ CannotCreateInitializeHistoryPage = Cannot create/initialize History page.
|
||||
; Exception throw when dialog cannot refresh operator
|
||||
CannotResetOperator = Cannot reset operator.
|
||||
|
||||
|
||||
#
|
||||
; Name of label on notifications page
|
||||
AlertList = Alert list:
|
||||
; Name of label on notifications page
|
||||
@@ -1043,7 +1029,6 @@ CannotModifyAlerts = Cannot modify alerts.
|
||||
; Exception thrown when we cannot create script that modify alerts
|
||||
CannotCreateScriptForModifyAlerts = Cannot create script for modify alerts.
|
||||
|
||||
|
||||
;job categories
|
||||
CategoryLocal = [Uncategorized (Local)]
|
||||
CategoryFromMsx = Jobs from MSX
|
||||
@@ -1069,4 +1054,16 @@ CategoryDataCollector = Data Collector
|
||||
|
||||
JobAlreadyExists(string jobName) = A job named '{0}' already exists. Enter a unique name for the job.
|
||||
JobStepNameCannotBeBlank = The name of the job step cannot be blank.
|
||||
JobStepNameAlreadyExists(string jobName) = There is already a step named '{0}' for this job. You must specify a different name.
|
||||
JobStepNameAlreadyExists(string jobName) = There is already a step named '{0}' for this job. You must specify a different name.
|
||||
AlertNameCannotBeBlank = The name of the alert cannot be blank.
|
||||
CannotCreateNewAlert = Cannot create new alert.
|
||||
CannotAlterAlert = Cannot alter alert.
|
||||
|
||||
; Schedule error message
|
||||
InvalidScheduleTitle = Invalid Schedule
|
||||
InvalidWeeklySchedule = Select at least one day to be part of this weekly schedule.
|
||||
StartDateGreaterThanEndDate = The job schedule starting date cannot be greater than the ending date.
|
||||
StartTimeGreaterThanEndTime = The job schedule starting time cannot be after the ending time.
|
||||
EndTimeEqualToStartTime = The job schedule ending time must be after the starting time.
|
||||
InvalidStartDate = Start date must be on or after January 1, 1990.
|
||||
ScheduleNameAlreadyExists(string scheduleName)=There is already a schedule named '{0}' for this job. You must specify a different name.
|
||||
@@ -2995,6 +2995,57 @@
|
||||
<note>.
|
||||
Parameters: 0 - jobName (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="AlertNameCannotBeBlank">
|
||||
<source>The name of the alert cannot be blank.</source>
|
||||
<target state="new">The name of the alert cannot be blank.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CannotCreateNewAlert">
|
||||
<source>Cannot create new alert.</source>
|
||||
<target state="new">Cannot create new alert.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CannotAlterAlert">
|
||||
<source>Cannot alter alert.</source>
|
||||
<target state="new">Cannot alter alert.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidScheduleTitle">
|
||||
<source>Invalid Schedule</source>
|
||||
<target state="new">Invalid Schedule</target>
|
||||
<note> Schedule error message</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidWeeklySchedule">
|
||||
<source>Select at least one day to be part of this weekly schedule.</source>
|
||||
<target state="new">Select at least one day to be part of this weekly schedule.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="StartDateGreaterThanEndDate">
|
||||
<source>The job schedule starting date cannot be greater than the ending date.</source>
|
||||
<target state="new">The job schedule starting date cannot be greater than the ending date.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="StartTimeGreaterThanEndTime">
|
||||
<source>The job schedule starting time cannot be after the ending time.</source>
|
||||
<target state="new">The job schedule starting time cannot be after the ending time.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="EndTimeEqualToStartTime">
|
||||
<source>The job schedule ending time must be after the starting time.</source>
|
||||
<target state="new">The job schedule ending time must be after the starting time.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="InvalidStartDate">
|
||||
<source>Start date must be on or after January 1, 1990.</source>
|
||||
<target state="new">Start date must be on or after January 1, 1990.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ScheduleNameAlreadyExists">
|
||||
<source>There is already a schedule named '{0}' for this job. You must specify a different name.</source>
|
||||
<target state="new">There is already a schedule named '{0}' for this job. You must specify a different name.</target>
|
||||
<note>.
|
||||
Parameters: 0 - scheduleName (string) </note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user