Changeset 6698
- Timestamp:
- 09/02/11 11:49:53 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources
- Files:
-
- 12 added
- 14 deleted
- 14 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Hive 3.4.sln
r6696 r6698 53 53 EndProjectSection 54 54 EndProject 55 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Services.Hive -3.4.Tests", "HeuristicLab.Services.Hive.Tests\HeuristicLab.Services.Hive-3.4.Tests.csproj", "{17187EAC-5D8C-4B11-9CEA-D88F71B59658}"55 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Services.Hive.Tests-3.4", "HeuristicLab.Services.Hive.Tests\HeuristicLab.Services.Hive.Tests-3.4.csproj", "{17187EAC-5D8C-4B11-9CEA-D88F71B59658}" 56 56 EndProject 57 57 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave.SlaveWindowsService", "HeuristicLab.Clients.Hive.Slave.SlaveWindowsService\HeuristicLab.Clients.Hive.Slave.SlaveWindowsService.csproj", "{BA8001DE-E83C-4B1F-8B2E-2695C4222491}" … … 59 59 Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "HeuristicLab.Clients.Hive.Slave.SlaveWindowsServiceSetup", "HeuristicLab.Clients.Hive.Slave.SlaveWindowsServiceSetup\HeuristicLab.Clients.Hive.Slave.SlaveWindowsServiceSetup.vdproj", "{28711372-0255-4883-9BED-81E150D73880}" 60 60 EndProject 61 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon", "HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon\HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon.csproj", "{7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}"62 EndProject63 61 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Tests-3.4", "HeuristicLab.Clients.Hive.Tests\HeuristicLab.Clients.Hive.Tests-3.4.csproj", "{8D40A723-139D-40E4-8BBA-4CB309A9E4B9}" 64 62 EndProject … … 81 79 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.HiveEngine-3.4", "HeuristicLab.HiveEngine\3.4\HeuristicLab.HiveEngine-3.4.csproj", "{2C036542-5451-4A23-AFF6-87575C7BAFE7}" 82 80 EndProject 83 Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "HeuristicLab.Clients.Hive.Slave.TrayIconSetup", "HeuristicLab.Clients.Hive.Slave.TrayIconSetup\HeuristicLab.Clients.Hive.Slave.TrayIconSetup.vdproj", "{542AD827-817C-44E9-AD28-D6607BC4FA10}"84 EndProject85 81 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.HiveEngine.Views-3.4", "HeuristicLab.HiveEngine.Views\3.4\HeuristicLab.HiveEngine.Views-3.4.csproj", "{E37F15E0-D0D6-4C6E-AD22-0DA514C943A3}" 86 82 EndProject 87 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave-3.4.ConsoleTests", "HeuristicLab.Clients.Hive.Slave\3.4\ConsoleTests\HeuristicLab.Clients.Hive.Slave-3.4.ConsoleTests.csproj", "{B09E8C65-8D4D-48B3-8E9A-F6FC52107261}"88 EndProject89 83 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 84 EndProject … … 96 90 EndProject 97 91 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Services.Hive.DbCreator-3.3", "HeuristicLab.Services.Hive.DbCreator\3.3\HeuristicLab.Services.Hive.DbCreator-3.3.csproj", "{691FC65E-CA1A-4477-B66F-EB49D21B7393}" 92 EndProject 93 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Clients.Hive.Slave.TrayIcon-3.3", "HeuristicLab.Clients.Hive.Slave.TrayIcon\3.3\HeuristicLab.Clients.Hive.Slave.TrayIcon-3.3.csproj", "{7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}" 94 EndProject 95 Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "HeuristicLab.Clients.Hive.Slave.TrayIconSetup", "HeuristicLab.Clients.Hive.Slave.TrayIconSetup\HeuristicLab.Clients.Hive.Slave.TrayIconSetup.vdproj", "{E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}" 98 96 EndProject 99 97 Global … … 269 267 {28711372-0255-4883-9BED-81E150D73880}.Release|x64.Build.0 = Release 270 268 {28711372-0255-4883-9BED-81E150D73880}.Release|x86.ActiveCfg = Release 271 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU272 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|Any CPU.Build.0 = Debug|Any CPU273 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU274 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU275 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|x64.ActiveCfg = Debug|x86276 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|x86.ActiveCfg = Debug|x86277 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|x86.Build.0 = Debug|x86278 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|Any CPU.ActiveCfg = Release|Any CPU279 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|Any CPU.Build.0 = Release|Any CPU280 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|Mixed Platforms.ActiveCfg = Release|x86281 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|Mixed Platforms.Build.0 = Release|x86282 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|x64.ActiveCfg = Release|x86283 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|x86.ActiveCfg = Release|x86284 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|x86.Build.0 = Release|x86285 269 {8D40A723-139D-40E4-8BBA-4CB309A9E4B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 286 270 {8D40A723-139D-40E4-8BBA-4CB309A9E4B9}.Debug|Any CPU.Build.0 = Debug|Any CPU … … 327 311 {2C036542-5451-4A23-AFF6-87575C7BAFE7}.Release|x86.ActiveCfg = Release|x86 328 312 {2C036542-5451-4A23-AFF6-87575C7BAFE7}.Release|x86.Build.0 = Release|x86 329 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Debug|Any CPU.ActiveCfg = Debug330 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Debug|Any CPU.Build.0 = Debug331 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Debug|Mixed Platforms.ActiveCfg = Debug332 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Debug|Mixed Platforms.Build.0 = Debug333 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Debug|x64.ActiveCfg = Debug334 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Debug|x64.Build.0 = Debug335 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Debug|x86.ActiveCfg = Debug336 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Debug|x86.Build.0 = Debug337 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Release|Any CPU.ActiveCfg = Release338 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Release|Any CPU.Build.0 = Release339 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Release|Mixed Platforms.ActiveCfg = Release340 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Release|Mixed Platforms.Build.0 = Release341 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Release|x64.ActiveCfg = Release342 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Release|x64.Build.0 = Release343 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Release|x86.ActiveCfg = Release344 {542AD827-817C-44E9-AD28-D6607BC4FA10}.Release|x86.Build.0 = Release345 313 {E37F15E0-D0D6-4C6E-AD22-0DA514C943A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 346 314 {E37F15E0-D0D6-4C6E-AD22-0DA514C943A3}.Debug|Any CPU.Build.0 = Debug|Any CPU … … 359 327 {E37F15E0-D0D6-4C6E-AD22-0DA514C943A3}.Release|x86.ActiveCfg = Release|x86 360 328 {E37F15E0-D0D6-4C6E-AD22-0DA514C943A3}.Release|x86.Build.0 = Release|x86 361 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Debug|Any CPU.ActiveCfg = Debug|Any CPU362 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Debug|Any CPU.Build.0 = Debug|Any CPU363 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU364 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU365 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Debug|x64.ActiveCfg = Debug|x86366 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Debug|x86.ActiveCfg = Debug|x86367 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Debug|x86.Build.0 = Debug|x86368 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Release|Any CPU.ActiveCfg = Release|Any CPU369 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Release|Any CPU.Build.0 = Release|Any CPU370 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU371 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Release|Mixed Platforms.Build.0 = Release|Any CPU372 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Release|x64.ActiveCfg = Release|x86373 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Release|x86.ActiveCfg = Release|x86374 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261}.Release|x86.Build.0 = Release|x86375 329 {464D70B8-2D91-485C-B622-22E4A4891C68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 376 330 {464D70B8-2D91-485C-B622-22E4A4891C68}.Debug|Any CPU.Build.0 = Debug|Any CPU … … 446 400 {691FC65E-CA1A-4477-B66F-EB49D21B7393}.Release|x86.ActiveCfg = Release|x86 447 401 {691FC65E-CA1A-4477-B66F-EB49D21B7393}.Release|x86.Build.0 = Release|x86 402 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 403 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|Any CPU.Build.0 = Debug|Any CPU 404 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU 405 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU 406 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|x64.ActiveCfg = Debug|x86 407 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|x86.ActiveCfg = Debug|x86 408 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Debug|x86.Build.0 = Debug|x86 409 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|Any CPU.ActiveCfg = Release|Any CPU 410 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|Any CPU.Build.0 = Release|Any CPU 411 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU 412 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|Mixed Platforms.Build.0 = Release|Any CPU 413 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|x64.ActiveCfg = Release|x86 414 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|x86.ActiveCfg = Release|x86 415 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA}.Release|x86.Build.0 = Release|x86 416 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Debug|Any CPU.ActiveCfg = Debug 417 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Debug|Any CPU.Build.0 = Debug 418 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Debug|Mixed Platforms.ActiveCfg = Debug 419 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Debug|Mixed Platforms.Build.0 = Debug 420 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Debug|x64.ActiveCfg = Debug 421 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Debug|x64.Build.0 = Debug 422 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Debug|x86.ActiveCfg = Debug 423 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Debug|x86.Build.0 = Debug 424 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Release|Any CPU.ActiveCfg = Release 425 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Release|Any CPU.Build.0 = Release 426 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Release|Mixed Platforms.ActiveCfg = Release 427 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Release|Mixed Platforms.Build.0 = Release 428 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Release|x64.ActiveCfg = Release 429 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Release|x64.Build.0 = Release 430 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Release|x86.ActiveCfg = Release 431 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6}.Release|x86.Build.0 = Release 448 432 EndGlobalSection 449 433 GlobalSection(SolutionProperties) = preSolution … … 455 439 {BA8001DE-E83C-4B1F-8B2E-2695C4222491} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 456 440 {28711372-0255-4883-9BED-81E150D73880} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 441 {989FE92B-484E-41EE-87E2-6A24AF0381D8} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 442 {464D70B8-2D91-485C-B622-22E4A4891C68} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 457 443 {7C4B1DE4-FC9A-4448-BCF8-3CB3FA3CB8FA} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 458 {989FE92B-484E-41EE-87E2-6A24AF0381D8} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 459 {542AD827-817C-44E9-AD28-D6607BC4FA10} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 460 {B09E8C65-8D4D-48B3-8E9A-F6FC52107261} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 461 {464D70B8-2D91-485C-B622-22E4A4891C68} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 444 {E2171917-7CD6-4C03-BA98-7DF4B5FA42D6} = {622F8E95-CDFC-4B4E-BBA7-3EE4E47DB52A} 462 445 {EC2C8109-6E1E-4C88-9A2B-908CFF2EF4AC} = {E69A1E5F-63F7-493F-BBA2-163D6E321D44} 463 446 {CF9DA321-AC1B-4FD3-9EC3-67BC6B861BDE} = {E69A1E5F-63F7-493F-BBA2-163D6E321D44} -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/ServiceContracts/IHiveService.cs
r6479 r6698 197 197 198 198 [OperationContract] 199 void Trigger Lifecycle(bool force);199 void TriggerEventManager(bool force); 200 200 #endregion 201 201 -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HiveDataContext.dbml
r6452 r6698 1 1 <?xml version="1.0" encoding="utf-8"?><Database Name="HeuristicLab.Hive" Class="HiveDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007"> 2 <Connection Mode="AppSettings" ConnectionString="Data Source=localhost;Initial Catalog=HeuristicLab.Hive-3.4;Integrated Security=True" SettingsObjectName="HeuristicLab.Services.Hive.DataAccess. Properties.Settings" SettingsPropertyName="HeuristicLab_Hive_LinqConnectionString" Provider="System.Data.SqlClient" />2 <Connection Mode="AppSettings" ConnectionString="Data Source=localhost;Initial Catalog=HeuristicLab.Hive-3.4;Integrated Security=True" SettingsObjectName="HeuristicLab.Services.Hive.DataAccess.Settings" SettingsPropertyName="HeuristicLab_Hive_LinqConnectionString" Provider="System.Data.SqlClient" /> 3 3 <Table Name="dbo.AssignedResources" Member="AssignedResources"> 4 4 <Type Name="AssignedResource"> 5 <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" /> 6 <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" /> 7 <Column Name="AssignedRessourcesId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" /> 5 <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" /> 6 <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" /> 8 7 <Association Name="Resource_AssignedResource" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" DeleteRule="CASCADE" /> 9 8 <Association Name="Job_AssignedResource" Member="Job" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" DeleteRule="CASCADE" /> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HiveDataContext.dbml.layout
r6452 r6698 3 3 <DataContextMoniker Name="/HiveDataContext" /> 4 4 <nestedChildShapes> 5 <classShape Id="a929c9dc-69f4-4488-ba1c-a2342bf81d89" absoluteBounds="8.875, 4, 2, 1. 3862939453124987">5 <classShape Id="a929c9dc-69f4-4488-ba1c-a2342bf81d89" absoluteBounds="8.875, 4, 2, 1.1939925130208327"> 6 6 <DataClassMoniker Name="/HiveDataContext/AssignedResource" /> 7 7 <nestedChildShapes> 8 <elementListCompartment Id="8b005775-f0ee-41b0-ae10-6d1151003708" absoluteBounds="8.89, 4.4600000000000009, 1.9700000000000002, 0. 8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />8 <elementListCompartment Id="8b005775-f0ee-41b0-ae10-6d1151003708" absoluteBounds="8.89, 4.4600000000000009, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 9 9 </nestedChildShapes> 10 10 </classShape> … … 69 69 </nodes> 70 70 </inheritanceConnector> 71 <associationConnector edgePoints="[(1 2.25 : 2.57859537760417); (12.25 : 4.69314697265625); (10.875 : 4.69314697265625)]" fixedFrom="NotFixed" fixedTo="NotFixed">71 <associationConnector edgePoints="[(11.9843735 : 2.57859537760417); (11.9843735 : 4.59699625651042); (10.875 : 4.59699625651042)]" fixedFrom="Algorithm" fixedTo="Algorithm"> 72 72 <AssociationMoniker Name="/HiveDataContext/Resource/Resource_AssignedResource" /> 73 73 <nodes> … … 76 76 </nodes> 77 77 </associationConnector> 78 <associationConnector edgePoints="[(7.5 : 4.30930826822917); (7.5 : 4. 84780160677083); (8.875 : 4.84780160677083)]" fixedFrom="NotFixed" fixedTo="NotFixed">78 <associationConnector edgePoints="[(7.5 : 4.30930826822917); (7.5 : 4.751650890625); (8.875 : 4.751650890625)]" fixedFrom="Algorithm" fixedTo="Algorithm"> 79 79 <AssociationMoniker Name="/HiveDataContext/Job/Job_AssignedResource" /> 80 80 <nodes> … … 221 221 </nodes> 222 222 </associationConnector> 223 <associationConnector edgePoints="[(12.781252 : 2.57859537760417); (12.781252 : 3.64829952604167); (13.5 : 3.64829952604167)]" fixedFrom=" Algorithm" fixedTo="Algorithm">223 <associationConnector edgePoints="[(12.781252 : 2.57859537760417); (12.781252 : 3.64829952604167); (13.5 : 3.64829952604167)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 224 224 <AssociationMoniker Name="/HiveDataContext/Resource/Resource_Downtime" /> 225 225 <nodes> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HiveDataContext.designer.cs
r6452 r6698 3 3 // <auto-generated> 4 4 // This code was generated by a tool. 5 // Runtime Version:4.0.30319.2 255 // Runtime Version:4.0.30319.235 6 6 // 7 7 // Changes to this file may cause incorrect behavior and will be lost if … … 12 12 namespace HeuristicLab.Services.Hive.DataAccess 13 13 { 14 using System; 15 using System.ComponentModel; 16 using System.Data.Linq; 17 using System.Data.Linq.Mapping; 14 using System.Data.Linq; 15 using System.Data.Linq.Mapping; 16 using System.Data; 17 using System.Collections.Generic; 18 using System.Reflection; 19 using System.Linq; 20 using System.Linq.Expressions; 21 using System.ComponentModel; 22 using System; 18 23 19 24 … … 245 250 private System.Guid _JobId; 246 251 247 private System.Guid _AssignedRessourcesId;248 249 252 private EntityRef<Resource> _Resource; 250 253 … … 259 262 partial void OnJobIdChanging(System.Guid value); 260 263 partial void OnJobIdChanged(); 261 partial void OnAssignedRessourcesIdChanging(System.Guid value);262 partial void OnAssignedRessourcesIdChanged();263 264 #endregion 264 265 … … 270 271 } 271 272 272 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceId", DbType="UniqueIdentifier NOT NULL" )]273 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] 273 274 public System.Guid ResourceId 274 275 { … … 294 295 } 295 296 296 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JobId", DbType="UniqueIdentifier NOT NULL" )]297 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JobId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] 297 298 public System.Guid JobId 298 299 { … … 314 315 this.SendPropertyChanged("JobId"); 315 316 this.OnJobIdChanged(); 316 }317 }318 }319 320 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AssignedRessourcesId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]321 public System.Guid AssignedRessourcesId322 {323 get324 {325 return this._AssignedRessourcesId;326 }327 set328 {329 if ((this._AssignedRessourcesId != value))330 {331 this.OnAssignedRessourcesIdChanging(value);332 this.SendPropertyChanging();333 this._AssignedRessourcesId = value;334 this.SendPropertyChanged("AssignedRessourcesId");335 this.OnAssignedRessourcesIdChanged();336 317 } 337 318 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/SQL Scripts/Initialize Hive Database.sql
r6688 r6698 5 5 CREATE TABLE [dbo].[AssignedResources]( 6 6 [ResourceId] UniqueIdentifier NOT NULL, 7 [JobId] UniqueIdentifier NOT NULL, 8 [AssignedRessourcesId] UniqueIdentifier NOT NULL,9 CONSTRAINT [PK_dbo. AssignedResources] PRIMARY KEY ([AssignedRessourcesId])7 [JobId] UniqueIdentifier NOT NULL, 8 CONSTRAINT [PK_dbo.ResourceId] PRIMARY KEY ([ResourceId]), 9 CONSTRAINT [PK_dbo.JobId] PRIMARY KEY ([JobId]) 10 10 ) 11 11 CREATE TABLE [dbo].[Plugin]( -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/SQL Scripts/Prepare Hive Database.sql
r6688 r6698 8 8 9 9 10 ALTER TABLE dbo.AssignedResources ALTER COLUMN AssignedRessourcesId ADD ROWGUIDCOL;11 ALTER TABLE dbo.AssignedResources WITH NOCHECK ADD CONSTRAINT [DF_AssignedResources_AssignedRessourcesId] DEFAULT (NEWSEQUENTIALID()) FOR AssignedRessourcesId;12 10 ALTER TABLE [dbo].[AssignedResources] DROP CONSTRAINT [Job_AssignedResource] 13 11 ALTER TABLE [dbo].[AssignedResources] WITH CHECK ADD CONSTRAINT [Job_AssignedResource] FOREIGN KEY([JobId]) -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Tests/Mocks/MockLifecycleManager.cs
r6452 r6698 21 21 22 22 namespace HeuristicLab.Services.Hive.Tests.Mocks { 23 public class MockLifecycleManager : I LifecycleManager {23 public class MockLifecycleManager : IEventManager { 24 24 public void Cleanup() { } 25 25 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Tests/Mocks/MockServiceLocator.cs
r6463 r6698 45 45 } 46 46 47 public I LifecycleManager LifecycleManager {48 get { return defaultServiceLocator. LifecycleManager; }47 public IEventManager EventManager { 48 get { return defaultServiceLocator.EventManager; } 49 49 } 50 50 public ITransactionManager TransactionManager { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Tests/ServiceTests.cs
r6463 r6698 276 276 277 277 // lifecycle - let it process one server-heartbeat; the parent job must NOT be set to finished 278 service.Trigger Lifecycle(true);278 service.TriggerEventManager(true); 279 279 280 280 parentJobLoaded = service.GetJob(parentJob.Id); … … 285 285 286 286 // lifecycle - let it process one server-heartbeat; this should set the parent job to finished 287 service.Trigger Lifecycle(true);287 service.TriggerEventManager(true); 288 288 289 289 // test if parent job is finished -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HeuristicLab.Services.Hive-3.4.csproj
r6463 r6698 110 110 <Compile Include="Manager\HeartbeatManager.cs" /> 111 111 <Compile Include="Interfaces\IAuthenticationManager.cs" /> 112 <Compile Include="Interfaces\I LifecycleManager.cs" />112 <Compile Include="Interfaces\IEventManager.cs" /> 113 113 <Compile Include="Interfaces\IServiceLocator.cs" /> 114 114 <Compile Include="Manager\AuthorizationManager.cs" /> 115 115 <Compile Include="HeuristicLabServicesHivePlugin.cs" /> 116 <Compile Include="Manager\ LifecycleManager.cs" />116 <Compile Include="Manager\EventManager.cs" /> 117 117 <Compile Include="HiveRoles.cs" /> 118 118 <Compile Include="HiveService.cs" /> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs
r6479 r6698 48 48 get { return ServiceLocator.Instance.TransactionManager; } 49 49 } 50 private I LifecycleManager lifecycleManager {51 get { return ServiceLocator.Instance. LifecycleManager; }50 private IEventManager eventManager { 51 get { return ServiceLocator.Instance.EventManager; } 52 52 } 53 53 private IUserManager userManager { … … 382 382 public List<MessageContainer> Heartbeat(Heartbeat heartbeat) { 383 383 authen.AuthenticateForAnyRole(HiveRoles.Slave); 384 Trigger Lifecycle(false);384 TriggerEventManager(false); 385 385 return trans.UseTransaction(() => heartbeatManager.ProcessHeartbeat(heartbeat)); 386 386 } … … 532 532 } 533 533 534 public void Trigger Lifecycle(bool force) {534 public void TriggerEventManager(bool force) { 535 535 authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Slave); 536 536 // use a serializable transaction here to ensure not two threads execute this simultaniously (mutex-lock would not work since IIS may use multiple AppDomains) … … 539 539 if (force || DateTime.Now - lastCleanup > TimeSpan.FromSeconds(59)) { 540 540 dao.SetLastCleanup(DateTime.Now); 541 lifecycleManager.Cleanup();541 eventManager.Cleanup(); 542 542 } 543 543 }, true); -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/Interfaces/IServiceLocator.cs
r6463 r6698 27 27 IAuthorizationManager AuthorizationManager { get; } 28 28 IHiveDao HiveDao { get; } 29 I LifecycleManager LifecycleManager { get; }29 IEventManager EventManager { get; } 30 30 ITransactionManager TransactionManager { get; } 31 31 IUserManager UserManager { get; } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/ServiceLocator.cs
r6463 r6698 58 58 } 59 59 60 private I LifecycleManager lifecycleManager;61 public I LifecycleManager LifecycleManager {60 private IEventManager eventManager; 61 public IEventManager EventManager { 62 62 get { 63 if ( lifecycleManager == null) lifecycleManager = new LifecycleManager();64 return lifecycleManager;63 if (eventManager == null) eventManager = new EventManager(); 64 return eventManager; 65 65 } 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.