├── .gitignore ├── LICENSE ├── README.md └── ShopPlatform ├── Orders ├── Orders.Api │ ├── Commands │ │ ├── PlaceOrder.cs │ │ └── StartOrder.cs │ ├── Controllers │ │ └── OrdersController.cs │ ├── Events │ │ ├── BankTransferPaymentCompleted.cs │ │ ├── ExternalPaymentApproved.cs │ │ ├── ItemShipped.cs │ │ ├── PaymentApproved.cs │ │ └── PaymentApprovedEventHandler.cs │ ├── Messaging │ │ ├── IAsyncObservable.cs │ │ ├── IBus.cs │ │ └── StorageQueueBus.cs │ ├── Migrations │ │ ├── 20220822085914_AddOrders.Designer.cs │ │ ├── 20220822085914_AddOrders.cs │ │ ├── 20220822090330_AddPaymentTransactionIdToOrder.Designer.cs │ │ ├── 20220822090330_AddPaymentTransactionIdToOrder.cs │ │ └── OrdersDbContextModelSnapshot.cs │ ├── Order.cs │ ├── OrderStatus.cs │ ├── Orders.Api.csproj │ ├── OrdersDbContext.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── QueryExtensions.cs │ ├── QueryLanguage.cs │ ├── SellersService.cs │ ├── appsettings.Development.json │ └── appsettings.json └── Orders.UnitTests │ ├── DefaultPolicy.cs │ ├── Orders.UnitTests.csproj │ ├── OrdersServer.cs │ ├── TestSpecificLanguage.cs │ └── api │ └── orders │ ├── Get_specs.cs │ ├── accept │ └── payment-approved │ │ └── Post_specs.cs │ ├── handle │ ├── bank-transder-payment-completed │ │ └── Post_specs.cs │ └── item-shipped │ │ └── Post_specs.cs │ └── id │ ├── Get_specs.cs │ ├── place-order │ └── Post_specs.cs │ └── start-order │ └── Post_specs.cs ├── Sellers ├── Sellers.Api │ ├── Controllers │ │ ├── ShopsControllers.cs │ │ └── UsersController.cs │ ├── Filters │ │ └── InvariantViolationFilter.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── QueryExtensions.cs │ ├── Sellers.Api.csproj │ ├── appsettings.Development.json │ └── appsettings.json ├── Sellers.Contracts │ ├── Commands │ │ ├── CreateUser.cs │ │ ├── GrantRole.cs │ │ └── RevokeRole.cs │ ├── Credentials.cs │ ├── Role.cs │ ├── Sellers.Contracts.csproj │ ├── ShopUser.cs │ └── ShopView.cs ├── Sellers.Crypto │ ├── AspNetCorePasswordHasher.cs │ └── Sellers.Crypto.csproj ├── Sellers.DomainModel │ ├── CommandModel │ │ ├── CreateUserCommandExecutor.cs │ │ ├── EntityNotFoundException.cs │ │ ├── GrantRoleCommandExecutor.cs │ │ ├── IUserRepository.cs │ │ ├── InvariantViolationException.cs │ │ ├── RevokeRoleCommandExecutor.cs │ │ └── UserRepositoryExtensions.cs │ ├── IPasswordHasher.cs │ ├── QueryModel │ │ ├── IUserReader.cs │ │ └── PasswordVerifier.cs │ ├── Sellers.DomainModel.csproj │ ├── Shop.cs │ └── User.cs ├── Sellers.Sql │ ├── CommandModel │ │ └── SqlUserRepository.cs │ ├── Migrations │ │ ├── 20220822113310_AddShops.Designer.cs │ │ ├── 20220822113310_AddShops.cs │ │ ├── 20220822123735_AddUsers.Designer.cs │ │ ├── 20220822123735_AddUsers.cs │ │ ├── 20220831154330_AddRoles.Designer.cs │ │ ├── 20220831154330_AddRoles.cs │ │ └── SellersDbContextModelSnapshot.cs │ ├── QueryModel │ │ ├── BackwardCompatibleUserReader.cs │ │ ├── ShopUserReader.cs │ │ └── SqlUserReader.cs │ ├── RoleEntity.cs │ ├── Sellers.Sql.csproj │ ├── SellersDbContext.cs │ └── UserEntity.cs ├── Sellers.Testing │ ├── AutoSellersDataAttribute.cs │ ├── ConnectionStringAttribute.cs │ ├── InlineAutoSellersDataAttribute.cs │ ├── PasswordHasherCustomization.cs │ ├── RoleCustomization.cs │ ├── Sellers.Testing.csproj │ ├── SellersDatabase.cs │ ├── SellersDbContextCustomization.cs │ ├── SellersServer.cs │ ├── SellersServerCustomization.cs │ ├── ShopCustomization.cs │ ├── TestSpecificLanguage.cs │ ├── UserCustomization.cs │ └── UserRepositoryCustomization.cs └── Sellers.UnitTests │ ├── AspNetCorePasswordHasher_specs.cs │ ├── CollectionExtensions.cs │ ├── CommandModel │ ├── CreateUserCommandExecutor_specs.cs │ ├── GrantRoleCommandExecutor_specs.cs │ ├── RevokeRoleCommandExecutor_specs.cs │ └── SqlUserRepository_specs.cs │ ├── Program_specs.cs │ ├── QueryModel │ ├── BackwardCompatibleUserReader_specs.cs │ ├── PasswordVerifier_specs.cs │ ├── ShopUserReader_specs.cs │ └── SqlUserReader_specs.cs │ ├── Sellers.UnitTests.csproj │ └── api │ ├── shops │ ├── Get_specs.cs │ └── id │ │ └── Get_specs.cs │ └── users │ ├── id │ ├── create-user │ │ └── Post_specs.cs │ ├── grant-role │ │ └── Post_specs.cs │ ├── revoke-role │ │ └── Post_specs.cs │ └── roles │ │ └── Get_specs.cs │ └── verify-password │ └── Post_specs.cs ├── ShopPlatform.sln ├── accounting ├── api │ ├── build.gradle │ └── src │ │ └── main │ │ ├── java │ │ └── accounting │ │ │ ├── App.java │ │ │ ├── HttpShopReader.java │ │ │ ├── Order.java │ │ │ ├── OrderReader.java │ │ │ ├── OrderRepository.java │ │ │ ├── OrderView.java │ │ │ ├── OrderViewAggregator.java │ │ │ ├── Shop.java │ │ │ ├── ShopReader.java │ │ │ ├── controller │ │ │ └── OrdersController.java │ │ │ ├── dataaccess │ │ │ └── QuotedNamingStrategy.java │ │ │ └── query │ │ │ └── GetOrdersPlacedIn.java │ │ └── resources │ │ └── application.properties └── unittest │ ├── build.gradle │ └── src │ └── test │ └── java │ └── accounting │ └── test │ ├── AccountingCustomizer.java │ ├── EmptyShopReaderCustomizer.java │ ├── InMemoryOrderRepository.java │ ├── OrderViewAggregator_specs.java │ └── api │ └── orders │ └── get_orders_placed_in │ └── Post_specs.java ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | .vs 2 | bin 3 | obj 4 | .vscode 5 | .idea 6 | .gradle 7 | build 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/README.md -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Commands/PlaceOrder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Commands/PlaceOrder.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Commands/StartOrder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Commands/StartOrder.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Controllers/OrdersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Controllers/OrdersController.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Events/BankTransferPaymentCompleted.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Events/BankTransferPaymentCompleted.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Events/ExternalPaymentApproved.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Events/ExternalPaymentApproved.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Events/ItemShipped.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Events/ItemShipped.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Events/PaymentApproved.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Events/PaymentApproved.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Events/PaymentApprovedEventHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Events/PaymentApprovedEventHandler.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Messaging/IAsyncObservable.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Messaging/IAsyncObservable.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Messaging/IBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Messaging/IBus.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Messaging/StorageQueueBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Messaging/StorageQueueBus.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Migrations/20220822085914_AddOrders.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Migrations/20220822085914_AddOrders.Designer.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Migrations/20220822085914_AddOrders.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Migrations/20220822085914_AddOrders.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Migrations/20220822090330_AddPaymentTransactionIdToOrder.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Migrations/20220822090330_AddPaymentTransactionIdToOrder.Designer.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Migrations/20220822090330_AddPaymentTransactionIdToOrder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Migrations/20220822090330_AddPaymentTransactionIdToOrder.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Migrations/OrdersDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Migrations/OrdersDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Order.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Order.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/OrderStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/OrderStatus.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Orders.Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Orders.Api.csproj -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/OrdersDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/OrdersDbContext.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Program.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/QueryExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/QueryExtensions.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/QueryLanguage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/QueryLanguage.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/SellersService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/SellersService.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/appsettings.Development.json -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.Api/appsettings.json -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/DefaultPolicy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/DefaultPolicy.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/Orders.UnitTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/Orders.UnitTests.csproj -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/OrdersServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/OrdersServer.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/TestSpecificLanguage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/TestSpecificLanguage.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/api/orders/Get_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/api/orders/Get_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/api/orders/accept/payment-approved/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/api/orders/accept/payment-approved/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/api/orders/handle/bank-transder-payment-completed/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/api/orders/handle/bank-transder-payment-completed/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/api/orders/handle/item-shipped/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/api/orders/handle/item-shipped/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/api/orders/id/Get_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/api/orders/id/Get_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/api/orders/id/place-order/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/api/orders/id/place-order/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Orders/Orders.UnitTests/api/orders/id/start-order/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Orders/Orders.UnitTests/api/orders/id/start-order/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/Controllers/ShopsControllers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/Controllers/ShopsControllers.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/Controllers/UsersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/Controllers/UsersController.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/Filters/InvariantViolationFilter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/Filters/InvariantViolationFilter.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/Program.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/QueryExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/QueryExtensions.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/Sellers.Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/Sellers.Api.csproj -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/appsettings.Development.json -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Api/appsettings.json -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Contracts/Commands/CreateUser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Contracts/Commands/CreateUser.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Contracts/Commands/GrantRole.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Contracts/Commands/GrantRole.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Contracts/Commands/RevokeRole.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Contracts/Commands/RevokeRole.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Contracts/Credentials.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Contracts/Credentials.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Contracts/Role.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Contracts/Role.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Contracts/Sellers.Contracts.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Contracts/Sellers.Contracts.csproj -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Contracts/ShopUser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Contracts/ShopUser.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Contracts/ShopView.cs: -------------------------------------------------------------------------------- 1 | namespace Sellers; 2 | 3 | public sealed record ShopView(Guid Id, string Name); 4 | -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Crypto/AspNetCorePasswordHasher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Crypto/AspNetCorePasswordHasher.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Crypto/Sellers.Crypto.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Crypto/Sellers.Crypto.csproj -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/CreateUserCommandExecutor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/CreateUserCommandExecutor.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/EntityNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/EntityNotFoundException.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/GrantRoleCommandExecutor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/GrantRoleCommandExecutor.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/IUserRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/IUserRepository.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/InvariantViolationException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/InvariantViolationException.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/RevokeRoleCommandExecutor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/RevokeRoleCommandExecutor.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/UserRepositoryExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/CommandModel/UserRepositoryExtensions.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/IPasswordHasher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/IPasswordHasher.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/QueryModel/IUserReader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/QueryModel/IUserReader.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/QueryModel/PasswordVerifier.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/QueryModel/PasswordVerifier.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/Sellers.DomainModel.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/Sellers.DomainModel.csproj -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/Shop.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/Shop.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.DomainModel/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.DomainModel/User.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/CommandModel/SqlUserRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/CommandModel/SqlUserRepository.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/Migrations/20220822113310_AddShops.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/Migrations/20220822113310_AddShops.Designer.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/Migrations/20220822113310_AddShops.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/Migrations/20220822113310_AddShops.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/Migrations/20220822123735_AddUsers.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/Migrations/20220822123735_AddUsers.Designer.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/Migrations/20220822123735_AddUsers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/Migrations/20220822123735_AddUsers.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/Migrations/20220831154330_AddRoles.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/Migrations/20220831154330_AddRoles.Designer.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/Migrations/20220831154330_AddRoles.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/Migrations/20220831154330_AddRoles.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/Migrations/SellersDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/Migrations/SellersDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/QueryModel/BackwardCompatibleUserReader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/QueryModel/BackwardCompatibleUserReader.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/QueryModel/ShopUserReader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/QueryModel/ShopUserReader.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/QueryModel/SqlUserReader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/QueryModel/SqlUserReader.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/RoleEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/RoleEntity.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/Sellers.Sql.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/Sellers.Sql.csproj -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/SellersDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/SellersDbContext.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Sql/UserEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Sql/UserEntity.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/AutoSellersDataAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/AutoSellersDataAttribute.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/ConnectionStringAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/ConnectionStringAttribute.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/InlineAutoSellersDataAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/InlineAutoSellersDataAttribute.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/PasswordHasherCustomization.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/PasswordHasherCustomization.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/RoleCustomization.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/RoleCustomization.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/Sellers.Testing.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/Sellers.Testing.csproj -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/SellersDatabase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/SellersDatabase.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/SellersDbContextCustomization.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/SellersDbContextCustomization.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/SellersServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/SellersServer.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/SellersServerCustomization.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/SellersServerCustomization.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/ShopCustomization.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/ShopCustomization.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/TestSpecificLanguage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/TestSpecificLanguage.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/UserCustomization.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/UserCustomization.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.Testing/UserRepositoryCustomization.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.Testing/UserRepositoryCustomization.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/AspNetCorePasswordHasher_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/AspNetCorePasswordHasher_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/CollectionExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/CollectionExtensions.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/CommandModel/CreateUserCommandExecutor_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/CommandModel/CreateUserCommandExecutor_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/CommandModel/GrantRoleCommandExecutor_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/CommandModel/GrantRoleCommandExecutor_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/CommandModel/RevokeRoleCommandExecutor_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/CommandModel/RevokeRoleCommandExecutor_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/CommandModel/SqlUserRepository_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/CommandModel/SqlUserRepository_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/Program_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/Program_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/QueryModel/BackwardCompatibleUserReader_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/QueryModel/BackwardCompatibleUserReader_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/QueryModel/PasswordVerifier_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/QueryModel/PasswordVerifier_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/QueryModel/ShopUserReader_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/QueryModel/ShopUserReader_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/QueryModel/SqlUserReader_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/QueryModel/SqlUserReader_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/Sellers.UnitTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/Sellers.UnitTests.csproj -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/api/shops/Get_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/api/shops/Get_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/api/shops/id/Get_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/api/shops/id/Get_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/api/users/id/create-user/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/api/users/id/create-user/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/api/users/id/grant-role/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/api/users/id/grant-role/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/api/users/id/revoke-role/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/api/users/id/revoke-role/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/api/users/id/roles/Get_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/api/users/id/roles/Get_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/Sellers/Sellers.UnitTests/api/users/verify-password/Post_specs.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/Sellers/Sellers.UnitTests/api/users/verify-password/Post_specs.cs -------------------------------------------------------------------------------- /ShopPlatform/ShopPlatform.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/ShopPlatform.sln -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/build.gradle -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/App.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/App.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/HttpShopReader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/HttpShopReader.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/Order.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/Order.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/OrderReader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/OrderReader.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/OrderRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/OrderRepository.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/OrderView.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/OrderView.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/OrderViewAggregator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/OrderViewAggregator.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/Shop.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/Shop.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/ShopReader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/ShopReader.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/controller/OrdersController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/controller/OrdersController.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/dataaccess/QuotedNamingStrategy.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/dataaccess/QuotedNamingStrategy.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/java/accounting/query/GetOrdersPlacedIn.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/java/accounting/query/GetOrdersPlacedIn.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/api/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/api/src/main/resources/application.properties -------------------------------------------------------------------------------- /ShopPlatform/accounting/unittest/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/unittest/build.gradle -------------------------------------------------------------------------------- /ShopPlatform/accounting/unittest/src/test/java/accounting/test/AccountingCustomizer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/unittest/src/test/java/accounting/test/AccountingCustomizer.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/unittest/src/test/java/accounting/test/EmptyShopReaderCustomizer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/unittest/src/test/java/accounting/test/EmptyShopReaderCustomizer.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/unittest/src/test/java/accounting/test/InMemoryOrderRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/unittest/src/test/java/accounting/test/InMemoryOrderRepository.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/unittest/src/test/java/accounting/test/OrderViewAggregator_specs.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/unittest/src/test/java/accounting/test/OrderViewAggregator_specs.java -------------------------------------------------------------------------------- /ShopPlatform/accounting/unittest/src/test/java/accounting/test/api/orders/get_orders_placed_in/Post_specs.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/accounting/unittest/src/test/java/accounting/test/api/orders/get_orders_placed_in/Post_specs.java -------------------------------------------------------------------------------- /ShopPlatform/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ShopPlatform/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /ShopPlatform/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/gradlew -------------------------------------------------------------------------------- /ShopPlatform/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/gradlew.bat -------------------------------------------------------------------------------- /ShopPlatform/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gyuwon/TDDHandsOn2/HEAD/ShopPlatform/settings.gradle --------------------------------------------------------------------------------