Browse Source

Minor refactoring on the Event Bus IntegrationEventLog

pull/126/head
Cesar De la Torre 8 years ago
parent
commit
6f6f09e11e
5 changed files with 5 additions and 6 deletions
  1. +0
    -1
      src/BuildingBlocks/EventBus/EventBus/EventBus.csproj
  2. +1
    -1
      src/BuildingBlocks/EventBus/EventBus/Events/IntegrationEventLog/EventStateEnum.cs
  3. +1
    -1
      src/BuildingBlocks/EventBus/EventBus/Events/IntegrationEventLog/IntegrationEventLogEntry.cs
  4. +1
    -1
      src/Services/Catalog/Catalog.API/Controllers/CatalogController.cs
  5. +2
    -2
      src/Services/Catalog/Catalog.API/Infrastructure/CatalogContext.cs

+ 0
- 1
src/BuildingBlocks/EventBus/EventBus/EventBus.csproj View File

@ -8,7 +8,6 @@
<ItemGroup>
<Folder Include="Abstractions\" />
<Folder Include="Events\" />
</ItemGroup>
<ItemGroup>


src/BuildingBlocks/EventBus/EventBus/Events/EventStateEnum.cs → src/BuildingBlocks/EventBus/EventBus/Events/IntegrationEventLog/EventStateEnum.cs View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Text;
namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events
namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events.IntegrationEventLog
{
public enum EventStateEnum
{

src/BuildingBlocks/EventBus/EventBus/Events/IntegrationEventLogEntry.cs → src/BuildingBlocks/EventBus/EventBus/Events/IntegrationEventLog/IntegrationEventLogEntry.cs View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events
namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events.IntegrationEventLog
{
public class IntegrationEventLogEntry
{

+ 1
- 1
src/Services/Catalog/Catalog.API/Controllers/CatalogController.cs View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Abstractions;
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events.IntegrationEventLog;
using Microsoft.eShopOnContainers.Services.Catalog.API.Infrastructure;
using Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.Events;
using Microsoft.eShopOnContainers.Services.Catalog.API.Model;


+ 2
- 2
src/Services/Catalog/Catalog.API/Infrastructure/CatalogContext.cs View File

@ -2,8 +2,8 @@
{
using EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore;
using Model;
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
using Model;
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events.IntegrationEventLog;
public class CatalogContext : DbContext
{


Loading…
Cancel
Save