mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 02:48:36 -05:00
Agent configuration support classes (WIP) (#632)
* Additional SQL Agent config classes (WIP) * Fix build breaks * Clean up job step code * Add VS Code build files * Move changes to other machine * More of the action execution classes * More execution processing refactors * More refactoring * Disable tests for WIP merge * Fix break on Release config * Stage changes to other machine.
This commit is contained in:
@@ -4173,6 +4173,174 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryLocal
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryLocal);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryFromMsx
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryFromMsx);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryMultiServer
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryMultiServer);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryDBMaint
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryDBMaint);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryWebAssistant
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryWebAssistant);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryFullText
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryFullText);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplDistribution
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplDistribution);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplDistributionCleanup
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplDistributionCleanup);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplHistoryCleanup
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplHistoryCleanup);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplLogReader
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplLogReader);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplMerge
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplMerge);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplSnapShot
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplSnapShot);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplCheckup
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplCheckup);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplCleanup
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplCleanup);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplAlert
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplAlert);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplQReader
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplQReader);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryReplication
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryReplication);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryUncategorized
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryUncategorized);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryLogShipping
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryLogShipping);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryDBEngineTuningAdvisor
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryDBEngineTuningAdvisor);
|
||||
}
|
||||
}
|
||||
|
||||
public static string CategoryDataCollector
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.CategoryDataCollector);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ConnectionServiceListDbErrorNotConnected(string uri)
|
||||
{
|
||||
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
|
||||
@@ -6111,6 +6279,69 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string CannotCreateScriptForModifyAlerts = "CannotCreateScriptForModifyAlerts";
|
||||
|
||||
|
||||
public const string CategoryLocal = "CategoryLocal";
|
||||
|
||||
|
||||
public const string CategoryFromMsx = "CategoryFromMsx";
|
||||
|
||||
|
||||
public const string CategoryMultiServer = "CategoryMultiServer";
|
||||
|
||||
|
||||
public const string CategoryDBMaint = "CategoryDBMaint";
|
||||
|
||||
|
||||
public const string CategoryWebAssistant = "CategoryWebAssistant";
|
||||
|
||||
|
||||
public const string CategoryFullText = "CategoryFullText";
|
||||
|
||||
|
||||
public const string CategoryReplDistribution = "CategoryReplDistribution";
|
||||
|
||||
|
||||
public const string CategoryReplDistributionCleanup = "CategoryReplDistributionCleanup";
|
||||
|
||||
|
||||
public const string CategoryReplHistoryCleanup = "CategoryReplHistoryCleanup";
|
||||
|
||||
|
||||
public const string CategoryReplLogReader = "CategoryReplLogReader";
|
||||
|
||||
|
||||
public const string CategoryReplMerge = "CategoryReplMerge";
|
||||
|
||||
|
||||
public const string CategoryReplSnapShot = "CategoryReplSnapShot";
|
||||
|
||||
|
||||
public const string CategoryReplCheckup = "CategoryReplCheckup";
|
||||
|
||||
|
||||
public const string CategoryReplCleanup = "CategoryReplCleanup";
|
||||
|
||||
|
||||
public const string CategoryReplAlert = "CategoryReplAlert";
|
||||
|
||||
|
||||
public const string CategoryReplQReader = "CategoryReplQReader";
|
||||
|
||||
|
||||
public const string CategoryReplication = "CategoryReplication";
|
||||
|
||||
|
||||
public const string CategoryUncategorized = "CategoryUncategorized";
|
||||
|
||||
|
||||
public const string CategoryLogShipping = "CategoryLogShipping";
|
||||
|
||||
|
||||
public const string CategoryDBEngineTuningAdvisor = "CategoryDBEngineTuningAdvisor";
|
||||
|
||||
|
||||
public const string CategoryDataCollector = "CategoryDataCollector";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
@@ -2424,4 +2424,88 @@
|
||||
<value>Cannot create script for modify alerts.</value>
|
||||
<comment> Exception thrown when we cannot create script that modify alerts</comment>
|
||||
</data>
|
||||
<data name="CategoryLocal" xml:space="preserve">
|
||||
<value>[Uncategorized (Local)]</value>
|
||||
<comment>job categories</comment>
|
||||
</data>
|
||||
<data name="CategoryFromMsx" xml:space="preserve">
|
||||
<value>Jobs from MSX</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryMultiServer" xml:space="preserve">
|
||||
<value>[Uncategorized (Multi-Server)]</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryDBMaint" xml:space="preserve">
|
||||
<value>Database Maintenance</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryWebAssistant" xml:space="preserve">
|
||||
<value>Web Assistant</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryFullText" xml:space="preserve">
|
||||
<value>Full-Text</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplDistribution" xml:space="preserve">
|
||||
<value>REPL-Distribution</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplDistributionCleanup" xml:space="preserve">
|
||||
<value>REPL-Distribution Cleanup</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplHistoryCleanup" xml:space="preserve">
|
||||
<value>REPL-History Cleanup</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplLogReader" xml:space="preserve">
|
||||
<value>REPL-LogReader</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplMerge" xml:space="preserve">
|
||||
<value>REPL-Merge</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplSnapShot" xml:space="preserve">
|
||||
<value>REPL-Snapshot</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplCheckup" xml:space="preserve">
|
||||
<value>REPL-Checkup</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplCleanup" xml:space="preserve">
|
||||
<value>REPL-Subscription Cleanup</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplAlert" xml:space="preserve">
|
||||
<value>REPL-Alert Response</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplQReader" xml:space="preserve">
|
||||
<value>REPL-QueueReader</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryReplication" xml:space="preserve">
|
||||
<value>Replication</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryUncategorized" xml:space="preserve">
|
||||
<value>[Uncategorized]</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryLogShipping" xml:space="preserve">
|
||||
<value>Log Shipping</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryDBEngineTuningAdvisor" xml:space="preserve">
|
||||
<value>Database Engine Tuning Advisor</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="CategoryDataCollector" xml:space="preserve">
|
||||
<value>Data Collector</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -1042,3 +1042,29 @@ OnSuccess = On success
|
||||
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
|
||||
CategoryMultiServer = [Uncategorized (Multi-Server)]
|
||||
CategoryDBMaint = Database Maintenance
|
||||
CategoryWebAssistant = Web Assistant
|
||||
CategoryFullText = Full-Text
|
||||
CategoryReplDistribution = REPL-Distribution
|
||||
CategoryReplDistributionCleanup = REPL-Distribution Cleanup
|
||||
CategoryReplHistoryCleanup = REPL-History Cleanup
|
||||
CategoryReplLogReader = REPL-LogReader
|
||||
CategoryReplMerge = REPL-Merge
|
||||
CategoryReplSnapShot = REPL-Snapshot
|
||||
CategoryReplCheckup = REPL-Checkup
|
||||
CategoryReplCleanup = REPL-Subscription Cleanup
|
||||
CategoryReplAlert = REPL-Alert Response
|
||||
CategoryReplQReader = REPL-QueueReader
|
||||
CategoryReplication = Replication
|
||||
CategoryUncategorized = [Uncategorized]
|
||||
CategoryLogShipping = Log Shipping
|
||||
CategoryDBEngineTuningAdvisor = Database Engine Tuning Advisor
|
||||
CategoryDataCollector = Data Collector
|
||||
|
||||
|
||||
|
||||
@@ -2873,6 +2873,111 @@
|
||||
<target state="new">Cannot create script for modify alerts.</target>
|
||||
<note> Exception thrown when we cannot create script that modify alerts</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryLocal">
|
||||
<source>[Uncategorized (Local)]</source>
|
||||
<target state="new">[Uncategorized (Local)]</target>
|
||||
<note>job categories</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryFromMsx">
|
||||
<source>Jobs from MSX</source>
|
||||
<target state="new">Jobs from MSX</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryMultiServer">
|
||||
<source>[Uncategorized (Multi-Server)]</source>
|
||||
<target state="new">[Uncategorized (Multi-Server)]</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryDBMaint">
|
||||
<source>Database Maintenance</source>
|
||||
<target state="new">Database Maintenance</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryWebAssistant">
|
||||
<source>Web Assistant</source>
|
||||
<target state="new">Web Assistant</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryFullText">
|
||||
<source>Full-Text</source>
|
||||
<target state="new">Full-Text</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplDistribution">
|
||||
<source>REPL-Distribution</source>
|
||||
<target state="new">REPL-Distribution</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplDistributionCleanup">
|
||||
<source>REPL-Distribution Cleanup</source>
|
||||
<target state="new">REPL-Distribution Cleanup</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplHistoryCleanup">
|
||||
<source>REPL-History Cleanup</source>
|
||||
<target state="new">REPL-History Cleanup</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplLogReader">
|
||||
<source>REPL-LogReader</source>
|
||||
<target state="new">REPL-LogReader</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplMerge">
|
||||
<source>REPL-Merge</source>
|
||||
<target state="new">REPL-Merge</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplSnapShot">
|
||||
<source>REPL-Snapshot</source>
|
||||
<target state="new">REPL-Snapshot</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplCheckup">
|
||||
<source>REPL-Checkup</source>
|
||||
<target state="new">REPL-Checkup</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplCleanup">
|
||||
<source>REPL-Subscription Cleanup</source>
|
||||
<target state="new">REPL-Subscription Cleanup</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplAlert">
|
||||
<source>REPL-Alert Response</source>
|
||||
<target state="new">REPL-Alert Response</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplQReader">
|
||||
<source>REPL-QueueReader</source>
|
||||
<target state="new">REPL-QueueReader</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryReplication">
|
||||
<source>Replication</source>
|
||||
<target state="new">Replication</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryUncategorized">
|
||||
<source>[Uncategorized]</source>
|
||||
<target state="new">[Uncategorized]</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryLogShipping">
|
||||
<source>Log Shipping</source>
|
||||
<target state="new">Log Shipping</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryDBEngineTuningAdvisor">
|
||||
<source>Database Engine Tuning Advisor</source>
|
||||
<target state="new">Database Engine Tuning Advisor</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="CategoryDataCollector">
|
||||
<source>Data Collector</source>
|
||||
<target state="new">Data Collector</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user