Skip to content

Commit 2445f06

Browse files
committed
Update Generated API Contracts
1 parent de26f9e commit 2445f06

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

tests/API.UnitTests/PublicAPITests.CoreAssemblyHasNoPublicAPIChangesAsync.verified.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ namespace Fossa.API.Core.Services
983983
}
984984
public class SystemLicenseRetriever : Fossa.API.Core.Services.ISystemLicenseRetriever
985985
{
986-
public SystemLicenseRetriever(Fossa.API.Core.Repositories.ILicenseFileRepository licenseFileRepository, TIKSN.Licensing.ILicenseFactory<Fossa.Licensing.SystemEntitlements, Fossa.Licensing.SystemLicenseEntitlements> licenseFactory, Fossa.API.Core.Services.ICertificateProvider certificateProvider, Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment, Fossa.API.Core.Repositories.ISystemPropertiesQueryRepository systemPropertiesQueryRepository) { }
986+
public SystemLicenseRetriever(Fossa.API.Core.Repositories.ILicenseFileRepository licenseFileRepository, TIKSN.Licensing.ILicenseFactory<Fossa.Licensing.SystemEntitlements, Fossa.Licensing.SystemLicenseEntitlements> licenseFactory, Fossa.API.Core.Telemetry.ISystemLicenseMetricsRecorder systemLicenseMetricsRecorder, Fossa.API.Core.Services.ICertificateProvider certificateProvider, Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment, Fossa.API.Core.Repositories.ISystemPropertiesQueryRepository systemPropertiesQueryRepository) { }
987987
public System.Threading.Tasks.Task<LanguageExt.Validation<LanguageExt.Common.Error, TIKSN.Licensing.License<Fossa.Licensing.SystemEntitlements>>> GetAsync(System.Threading.CancellationToken cancellationToken) { }
988988
}
989989
public static class SystemProperties
@@ -996,6 +996,18 @@ namespace Fossa.API.Core.Services
996996
public System.Threading.Tasks.Task InitializeAsync(System.Threading.CancellationToken cancellationToken) { }
997997
}
998998
}
999+
namespace Fossa.API.Core.Telemetry
1000+
{
1001+
public interface ISystemLicenseMetricsRecorder
1002+
{
1003+
void Record(LanguageExt.Validation<LanguageExt.Common.Error, TIKSN.Licensing.License<Fossa.Licensing.SystemEntitlements>> license);
1004+
}
1005+
public class SystemLicenseMetricsRecorder : Fossa.API.Core.Telemetry.ISystemLicenseMetricsRecorder
1006+
{
1007+
public SystemLicenseMetricsRecorder(System.TimeProvider timeProvider, System.Diagnostics.Metrics.IMeterFactory meterFactory) { }
1008+
public void Record(LanguageExt.Validation<LanguageExt.Common.Error, TIKSN.Licensing.License<Fossa.Licensing.SystemEntitlements>> license) { }
1009+
}
1010+
}
9991011
namespace Fossa.API.Core.Tenant
10001012
{
10011013
public interface ITenantIdProvider<T>

0 commit comments

Comments
 (0)