diff --git a/SmvAutomation/SmvAutomation.csproj b/SmvAutomation/SmvAutomation.csproj index 8cb0c34..2939687 100644 --- a/SmvAutomation/SmvAutomation.csproj +++ b/SmvAutomation/SmvAutomation.csproj @@ -80,6 +80,15 @@ + + copy $(ProjectDir)..\SmvCmdlets\*.ps1 $(TargetDir) +copy $(ProjectDir)..\SmvCmdlets\$(OutDir)EntityFramework.dll $(TargetDir) +copy $(ProjectDir)..\SmvCmdlets\$(OutDir)EntityFramework.SqlServer.dll $(TargetDir) +copy $(ProjectDir)..\SmvCmdlets\$(OutDir)Microsoft.WindowsAzure.Storage.dll $(TargetDir) +copy $(ProjectDir)..\SmvCmdlets\$(OutDir)SmvCmdlets.dll $(TargetDir) +copy $(ProjectDir)..\SmvCmdlets\$(OutDir)SmvCmdlets.dll.config $(TargetDir) +copy $(ProjectDir)..\SmvCmdlets\$(OutDir)SmvDb.dll $(TargetDir) + - + @@ -19,6 +19,28 @@ + + + + + + + + + + + + + + + + + + + + + @@ -84,6 +106,9 @@ + + + @@ -126,8 +151,22 @@ + + SELECT + [RollUpTable].[SessionId] AS [SessionId], + [RollUpTable].[TaskId] AS [TaskId], + [RollUpTable].[ModulePath] AS [ModulePath], + [RollUpTable].[PluginName] AS [PluginName], + [RollUpTable].[Bugs] AS [Bugs], + [RollUpTable].[ActionSuccessCount] AS [ActionSuccessCount], + [RollUpTable].[ActionFailureCount] AS [ActionFailureCount], + [RollUpTable].[Command] AS [Command], + [RollUpTable].[Arguments] AS [Arguments] + FROM [dbo].[RollUpTable] AS [RollUpTable] + - + + @@ -206,6 +245,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -216,47 +275,53 @@ + + + + - + - + - - - - - - - + - + - + - + + + + + + + - - - + + + + + @@ -276,22 +341,6 @@ - - - - - - - - - - - - - - - - @@ -309,6 +358,25 @@ + + + + + + + + + + + + + + + + + + + @@ -391,23 +459,41 @@ - + + + + + + + + + + + + + + + + - - - + + + + + + @@ -440,30 +526,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -493,6 +555,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SmvDb/SmvDataModel.edmx.diagram b/SmvDb/SmvDataModel.edmx.diagram index a0556a2..b6359b6 100644 --- a/SmvDb/SmvDataModel.edmx.diagram +++ b/SmvDb/SmvDataModel.edmx.diagram @@ -4,7 +4,7 @@ - + @@ -14,6 +14,7 @@ + diff --git a/SmvDb/SmvDb.csproj b/SmvDb/SmvDb.csproj index 69b2f49..e2e2150 100644 --- a/SmvDb/SmvDb.csproj +++ b/SmvDb/SmvDb.csproj @@ -77,6 +77,9 @@ SmvDataModel.tt + + SmvDataModel.tt + SmvDataModel.tt diff --git a/SmvDb/SummaryTableForSession_Result.cs b/SmvDb/SummaryTableForSession_Result.cs index edf14c4..6a6c6cb 100644 --- a/SmvDb/SummaryTableForSession_Result.cs +++ b/SmvDb/SummaryTableForSession_Result.cs @@ -13,10 +13,13 @@ namespace SmvDb public partial class SummaryTableForSession_Result { + public string SessionId { get; set; } + public string TaskId { get; set; } public string ModulePath { get; set; } public string PluginName { get; set; } - public Nullable ActionSuccessCount { get; set; } - public Nullable ActionFailureCount { get; set; } + public string Bugs { get; set; } + public int ActionSuccessCount { get; set; } + public int ActionFailureCount { get; set; } public string Command { get; set; } public string Arguments { get; set; } } diff --git a/Smvdb/RollUpTable.cs b/Smvdb/RollUpTable.cs new file mode 100644 index 0000000..3a4a036 --- /dev/null +++ b/Smvdb/RollUpTable.cs @@ -0,0 +1,27 @@ +//------------------------------------------------------------------------------ +// +// This code was generated from a template. +// +// Manual changes to this file may cause unexpected behavior in your application. +// Manual changes to this file will be overwritten if the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace SmvDb +{ + using System; + using System.Collections.Generic; + + public partial class RollUpTable + { + public string SessionId { get; set; } + public string TaskId { get; set; } + public string ModulePath { get; set; } + public string PluginName { get; set; } + public string Bugs { get; set; } + public int ActionSuccessCount { get; set; } + public int ActionFailureCount { get; set; } + public string Command { get; set; } + public string Arguments { get; set; } + } +} diff --git a/Smvdb/script.sql b/Smvdb/script.sql new file mode 100644 index 0000000..607100a Binary files /dev/null and b/Smvdb/script.sql differ diff --git a/smv.sln b/smv.sln index 5b557f2..3fb72f5 100644 --- a/smv.sln +++ b/smv.sln @@ -23,6 +23,10 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StaticModuleVerifier", "StaticModuleVerifier\StaticModuleVerifier.csproj", "{E016F57D-68E9-48F9-ABCE-B0C3D7714C84}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmvAutomation", "SmvAutomation\SmvAutomation.csproj", "{8C30CB1C-2006-41ED-AAD7-FB652B8060D2}" + ProjectSection(ProjectDependencies) = postProject + {4BD5EB2A-3F7B-4AD7-9C1D-5861105715AE} = {4BD5EB2A-3F7B-4AD7-9C1D-5861105715AE} + {CAD1E044-FE00-47E4-BF63-EE943A653833} = {CAD1E044-FE00-47E4-BF63-EE943A653833} + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmvDb", "SmvDb\SmvDb.csproj", "{CAD1E044-FE00-47E4-BF63-EE943A653833}" EndProject @@ -66,7 +70,6 @@ Global {E016F57D-68E9-48F9-ABCE-B0C3D7714C84}.Debug|Any CPU.Build.0 = Debug|Any CPU {E016F57D-68E9-48F9-ABCE-B0C3D7714C84}.Release|Any CPU.ActiveCfg = Release|Any CPU {E016F57D-68E9-48F9-ABCE-B0C3D7714C84}.Release|Any CPU.Build.0 = Release|Any CPU -<<<<<<< HEAD {8C30CB1C-2006-41ED-AAD7-FB652B8060D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8C30CB1C-2006-41ED-AAD7-FB652B8060D2}.Debug|Any CPU.Build.0 = Debug|Any CPU {8C30CB1C-2006-41ED-AAD7-FB652B8060D2}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -79,12 +82,6 @@ Global {4BD5EB2A-3F7B-4AD7-9C1D-5861105715AE}.Debug|Any CPU.Build.0 = Debug|Any CPU {4BD5EB2A-3F7B-4AD7-9C1D-5861105715AE}.Release|Any CPU.ActiveCfg = Release|Any CPU {4BD5EB2A-3F7B-4AD7-9C1D-5861105715AE}.Release|Any CPU.Build.0 = Release|Any CPU -======= - {2FC736BC-2FF6-47EA-91F4-C63281CEDC9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2FC736BC-2FF6-47EA-91F4-C63281CEDC9F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2FC736BC-2FF6-47EA-91F4-C63281CEDC9F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2FC736BC-2FF6-47EA-91F4-C63281CEDC9F}.Release|Any CPU.Build.0 = Release|Any CPU ->>>>>>> f85ca440231ed41d3be2121e1b0fa9d96a997a34 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE