- Timestamp:
- 06/18/15 11:58:58 (9 years ago)
- Location:
- branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3
- Files:
-
- 31 added
- 6 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HeuristicLab.Services.Hive.DataAccess-3.3.csproj
r11623 r12468 104 104 <ItemGroup> 105 105 <None Include="Plugin.cs.frame" /> 106 <Compile Include="Daos\AssignedResourceDao.cs" /> 107 <Compile Include="Daos\DowntimeDao.cs" /> 108 <Compile Include="Daos\GenericDao.cs" /> 109 <Compile Include="Daos\HiveStatistics\DimClientDao.cs" /> 110 <Compile Include="Daos\HiveStatistics\DimJobDao.cs" /> 111 <Compile Include="Daos\HiveStatistics\DimTimeDao.cs" /> 112 <Compile Include="Daos\HiveStatistics\DimUserDao.cs" /> 113 <Compile Include="Daos\HiveStatistics\FactClientInfoDao.cs" /> 114 <Compile Include="Daos\HiveStatistics\FactTaskDao.cs" /> 115 <Compile Include="Daos\JobDao.cs" /> 116 <Compile Include="Daos\JobPermissionDao.cs" /> 117 <Compile Include="Daos\LifecycleDao.cs" /> 118 <Compile Include="Daos\PluginDao.cs" /> 119 <Compile Include="Daos\PluginDataDao.cs" /> 120 <Compile Include="Daos\RequiredPluginDao.cs" /> 121 <Compile Include="Daos\ResourceDao.cs" /> 122 <Compile Include="Daos\ResourcePermissionDao.cs" /> 123 <Compile Include="Daos\SlaveDao.cs" /> 124 <Compile Include="Daos\SlaveGroupDao.cs" /> 125 <Compile Include="Daos\StateLogDao.cs" /> 126 <Compile Include="Daos\TaskDao.cs" /> 127 <Compile Include="Daos\TaskDataDao.cs" /> 128 <Compile Include="Daos\UserPriorityDao.cs" /> 129 <Compile Include="Interfaces\IGenericDao.cs" /> 106 130 <Compile Include="Enums\Command.cs" /> 107 131 <Compile Include="Enums\DowntimeType.cs" /> 108 132 <Compile Include="Enums\CpuArchitecture.cs" /> 133 <Compile Include="Interfaces\IPersistenceManager.cs" /> 134 <Compile Include="Manager\PersistenceManager.cs" /> 109 135 <Compile Include="Plugin.cs" /> 110 136 <Compile Include="HiveDataContext.cs"> … … 116 142 <DependentUpon>HiveDataContext.dbml</DependentUpon> 117 143 </Compile> 118 <Compile Include="I TransactionManager.cs" />144 <Compile Include="Interfaces\ITransactionManager.cs" /> 119 145 <Compile Include="Enums\TaskState.cs" /> 120 146 <Compile Include="Logger.cs" /> … … 128 154 </Compile> 129 155 <Compile Include="Enums\SlaveState.cs" /> 130 <Compile Include=" TransactionManager.cs" />156 <Compile Include="Manager\TransactionManager.cs" /> 131 157 </ItemGroup> 132 158 <ItemGroup> … … 158 184 <Content Include="SQL Scripts\Prepare Hive Database.sql" /> 159 185 </ItemGroup> 186 <ItemGroup /> 160 187 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 161 188 <PropertyGroup> -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml
r12441 r12468 1 1 <?xml version="1.0" encoding="utf-8"?><Database Name="HeuristicLab.Hive-3.3" Class="HiveDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007"> 2 <Connection Mode="AppSettings" ConnectionString="Data Source= .\SQLEXPRESS;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True" SettingsObjectName="HeuristicLab.Services.Hive.DataAccess.Settings" SettingsPropertyName="HeuristicLab_Hive_LinqConnectionString" Provider="System.Data.SqlClient" />2 <Connection Mode="AppSettings" ConnectionString="Data Source=localhost;Initial Catalog=HeuristicLab.Hive-3.3;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"> … … 233 233 <Column Name="MemoryRequired" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" /> 234 234 <Column Name="Priority" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" /> 235 <Column Name="LastClientId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull=" false" />235 <Column Name="LastClientId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="true" /> 236 236 <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" /> 237 237 <Column Name="StartTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" /> -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml.layout
r12441 r12468 297 297 </nodes> 298 298 </associationConnector> 299 <associationConnector edgePoints="[(5.02343625 : 10.2708968098958); (5.02343625 : 14.7227579166667); ( 6.875 : 14.7227579166667)]" fixedFrom="NotFixed" fixedTo="NotFixed">299 <associationConnector edgePoints="[(5.02343625 : 10.2708968098958); (5.02343625 : 14.7227579166667); (5.90885291666667 : 14.7227579166667 : JumpStart); (6.07551958333333 : 14.7227579166667 : JumpEnd); (6.875 : 14.7227579166667)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 300 300 <AssociationMoniker Name="/HiveDataContext/DimTime/DimTime_FactTask" /> 301 301 <nodes> -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.designer.cs
r12441 r12468 3 3 // <auto-generated> 4 4 // This code was generated by a tool. 5 // Runtime Version:4.0.30319.34 0145 // Runtime Version:4.0.30319.34209 6 6 // 7 7 // Changes to this file may cause incorrect behavior and will be lost if … … 4863 4863 private int _Priority; 4864 4864 4865 private System. Guid_LastClientId;4865 private System.Nullable<System.Guid> _LastClientId; 4866 4866 4867 4867 private System.Guid _JobId; … … 4905 4905 partial void OnPriorityChanging(int value); 4906 4906 partial void OnPriorityChanged(); 4907 partial void OnLastClientIdChanging(System. Guidvalue);4907 partial void OnLastClientIdChanging(System.Nullable<System.Guid> value); 4908 4908 partial void OnLastClientIdChanged(); 4909 4909 partial void OnJobIdChanging(System.Guid value); … … 5109 5109 5110 5110 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastClientId", DbType="UniqueIdentifier NOT NULL")] 5111 public System. GuidLastClientId5111 public System.Nullable<System.Guid> LastClientId 5112 5112 { 5113 5113 get … … 5271 5271 else 5272 5272 { 5273 this._LastClientId = default( System.Guid);5273 this._LastClientId = default(Nullable<System.Guid>); 5274 5274 } 5275 5275 this.SendPropertyChanged("DimClient"); -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Initialize Hive Database.sql
r12441 r12468 239 239 [TotalMemory] INT NOT NULL, 240 240 [CpuUtilization] FLOAT (53) NOT NULL, 241 241 [SlaveState] VarChar(15) NOT NULL, 242 242 [TotalTimeIdle] FLOAT (53) NOT NULL, 243 243 [TotalTimeCalculating] FLOAT (53) NOT NULL, … … 260 260 [MemoryRequired] INT NOT NULL, 261 261 [Priority] INT NOT NULL, 262 [LastClientId] UNIQUEIDENTIFIER N OT NULL,262 [LastClientId] UNIQUEIDENTIFIER NULL, 263 263 [JobId] UNIQUEIDENTIFIER NOT NULL, 264 264 [StartTime] DATETIME NOT NULL, 265 265 [EndTime] DATETIME NULL, 266 267 266 [TaskState] VARCHAR (30) NOT NULL, 267 [Exception] VARCHAR (MAX) NULL, 268 268 CONSTRAINT [PK_FactTask] PRIMARY KEY CLUSTERED ([TaskId] ASC), 269 269 CONSTRAINT [FK_FactTask_DimClient] FOREIGN KEY ([LastClientId]) REFERENCES [statistics].[DimClient] ([Id]), … … 273 273 ); 274 274 275 INSERT INTO [HeuristicLab.Hive-3.3].[statistics].[DimClient] ([Id] ,[Name] ,[ResourceId]) 276 VALUES ('00000000-0000-0000-0000-000000000000' ,'NULL' ,'00000000-0000-0000-0000-000000000000') 275 /* dummy for nullable userIds in FactClientInfo */ 276 INSERT INTO [statistics].[DimUser] ([UserId], [Name]) 277 VALUES ('00000000-0000-0000-0000-000000000000', 'NULL');
Note: See TracChangeset
for help on using the changeset viewer.