Skip to content

Commit 3be70bc

Browse files
committed
Rename JobController to JobTypeController
1 parent bb55159 commit 3be70bc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

IntegrationEngine/Api/Controllers/JobController.cs renamed to IntegrationEngine/Api/Controllers/JobTypeController.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@
1111

1212
namespace IntegrationEngine.Api.Controllers
1313
{
14-
public class JobController : ApiController
14+
public class JobTypeController : ApiController
1515
{
1616
public IEngineScheduler EngineScheduler { get; set; }
1717

18-
public JobController()
18+
public JobTypeController()
1919
{}
2020

21-
public JobController(IEngineScheduler engineScheduler)
21+
public JobTypeController(IEngineScheduler engineScheduler)
2222
: this()
2323
{
2424
EngineScheduler = engineScheduler;
2525
}
2626

27-
public IHttpActionResult GetJobKeys()
27+
public IHttpActionResult GetJobTypes()
2828
{
2929
return Ok(EngineScheduler.Scheduler
3030
.GetJobKeys(GroupMatcher<JobKey>.AnyGroup())

IntegrationEngine/IntegrationEngine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@
142142
<Link>Properties\SharedAssemblyInfo.cs</Link>
143143
</Compile>
144144
<Compile Include="Api\Controllers\TimeZoneController.cs" />
145-
<Compile Include="Api\Controllers\JobController.cs" />
146145
<Compile Include="Api\IntegrationEngineApi.cs" />
147146
<Compile Include="Api\Startup.cs" />
148147
<Compile Include="Configuration\NLogAdapterConfiguration.cs" />
@@ -172,6 +171,7 @@
172171
<Compile Include="Scheduler\SimpleTrigger.cs" />
173172
<Compile Include="Scheduler\TimeZone.cs" />
174173
<Compile Include="Scheduler\TriggerPropertyExtension.cs" />
174+
<Compile Include="Api\Controllers\JobTypeController.cs" />
175175
</ItemGroup>
176176
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
177177
<ItemGroup>

0 commit comments

Comments
 (0)