Changeset 6744
- Timestamp:
- 09/12/11 20:17:10 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources
- Files:
-
- 28 added
- 20 deleted
- 25 edited
- 2 copied
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.3/HeuristicLabClientsHiveExperimentManagerPlugin.cs.frame
r6700 r6744 25 25 [Plugin("HeuristicLab.Clients.Hive.ExperimentManager", "3.3.5.$WCREV$")] 26 26 [PluginFile("HeuristicLab.Clients.Hive.ExperimentManager-3.3.dll", PluginFileType.Assembly)] 27 [PluginDependency("HeuristicLab.Clients.Hive", "3.3")] 28 [PluginDependency("HeuristicLab.Clients.Hive.Views", "3.3")] 29 [PluginDependency("HeuristicLab.Collections", "3.3")] 30 [PluginDependency("HeuristicLab.Common", "3.3")] 31 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] 32 [PluginDependency("HeuristicLab.Core", "3.3")] 33 [PluginDependency("HeuristicLab.Core.Views", "3.3")] 34 [PluginDependency("HeuristicLab.Data", "3.3")] 35 [PluginDependency("HeuristicLab.Hive", "3.3")] 36 [PluginDependency("HeuristicLab.MainForm", "3.3")] 37 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 38 [PluginDependency("HeuristicLab.Optimization", "3.3")] 39 [PluginDependency("HeuristicLab.Optimizer", "3.3")] 40 [PluginDependency("HeuristicLab.Persistence", "3.3")] 27 41 public class HeuristicLabClientsHiveExperimentManagerPlugin : PluginBase { 28 42 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.App/3.3/MainWindow.cs
r6743 r6744 19 19 */ 20 20 #endregion 21 22 21 23 22 using System; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.TrayIcon/3.3/Program.cs
r6734 r6744 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.Diagnostics; 3 24 using System.Management; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.TrayIconSetup/HeuristicLab.Clients.Hive.Slave.TrayIconSetup.vdproj
r6700 r6744 1077 1077 "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_640A7525E7974E7BAE45D8D70EF04E26" 1078 1078 { 1079 "SourcePath" = "8: ..\\HeuristicLab.Clients.Hive.Slave.SlaveWindowsServiceSetup\\hl_logo.jpg"1079 "SourcePath" = "8:hl_logo.jpg" 1080 1080 "TargetName" = "8:hl_logo.jpg" 1081 1081 "Tag" = "8:" … … 1438 1438 "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F010F086FC3D4C1EA55A80E7D9230283" 1439 1439 { 1440 "SourcePath" = "8: ..\\HeuristicLab.Clients.Hive.Slave.SlaveWindowsServiceSetup\\HeuristicLab.ico"1440 "SourcePath" = "8:HeuristicLab.ico" 1441 1441 "TargetName" = "8:HeuristicLab.ico" 1442 1442 "Tag" = "8:" -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.3/WcfService.cs
r6743 r6744 22 22 using System; 23 23 using System.Collections.Generic; 24 using HeuristicLab.Clients.Hive.SlaveCore.Properties;25 24 using HeuristicLab.Common; 26 25 … … 43 42 if (instance == null) { 44 43 instance = new WcfService(); 45 ServiceLocator.Instance.Username = Settings.Default.SlaveUser;46 ServiceLocator.Instance.Password = Settings.Default.SlavePwd;44 ServiceLocator.Instance.Username = HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings.Default.SlaveUser; 45 ServiceLocator.Instance.Password = HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings.Default.SlavePwd; 47 46 } 48 47 return instance; … … 78 77 HiveClient.TryAndRepeat(() => { 79 78 service.UpdateTaskData(task, taskData); 80 }, Settings.Default.PluginDeletionRetries, "Could not upload jobdata.");79 }, HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings.Default.PluginDeletionRetries, "Could not upload jobdata."); 81 80 service.UpdateTaskState(task.Id, state, slaveId, null, exception); 82 81 }); -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.3/app.config
r6683 r6744 10 10 </sectionGroup> 11 11 </configSections> 12 <startup> 13 <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> 14 </startup> 12 15 <userSettings> 13 16 <HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings> … … 37 40 </setting> 38 41 <setting name="ClientsHiveSlaveCoreDll" serializeAs="String"> 39 <value>HeuristicLab.Clients.Hive.SlaveCore-3. 4.dll</value>42 <value>HeuristicLab.Clients.Hive.SlaveCore-3.3.dll</value> 40 43 </setting> 41 44 <setting name="ClientsHiveDll" serializeAs="String"> 42 <value>HeuristicLab.Clients.Hive-3. 4.dll</value>45 <value>HeuristicLab.Clients.Hive-3.3.dll</value> 43 46 </setting> 44 47 <setting name="HiveDll" serializeAs="String"> 45 <value>HeuristicLab.Hive-3. 4.dll</value>48 <value>HeuristicLab.Hive-3.3.dll</value> 46 49 </setting> 47 50 <setting name="ClientsCommonDll" serializeAs="String"> … … 80 83 </HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings> 81 84 </userSettings> 82 85 83 86 84 87 <system.serviceModel> … … 102 105 <client> 103 106 <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/> 104 <endpoint address="http:// services.heuristiclab.com/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService">107 <endpoint address="http://localhost/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_Hive" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService"> 105 108 <identity> 106 <certificate encodedValue="AwAAAAEAAAAUAAAA wK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ=="/>109 <certificate encodedValue="AwAAAAEAAAAUAAAAQkazTmWcZqFuuREaov8jmDtOu4UgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhAVedIj+0w6jEdhZErAeemyMAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTExMDkwNjA4NDUzOVoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCiKeSwXFm0qxkuMFao9NHftClUYvX0jpiyKFthUnutfhB2FF3Ie8a8U15M+GBYSZOV5vXlEn3D30HsV/x6L9/UU1fiJndJd5lWI2/4mP2jra0qP0b8xyitHfRhePIfpDkufZqIOvOmT/DoFqMTK3joexzuEmAw5Ugil6fbOxELlwIDAQABo0kwRzBFBgNVHQEEPjA8gBCJmAWIXCTyTFXdjdnseED4oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghAVedIj+0w6jEdhZErAeemyMAkGBSsOAwIdBQADgYEACW9nLJnu1+OJg93AAKfWqkiETHcXUcULrPjMWJQsy5fkHY1qExKBGeUJHK0REvqQs3KRY3GqikMjlAnDmb/e9P1h+PynsRv7y2zAGCnKW4nryWVncWf1xJL9xvKNuH2aR4+Wdq9oo2m793+RXtA7YTSsr/OiiIdkQcjUGQtkaYo="/> 107 110 </identity> 108 111 </endpoint> 109 112 </client> 110 113 </system.serviceModel> 111 112 <startup>113 <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>114 </startup>115 114 </configuration> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Tests/Mocks/MockServiceLocator.cs
r6717 r6744 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using HeuristicLab.Services.Hive; 3 24 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.3/GanttChart/GanttChart.cs
r6373 r6744 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.Collections.Generic; 3 24 using System.Drawing; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.3/HiveItemView.cs
r6373 r6744 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.ComponentModel; 3 24 using System.Windows.Forms; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.3/TreeView/DeleteTaskTreeNodeAction.cs
r6727 r6744 1 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 2 22 using System.Drawing; 3 23 using HeuristicLab.Clients.Hive.Jobs; 4 24 using HeuristicLab.Core; 5 25 using HeuristicLab.Optimization; 26 6 27 namespace HeuristicLab.Clients.Hive.Views.ExperimentManager.TreeView { 7 28 public class DeleteTaskTreeNodeAction : IItemTreeNodeAction<HiveTask> { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/Exceptions/ResourceNotFoundException.cs
r5458 r6744 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 5 23 6 24 namespace HeuristicLab.Clients.Hive { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/HeuristicLab.Clients.Hive-3.3.csproj
r6725 r6744 113 113 <ItemGroup> 114 114 <Compile Include="HiveClient.cs" /> 115 <Compile Include="Settings.Designer.cs"> 116 <AutoGen>True</AutoGen> 117 <DesignTimeSharedInput>True</DesignTimeSharedInput> 118 <DependentUpon>Settings.settings</DependentUpon> 119 </Compile> 115 120 <Compile Include="Tasks\ItemTask.cs" /> 116 121 <Compile Include="RefreshableJob.cs" /> … … 174 179 <None Include="HeuristicLab.snk" /> 175 180 <None Include="ServiceClients\GenerateServiceClients.cmd" /> 181 <None Include="Settings.settings"> 182 <Generator>SettingsSingleFileGenerator</Generator> 183 <LastGenOutput>Settings.Designer.cs</LastGenOutput> 184 </None> 176 185 </ItemGroup> 177 186 <ItemGroup /> … … 193 202 set SolutionDir=$(SolutionDir) 194 203 set Outdir=$(Outdir) 195 196 204 call PreBuildEvent.cmd</PreBuildEvent> 197 205 </PropertyGroup> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/HeuristicLabClientsHivePlugin.cs.frame
r6701 r6744 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.Collections.Generic; 3 24 using System.Linq; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/HiveClient.cs
r6743 r6744 84 84 this.IsAllowedPrivileged = ServiceLocator.Instance.CallHiveService((s) => s.IsAllowedPrivileged()); 85 85 86 var old Experiments = jobs ?? new ItemCollection<RefreshableJob>();86 var oldJobs = jobs ?? new ItemCollection<RefreshableJob>(); 87 87 jobs = new HiveItemCollection<RefreshableJob>(); 88 var experimentsLoaded = ServiceLocator.Instance.CallHiveService<IEnumerable<Job>>(s => s.GetJobs());89 90 foreach (var he in experimentsLoaded) {91 var job = old Experiments.SingleOrDefault(x => x.Id == he.Id);88 var jobsLoaded = ServiceLocator.Instance.CallHiveService<IEnumerable<Job>>(s => s.GetJobs()); 89 90 foreach (var j in jobsLoaded) { 91 var job = oldJobs.SingleOrDefault(x => x.Id == j.Id); 92 92 if (job == null) { 93 93 // new 94 jobs.Add(new RefreshableJob( he) { IsAllowedPrivileged = this.isAllowedPrivileged });94 jobs.Add(new RefreshableJob(j) { IsAllowedPrivileged = this.isAllowedPrivileged }); 95 95 } else { 96 96 // update 97 job.Job = he;97 job.Job = j; 98 98 job.IsAllowedPrivileged = this.isAllowedPrivileged; 99 99 jobs.Add(job); … … 101 101 } 102 102 // remove those which were not in the list of loaded hiveexperiments 103 foreach (var experiment in old Experiments) {103 foreach (var experiment in oldJobs) { 104 104 if (experiment.Id == Guid.Empty) { 105 105 // experiment not uploaded... keep … … 236 236 237 237 #region Upload Job 238 private Semaphore jobUploadSemaphore = new Semaphore(4, 4); // todo: take magic number into config238 private Semaphore taskUploadSemaphore = new Semaphore(Settings.Default.MaxParallelUploads, Settings.Default.MaxParallelUploads); 239 239 private static object jobCountLocker = new object(); 240 240 private static object pluginLocker = new object(); … … 258 258 } 259 259 260 // upload Task261 refreshableJob.Progress.Status = "Uploading Task...";260 // upload Job 261 refreshableJob.Progress.Status = "Uploading Job..."; 262 262 refreshableJob.Job.Id = ServiceLocator.Instance.CallHiveService((s) => s.AddJob(refreshableJob.Job)); 263 263 bool isPrivileged = refreshableJob.Job.IsPrivileged; … … 280 280 if (refreshableJob.RefreshAutomatically) refreshableJob.StartResultPolling(); 281 281 282 // upload jobs283 refreshableJob.Progress.Status = "Uploading jobs...";282 // upload tasks 283 refreshableJob.Progress.Status = "Uploading tasks..."; 284 284 285 285 var tasks = new List<TS.Task>(); 286 foreach (HiveTask hive Jobin refreshableJob.HiveTasks) {286 foreach (HiveTask hiveTask in refreshableJob.HiveTasks) { 287 287 tasks.Add(TS.Task.Factory.StartNew((hj) => { 288 288 UploadTaskWithChildren(refreshableJob.Progress, (HiveTask)hj, null, resourceIds, jobCount, totalJobCount, configFilePlugin.Id, refreshableJob.Job.Id, refreshableJob.Log, refreshableJob.Job.IsPrivileged, cancellationToken); 289 }, hive Job)289 }, hiveTask) 290 290 .ContinueWith((x) => refreshableJob.Log.LogException(x.Exception), TaskContinuationOptions.OnlyOnFaulted)); 291 291 } … … 307 307 /// </summary> 308 308 private static Plugin UploadConfigurationFile(IHiveService service, List<Plugin> onlinePlugins) { 309 string exeFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HeuristicLab 3.3.exe");309 string exeFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Settings.Default.HLBinaryName); 310 310 string configFileName = Path.GetFileName(ConfigurationManager.OpenExeConfiguration(exeFilePath).FilePath); 311 311 string configFilePath = ConfigurationManager.OpenExeConfiguration(exeFilePath).FilePath; … … 334 334 /// </summary> 335 335 /// <param name="parentHiveTask">shall be null if its the root task</param> 336 private void UploadTaskWithChildren(IProgress progress, HiveTask hiveTask, HiveTask parentHive Job, IEnumerable<Guid> groups, int[] taskCount, int totalJobCount, Guid configPluginId, Guid jobId, ILog log, bool isPrivileged, CancellationToken cancellationToken) {337 jobUploadSemaphore.WaitOne();336 private void UploadTaskWithChildren(IProgress progress, HiveTask hiveTask, HiveTask parentHiveTask, IEnumerable<Guid> groups, int[] taskCount, int totalJobCount, Guid configPluginId, Guid jobId, ILog log, bool isPrivileged, CancellationToken cancellationToken) { 337 taskUploadSemaphore.WaitOne(); 338 338 bool semaphoreReleased = false; 339 339 try { … … 342 342 taskCount[0]++; 343 343 } 344 TaskData jobData;344 TaskData taskData; 345 345 List<IPluginDescription> plugins; 346 346 … … 348 348 hiveTask.Task.IsParentTask = true; 349 349 hiveTask.Task.FinishWhenChildJobsFinished = true; 350 jobData = hiveTask.GetAsTaskData(true, out plugins);350 taskData = hiveTask.GetAsTaskData(true, out plugins); 351 351 } else { 352 352 hiveTask.Task.IsParentTask = false; 353 353 hiveTask.Task.FinishWhenChildJobsFinished = false; 354 jobData = hiveTask.GetAsTaskData(false, out plugins);354 taskData = hiveTask.GetAsTaskData(false, out plugins); 355 355 } 356 356 cancellationToken.ThrowIfCancellationRequested(); … … 368 368 hiveTask.Task.IsPrivileged = isPrivileged; 369 369 370 log.LogMessage(string.Format("Uploading task ({0} kb, {1} objects)", jobData.Data.Count() / 1024, hiveTask.ItemTask.GetObjectGraphObjects().Count()));370 log.LogMessage(string.Format("Uploading task ({0} kb, {1} objects)", taskData.Data.Count() / 1024, hiveTask.ItemTask.GetObjectGraphObjects().Count())); 371 371 TryAndRepeat(() => { 372 372 if (!cancellationToken.IsCancellationRequested) { 373 if (parentHive Job!= null) {374 hiveTask.Task.Id = ServiceLocator.Instance.CallHiveService((s) => s.AddChildTask(parentHive Job.Task.Id, hiveTask.Task, jobData));373 if (parentHiveTask != null) { 374 hiveTask.Task.Id = ServiceLocator.Instance.CallHiveService((s) => s.AddChildTask(parentHiveTask.Task.Id, hiveTask.Task, taskData)); 375 375 } else { 376 hiveTask.Task.Id = ServiceLocator.Instance.CallHiveService((s) => s.AddTask(hiveTask.Task, jobData, groups.ToList()));376 hiveTask.Task.Id = ServiceLocator.Instance.CallHiveService((s) => s.AddTask(hiveTask.Task, taskData, groups.ToList())); 377 377 } 378 378 } … … 393 393 .ContinueWith((x) => log.LogException(x.Exception), TaskContinuationOptions.OnlyOnFaulted)); 394 394 } 395 jobUploadSemaphore.Release(); semaphoreReleased = true; // the semaphore has to be release before waitall!395 taskUploadSemaphore.Release(); semaphoreReleased = true; // the semaphore has to be release before waitall! 396 396 try { 397 397 TS.Task.WaitAll(tasks.ToArray()); … … 402 402 } 403 403 finally { 404 if (!semaphoreReleased) jobUploadSemaphore.Release();404 if (!semaphoreReleased) taskUploadSemaphore.Release(); 405 405 } 406 406 } … … 418 418 419 419 refreshableJob.Progress.Status = "Connecting to Server..."; 420 // fetch all Task objects to create the full tree of tree of HiveTask objects421 refreshableJob.Progress.Status = "Downloading list of jobs...";420 // fetch all task objects to create the full tree of tree of HiveTask objects 421 refreshableJob.Progress.Status = "Downloading list of tasks..."; 422 422 allTasks = ServiceLocator.Instance.CallHiveService(s => s.GetLightweightJobTasks(hiveExperiment.Id)); 423 423 totalJobCount = allTasks.Count(); … … 428 428 while (!downloader.IsFinished) { 429 429 refreshableJob.Progress.ProgressValue = downloader.FinishedCount / (double)totalJobCount; 430 refreshableJob.Progress.Status = string.Format("Downloading/deserializing jobs... ({0}/{1} finished)", downloader.FinishedCount, totalJobCount);430 refreshableJob.Progress.Status = string.Format("Downloading/deserializing tasks... ({0}/{1} finished)", downloader.FinishedCount, totalJobCount); 431 431 Thread.Sleep(500); 432 432 … … 458 458 459 459 private static void BuildHiveJobTree(HiveTask parentHiveJob, IEnumerable<LightweightTask> allJobs, IDictionary<Guid, HiveTask> allHiveJobs) { 460 IEnumerable<LightweightTask> child Jobs = from job in allJobs461 where job.ParentTaskId.HasValue && job.ParentTaskId.Value == parentHiveJob.Task.Id462 orderby job.DateCreated ascending463 select job;464 foreach (LightweightTask job in childJobs) {465 HiveTask childHive Job = allHiveJobs[job.Id];466 parentHiveJob.AddChildHiveJob(childHive Job);467 BuildHiveJobTree(childHive Job, allJobs, allHiveJobs);460 IEnumerable<LightweightTask> childTasks = from job in allJobs 461 where job.ParentTaskId.HasValue && job.ParentTaskId.Value == parentHiveJob.Task.Id 462 orderby job.DateCreated ascending 463 select job; 464 foreach (LightweightTask task in childTasks) { 465 HiveTask childHiveTask = allHiveJobs[task.Id]; 466 parentHiveJob.AddChildHiveJob(childHiveTask); 467 BuildHiveJobTree(childHiveTask, allJobs, allHiveJobs); 468 468 } 469 469 } … … 482 482 483 483 public static ItemTask LoadItemJob(Guid jobId) { 484 TaskData jobData = ServiceLocator.Instance.CallHiveService(s => s.GetTaskData(jobId));484 TaskData taskData = ServiceLocator.Instance.CallHiveService(s => s.GetTaskData(jobId)); 485 485 try { 486 return PersistenceUtil.Deserialize<ItemTask>( jobData.Data);486 return PersistenceUtil.Deserialize<ItemTask>(taskData.Data); 487 487 } 488 488 catch { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/StateLogList.cs
r6419 r6744 1 using System.Collections.Generic; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System.Collections.Generic; 2 23 using HeuristicLab.Common; 3 24 using HeuristicLab.Core; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/StateLogListList.cs
r6419 r6744 1 using System.Collections.Generic; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System.Collections.Generic; 2 23 using HeuristicLab.Common; 3 24 using HeuristicLab.Core; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs
r6725 r6744 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.Drawing; 3 24 using HeuristicLab.Common; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/TreeView/IItemTree.cs
r6384 r6744 1 using System.Collections.Generic; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System.Collections.Generic; 2 23 using HeuristicLab.Collections; 3 24 using HeuristicLab.Core; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/app.config
r6357 r6744 1 1 <?xml version="1.0"?> 2 2 <configuration> 3 <configSections> 4 <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 5 <section name="HeuristicLab.Clients.Hive.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> 6 </sectionGroup> 7 </configSections> 8 <applicationSettings> 9 <HeuristicLab.Clients.Hive.Settings> 10 <setting name="MaxParallelUploads" serializeAs="String"> 11 <value>4</value> 12 </setting> 13 <setting name="HLBinaryName" serializeAs="String"> 14 <value>HeuristicLab 3.3.exe</value> 15 </setting> 16 </HeuristicLab.Clients.Hive.Settings> 17 </applicationSettings> 3 18 <system.serviceModel> 4 19 <bindings> … … 33 48 </bindings> 34 49 <client> 35 <endpoint address="http:// services.heuristiclab.com/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService">50 <endpoint address="http://localhost/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService"> 36 51 <identity> 37 <certificate encodedValue="AwAAAAEAAAAUAAAA wK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ=="/>52 <certificate encodedValue="AwAAAAEAAAAUAAAAQkazTmWcZqFuuREaov8jmDtOu4UgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhAVedIj+0w6jEdhZErAeemyMAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTExMDkwNjA4NDUzOVoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCiKeSwXFm0qxkuMFao9NHftClUYvX0jpiyKFthUnutfhB2FF3Ie8a8U15M+GBYSZOV5vXlEn3D30HsV/x6L9/UU1fiJndJd5lWI2/4mP2jra0qP0b8xyitHfRhePIfpDkufZqIOvOmT/DoFqMTK3joexzuEmAw5Ugil6fbOxELlwIDAQABo0kwRzBFBgNVHQEEPjA8gBCJmAWIXCTyTFXdjdnseED4oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghAVedIj+0w6jEdhZErAeemyMAkGBSsOAwIdBQADgYEACW9nLJnu1+OJg93AAKfWqkiETHcXUcULrPjMWJQsy5fkHY1qExKBGeUJHK0REvqQs3KRY3GqikMjlAnDmb/e9P1h+PynsRv7y2zAGCnKW4nryWVncWf1xJL9xvKNuH2aR4+Wdq9oo2m793+RXtA7YTSsr/OiiIdkQcjUGQtkaYo="/> 38 53 </identity> 39 54 </endpoint> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/app_ascheibe.config
r6168 r6744 1 1 <?xml version="1.0"?> 2 2 <configuration> 3 <configSections> 4 <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 5 <section name="HeuristicLab.Clients.Hive.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> 6 </sectionGroup> 7 </configSections> 8 <applicationSettings> 9 <HeuristicLab.Clients.Hive.Settings> 10 <setting name="MaxParallelUploads" serializeAs="String"> 11 <value>4</value> 12 </setting> 13 <setting name="HLBinaryName" serializeAs="String"> 14 <value>HeuristicLab 3.3.exe</value> 15 </setting> 16 </HeuristicLab.Clients.Hive.Settings> 17 </applicationSettings> 3 18 <system.serviceModel> 4 19 <bindings> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/app_f005pc.config
r6712 r6744 1 1 <?xml version="1.0"?> 2 2 <configuration> 3 <configSections> 4 <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 5 <section name="HeuristicLab.Clients.Hive.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> 6 </sectionGroup> 7 </configSections> 8 <applicationSettings> 9 <HeuristicLab.Clients.Hive.Settings> 10 <setting name="MaxParallelUploads" serializeAs="String"> 11 <value>4</value> 12 </setting> 13 <setting name="HLBinaryName" serializeAs="String"> 14 <value>HeuristicLab 3.3.exe</value> 15 </setting> 16 </HeuristicLab.Clients.Hive.Settings> 17 </applicationSettings> 3 18 <system.serviceModel> 4 19 <bindings> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/app_services.config
r6168 r6744 1 1 <?xml version="1.0"?> 2 2 <configuration> 3 <configSections> 4 <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 5 <section name="HeuristicLab.Clients.Hive.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> 6 </sectionGroup> 7 </configSections> 8 <applicationSettings> 9 <HeuristicLab.Clients.Hive.Settings> 10 <setting name="MaxParallelUploads" serializeAs="String"> 11 <value>4</value> 12 </setting> 13 <setting name="HLBinaryName" serializeAs="String"> 14 <value>HeuristicLab 3.3.exe</value> 15 </setting> 16 </HeuristicLab.Clients.Hive.Settings> 17 </applicationSettings> 3 18 <system.serviceModel> 4 19 <bindings> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Hive 3.4.sln
r6731 r6744 29 29 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Services.Hive-3.3", "HeuristicLab.Services.Hive\3.3\HeuristicLab.Services.Hive-3.3.csproj", "{CF9DA321-AC1B-4FD3-9EC3-67BC6B861BDE}" 30 30 EndProject 31 Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Hive-3. 4", "HeuristicLab.Services.Hive.Web\Hive-3.4\", "{0CA6706D-A569-45DE-A85C-4158891CC1BC}"31 Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Hive-3.3", "HeuristicLab.Services.Hive.Web\Hive-3.3\", "{0CA6706D-A569-45DE-A85C-4158891CC1BC}" 32 32 ProjectSection(WebsiteProperties) = preProject 33 33 TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" 34 34 ProjectReferences = "{CF9DA321-AC1B-4FD3-9EC3-67BC6B861BDE}|HeuristicLab.Services.Hive-3.3.dll;{EC2C8109-6E1E-4C88-9A2B-908CFF2EF4AC}|HeuristicLab.Services.Hive.DataAccess-3.3.dll;{F98A1740-9AC9-4D36-A582-6A2D0D06978D}|HeuristicLab.Hive-3.3.dll;" 35 Debug.AspNetCompiler.VirtualPath = "/Hive-3. 4"36 Debug.AspNetCompiler.PhysicalPath = "HeuristicLab.Services.Hive.Web\Hive-3. 4\"37 Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Hive-3. 4\"35 Debug.AspNetCompiler.VirtualPath = "/Hive-3.3" 36 Debug.AspNetCompiler.PhysicalPath = "HeuristicLab.Services.Hive.Web\Hive-3.3\" 37 Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Hive-3.3\" 38 38 Debug.AspNetCompiler.Updateable = "true" 39 39 Debug.AspNetCompiler.ForceOverwrite = "true" 40 40 Debug.AspNetCompiler.FixedNames = "false" 41 41 Debug.AspNetCompiler.Debug = "True" 42 Release.AspNetCompiler.VirtualPath = "/Hive-3. 4"43 Release.AspNetCompiler.PhysicalPath = "HeuristicLab.Services.Hive.Web\Hive-3. 4\"44 Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Hive-3. 4\"42 Release.AspNetCompiler.VirtualPath = "/Hive-3.3" 43 Release.AspNetCompiler.PhysicalPath = "HeuristicLab.Services.Hive.Web\Hive-3.3\" 44 Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Hive-3.3\" 45 45 Release.AspNetCompiler.Updateable = "true" 46 46 Release.AspNetCompiler.ForceOverwrite = "true" … … 48 48 Release.AspNetCompiler.Debug = "False" 49 49 VWDPort = "4591" 50 VWDVirtualPath = "/Hive-3. 4"50 VWDVirtualPath = "/Hive-3.3" 51 51 DefaultWebSiteLanguage = "Visual C#" 52 52 EndProjectSection … … 54 54 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Services.Hive.Tests-3.3", "HeuristicLab.Services.Hive.Tests\HeuristicLab.Services.Hive.Tests-3.3.csproj", "{17187EAC-5D8C-4B11-9CEA-D88F71B59658}" 55 55 EndProject 56 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave.WindowsService-3.3", "HeuristicLab.Clients.Hive.Slave.SlaveWindowsService\HeuristicLab.Clients.Hive.Slave.WindowsService-3.3.csproj", "{BA8001DE-E83C-4B1F-8B2E-2695C4222491}"57 EndProject58 Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "HeuristicLab.Clients.Hive.Slave.WindowsServiceSetup-3.3", "HeuristicLab.Clients.Hive.Slave.SlaveWindowsServiceSetup\HeuristicLab.Clients.Hive.Slave.SlaveWindowsServiceSetup.vdproj", "{28711372-0255-4883-9BED-81E150D73880}"59 EndProject60 56 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Tests-3.3", "HeuristicLab.Clients.Hive.Tests\HeuristicLab.Clients.Hive.Tests-3.3.csproj", "{8D40A723-139D-40E4-8BBA-4CB309A9E4B9}" 61 57 EndProject … … 92 88 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave.App-3.3", "HeuristicLab.Clients.Hive.Slave.App\3.3\HeuristicLab.Clients.Hive.Slave.App-3.3.csproj", "{E3B93D5C-3B6B-4657-9B3E-F4297BAC0AA5}" 93 89 EndProject 94 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave.ConsoleClient-3.4", "HeuristicLab.Clients.Hive.Slave.ConsoleClient\HeuristicLab.Clients.Hive.Slave.ConsoleClient-3.4.csproj", "{464D70B8-2D91-485C-B622-22E4A4891C68}" 90 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave.ConsoleClient-3.3", "HeuristicLab.Clients.Hive.Slave.ConsoleClient\3.3\HeuristicLab.Clients.Hive.Slave.ConsoleClient-3.3.csproj", "{464D70B8-2D91-485C-B622-22E4A4891C68}" 91 EndProject 92 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave.WindowsService-3.3", "HeuristicLab.Clients.Hive.Slave.WindowsService\3.3\HeuristicLab.Clients.Hive.Slave.WindowsService-3.3.csproj", "{BA8001DE-E83C-4B1F-8B2E-2695C4222491}" 93 EndProject 94 Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "HeuristicLab.Clients.Hive.Slave.WindowsServiceSetup-3.3", "HeuristicLab.Clients.Hive.Slave.WindowsServiceSetup\HeuristicLab.Clients.Hive.Slave.WindowsServiceSetup.vdproj", "{D29F7B26-4528-43A8-92B7-1EB4623E0C88}" 95 95 EndProject 96 96 Global … … 226 226 {17187EAC-5D8C-4B11-9CEA-D88F71B59658}.Release|x64.ActiveCfg = Release|x86 227 227 {17187EAC-5D8C-4B11-9CEA-D88F71B59658}.Release|x86.ActiveCfg = Release|Any CPU 228 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|Any CPU.ActiveCfg = Debug|Any CPU229 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|Any CPU.Build.0 = Debug|Any CPU230 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU231 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU232 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|x64.ActiveCfg = Debug|x86233 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|x86.ActiveCfg = Debug|x86234 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|x86.Build.0 = Debug|x86235 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|Any CPU.ActiveCfg = Release|Any CPU236 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|Any CPU.Build.0 = Release|Any CPU237 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|Mixed Platforms.ActiveCfg = Release|x86238 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|Mixed Platforms.Build.0 = Release|x86239 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|x64.ActiveCfg = Release|x86240 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|x86.ActiveCfg = Release|x86241 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|x86.Build.0 = Release|x86242 {28711372-0255-4883-9BED-81E150D73880}.Debug|Any CPU.ActiveCfg = Debug243 {28711372-0255-4883-9BED-81E150D73880}.Debug|Any CPU.Build.0 = Debug244 {28711372-0255-4883-9BED-81E150D73880}.Debug|Mixed Platforms.ActiveCfg = Debug245 {28711372-0255-4883-9BED-81E150D73880}.Debug|Mixed Platforms.Build.0 = Debug246 {28711372-0255-4883-9BED-81E150D73880}.Debug|x64.ActiveCfg = Debug247 {28711372-0255-4883-9BED-81E150D73880}.Debug|x64.Build.0 = Debug248 {28711372-0255-4883-9BED-81E150D73880}.Debug|x86.ActiveCfg = Debug249 {28711372-0255-4883-9BED-81E150D73880}.Debug|x86.Build.0 = Debug250 {28711372-0255-4883-9BED-81E150D73880}.Release|Any CPU.ActiveCfg = Release251 {28711372-0255-4883-9BED-81E150D73880}.Release|Any CPU.Build.0 = Release252 {28711372-0255-4883-9BED-81E150D73880}.Release|Mixed Platforms.ActiveCfg = Release253 {28711372-0255-4883-9BED-81E150D73880}.Release|x64.ActiveCfg = Release254 {28711372-0255-4883-9BED-81E150D73880}.Release|x64.Build.0 = Release255 {28711372-0255-4883-9BED-81E150D73880}.Release|x86.ActiveCfg = Release256 228 {8D40A723-139D-40E4-8BBA-4CB309A9E4B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 257 229 {8D40A723-139D-40E4-8BBA-4CB309A9E4B9}.Debug|Any CPU.Build.0 = Debug|Any CPU … … 418 390 {464D70B8-2D91-485C-B622-22E4A4891C68}.Release|x86.ActiveCfg = Release|x86 419 391 {464D70B8-2D91-485C-B622-22E4A4891C68}.Release|x86.Build.0 = Release|x86 392 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 393 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|Any CPU.Build.0 = Debug|Any CPU 394 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU 395 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU 396 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|x64.ActiveCfg = Debug|x86 397 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|x86.ActiveCfg = Debug|x86 398 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Debug|x86.Build.0 = Debug|x86 399 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|Any CPU.ActiveCfg = Release|Any CPU 400 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|Any CPU.Build.0 = Release|Any CPU 401 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU 402 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|Mixed Platforms.Build.0 = Release|Any CPU 403 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|x64.ActiveCfg = Release|x86 404 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|x86.ActiveCfg = Release|x86 405 {BA8001DE-E83C-4B1F-8B2E-2695C4222491}.Release|x86.Build.0 = Release|x86 406 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Debug|Any CPU.ActiveCfg = Debug 407 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Debug|Any CPU.Build.0 = Debug 408 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Debug|Mixed Platforms.ActiveCfg = Debug 409 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Debug|Mixed Platforms.Build.0 = Debug 410 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Debug|x64.ActiveCfg = Debug 411 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Debug|x64.Build.0 = Debug 412 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Debug|x86.ActiveCfg = Debug 413 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Debug|x86.Build.0 = Debug 414 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Release|Any CPU.ActiveCfg = Release 415 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Release|Any CPU.Build.0 = Release 416 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Release|Mixed Platforms.ActiveCfg = Release 417 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Release|Mixed Platforms.Build.0 = Release 418 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Release|x64.ActiveCfg = Release 419 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Release|x64.Build.0 = Release 420 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Release|x86.ActiveCfg = Release 421 {D29F7B26-4528-43A8-92B7-1EB4623E0C88}.Release|x86.Build.0 = Release 420 422 EndGlobalSection 421 423 GlobalSection(SolutionProperties) = preSolution … … 425 427 {F98A1740-9AC9-4D36-A582-6A2D0D06978D} = {70CE526B-B92C-4750-B3D3-A38C572042A8} 426 428 {8C0D9F39-397F-4DBE-856F-BC4DC0FE23F8} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 427 {BA8001DE-E83C-4B1F-8B2E-2695C4222491} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A}428 {28711372-0255-4883-9BED-81E150D73880} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A}429 429 {989FE92B-484E-41EE-87E2-6A24AF0381D8} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 430 430 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} … … 432 432 {E3B93D5C-3B6B-4657-9B3E-F4297BAC0AA5} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 433 433 {464D70B8-2D91-485C-B622-22E4A4891C68} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 434 {BA8001DE-E83C-4B1F-8B2E-2695C4222491} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 435 {D29F7B26-4528-43A8-92B7-1EB4623E0C88} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 434 436 {CF9DA321-AC1B-4FD3-9EC3-67BC6B861BDE} = {E69A1E5F-63F7-493F-BBA2-163D6E321D44} 435 437 {0CA6706D-A569-45DE-A85C-4158891CC1BC} = {E69A1E5F-63F7-493F-BBA2-163D6E321D44} -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.HiveEngine/3.3/Tests/Program.cs
r6725 r6744 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.IO; 3 24 using System.Linq; … … 39 60 40 61 //var job2 = PersistenceUtil.Deserialize<OptimizerJob>(data); 41 62 42 63 #region Credentials 43 64 ServiceLocator.Instance.Username = "cneumuel"; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.3/Manager/UserManager.cs
r6463 r6744 1 using System; 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 using System; 2 23 using System.Web.Security; 3 24
Note: See TracChangeset
for help on using the changeset viewer.