Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Particular.LicensingComponent.Report

The Particular.LicensingComponent.Report nuget package that is used by to manage the throughput report data contract, serialization and validation required for NServiceBus licensing purposes.
This package is deploted to feedz and is currently used in:
This package is deployed to feedz and is currently used in:

- [Endpoint Throughput Counter Tool](https://github.com/Particular/Particular.EndpointThroughputCounter)
- [Platform License Component hosted in ServiceControl](https://github.com/Particular/ServiceControl)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ namespace Particular.LicensingComponent.Report
public bool NoDataOrSendOnly { get; init; }
public string QueueName { get; set; }
public string Scope { get; init; }
public string ScopeHash { get; set; }
public long? Throughput { get; set; }
public string? UserIndicator { get; init; }
}
Expand Down
8 changes: 8 additions & 0 deletions src/Particular.LicensingComponent.Report/Report.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ public record QueueThroughput
/// </summary>
public string Scope { get; init; }

/// <summary>
/// A hash of the scope to support unique identification of queues across reports without exposing potentially sensitive information.
/// </summary>
/// <remarks>
/// This should be a one-way hash of the unmasked scope, if it exists.
/// </remarks>
public string ScopeHash { get; set; }

/// <summary>
/// Breakdown of daily throughput for each queue obtained from the broker
/// </summary>
Expand Down