diff --git a/src/Services/Basket/Basket.API/Basket.API.csproj b/src/Services/Basket/Basket.API/Basket.API.csproj index d2af28023..590733486 100644 --- a/src/Services/Basket/Basket.API/Basket.API.csproj +++ b/src/Services/Basket/Basket.API/Basket.API.csproj @@ -18,10 +18,10 @@ - - - - + + + + diff --git a/src/Services/Basket/Basket.API/IntegrationEvents/EventHandling/OrderStartedIntegrationEventHandler.cs b/src/Services/Basket/Basket.API/IntegrationEvents/EventHandling/OrderStartedIntegrationEventHandler.cs index 2dc77068f..c825d682a 100644 --- a/src/Services/Basket/Basket.API/IntegrationEvents/EventHandling/OrderStartedIntegrationEventHandler.cs +++ b/src/Services/Basket/Basket.API/IntegrationEvents/EventHandling/OrderStartedIntegrationEventHandler.cs @@ -22,7 +22,7 @@ namespace Basket.API.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderStartedIntegrationEvent))] + [CapSubscribe(nameof(OrderStartedIntegrationEvent))] public async Task Handle(OrderStartedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Basket/Basket.API/IntegrationEvents/EventHandling/ProductPriceChangedIntegrationEventHandler.cs b/src/Services/Basket/Basket.API/IntegrationEvents/EventHandling/ProductPriceChangedIntegrationEventHandler.cs index 2a5a99620..a0025bca6 100644 --- a/src/Services/Basket/Basket.API/IntegrationEvents/EventHandling/ProductPriceChangedIntegrationEventHandler.cs +++ b/src/Services/Basket/Basket.API/IntegrationEvents/EventHandling/ProductPriceChangedIntegrationEventHandler.cs @@ -22,7 +22,7 @@ namespace Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.Even _repository = repository ?? throw new ArgumentNullException(nameof(repository)); } - //TODO: [CapSubscribe(nameof(ProductPriceChangedIntegrationEvent))] + [CapSubscribe(nameof(ProductPriceChangedIntegrationEvent))] public async Task Handle(ProductPriceChangedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Catalog/Catalog.API/Catalog.API.csproj b/src/Services/Catalog/Catalog.API/Catalog.API.csproj index 05b026a36..cdc7089da 100644 --- a/src/Services/Catalog/Catalog.API/Catalog.API.csproj +++ b/src/Services/Catalog/Catalog.API/Catalog.API.csproj @@ -40,10 +40,10 @@ - - - - + + + + diff --git a/src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs b/src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs index 062347f6f..c86390c2a 100644 --- a/src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs +++ b/src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs @@ -26,7 +26,7 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.Eve _logger = logger ?? throw new System.ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderStatusChangedToAwaitingValidationIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToAwaitingValidationIntegrationEvent))] public async Task Handle(OrderStatusChangedToAwaitingValidationIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToPaidIntegrationEventHandler.cs b/src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToPaidIntegrationEventHandler.cs index 20f84175b..ffb0e5a7f 100644 --- a/src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToPaidIntegrationEventHandler.cs +++ b/src/Services/Catalog/Catalog.API/IntegrationEvents/EventHandling/OrderStatusChangedToPaidIntegrationEventHandler.cs @@ -22,7 +22,7 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.Eve _logger = logger ?? throw new System.ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderStatusChangedToPaidIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToPaidIntegrationEvent))] public async Task Handle(OrderStatusChangedToPaidIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Location/Locations.API/Locations.API.csproj b/src/Services/Location/Locations.API/Locations.API.csproj index 6f7ccadf6..65de0dfc0 100644 --- a/src/Services/Location/Locations.API/Locations.API.csproj +++ b/src/Services/Location/Locations.API/Locations.API.csproj @@ -11,10 +11,10 @@ - - - - + + + + diff --git a/src/Services/Marketing/Marketing.API/IntegrationEvents/Handlers/UserLocationUpdatedIntegrationEventHandler.cs b/src/Services/Marketing/Marketing.API/IntegrationEvents/Handlers/UserLocationUpdatedIntegrationEventHandler.cs index 534c62890..2764e8377 100644 --- a/src/Services/Marketing/Marketing.API/IntegrationEvents/Handlers/UserLocationUpdatedIntegrationEventHandler.cs +++ b/src/Services/Marketing/Marketing.API/IntegrationEvents/Handlers/UserLocationUpdatedIntegrationEventHandler.cs @@ -24,7 +24,7 @@ namespace Microsoft.eShopOnContainers.Services.Marketing.API.IntegrationEvents.H _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(UserLocationUpdatedIntegrationEvent))] + [CapSubscribe(nameof(UserLocationUpdatedIntegrationEvent))] public async Task Handle(UserLocationUpdatedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Marketing/Marketing.API/Marketing.API.csproj b/src/Services/Marketing/Marketing.API/Marketing.API.csproj index bfba7d0d4..bd457104d 100644 --- a/src/Services/Marketing/Marketing.API/Marketing.API.csproj +++ b/src/Services/Marketing/Marketing.API/Marketing.API.csproj @@ -27,10 +27,10 @@ - - - - + + + + diff --git a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/GracePeriodConfirmedIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/GracePeriodConfirmedIntegrationEventHandler.cs index 7d30f2ad6..d2046a37f 100644 --- a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/GracePeriodConfirmedIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/GracePeriodConfirmedIntegrationEventHandler.cs @@ -1,7 +1,6 @@ using MediatR; using Microsoft.eShopOnContainers.Services.Ordering.API; using Microsoft.Extensions.Logging; -using Ordering.API.Application.Behaviors; using Ordering.API.Application.Commands; using Ordering.API.Application.IntegrationEvents.Events; using Serilog.Context; @@ -28,7 +27,7 @@ namespace Ordering.API.Application.IntegrationEvents.EventHandling /// has been completed and order will not initially be cancelled. /// Therefore, the order process continues for validation. /// - //TODO: [CapSubscribe(nameof(GracePeriodConfirmedIntegrationEvent))] + [CapSubscribe(nameof(GracePeriodConfirmedIntegrationEvent))] public async Task Handle(GracePeriodConfirmedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentFailedIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentFailedIntegrationEventHandler.cs index 9577faa4e..6167843b3 100644 --- a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentFailedIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentFailedIntegrationEventHandler.cs @@ -24,7 +24,7 @@ namespace Ordering.API.Application.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderPaymentFailedIntegrationEvent))] + [CapSubscribe(nameof(OrderPaymentFailedIntegrationEvent))] public async Task Handle(OrderPaymentFailedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentSuccededIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentSuccededIntegrationEventHandler.cs index 71cdf3335..9ca6dd85b 100644 --- a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentSuccededIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentSuccededIntegrationEventHandler.cs @@ -24,7 +24,7 @@ namespace Ordering.API.Application.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderPaymentSuccededIntegrationEvent))] + [CapSubscribe(nameof(OrderPaymentSuccededIntegrationEvent))] public async Task Handle(OrderPaymentSuccededIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockConfirmedIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockConfirmedIntegrationEventHandler.cs index 3dda7db55..4c84b446e 100644 --- a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockConfirmedIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockConfirmedIntegrationEventHandler.cs @@ -24,7 +24,7 @@ namespace Ordering.API.Application.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderStockConfirmedIntegrationEvent))] + [CapSubscribe(nameof(OrderStockConfirmedIntegrationEvent))] public async Task Handle(OrderStockConfirmedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockRejectedIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockRejectedIntegrationEventHandler.cs index 67fd80bac..d866580e2 100644 --- a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockRejectedIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockRejectedIntegrationEventHandler.cs @@ -24,7 +24,7 @@ namespace Ordering.API.Application.IntegrationEvents.EventHandling _logger = logger ?? throw new System.ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderStockRejectedIntegrationEvent))] + [CapSubscribe(nameof(OrderStockRejectedIntegrationEvent))] public async Task Handle(OrderStockRejectedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/UserCheckoutAcceptedIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/UserCheckoutAcceptedIntegrationEventHandler.cs index 6d8d8e1b4..bc8b3ab92 100644 --- a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/UserCheckoutAcceptedIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/UserCheckoutAcceptedIntegrationEventHandler.cs @@ -31,7 +31,7 @@ namespace Ordering.API.Application.IntegrationEvents.EventHandling /// basket.api once it has successfully process the /// order items. /// - //TODO: [CapSubscribe(nameof(UserCheckoutAcceptedIntegrationEvent))] + [CapSubscribe(nameof(UserCheckoutAcceptedIntegrationEvent))] public async Task Handle(UserCheckoutAcceptedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.API/Ordering.API.csproj b/src/Services/Ordering/Ordering.API/Ordering.API.csproj index bcceda43b..a51b4d7e7 100644 --- a/src/Services/Ordering/Ordering.API/Ordering.API.csproj +++ b/src/Services/Ordering/Ordering.API/Ordering.API.csproj @@ -30,10 +30,10 @@ - - - - + + + + diff --git a/src/Services/Ordering/Ordering.BackgroundTasks/Ordering.BackgroundTasks.csproj b/src/Services/Ordering/Ordering.BackgroundTasks/Ordering.BackgroundTasks.csproj index a45943289..9bc881919 100644 --- a/src/Services/Ordering/Ordering.BackgroundTasks/Ordering.BackgroundTasks.csproj +++ b/src/Services/Ordering/Ordering.BackgroundTasks/Ordering.BackgroundTasks.csproj @@ -19,10 +19,10 @@ - - - - + + + + diff --git a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs index 2adfc3814..e19c84db2 100644 --- a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToAwaitingValidationIntegrationEventHandler.cs @@ -20,7 +20,7 @@ namespace Ordering.SignalrHub.IntegrationEvents _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderStatusChangedToAwaitingValidationIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToAwaitingValidationIntegrationEvent))] public async Task Handle(OrderStatusChangedToAwaitingValidationIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToCancelledIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToCancelledIntegrationEventHandler.cs index 5e8af8bbc..58714e6f2 100644 --- a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToCancelledIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToCancelledIntegrationEventHandler.cs @@ -21,7 +21,7 @@ namespace Ordering.SignalrHub.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderStatusChangedToCancelledIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToCancelledIntegrationEvent))] public async Task Handle(OrderStatusChangedToCancelledIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToPaidIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToPaidIntegrationEventHandler.cs index 8dd1337e0..2ea491b12 100644 --- a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToPaidIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToPaidIntegrationEventHandler.cs @@ -21,7 +21,7 @@ namespace Ordering.SignalrHub.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO [CapSubscribe(nameof(OrderStatusChangedToPaidIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToPaidIntegrationEvent))] public async Task Handle(OrderStatusChangedToPaidIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToShippedIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToShippedIntegrationEventHandler.cs index b60958277..487db6c78 100644 --- a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToShippedIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToShippedIntegrationEventHandler.cs @@ -21,7 +21,7 @@ namespace Ordering.SignalrHub.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO [CapSubscribe(nameof(OrderStatusChangedToShippedIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToShippedIntegrationEvent))] public async Task Handle(OrderStatusChangedToShippedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs index 1ed3c4add..f1f205abb 100644 --- a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs @@ -21,7 +21,7 @@ namespace Ordering.SignalrHub.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO [CapSubscribe(nameof(OrderStatusChangedToStockConfirmedIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToStockConfirmedIntegrationEvent))] public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToSubmittedIntegrationEventHandler.cs b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToSubmittedIntegrationEventHandler.cs index 6ca4bcad1..16df19f64 100644 --- a/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToSubmittedIntegrationEventHandler.cs +++ b/src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToSubmittedIntegrationEventHandler.cs @@ -21,7 +21,7 @@ namespace Ordering.SignalrHub.IntegrationEvents.EventHandling _logger = logger ?? throw new ArgumentNullException(nameof(logger)); } - //TODO [CapSubscribe(nameof(OrderStatusChangedToSubmittedIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToSubmittedIntegrationEvent))] public async Task Handle(OrderStatusChangedToSubmittedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Ordering/Ordering.SignalrHub/Ordering.SignalrHub.csproj b/src/Services/Ordering/Ordering.SignalrHub/Ordering.SignalrHub.csproj index 752b40bfc..5805fbb09 100644 --- a/src/Services/Ordering/Ordering.SignalrHub/Ordering.SignalrHub.csproj +++ b/src/Services/Ordering/Ordering.SignalrHub/Ordering.SignalrHub.csproj @@ -10,10 +10,10 @@ - - - - + + + + diff --git a/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs b/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs index 7d2e3e2b7..f00ab4280 100644 --- a/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs +++ b/src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs @@ -24,7 +24,7 @@ namespace Payment.API.IntegrationEvents.EventHandling _logger = logger ?? throw new System.ArgumentNullException(nameof(logger)); } - //TODO: [CapSubscribe(nameof(OrderStatusChangedToStockConfirmedIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToStockConfirmedIntegrationEvent))] public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @event) { using (LogContext.PushProperty("IntegrationEventContext", $"{Program.AppName}")) diff --git a/src/Services/Payment/Payment.API/Payment.API.csproj b/src/Services/Payment/Payment.API/Payment.API.csproj index b4b7ffd1f..c1b6c9174 100644 --- a/src/Services/Payment/Payment.API/Payment.API.csproj +++ b/src/Services/Payment/Payment.API/Payment.API.csproj @@ -11,10 +11,10 @@ - - - - + + + + diff --git a/src/Services/Webhooks/Webhooks.API/IntegrationEvents/OrderStatusChangedToPaidIntegrationEventHandler.cs b/src/Services/Webhooks/Webhooks.API/IntegrationEvents/OrderStatusChangedToPaidIntegrationEventHandler.cs index c8d609a30..68965e45d 100644 --- a/src/Services/Webhooks/Webhooks.API/IntegrationEvents/OrderStatusChangedToPaidIntegrationEventHandler.cs +++ b/src/Services/Webhooks/Webhooks.API/IntegrationEvents/OrderStatusChangedToPaidIntegrationEventHandler.cs @@ -19,7 +19,7 @@ namespace Webhooks.API.IntegrationEvents _logger = logger; } - //TODO [CapSubscribe(nameof(OrderStatusChangedToPaidIntegrationEvent))] + [CapSubscribe(nameof(OrderStatusChangedToPaidIntegrationEvent))] public async Task Handle(OrderStatusChangedToPaidIntegrationEvent @event) { var subscriptions = await _retriever.GetSubscriptionsOfType(WebhookType.OrderPaid); diff --git a/src/Services/Webhooks/Webhooks.API/IntegrationEvents/OrderStatusChangedToShippedIntegrationEventHandler.cs b/src/Services/Webhooks/Webhooks.API/IntegrationEvents/OrderStatusChangedToShippedIntegrationEventHandler.cs index 6e71bf5cd..7b3b5d7e8 100644 --- a/src/Services/Webhooks/Webhooks.API/IntegrationEvents/OrderStatusChangedToShippedIntegrationEventHandler.cs +++ b/src/Services/Webhooks/Webhooks.API/IntegrationEvents/OrderStatusChangedToShippedIntegrationEventHandler.cs @@ -19,7 +19,7 @@ namespace Webhooks.API.IntegrationEvents _logger = logger; } - //TODO [CapSubscribe(nameof(OrderStatusChangedToShippedIntegrationEvent)))] + [CapSubscribe(nameof(OrderStatusChangedToShippedIntegrationEvent))] public async Task Handle(OrderStatusChangedToShippedIntegrationEvent @event) { var subscriptions = await _retriever.GetSubscriptionsOfType(WebhookType.OrderShipped); diff --git a/src/Services/Webhooks/Webhooks.API/IntegrationEvents/ProductPriceChangedIntegrationEventHandler.cs b/src/Services/Webhooks/Webhooks.API/IntegrationEvents/ProductPriceChangedIntegrationEventHandler.cs index 041101690..48bdc6d95 100644 --- a/src/Services/Webhooks/Webhooks.API/IntegrationEvents/ProductPriceChangedIntegrationEventHandler.cs +++ b/src/Services/Webhooks/Webhooks.API/IntegrationEvents/ProductPriceChangedIntegrationEventHandler.cs @@ -5,7 +5,7 @@ namespace Webhooks.API.IntegrationEvents { public class ProductPriceChangedIntegrationEventHandler : ICapSubscribe { - //TODO [CapSubscribe(nameof(ProductPriceChangedIntegrationEvent))] + [CapSubscribe(nameof(ProductPriceChangedIntegrationEvent))] public Task Handle(ProductPriceChangedIntegrationEvent @event) { return Task.CompletedTask; diff --git a/src/Services/Webhooks/Webhooks.API/Webhooks.API.csproj b/src/Services/Webhooks/Webhooks.API/Webhooks.API.csproj index add57c27c..c651548cc 100644 --- a/src/Services/Webhooks/Webhooks.API/Webhooks.API.csproj +++ b/src/Services/Webhooks/Webhooks.API/Webhooks.API.csproj @@ -11,10 +11,10 @@ - - - - + + + +