[8384] | 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]
|
---|
[8958] | 16 | IEnumerable<string> GetOptimizationScenarioNames();
|
---|
| 17 |
|
---|
| 18 | [OperationContract]
|
---|
[8384] | 19 | OptimizationScenario GetOptimizationScenarioByName(string name);
|
---|
[8506] | 20 |
|
---|
| 21 | [OperationContract]
|
---|
[9215] | 22 | bool ScheduleOptimizationScenario(User user, OptimizationScenario scenario, JobExecutionDetails details);
|
---|
[8545] | 23 |
|
---|
| 24 | [OperationContract]
|
---|
| 25 | IEnumerable<Job> GetJobs(User user);
|
---|
| 26 |
|
---|
| 27 | [OperationContract]
|
---|
| 28 | Job GetJob(User user, string id);
|
---|
| 29 |
|
---|
| 30 | [OperationContract]
|
---|
[9215] | 31 | bool DeleteJob(User user, string id);
|
---|
[8545] | 32 |
|
---|
| 33 | [OperationContract]
|
---|
| 34 | IList<Model.Run> GetJobResults(User user, string id);
|
---|
[8958] | 35 |
|
---|
| 36 | [OperationContract]
|
---|
| 37 | bool AddHiveScenario(User user, string scenarioXml, string scenarioMapper);
|
---|
| 38 |
|
---|
| 39 | [OperationContract]
|
---|
| 40 | bool DeleteHiveScenario(User user, string scenarioName);
|
---|
[9215] | 41 |
|
---|
| 42 | [OperationContract]
|
---|
| 43 | bool SaveExperiment(User user, Experiment experiment);
|
---|
| 44 |
|
---|
| 45 | [OperationContract]
|
---|
| 46 | IEnumerable<string> GetExperiments(User user);
|
---|
| 47 |
|
---|
| 48 | [OperationContract]
|
---|
| 49 | bool DeleteExperiment(User user, string experiment);
|
---|
| 50 |
|
---|
| 51 | [OperationContract]
|
---|
| 52 | Job GetTasks(User u, string jobId);
|
---|
| 53 |
|
---|
| 54 | [OperationContract]
|
---|
| 55 | Task GetTaskData(User u, string jobId, string taskId);
|
---|
[8384] | 56 | }
|
---|
| 57 | }
|
---|