Skip to content

Commit

Permalink
Restructured the distributed processes exercises solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed Sep 4, 2024
1 parent e446375 commit d0dde87
Show file tree
Hide file tree
Showing 38 changed files with 648 additions and 98 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.8"/>
</ItemGroup>

<ItemGroup>
<Folder Include="Sagas\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Bogus;
using BusinessProcesses.Choreography.GroupCheckouts;
using BusinessProcesses.Choreography.GuestStayAccounts;
using BusinessProcesses.Core;
using BusinessProcesses.Version2_ImmutableEntities.Choreography.GroupCheckouts;
using BusinessProcesses.Version2_ImmutableEntities.Choreography.GuestStayAccounts;
using Xunit;
using Xunit.Abstractions;
using Database = BusinessProcesses.Core.Database;

namespace BusinessProcesses.Version2_ImmutableEntities.Choreography;
namespace BusinessProcesses.Choreography;

using static GuestStayAccountEvent;
using static GuestStayAccountCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Bogus;
using BusinessProcesses.Choreography.GuestStayAccounts;
using BusinessProcesses.Core;
using BusinessProcesses.Version2_ImmutableEntities.Choreography.GuestStayAccounts;
using Xunit;
using Xunit.Abstractions;
using Database = BusinessProcesses.Core.Database;

namespace BusinessProcesses.Version2_ImmutableEntities.Choreography;
namespace BusinessProcesses.Choreography;

using static GuestStayAccountEvent;
using static GuestStayAccountCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using BusinessProcesses.Version2_ImmutableEntities.Core;
using BusinessProcesses.Sagas.Version2_ImmutableEntities.Core;

namespace BusinessProcesses.Version2_ImmutableEntities.Choreography.GroupCheckouts;
namespace BusinessProcesses.Choreography.GroupCheckouts;

using static GroupCheckoutEvent;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using BusinessProcesses.Core;
using BusinessProcesses.Version2_ImmutableEntities.Choreography.GuestStayAccounts;
using BusinessProcesses.Choreography.GuestStayAccounts;
using BusinessProcesses.Core;
using Database = BusinessProcesses.Core.Database;

namespace BusinessProcesses.Version2_ImmutableEntities.Choreography.GroupCheckouts;
namespace BusinessProcesses.Choreography.GroupCheckouts;

using static GroupCheckoutCommand;
using static GuestStayAccountEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using BusinessProcesses.Core;
using BusinessProcesses.Version2_ImmutableEntities.Choreography.GuestStayAccounts;
using BusinessProcesses.Choreography.GuestStayAccounts;
using BusinessProcesses.Core;

namespace BusinessProcesses.Version2_ImmutableEntities.Choreography.GroupCheckouts;
namespace BusinessProcesses.Choreography.GroupCheckouts;

using static GuestStayAccountEvent;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using BusinessProcesses.Core;

namespace BusinessProcesses.Version2_ImmutableEntities.Choreography.GuestStayAccounts;
namespace BusinessProcesses.Choreography.GuestStayAccounts;

using static GuestStayAccountCommand;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace BusinessProcesses.Version2_ImmutableEntities.Choreography.GuestStayAccounts;
namespace BusinessProcesses.Choreography.GuestStayAccounts;

using static GuestStayAccountEvent;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using BusinessProcesses.Core;

namespace BusinessProcesses.Version2_ImmutableEntities.Choreography.GuestStayAccounts;
namespace BusinessProcesses.Choreography.GuestStayAccounts;

using static GuestStayAccountCommand;
using static GuestStayAccountEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Bogus;
using BusinessProcesses.Core;
using BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GroupCheckouts;
using BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GuestStayAccounts;
using BusinessProcesses.ProcessManagers.GroupCheckouts;
using BusinessProcesses.ProcessManagers.GuestStayAccounts;
using Xunit;
using Xunit.Abstractions;
using Database = BusinessProcesses.Core.Database;

namespace BusinessProcesses.Version2_ImmutableEntities.ProcessManagers;
namespace BusinessProcesses.ProcessManagers;

using static GuestStayAccountEvent;
using static GuestStayAccountCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Bogus;
using BusinessProcesses.Core;
using BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GuestStayAccounts;
using BusinessProcesses.ProcessManagers.GuestStayAccounts;
using Xunit;
using Xunit.Abstractions;
using Database = BusinessProcesses.Core.Database;

namespace BusinessProcesses.Version2_ImmutableEntities.ProcessManagers;
namespace BusinessProcesses.ProcessManagers;

using static GuestStayAccountEvent;
using static GuestStayAccountCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using BusinessProcesses.Version2_ImmutableEntities.Core;
using BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GuestStayAccounts;
using BusinessProcesses.ProcessManagers.GuestStayAccounts;
using BusinessProcesses.Sagas.Version2_ImmutableEntities.Core;

namespace BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GroupCheckouts;
namespace BusinessProcesses.ProcessManagers.GroupCheckouts;

using static GuestStayAccountCommand;
using static GroupCheckoutEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using BusinessProcesses.Core;
using BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GuestStayAccounts;
using BusinessProcesses.ProcessManagers.GuestStayAccounts;
using Database = BusinessProcesses.Core.Database;

namespace BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GroupCheckouts;
namespace BusinessProcesses.ProcessManagers.GroupCheckouts;

using static GroupCheckoutCommand;
using static GuestStayAccountEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using BusinessProcesses.Core;
using BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GuestStayAccounts;
using BusinessProcesses.ProcessManagers.GuestStayAccounts;

namespace BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GroupCheckouts;
namespace BusinessProcesses.ProcessManagers.GroupCheckouts;

using static GuestStayAccountEvent;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using BusinessProcesses.Core;

namespace BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GuestStayAccounts;
namespace BusinessProcesses.ProcessManagers.GuestStayAccounts;

using static GuestStayAccountCommand;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GuestStayAccounts;
namespace BusinessProcesses.ProcessManagers.GuestStayAccounts;

using static GuestStayAccountEvent;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using BusinessProcesses.Core;

namespace BusinessProcesses.Version2_ImmutableEntities.ProcessManagers.GuestStayAccounts;
namespace BusinessProcesses.ProcessManagers.GuestStayAccounts;

using static GuestStayAccountCommand;
using static GuestStayAccountEvent;
Expand Down
Loading

0 comments on commit d0dde87

Please sign in to comment.