File tree Expand file tree Collapse file tree 8 files changed +17
-0
lines changed
KeeperData.Bridge/Filters Expand file tree Collapse file tree 8 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
12using KeeperData . Bridge . Controllers ;
23using Microsoft . AspNetCore . Mvc ;
34using Microsoft . AspNetCore . Mvc . Filters ;
@@ -8,6 +9,7 @@ namespace KeeperData.Bridge.Filters;
89/// Global exception filter that handles <see cref="OperationCanceledException"/>
910/// by returning a 499 (Client Closed Request) response with a standard error body.
1011/// </summary>
12+ [ ExcludeFromCodeCoverage ( Justification = "Exception filter - covered by component/integration tests." ) ]
1113public class OperationCancelledExceptionFilter ( ILogger < OperationCancelledExceptionFilter > logger ) : IExceptionFilter
1214{
1315 public void OnException ( ExceptionContext context )
Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
12using MongoDB . Bson ;
23using MongoDB . Bson . Serialization . Attributes ;
34
@@ -7,6 +8,7 @@ namespace KeeperData.Core.Reports.Internal.Documents;
78/// Persistence document for a cleanse analysis operation.
89/// Anti-corruption layer between domain and MongoDB.
910/// </summary>
11+ [ ExcludeFromCodeCoverage ( Justification = "Internal persistence document - covered by integration tests." ) ]
1012internal class CleanseAnalysisOperationDocument
1113{
1214 [ BsonId ] public string Id { get ; set ; } = string . Empty ;
Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
12using MongoDB . Bson . Serialization . Attributes ;
23
34namespace KeeperData . Core . Reports . Internal . Documents ;
@@ -6,6 +7,7 @@ namespace KeeperData.Core.Reports.Internal.Documents;
67/// Persistence document for an issue.
78/// Anti-corruption layer between domain and MongoDB.
89/// </summary>
10+ [ ExcludeFromCodeCoverage ( Justification = "Internal persistence document - covered by integration tests." ) ]
911internal class IssueDocument
1012{
1113 [ BsonId ] public string Id { get ; set ; } = string . Empty ;
Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
12using MongoDB . Bson ;
23using MongoDB . Bson . Serialization . Attributes ;
34
@@ -7,6 +8,7 @@ namespace KeeperData.Core.Reports.Internal.Documents;
78/// Persistence document for an issue history/lineage entry.
89/// Anti-corruption layer between domain and MongoDB.
910/// </summary>
11+ [ ExcludeFromCodeCoverage ( Justification = "Internal persistence document - covered by integration tests." ) ]
1012internal class IssueHistoryEntryDocument
1113{
1214 [ BsonId ] public string Id { get ; set ; } = string . Empty ;
Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
12using KeeperData . Core . Reports . Cleanse . Analysis . Command . Domain ;
23using KeeperData . Core . Reports . Cleanse . Operations . Command . AggregateRoots ;
34using KeeperData . Core . Reports . Cleanse . Operations . Queries . Dtos ;
@@ -8,6 +9,7 @@ namespace KeeperData.Core.Reports.Internal.Mappers;
89/// <summary>
910/// Maps between <see cref="CleanseAnalysisOperationDocument"/> and domain/DTO types.
1011/// </summary>
12+ [ ExcludeFromCodeCoverage ( Justification = "Internal mapper - covered by integration tests." ) ]
1113internal static class CleanseAnalysisOperationDocumentMapper
1214{
1315 public static CleanseAnalysisOperationDocument ToDocument ( this CleanseAnalysisOperation operation ) => new ( )
Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
12using KeeperData . Core . Reports . Internal . Documents ;
23using KeeperData . Core . Reports . Issues . Command . AggregateRoots ;
34using KeeperData . Core . Reports . Issues . Query . Dtos ;
@@ -7,6 +8,7 @@ namespace KeeperData.Core.Reports.Internal.Mappers;
78/// <summary>
89/// Maps between <see cref="IssueDocument"/> and domain/DTO types.
910/// </summary>
11+ [ ExcludeFromCodeCoverage ( Justification = "Internal mapper - covered by integration tests." ) ]
1012internal static class IssueDocumentMapper
1113{
1214 public static IssueDocument ToDocument ( this Issue issue ) => new ( )
Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
12using KeeperData . Core . Reports . Internal . Documents ;
23using KeeperData . Core . Reports . Issues . Command . AggregateRoots ;
34using KeeperData . Core . Reports . Issues . Query . Dtos ;
@@ -7,6 +8,7 @@ namespace KeeperData.Core.Reports.Internal.Mappers;
78/// <summary>
89/// Maps between <see cref="IssueHistoryEntryDocument"/> and domain/DTO types.
910/// </summary>
11+ [ ExcludeFromCodeCoverage ( Justification = "Internal mapper - covered by integration tests." ) ]
1012internal static class IssueHistoryEntryDocumentMapper
1113{
1214 public static IssueHistoryEntryDocument ToDocument ( this IssueHistoryEntry entry ) => new ( )
Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
2+
13namespace KeeperData . Core . Reports . Issues . Query . Dtos ;
24
35/// <summary>
46/// Fluent query builder for cleanse issues.
57/// </summary>
8+ [ ExcludeFromCodeCoverage ( Justification = "Query builder DTO - covered by integration tests." ) ]
69public sealed class CleanseIssueQueryDto
710{
811 /// <summary>Filter by active status (null = all).</summary>
You can’t perform that action at this time.
0 commit comments