refactor: update protobuf imports from BFF to CMS
All checks were successful
Build and Deploy / build (push) Successful in 2m18s
All checks were successful
Build and Deploy / build (push) Successful in 2m18s
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using CMSMicroservice.Protobuf.Protos.ClubMembership;
|
||||
using CMSMicroservice.Protobuf.Protos.Commission;
|
||||
using CMSMicroservice.Protobuf.Protos.Configuration;
|
||||
using CMSMicroservice.Protobuf.Protos.NetworkMembership;
|
||||
using Foursat.BackOffice.BFF.Health.Protobuf;
|
||||
|
||||
namespace BackOffice.BFF.Application.HealthCQ.Queries.GetSystemHealth;
|
||||
@@ -25,7 +27,7 @@ public class GetSystemHealthQueryHandler : IRequestHandler<GetSystemHealthQuery,
|
||||
{
|
||||
var stopwatch = System.Diagnostics.Stopwatch.StartNew();
|
||||
await _context.Commissions.GetAllWeeklyPoolsAsync(
|
||||
new BackOffice.BFF.Commission.Protobuf.GetAllWeeklyPoolsRequest
|
||||
new GetAllWeeklyPoolsRequest
|
||||
{
|
||||
PageIndex = 1,
|
||||
PageSize = 1
|
||||
@@ -89,7 +91,7 @@ public class GetSystemHealthQueryHandler : IRequestHandler<GetSystemHealthQuery,
|
||||
{
|
||||
var stopwatch = System.Diagnostics.Stopwatch.StartNew();
|
||||
await _context.NetworkMemberships.GetNetworkStatisticsAsync(
|
||||
new BackOffice.BFF.NetworkMembership.Protobuf.GetNetworkStatisticsRequest(),
|
||||
new GetNetworkStatisticsRequest(),
|
||||
cancellationToken: cancellationToken);
|
||||
stopwatch.Stop();
|
||||
networkHealthy = true;
|
||||
|
||||
Reference in New Issue
Block a user