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:
Aditya Bist
2019-06-20 00:30:05 -07:00
committed by GitHub
parent 433e5633cf
commit 1ececc3035
11 changed files with 273 additions and 60 deletions

View File

@@ -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;