mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 01:25:38 -05:00
Agent - Last step quit with success (#6034)
* turn strings to enums and allow changing step completion action * fixed edit * added tests for agent enums and fixed cms tests
This commit is contained in:
@@ -169,6 +169,28 @@ export enum ModelComponentTypes {
|
||||
Hyperlink
|
||||
}
|
||||
|
||||
export enum AgentSubSystem {
|
||||
TransactSql = 1,
|
||||
ActiveScripting = 2,
|
||||
CmdExec = 3,
|
||||
Snapshot = 4,
|
||||
LogReader = 5,
|
||||
Distribution = 6,
|
||||
Merge = 7,
|
||||
QueueReader = 8,
|
||||
AnalysisQuery = 9,
|
||||
AnalysisCommands = 10,
|
||||
Ssis = 11,
|
||||
PowerShell = 12
|
||||
}
|
||||
|
||||
export enum StepCompletionAction {
|
||||
QuitWithSuccess = 1,
|
||||
QuitWithFailure = 2,
|
||||
GoToNextStep = 3,
|
||||
GoToStep = 4
|
||||
}
|
||||
|
||||
export interface IComponentShape {
|
||||
type: ModelComponentTypes;
|
||||
id: string;
|
||||
|
||||
@@ -551,6 +551,8 @@ export function createApiFactory(
|
||||
SchemaObjectType: sqlExtHostTypes.SchemaObjectType,
|
||||
ColumnType: sqlExtHostTypes.ColumnType,
|
||||
ActionOnCellCheckboxCheck: sqlExtHostTypes.ActionOnCellCheckboxCheck,
|
||||
StepCompletionAction: sqlExtHostTypes.StepCompletionAction,
|
||||
AgentSubSystem: sqlExtHostTypes.AgentSubSystem
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user