1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using HeuristicLab.Services.Hive.Common.ServiceContracts;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Clients.Hive.Slave.Tests {
|
---|
8 | internal class HiveServiceMock : IHiveService {
|
---|
9 | #region IHiveService Members
|
---|
10 |
|
---|
11 | public Guid AddJob(Services.Hive.Common.DataTransfer.Job job, Services.Hive.Common.DataTransfer.JobData jobData) {
|
---|
12 | throw new NotImplementedException();
|
---|
13 | }
|
---|
14 |
|
---|
15 | public Guid AddChildJob(Guid parentJobId, Services.Hive.Common.DataTransfer.Job job, Services.Hive.Common.DataTransfer.JobData jobData) {
|
---|
16 | throw new NotImplementedException();
|
---|
17 | }
|
---|
18 |
|
---|
19 | public Services.Hive.Common.DataTransfer.Job GetJob(Guid jobId) {
|
---|
20 | return new Services.Hive.Common.DataTransfer.Job() { Exception = "test" };
|
---|
21 | }
|
---|
22 |
|
---|
23 | public IEnumerable<Services.Hive.Common.DataTransfer.Job> GetJobs() {
|
---|
24 | throw new NotImplementedException();
|
---|
25 | }
|
---|
26 |
|
---|
27 | public IEnumerable<Services.Hive.Common.DataTransfer.LightweightJob> GetLightweightJobs(IEnumerable<Guid> jobIds) {
|
---|
28 | throw new NotImplementedException();
|
---|
29 | }
|
---|
30 |
|
---|
31 | public IEnumerable<Services.Hive.Common.DataTransfer.LightweightJob> GetLightweightChildJobs(Guid? parentJobId, bool recursive, bool includeParent) {
|
---|
32 | throw new NotImplementedException();
|
---|
33 | }
|
---|
34 |
|
---|
35 | public Services.Hive.Common.DataTransfer.JobData GetJobData(Guid jobId) {
|
---|
36 | throw new NotImplementedException();
|
---|
37 | }
|
---|
38 |
|
---|
39 | public void UpdateJob(Services.Hive.Common.DataTransfer.Job jobDto, Services.Hive.Common.DataTransfer.JobData jobDataDto) {
|
---|
40 | throw new NotImplementedException();
|
---|
41 | }
|
---|
42 |
|
---|
43 | public void DeleteChildJobs(Guid parentJobId) {
|
---|
44 | throw new NotImplementedException();
|
---|
45 | }
|
---|
46 |
|
---|
47 | public Services.Hive.Common.DataTransfer.Job AquireJob(Guid slaveId) {
|
---|
48 | throw new NotImplementedException();
|
---|
49 | }
|
---|
50 |
|
---|
51 | public void StopJob(Guid jobId) {
|
---|
52 | throw new NotImplementedException();
|
---|
53 | }
|
---|
54 |
|
---|
55 | public Services.Hive.Common.DataTransfer.Job PauseJob(Guid jobId) {
|
---|
56 | throw new NotImplementedException();
|
---|
57 | }
|
---|
58 |
|
---|
59 | public Services.Hive.Common.DataTransfer.HiveExperiment GetHiveExperiment(Guid id) {
|
---|
60 | throw new NotImplementedException();
|
---|
61 | }
|
---|
62 |
|
---|
63 | public IEnumerable<Services.Hive.Common.DataTransfer.HiveExperiment> GetHiveExperiments() {
|
---|
64 | throw new NotImplementedException();
|
---|
65 | }
|
---|
66 |
|
---|
67 | public Guid AddHiveExperiment(Services.Hive.Common.DataTransfer.HiveExperiment hiveExperimentDto) {
|
---|
68 | throw new NotImplementedException();
|
---|
69 | }
|
---|
70 |
|
---|
71 | public void UpdateHiveExperiment(Services.Hive.Common.DataTransfer.HiveExperiment hiveExperimentDto) {
|
---|
72 | throw new NotImplementedException();
|
---|
73 | }
|
---|
74 |
|
---|
75 | public void DeleteHiveExperiment(Guid hiveExperimentId) {
|
---|
76 | throw new NotImplementedException();
|
---|
77 | }
|
---|
78 |
|
---|
79 | public void Hello(Guid slaveId, string name, int cores, int memory) {
|
---|
80 | throw new NotImplementedException();
|
---|
81 | }
|
---|
82 |
|
---|
83 | public void GoodBye() {
|
---|
84 | throw new NotImplementedException();
|
---|
85 | }
|
---|
86 |
|
---|
87 | public List<Services.Hive.Common.MessageContainer> Heartbeat(Services.Hive.Common.DataTransfer.Heartbeat heartbeat) {
|
---|
88 | throw new NotImplementedException();
|
---|
89 | }
|
---|
90 |
|
---|
91 | public Guid AddPlugin(Services.Hive.Common.DataTransfer.Plugin plugin, List<Services.Hive.Common.DataTransfer.PluginData> pluginData) {
|
---|
92 | throw new NotImplementedException();
|
---|
93 | }
|
---|
94 |
|
---|
95 | public IEnumerable<Services.Hive.Common.DataTransfer.Plugin> GetPlugins() {
|
---|
96 | throw new NotImplementedException();
|
---|
97 | }
|
---|
98 |
|
---|
99 | public IEnumerable<Services.Hive.Common.DataTransfer.PluginData> GetPluginDatas(List<Guid> pluginIds) {
|
---|
100 | throw new NotImplementedException();
|
---|
101 | }
|
---|
102 |
|
---|
103 | public Guid AddSlave(Services.Hive.Common.DataTransfer.Slave slave) {
|
---|
104 | throw new NotImplementedException();
|
---|
105 | }
|
---|
106 |
|
---|
107 | public Guid AddSlaveGroup(Services.Hive.Common.DataTransfer.SlaveGroup slaveGroup) {
|
---|
108 | throw new NotImplementedException();
|
---|
109 | }
|
---|
110 |
|
---|
111 | public IEnumerable<Services.Hive.Common.DataTransfer.Slave> GetSlaves() {
|
---|
112 | throw new NotImplementedException();
|
---|
113 | }
|
---|
114 |
|
---|
115 | public IEnumerable<Services.Hive.Common.DataTransfer.SlaveGroup> GetSlaveGroups() {
|
---|
116 | throw new NotImplementedException();
|
---|
117 | }
|
---|
118 |
|
---|
119 | public void DeleteSlaveGroup(Guid clientGroupId) {
|
---|
120 | throw new NotImplementedException();
|
---|
121 | }
|
---|
122 |
|
---|
123 | public void AddResourceToGroup(Guid slaveGroupId, Services.Hive.Common.DataTransfer.Resource resource) {
|
---|
124 | throw new NotImplementedException();
|
---|
125 | }
|
---|
126 |
|
---|
127 | public void RemoveResourceFromGroup(Guid slaveGroupId, Guid resourceId) {
|
---|
128 | throw new NotImplementedException();
|
---|
129 | }
|
---|
130 |
|
---|
131 | public void UpdateSlave(Services.Hive.Common.DataTransfer.Slave slave) {
|
---|
132 | throw new NotImplementedException();
|
---|
133 | }
|
---|
134 |
|
---|
135 | #endregion
|
---|
136 | }
|
---|
137 | }
|
---|