feat: add GetAvailableWeeks query and update protobuf imports
Build and Deploy / build (push) Successful in 2m18s
Build and Deploy / build (push) Successful in 2m18s
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using BackOffice.BFF.Application.Common.Interfaces;
|
||||
using Grpc.Core;
|
||||
@@ -18,10 +17,10 @@ public static class ConfigureGrpcServices
|
||||
.Where(x =>
|
||||
x.FullName != null &&
|
||||
(x.FullName.Contains("Microservice.Protobuf") ||
|
||||
x.FullName.Contains("BFF.Commission.Protobuf") ||
|
||||
x.FullName.Contains("BFF.NetworkMembership.Protobuf") ||
|
||||
x.FullName.Contains("BFF.ClubMembership.Protobuf") ||
|
||||
x.FullName.Contains("BFF.Configuration.Protobuf")) &&
|
||||
x.FullName.Contains("BackOffice.BFF.Commission.Protobuf") ||
|
||||
x.FullName.Contains("BackOffice.BFF.NetworkMembership.Protobuf") ||
|
||||
x.FullName.Contains("BackOffice.BFF.ClubMembership.Protobuf") ||
|
||||
x.FullName.Contains("BackOffice.BFF.Configuration.Protobuf")) &&
|
||||
x.GetTypes().Any(type => type.BaseType != null && type.BaseType.Name == "ClientBase`1" && type.BaseType.Namespace == "Grpc.Core")
|
||||
)
|
||||
.SelectMany(x => x
|
||||
@@ -51,10 +50,10 @@ public static class ConfigureGrpcServices
|
||||
foreach (var grpcClient in grpcClients.Where(t =>
|
||||
t.AssemblyQualifiedName != null &&
|
||||
(t.AssemblyQualifiedName.StartsWith($"{msName}Microservice") ||
|
||||
t.AssemblyQualifiedName.StartsWith("BackOffice.BFF.Commission") ||
|
||||
t.AssemblyQualifiedName.StartsWith("BackOffice.BFF.NetworkMembership") ||
|
||||
t.AssemblyQualifiedName.StartsWith("BackOffice.BFF.ClubMembership") ||
|
||||
t.AssemblyQualifiedName.StartsWith("BackOffice.BFF.Configuration"))
|
||||
t.AssemblyQualifiedName.StartsWith("Foursat.BackOffice.BFF.Commission") ||
|
||||
t.AssemblyQualifiedName.StartsWith("Foursat.BackOffice.BFF.NetworkMembership") ||
|
||||
t.AssemblyQualifiedName.StartsWith("Foursat.BackOffice.BFF.ClubMembership") ||
|
||||
t.AssemblyQualifiedName.StartsWith("Foursat.BackOffice.BFF.Configuration"))
|
||||
)
|
||||
.ToList())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user