Browse Source

revert the last changes

pull/223/head
Christian Arenas 7 years ago
parent
commit
587de20d85
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentFailedIntegrationEventHandler.cs
  2. +1
    -1
      src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentSuccededIntegrationEventHandler.cs
  3. +1
    -1
      src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockConfirmedIntegrationEventHandler.cs
  4. +1
    -1
      src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockNotConfirmedIntegrationEventHandler.cs
  5. +1
    -1
      src/Services/SagaManager/SagaManager/Program.cs

+ 1
- 1
src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentFailedIntegrationEventHandler.cs View File

@ -21,7 +21,7 @@
orderToUpdate.SetCancelledStatus();
await _orderRepository.UnitOfWork.SaveChangesAsync();
await _orderRepository.UnitOfWork.SaveEntitiesAsync();
}
}
}

+ 1
- 1
src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentSuccededIntegrationEventHandler.cs View File

@ -21,7 +21,7 @@
orderToUpdate.SetPaidStatus();
await _orderRepository.UnitOfWork.SaveChangesAsync();
await _orderRepository.UnitOfWork.SaveEntitiesAsync();
}
}
}

+ 1
- 1
src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockConfirmedIntegrationEventHandler.cs View File

@ -21,7 +21,7 @@
orderToUpdate.SetStockConfirmedStatus();
await _orderRepository.UnitOfWork.SaveChangesAsync();
await _orderRepository.UnitOfWork.SaveEntitiesAsync();
}
}
}

+ 1
- 1
src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockNotConfirmedIntegrationEventHandler.cs View File

@ -27,7 +27,7 @@ namespace Ordering.API.Application.IntegrationEvents.EventHandling
orderToUpdate.SetStockConfirmedStatus(orderStockNotConfirmedItems);
await _orderRepository.UnitOfWork.SaveChangesAsync();
await _orderRepository.UnitOfWork.SaveEntitiesAsync();
}
}
}

+ 1
- 1
src/Services/SagaManager/SagaManager/Program.cs View File

@ -45,7 +45,7 @@ namespace SagaManager
while (true)
{
sagaManagerService.CheckFinishedGracePeriodOrders();
await Task.Delay(30000);
await Task.Delay(90000);
}
}


Loading…
Cancel
Save