-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace EventDriven.CQRS.Abstractions with EventDriven.DDD.Abstractions.
- Loading branch information
Showing
41 changed files
with
54 additions
and
538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
reference-architecture/CustomerService/Domain/CustomerAggregate/Commands/CreateCustomer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
using EventDriven.CQRS.Abstractions.Commands; | ||
using EventDriven.DDD.Abstractions.Commands; | ||
|
||
namespace CustomerService.Domain.CustomerAggregate.Commands | ||
{ | ||
public record CreateCustomer(Customer Customer) : Command.Create(Customer.Id); | ||
public record CreateCustomer(Customer Customer) : Command(Customer.Id); | ||
} |
4 changes: 2 additions & 2 deletions
4
reference-architecture/CustomerService/Domain/CustomerAggregate/Commands/RemoveCustomer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
using System; | ||
using EventDriven.CQRS.Abstractions.Commands; | ||
using EventDriven.DDD.Abstractions.Commands; | ||
|
||
namespace CustomerService.Domain.CustomerAggregate.Commands | ||
{ | ||
public record RemoveCustomer(Guid EntityId) : Command.Remove(EntityId); | ||
public record RemoveCustomer(Guid EntityId) : Command(EntityId); | ||
} |
4 changes: 2 additions & 2 deletions
4
reference-architecture/CustomerService/Domain/CustomerAggregate/Commands/UpdateCustomer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
using EventDriven.CQRS.Abstractions.Commands; | ||
using EventDriven.DDD.Abstractions.Commands; | ||
|
||
namespace CustomerService.Domain.CustomerAggregate.Commands | ||
{ | ||
public record UpdateCustomer(Customer Customer) : Command.Update(Customer.Id, Customer.ETag); | ||
public record UpdateCustomer(Customer Customer) : Command(Customer.Id); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
reference-architecture/CustomerService/Domain/CustomerAggregate/Events/CustomerCreated.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
reference-architecture/CustomerService/Helpers/CommandResultExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
reference-architecture/OrderService/Controllers/OrderCommandController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ce-architecture/OrderService/Domain/OrderAggregate/CommandHandlers/OrderCommandHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
reference-architecture/OrderService/Domain/OrderAggregate/Commands/CancelOrder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
using System; | ||
using EventDriven.CQRS.Abstractions.Commands; | ||
using EventDriven.DDD.Abstractions.Commands; | ||
|
||
namespace OrderService.Domain.OrderAggregate.Commands | ||
{ | ||
public record CancelOrder(Guid EntityId, string ETag) : Command.Update(EntityId, ETag); | ||
public record CancelOrder(Guid EntityId, string ETag) : Command(EntityId); | ||
} |
4 changes: 2 additions & 2 deletions
4
reference-architecture/OrderService/Domain/OrderAggregate/Commands/CreateOrder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
using EventDriven.CQRS.Abstractions.Commands; | ||
using EventDriven.DDD.Abstractions.Commands; | ||
|
||
namespace OrderService.Domain.OrderAggregate.Commands | ||
{ | ||
public record CreateOrder(Order Order) : Command.Create(Order.Id); | ||
public record CreateOrder(Order Order) : Command(Order.Id); | ||
} |
4 changes: 2 additions & 2 deletions
4
reference-architecture/OrderService/Domain/OrderAggregate/Commands/RemoveOrder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
using System; | ||
using EventDriven.CQRS.Abstractions.Commands; | ||
using EventDriven.DDD.Abstractions.Commands; | ||
|
||
namespace OrderService.Domain.OrderAggregate.Commands | ||
{ | ||
public record RemoveOrder(Guid EntityId) : Command.Update(EntityId); | ||
public record RemoveOrder(Guid EntityId) : Command(EntityId); | ||
} |
4 changes: 2 additions & 2 deletions
4
reference-architecture/OrderService/Domain/OrderAggregate/Commands/ShipOrder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
using System; | ||
using EventDriven.CQRS.Abstractions.Commands; | ||
using EventDriven.DDD.Abstractions.Commands; | ||
|
||
namespace OrderService.Domain.OrderAggregate.Commands | ||
{ | ||
public record ShipOrder(Guid EntityId, string ETag) : Command.Update(EntityId, ETag); | ||
public record ShipOrder(Guid EntityId, string ETag) : Command(EntityId); | ||
} |
4 changes: 2 additions & 2 deletions
4
reference-architecture/OrderService/Domain/OrderAggregate/Commands/UpdateOrder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
using EventDriven.CQRS.Abstractions.Commands; | ||
using EventDriven.DDD.Abstractions.Commands; | ||
|
||
namespace OrderService.Domain.OrderAggregate.Commands | ||
{ | ||
public record UpdateOrder(Order Order) : Command.Update(Order.Id, Order.ETag); | ||
public record UpdateOrder(Order Order) : Command(Order.Id); | ||
} |
2 changes: 1 addition & 1 deletion
2
reference-architecture/OrderService/Domain/OrderAggregate/Events/OrderCancelled.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
reference-architecture/OrderService/Domain/OrderAggregate/Events/OrderCreated.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
reference-architecture/OrderService/Domain/OrderAggregate/Events/OrderShipped.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
reference-architecture/OrderService/Helpers/CommandResultExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.