-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d64282f
commit 01926a2
Showing
71 changed files
with
16,581 additions
and
11,982 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -1,18 +1,23 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace LogShark.Shared.LogReading.Containers | ||
{ | ||
public class LogSetInfo | ||
{ | ||
public List<string> FilePaths { get; } | ||
public bool IsZip { get; } | ||
public string Path { get; } | ||
public string Prefix { get; } | ||
public string RootPath { get; } | ||
|
||
public LogSetInfo(string path, string prefix, bool isZip, string rootPath) | ||
public LogSetInfo(List<string> filePaths, string path, string prefix, bool isZip, string rootPath) | ||
{ | ||
FilePaths = filePaths; | ||
IsZip = isZip; | ||
Path = path; | ||
Prefix = prefix; | ||
RootPath = rootPath; | ||
} | ||
} | ||
} | ||
} | ||
|
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
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
Empty file.
Empty file.
Binary file added
BIN
+64 KB
...dToEndTests/Expected/logs_clean_tabadmin_hyper/hyper/TabadminControllerBuildRecords.hyper
Binary file not shown.
29 changes: 29 additions & 0 deletions
29
...sts/Expected/logs_clean_tsm_csv/csv/TabadminController_TabadminControllerBuildRecords.csv
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,29 @@ | ||
RoundedTimestamp,Build | ||
08/09/2019 22:00:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:24:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:43:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:02:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:40:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:33:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:59:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:30:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:23:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:42:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:32:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:58:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:29:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:22:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:41:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:31:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:28:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:40:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:39:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 18:43:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 18:42:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:05:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 18:41:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:04:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:42:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 20:25:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:03:00 +00:00,20192.19.0718.1543 | ||
08/09/2019 21:41:00 +00:00,20192.19.0718.1543 |
Binary file added
BIN
+64 KB
...ta/EndToEndTests/Expected/logs_clean_tsm_hyper/hyper/TabadminControllerBuildRecords.hyper
Binary file not shown.
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
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 |
---|---|---|
@@ -1,17 +1,36 @@ | ||
using System; | ||
using LogShark.Shared; | ||
|
||
namespace LogShark.Containers | ||
{ | ||
public class ProcessFileResult | ||
{ | ||
public TimeSpan Elapsed { get; } | ||
public string ErrorMessage { get; } | ||
public ExitReason ExitReason { get; } | ||
public long FileSizeBytes { get; } | ||
public long LinesProcessed { get; } | ||
public LogType LogType { get; } | ||
public bool IsSuccessful => ExitReason == ExitReason.CompletedSuccessfully; | ||
|
||
public ProcessFileResult(long linesProcessed, string errorMessage = null, ExitReason exitReason = ExitReason.CompletedSuccessfully) | ||
public ProcessFileResult(LogType logType, ProcessStreamResult processStreamResult, long fileSizeBytes, TimeSpan elapsed) | ||
{ | ||
Elapsed = elapsed; | ||
ErrorMessage = processStreamResult.ErrorMessage; | ||
ExitReason = processStreamResult.ExitReason; | ||
FileSizeBytes = fileSizeBytes; | ||
LinesProcessed = processStreamResult.LinesProcessed; | ||
LogType = logType; | ||
} | ||
|
||
public ProcessFileResult(LogType logType, string errorMessage, ExitReason exitReason, long linesProcessed = 0) | ||
{ | ||
Elapsed = TimeSpan.Zero; | ||
ErrorMessage = errorMessage; | ||
ExitReason = exitReason; | ||
FileSizeBytes = 0; | ||
LinesProcessed = linesProcessed; | ||
LogType = logType; | ||
} | ||
} | ||
} |
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
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,16 @@ | ||
namespace LogShark.Containers | ||
{ | ||
public class ProcessStreamResult | ||
{ | ||
public string ErrorMessage { get; } | ||
public ExitReason ExitReason { get; } | ||
public long LinesProcessed { get; } | ||
|
||
public ProcessStreamResult(long linesProcessed, string errorMessage = null, ExitReason exitReason = ExitReason.CompletedSuccessfully) | ||
{ | ||
ErrorMessage = errorMessage; | ||
ExitReason = exitReason; | ||
LinesProcessed = linesProcessed; | ||
} | ||
} | ||
} |
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
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
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.