Revert ".."
This reverts commit 02c644f79a0e61dbaaf954d857aebc31195561d0.
This commit is contained in:
parent
02c644f79a
commit
f1328f721e
@ -6,7 +6,6 @@ using System.IO;
|
||||
using System.Net.Http;
|
||||
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Abstractions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Ordering.API.Application.IntegrationEvents.Events;
|
||||
|
||||
namespace Ordering.API.Application.IntegrationEvents.EventHandling
|
||||
{
|
@ -1,10 +1,8 @@
|
||||
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
|
||||
using Ordering.API.Application.IntegrationEvents.Events;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace TenantACustomisations.IntegrationEvents.Events
|
||||
namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events
|
||||
{
|
||||
public class CustomisationEvent : IntegrationEvent
|
||||
{
|
||||
@ -13,13 +11,10 @@ namespace TenantACustomisations.IntegrationEvents.Events
|
||||
TenantId = tenantId;
|
||||
this.@event = @event;
|
||||
eventType = @event.GetType().Name;
|
||||
//TODO
|
||||
userCheckoutAcceptedIntegrationEvent = (UserCheckoutAcceptedIntegrationEvent)@event;
|
||||
}
|
||||
|
||||
public int TenantId { get; set; }
|
||||
public IntegrationEvent @event { get; set; }
|
||||
public String eventType { get; set; }
|
||||
public UserCheckoutAcceptedIntegrationEvent userCheckoutAcceptedIntegrationEvent { get; set; }
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
|
||||
using Ordering.API.Application.IntegrationEvents.Events;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Ordering.API.Application.IntegrationEvents.Events
|
||||
{
|
||||
public class CustomisationEvent : IntegrationEvent
|
||||
{
|
||||
public CustomisationEvent(int tenantId, IntegrationEvent @event)
|
||||
{
|
||||
TenantId = tenantId;
|
||||
eventType = @event.GetType().Name;
|
||||
//TODO
|
||||
userCheckoutAcceptedIntegrationEvent = (UserCheckoutAcceptedIntegrationEvent)@event;
|
||||
}
|
||||
|
||||
public int TenantId { get; set; }
|
||||
public String eventType { get; set; }
|
||||
public UserCheckoutAcceptedIntegrationEvent userCheckoutAcceptedIntegrationEvent { get; set; }
|
||||
}
|
||||
}
|
@ -7,9 +7,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using TenantACustomisations.IntegrationEvents.Events;
|
||||
using TenantACustomisations.Services;
|
||||
using CustomisationEvent = TenantACustomisations.IntegrationEvents.Events.CustomisationEvent;
|
||||
|
||||
namespace TenantACustomisations.IntegrationEvents.EventHandling
|
||||
{
|
||||
|
@ -35,7 +35,6 @@
|
||||
using global::TenantACustomisations.Infrastructure.Filters;
|
||||
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
|
||||
using global::TenantACustomisations.IntegrationEvents.EventHandling;
|
||||
using global::TenantACustomisations.IntegrationEvents.Events;
|
||||
|
||||
public class Startup
|
||||
{
|
||||
|
@ -42,6 +42,10 @@
|
||||
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="IntegrationEvents\Events\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\BuildingBlocks\EventBus\EventBusRabbitMQ\EventBusRabbitMQ.csproj" />
|
||||
<ProjectReference Include="..\..\..\BuildingBlocks\EventBus\EventBusServiceBus\EventBusServiceBus.csproj" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user