-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: m-g-k <mgk@uk.ibm.com>
- Loading branch information
Showing
45 changed files
with
5,267 additions
and
24 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.txt | ||
**/obj/* | ||
**/bin/* | ||
test/**/coveragereport/* | ||
test/**/coveragereporthistory/* | ||
test/**/TestResults/* | ||
out/* | ||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
// Use IntelliSense to find out which attributes exist for C# debugging | ||
// Use hover for the description of the existing attributes | ||
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
"name": ".NET Core Launch (console)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"preLaunchTask": "build - Debug", | ||
// If you have changed target frameworks, make sure to update the program path. | ||
"program": "${workspaceFolder}/src/EventLogMonitor/bin/Debug/net6.0-windows/EventLogMonitor.dll", | ||
// "args": ["-p", "10", "-c", "De-DE", "-s", "*", "-v", "-l", "OAlerts"], | ||
// "args": ["-p", "*", "-i", "256688", "-b1", "-nt"], | ||
// "args": ["-l2", "System,Windows PowerShell", "-d"], | ||
// "args": ["-p", "30", "-nt", "-l" , "Windows PowerShell"], | ||
"args": ["-p", "3", "-nt", "-l" , "System", "-s", "Http", "-c", "en-DE"], | ||
// "args":["-p", "*", "-3", "-l", "Security", "-fi", "Windows Firewall did not apply the following rule"], | ||
"cwd": "${workspaceFolder}", | ||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console | ||
"console": "internalConsole", | ||
"stopAtEntry": false | ||
}, | ||
{ | ||
"name": ".NET Core Attach", | ||
"type": "coreclr", | ||
"request": "attach", | ||
"processId": "${command:pickProcess}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build - Debug", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/src/EventLogMonitor/EventLogMonitor.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "build - Release", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/src/EventLogMonitor/EventLogMonitor.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary", | ||
"-c", | ||
"Release" | ||
], | ||
"problemMatcher": "$msCompile", | ||
"group": "build" | ||
}, | ||
{ | ||
"label": "publish - Release as a single file WITH runtime", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"publish", | ||
"${workspaceFolder}/src/EventLogMonitor/EventLogMonitor.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary", | ||
"-c", | ||
"Release", | ||
"-r", | ||
"win-x64", | ||
"/p:PublishSingleFile=true", | ||
"/p:IncludeNativeLibrariesForSelfExtract=true", | ||
"--self-contained", | ||
"true", | ||
"-p:PublishReadyToRun=true" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "publish - Release as a single file WITHOUT runtime", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"publish", | ||
"${workspaceFolder}/src/EventLogMonitor/EventLogMonitor.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary", | ||
"-c", | ||
"Release", | ||
"-r", | ||
"win-x64", | ||
"/p:PublishSingleFile=true", | ||
"/p:IncludeNativeLibrariesForSelfExtract=true", | ||
"--self-contained", | ||
"false", | ||
"-p:PublishReadyToRun=true" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "clean - Debug", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"clean", | ||
"${workspaceFolder}/src/EventLogMonitor/EventLogMonitor.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary", | ||
"-c", | ||
"Debug" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "clean - Release", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"clean", | ||
"${workspaceFolder}/src/EventLogMonitor/EventLogMonitor.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary", | ||
"-c", | ||
"Release" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "watch - Debug Build", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"watch", | ||
"build", | ||
"--project", | ||
"${workspaceFolder}/src/EventLogMonitor/EventLogMonitor.csproj", | ||
"/property:GenerateFullPaths=true", | ||
"/consoleloggerparameters:NoSummary" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "watch - Debug Tests", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"watch", | ||
"test", | ||
"--project", | ||
"${workspaceFolder}/test/EventLogMonitorTests/EventLogMonitorTests.csproj", | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "run tests against Release build", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"test", | ||
"-c", | ||
"Release" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "run tests with code coverage", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"test", | ||
"--collect:\"XPlat Code Coverage\"", | ||
"--results-directory=./test/EventLogMonitorTests/TestResults/CoverageResults/" | ||
], | ||
"problemMatcher": "$msCompile" | ||
}, | ||
{ | ||
"label": "generate html code coverage report", | ||
"command": "reportgenerator", | ||
"type": "process", | ||
"args": [ | ||
"-reports:\"./test/EventLogMonitorTests/TestResults/CoverageResults/*/coverage.cobertura.xml\"", | ||
"-targetdir:\"test/EventLogMonitorTests/coveragereport\"", | ||
"-historydir:\"test/EventLogMonitorTests/coveragereporthistory\"", | ||
"-title:EventLogMonitor", | ||
"-reporttypes:Html" | ||
], | ||
"dependsOn": [ | ||
"run tests with code coverage" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "generate and view html code coverage report in default browser", | ||
"command": "explorer", | ||
"type": "process", | ||
"args": [ | ||
"${workspaceFolder}\\test\\EventLogMonitorTests\\coveragereport\\index.html" | ||
], | ||
"dependsOn": [ | ||
"generate html code coverage report" | ||
], | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "view most recent html code coverage report in default browser", | ||
"command": "explorer", | ||
"type": "process", | ||
"args": [ | ||
"${workspaceFolder}\\test\\EventLogMonitorTests\\coveragereport\\index.html" | ||
], | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30114.105 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{1AAD5DB6-6B6A-4389-B3D5-BA1AFA0493DD}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventLogMonitor", "src\EventLogMonitor\EventLogMonitor.csproj", "{EC6C0C45-7884-465B-A656-F56B3D9BA316}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{8F3C2DF1-3BC6-45BD-9F52-88BF3AD419F2}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventLogMonitorTests", "test\EventLogMonitorTests\EventLogMonitorTests.csproj", "{0E0237E3-85FD-4D63-A44C-38D9AC20CEEB}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{EC6C0C45-7884-465B-A656-F56B3D9BA316}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{EC6C0C45-7884-465B-A656-F56B3D9BA316}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{EC6C0C45-7884-465B-A656-F56B3D9BA316}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{EC6C0C45-7884-465B-A656-F56B3D9BA316}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0E0237E3-85FD-4D63-A44C-38D9AC20CEEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0E0237E3-85FD-4D63-A44C-38D9AC20CEEB}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0E0237E3-85FD-4D63-A44C-38D9AC20CEEB}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0E0237E3-85FD-4D63-A44C-38D9AC20CEEB}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{EC6C0C45-7884-465B-A656-F56B3D9BA316} = {1AAD5DB6-6B6A-4389-B3D5-BA1AFA0493DD} | ||
{0E0237E3-85FD-4D63-A44C-38D9AC20CEEB} = {8F3C2DF1-3BC6-45BD-9F52-88BF3AD419F2} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.