Agent work (WIP) (#597)

* Initial SQL Agent WIP

* Fix test build break

* wip

* wip2

* additonal SQL Agent history parsing code

* Fix namespace sorting

* Hook up agent\jobs method

* fixed agent service tests

* added job history handler

* Fix broken integration test build

* code review refactoring

* Added handler for job history request (#586)

* fixed agent service tests

* added job history handler

* code review refactoring

* Turn off another failing test

* Disable failing test

* refactored code

* small refactor

* code review changes

* Feature/agent1 adbist (#592)

* fixed agent service tests

* added job history handler

* code review refactoring

* refactored code

* small refactor

* code review changes

* changed constant casing

* added handler for job actions

* Remove unused code

* Remove unused test file

* Feature/agent1 adbist (#593)

* fixed agent service tests

* added job history handler

* code review refactoring

* refactored code

* small refactor

* code review changes

* changed constant casing

* added handler for job actions

* Reenable disabled test

* cleaned up code

* added steps to job history

* sort the job history steps

* changed error handling for job action
This commit is contained in:
Aditya Bist
2018-04-04 17:12:40 -07:00
committed by GitHub
parent a0024cc522
commit 2d4918ad83
3 changed files with 64 additions and 4 deletions

View File

@@ -33,6 +33,16 @@ namespace Microsoft.SqlTools.ServiceLayer.Agent.Contracts
public string OperatorPaged { get; set; }
public int RetriesAttempted { get; set; }
public string Server { get; set; }
public AgentJobStep[] Steps { get; set; }
}
public class AgentJobStep
{
public int StepId { get; set; }
public string StepName { get; set; }
public string Message { get; set; }
public DateTime RunDate { get; set; }
}
}