Last change
on this file since 8614 was
8545,
checked in by fschoepp, 12 years ago
|
#1888:
- Controller is now capable of gathering Hive Jobs
- Hive Jobs will be mapped to independent Job-Class (shared between Controller and Frontend)
- HiveScenarioManager is capable of gathering Hive Jobs + their results
- Job Results will be mapped to string properties
- Frontend renders all Results after opening the job details
- Misc: Frontend now passes User-object to Controller so that it is able to connect to the Hive Service (hardcoded values removed)
|
File size:
993 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.ServiceModel;
|
---|
6 | using System.Net.Security;
|
---|
7 | using HeuristicLab.Services.Optimization.ControllerService.Model;
|
---|
8 |
|
---|
9 | namespace HeuristicLab.Services.Optimization.ControllerService {
|
---|
10 | [ServiceContract(ProtectionLevel = ProtectionLevel.EncryptAndSign)]
|
---|
11 | public interface IControllerService {
|
---|
12 | [OperationContract]
|
---|
13 | IEnumerable<OptimizationScenario> GetOptimizationScenarios();
|
---|
14 |
|
---|
15 | [OperationContract]
|
---|
16 | OptimizationScenario GetOptimizationScenarioByName(string name);
|
---|
17 |
|
---|
18 | [OperationContract]
|
---|
19 | void ScheduleOptimizationScenario(User user, OptimizationScenario scenario);
|
---|
20 |
|
---|
21 | [OperationContract]
|
---|
22 | IEnumerable<Job> GetJobs(User user);
|
---|
23 |
|
---|
24 | [OperationContract]
|
---|
25 | Job GetJob(User user, string id);
|
---|
26 |
|
---|
27 | [OperationContract]
|
---|
28 | void DeleteJob(User user, string id);
|
---|
29 |
|
---|
30 | [OperationContract]
|
---|
31 | IList<Model.Run> GetJobResults(User user, string id);
|
---|
32 | }
|
---|
33 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.