├── .config └── dotnet-tools.json ├── .devcontainer ├── Dockerfile ├── core-libs.sh └── devcontainer.json ├── .dockerignore ├── .github └── workflows │ └── publish-docker.yml ├── .gitignore ├── LICENSE ├── Makefile ├── NuGet.Config ├── README.md ├── assets ├── aks_coffeeshop.png └── coffeeshop_high_level_architecture.png ├── client.http ├── coffeeshop-on-dapr.sln ├── docker-compose-o11y.yaml ├── docker-compose.yaml ├── global.json ├── iac ├── bicep │ ├── app.bicep │ ├── app │ │ ├── barista-service.bicep │ │ ├── counter-service.bicep │ │ ├── ingress.bicep │ │ ├── kitchen-service.bicep │ │ ├── postgres.bicep │ │ ├── product-service.bicep │ │ └── reverse-proxy.bicep │ ├── bicepconfig.json │ ├── config.bicep │ ├── infra.bicep │ ├── infra │ │ ├── aks.bicep │ │ ├── container-registry.bicep │ │ ├── secrets.bicep │ │ └── servicebus.bicep │ └── main.bicep ├── dapr │ ├── azure │ │ ├── barista_pubsub.yaml │ │ ├── kitchen_pubsub.yaml │ │ └── orderup_pubsub.yaml │ └── local │ │ ├── barista_pubsub.yaml │ │ ├── config.yaml │ │ ├── kitchen_pubsub.yaml │ │ └── orderup_pubsub.yaml └── keda │ ├── barista-service-scaler-servicebus.yaml │ ├── counter-service-scaler-servicebus.yaml │ └── kitchen-service-scaler-servicebus.yaml ├── otel-collector-config.yaml ├── prometheus.yaml └── src ├── BaristaService ├── BaristaService.csproj ├── Dockerfile ├── Domain │ ├── BaristaItem.cs │ └── DomainEvents │ │ └── BaristaOrderUp.cs ├── Infrastructure │ ├── Data │ │ ├── MainDbContext.cs │ │ ├── MainDbContextDesignFactory.cs │ │ ├── Migrations │ │ │ ├── 20220817151642_InitBaristaDb.Designer.cs │ │ │ ├── 20220817151642_InitBaristaDb.cs │ │ │ └── MainDbContextModelSnapshot.cs │ │ └── Repository.cs │ └── EventDispatcher.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── UseCases │ └── PlaceBaristaOrderCommand.cs ├── appsettings.Development.json └── appsettings.json ├── CounterService ├── CounterService.csproj ├── Dockerfile ├── Domain │ ├── Commands │ │ ├── CommandItem.cs │ │ ├── CommandType.cs │ │ └── PlaceOrderCommand.cs │ ├── DomainEvents │ │ ├── OrderIn.cs │ │ ├── OrderUp.cs │ │ └── OrderUpdate.cs │ ├── GetOrderByIdWithLineItemSpec.cs │ ├── IItemGateway.cs │ ├── ItemStatus.cs │ ├── LineItem.cs │ ├── Location.cs │ ├── Order.cs │ ├── OrderSource.cs │ └── OrderStatus.cs ├── EventHandlers │ └── HandleOrderUpdatedEvent.cs ├── Infrastructure │ ├── Data │ │ ├── MainDbContext.cs │ │ ├── MainDbContextDesignFactory.cs │ │ ├── Migrations │ │ │ ├── 20220817151517_InitCounterDb.Designer.cs │ │ │ ├── 20220817151517_InitCounterDb.cs │ │ │ └── MainDbContextModelSnapshot.cs │ │ └── Repository.cs │ ├── EventDispatcher.cs │ ├── Gateways │ │ └── ItemGateway.cs │ └── Hubs │ │ └── NotificationHub.cs ├── Program.cs ├── Properties │ └── launchSettings.json ├── UseCases │ ├── OrderUpdatedCommand.cs │ ├── PlaceOrderCommand.cs │ └── QueryOrderFulfillment.cs ├── appsettings.Development.json └── appsettings.json ├── DataGen ├── DataGen.csproj ├── Dockerfile ├── Program.cs ├── Properties │ └── launchSettings.json ├── Worker.cs ├── appsettings.Development.json └── appsettings.json ├── KitchenService ├── Dockerfile ├── Domain │ ├── DomainEvents │ │ └── KitchenOrderUp.cs │ └── KitchenOrder.cs ├── Infrastructure │ ├── Data │ │ ├── MainDbContext.cs │ │ ├── MainDbContextDesignFactory.cs │ │ ├── Migrations │ │ │ ├── 20220817151700_InitKitchenDb.Designer.cs │ │ │ ├── 20220817151700_InitKitchenDb.cs │ │ │ └── MainDbContextModelSnapshot.cs │ │ └── Repository.cs │ └── EventDispatcher.cs ├── KitchenService.csproj ├── Program.cs ├── Properties │ └── launchSettings.json ├── UseCases │ └── PlaceKitchenOrderCommand.cs ├── appsettings.Development.json └── appsettings.json ├── Libs ├── CoffeeShop.Contracts │ ├── BaristaOrderUpdated.cs │ ├── BaristaOrdered.cs │ ├── CoffeeShop.Contracts.csproj │ ├── ItemDto.cs │ ├── ItemType.cs │ ├── KitchenOrderUpdated.cs │ └── KitchenOrdered.cs ├── N8T.Core │ ├── Domain │ │ ├── Entities.cs │ │ ├── Events.cs │ │ ├── Exceptions.cs │ │ └── Outbox.cs │ ├── Helpers │ │ ├── DateTimeHelper.cs │ │ └── GuidHelper.cs │ ├── N8T.Core.csproj │ ├── Repository │ │ └── IRepository.cs │ └── Specification │ │ ├── And.cs │ │ ├── Extensions.cs │ │ ├── GridSpecificationBase.cs │ │ ├── ISpecification.cs │ │ ├── Negated.cs │ │ ├── NoOpSpec.cs │ │ ├── Or.cs │ │ ├── PredicateBuilder.cs │ │ └── SpecificationBase.cs ├── N8T.Infrastructure.EfCore │ ├── AppDbContextBase.cs │ ├── Consts.cs │ ├── DbContextDesignFactoryBase.cs │ ├── Extensions.cs │ ├── IDbFacadeResolver.cs │ ├── MutateHandlerBase.cs │ ├── N8T.Infrastructure.EfCore.csproj │ ├── Repository.cs │ └── TxBehavior.cs ├── N8T.Infrastructure │ ├── AppOptions.cs │ ├── Auth │ │ ├── AuthBehavior.cs │ │ ├── Extensions.cs │ │ ├── IAuthRequest.cs │ │ ├── ISecurityContextAccessor.cs │ │ └── SecurityContextAccessor.cs │ ├── Bus │ │ ├── Dapr │ │ │ ├── DaprEventBusOptions.cs │ │ │ └── Internal │ │ │ │ └── DaprEventBus.cs │ │ ├── Extensions.cs │ │ ├── IEventBus.cs │ │ └── Kafka │ │ │ ├── BackGroundKafkaConsumer.cs │ │ │ └── KafkaConsumerConfig.cs │ ├── Cache │ │ ├── Extensions.cs │ │ └── Redis │ │ │ ├── IRedisCacheService.cs │ │ │ ├── Internals │ │ │ └── RedisCacheService.cs │ │ │ └── RedisCacheOptions.cs │ ├── Controller │ │ ├── BaseController.cs │ │ └── ExceptionMiddleware.cs │ ├── CqrsResultModels.cs │ ├── DateTime │ │ └── Extensions.cs │ ├── ErrorHandler │ │ ├── Extensions.cs │ │ └── ProblemDetailsDeveloperPageExceptionFilter.cs │ ├── Events │ │ └── DomainEventHandler.cs │ ├── Extensions.cs │ ├── Helpers │ │ └── ConfigurationHelper.cs │ ├── Logging │ │ └── LoggingBehavior.cs │ ├── N8T.Infrastructure.csproj │ ├── OTel │ │ └── Extensions.cs │ ├── SchemaRegistry │ │ └── Extensions.cs │ ├── ServiceInvocation │ │ └── Dapr │ │ │ └── Extensions.cs │ ├── Status │ │ ├── Extensions.cs │ │ └── StatusModel.cs │ ├── Swagger │ │ ├── ConfigureSwaggerOptions.cs │ │ ├── Extentions.cs │ │ └── SwaggerDefaultValues.cs │ ├── TxOutbox │ │ ├── Dapr │ │ │ ├── DaprTxOutboxOptions.cs │ │ │ └── Internal │ │ │ │ ├── DaprLocalDispatchedHandler.cs │ │ │ │ └── DaprTxOutboxProcessor.cs │ │ ├── Extensions.cs │ │ ├── ITxOutboxProcessor.cs │ │ ├── InMemory │ │ │ ├── EventStorage.cs │ │ │ ├── LocalDispatchedHandler.cs │ │ │ └── TxOutboxProcessor.cs │ │ └── OutboxEntity.cs │ └── Validator │ │ ├── Extensions.cs │ │ ├── RequestValidationBehavior.cs │ │ ├── ValidationError.cs │ │ ├── ValidationException.cs │ │ └── ValidationResultModel.cs └── packages.props ├── ProductService ├── Dockerfile ├── Domain │ └── Item.cs ├── ProductService.csproj ├── Program.cs ├── Properties │ └── launchSettings.json ├── UseCases │ ├── ItemTypesQuery.cs │ └── ItemsByIdsQuery.cs ├── appsettings.Development.json └── appsettings.json └── ReverseProxy ├── Dockerfile ├── Program.cs ├── Properties └── launchSettings.json ├── ReverseProxy.csproj ├── appsettings.Development.json └── appsettings.json /.config/dotnet-tools.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/.config/dotnet-tools.json -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/core-libs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/.devcontainer/core-libs.sh -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/publish-docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/.github/workflows/publish-docker.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/Makefile -------------------------------------------------------------------------------- /NuGet.Config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/NuGet.Config -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/README.md -------------------------------------------------------------------------------- /assets/aks_coffeeshop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/assets/aks_coffeeshop.png -------------------------------------------------------------------------------- /assets/coffeeshop_high_level_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/assets/coffeeshop_high_level_architecture.png -------------------------------------------------------------------------------- /client.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/client.http -------------------------------------------------------------------------------- /coffeeshop-on-dapr.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/coffeeshop-on-dapr.sln -------------------------------------------------------------------------------- /docker-compose-o11y.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/docker-compose-o11y.yaml -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/global.json -------------------------------------------------------------------------------- /iac/bicep/app.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/app.bicep -------------------------------------------------------------------------------- /iac/bicep/app/barista-service.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/app/barista-service.bicep -------------------------------------------------------------------------------- /iac/bicep/app/counter-service.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/app/counter-service.bicep -------------------------------------------------------------------------------- /iac/bicep/app/ingress.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/app/ingress.bicep -------------------------------------------------------------------------------- /iac/bicep/app/kitchen-service.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/app/kitchen-service.bicep -------------------------------------------------------------------------------- /iac/bicep/app/postgres.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/app/postgres.bicep -------------------------------------------------------------------------------- /iac/bicep/app/product-service.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/app/product-service.bicep -------------------------------------------------------------------------------- /iac/bicep/app/reverse-proxy.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/app/reverse-proxy.bicep -------------------------------------------------------------------------------- /iac/bicep/bicepconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/bicepconfig.json -------------------------------------------------------------------------------- /iac/bicep/config.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/config.bicep -------------------------------------------------------------------------------- /iac/bicep/infra.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/infra.bicep -------------------------------------------------------------------------------- /iac/bicep/infra/aks.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/infra/aks.bicep -------------------------------------------------------------------------------- /iac/bicep/infra/container-registry.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/infra/container-registry.bicep -------------------------------------------------------------------------------- /iac/bicep/infra/secrets.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/infra/secrets.bicep -------------------------------------------------------------------------------- /iac/bicep/infra/servicebus.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/infra/servicebus.bicep -------------------------------------------------------------------------------- /iac/bicep/main.bicep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/bicep/main.bicep -------------------------------------------------------------------------------- /iac/dapr/azure/barista_pubsub.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/dapr/azure/barista_pubsub.yaml -------------------------------------------------------------------------------- /iac/dapr/azure/kitchen_pubsub.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/dapr/azure/kitchen_pubsub.yaml -------------------------------------------------------------------------------- /iac/dapr/azure/orderup_pubsub.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/dapr/azure/orderup_pubsub.yaml -------------------------------------------------------------------------------- /iac/dapr/local/barista_pubsub.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/dapr/local/barista_pubsub.yaml -------------------------------------------------------------------------------- /iac/dapr/local/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/dapr/local/config.yaml -------------------------------------------------------------------------------- /iac/dapr/local/kitchen_pubsub.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/dapr/local/kitchen_pubsub.yaml -------------------------------------------------------------------------------- /iac/dapr/local/orderup_pubsub.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/dapr/local/orderup_pubsub.yaml -------------------------------------------------------------------------------- /iac/keda/barista-service-scaler-servicebus.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/keda/barista-service-scaler-servicebus.yaml -------------------------------------------------------------------------------- /iac/keda/counter-service-scaler-servicebus.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/keda/counter-service-scaler-servicebus.yaml -------------------------------------------------------------------------------- /iac/keda/kitchen-service-scaler-servicebus.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/iac/keda/kitchen-service-scaler-servicebus.yaml -------------------------------------------------------------------------------- /otel-collector-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/otel-collector-config.yaml -------------------------------------------------------------------------------- /prometheus.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/prometheus.yaml -------------------------------------------------------------------------------- /src/BaristaService/BaristaService.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/BaristaService.csproj -------------------------------------------------------------------------------- /src/BaristaService/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Dockerfile -------------------------------------------------------------------------------- /src/BaristaService/Domain/BaristaItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Domain/BaristaItem.cs -------------------------------------------------------------------------------- /src/BaristaService/Domain/DomainEvents/BaristaOrderUp.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Domain/DomainEvents/BaristaOrderUp.cs -------------------------------------------------------------------------------- /src/BaristaService/Infrastructure/Data/MainDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Infrastructure/Data/MainDbContext.cs -------------------------------------------------------------------------------- /src/BaristaService/Infrastructure/Data/MainDbContextDesignFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Infrastructure/Data/MainDbContextDesignFactory.cs -------------------------------------------------------------------------------- /src/BaristaService/Infrastructure/Data/Migrations/20220817151642_InitBaristaDb.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Infrastructure/Data/Migrations/20220817151642_InitBaristaDb.Designer.cs -------------------------------------------------------------------------------- /src/BaristaService/Infrastructure/Data/Migrations/20220817151642_InitBaristaDb.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Infrastructure/Data/Migrations/20220817151642_InitBaristaDb.cs -------------------------------------------------------------------------------- /src/BaristaService/Infrastructure/Data/Migrations/MainDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Infrastructure/Data/Migrations/MainDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/BaristaService/Infrastructure/Data/Repository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Infrastructure/Data/Repository.cs -------------------------------------------------------------------------------- /src/BaristaService/Infrastructure/EventDispatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Infrastructure/EventDispatcher.cs -------------------------------------------------------------------------------- /src/BaristaService/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Program.cs -------------------------------------------------------------------------------- /src/BaristaService/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/BaristaService/UseCases/PlaceBaristaOrderCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/UseCases/PlaceBaristaOrderCommand.cs -------------------------------------------------------------------------------- /src/BaristaService/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/appsettings.Development.json -------------------------------------------------------------------------------- /src/BaristaService/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/BaristaService/appsettings.json -------------------------------------------------------------------------------- /src/CounterService/CounterService.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/CounterService.csproj -------------------------------------------------------------------------------- /src/CounterService/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Dockerfile -------------------------------------------------------------------------------- /src/CounterService/Domain/Commands/CommandItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/Commands/CommandItem.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/Commands/CommandType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/Commands/CommandType.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/Commands/PlaceOrderCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/Commands/PlaceOrderCommand.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/DomainEvents/OrderIn.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/DomainEvents/OrderIn.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/DomainEvents/OrderUp.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/DomainEvents/OrderUp.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/DomainEvents/OrderUpdate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/DomainEvents/OrderUpdate.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/GetOrderByIdWithLineItemSpec.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/GetOrderByIdWithLineItemSpec.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/IItemGateway.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/IItemGateway.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/ItemStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/ItemStatus.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/LineItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/LineItem.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/Location.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/Location.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/Order.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/Order.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/OrderSource.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/OrderSource.cs -------------------------------------------------------------------------------- /src/CounterService/Domain/OrderStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Domain/OrderStatus.cs -------------------------------------------------------------------------------- /src/CounterService/EventHandlers/HandleOrderUpdatedEvent.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/EventHandlers/HandleOrderUpdatedEvent.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/Data/MainDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/Data/MainDbContext.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/Data/MainDbContextDesignFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/Data/MainDbContextDesignFactory.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/Data/Migrations/20220817151517_InitCounterDb.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/Data/Migrations/20220817151517_InitCounterDb.Designer.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/Data/Migrations/20220817151517_InitCounterDb.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/Data/Migrations/20220817151517_InitCounterDb.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/Data/Migrations/MainDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/Data/Migrations/MainDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/Data/Repository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/Data/Repository.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/EventDispatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/EventDispatcher.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/Gateways/ItemGateway.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/Gateways/ItemGateway.cs -------------------------------------------------------------------------------- /src/CounterService/Infrastructure/Hubs/NotificationHub.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Infrastructure/Hubs/NotificationHub.cs -------------------------------------------------------------------------------- /src/CounterService/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Program.cs -------------------------------------------------------------------------------- /src/CounterService/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/CounterService/UseCases/OrderUpdatedCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/UseCases/OrderUpdatedCommand.cs -------------------------------------------------------------------------------- /src/CounterService/UseCases/PlaceOrderCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/UseCases/PlaceOrderCommand.cs -------------------------------------------------------------------------------- /src/CounterService/UseCases/QueryOrderFulfillment.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/UseCases/QueryOrderFulfillment.cs -------------------------------------------------------------------------------- /src/CounterService/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/appsettings.Development.json -------------------------------------------------------------------------------- /src/CounterService/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/CounterService/appsettings.json -------------------------------------------------------------------------------- /src/DataGen/DataGen.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/DataGen/DataGen.csproj -------------------------------------------------------------------------------- /src/DataGen/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/DataGen/Dockerfile -------------------------------------------------------------------------------- /src/DataGen/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/DataGen/Program.cs -------------------------------------------------------------------------------- /src/DataGen/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/DataGen/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/DataGen/Worker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/DataGen/Worker.cs -------------------------------------------------------------------------------- /src/DataGen/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/DataGen/appsettings.Development.json -------------------------------------------------------------------------------- /src/DataGen/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/DataGen/appsettings.json -------------------------------------------------------------------------------- /src/KitchenService/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Dockerfile -------------------------------------------------------------------------------- /src/KitchenService/Domain/DomainEvents/KitchenOrderUp.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Domain/DomainEvents/KitchenOrderUp.cs -------------------------------------------------------------------------------- /src/KitchenService/Domain/KitchenOrder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Domain/KitchenOrder.cs -------------------------------------------------------------------------------- /src/KitchenService/Infrastructure/Data/MainDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Infrastructure/Data/MainDbContext.cs -------------------------------------------------------------------------------- /src/KitchenService/Infrastructure/Data/MainDbContextDesignFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Infrastructure/Data/MainDbContextDesignFactory.cs -------------------------------------------------------------------------------- /src/KitchenService/Infrastructure/Data/Migrations/20220817151700_InitKitchenDb.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Infrastructure/Data/Migrations/20220817151700_InitKitchenDb.Designer.cs -------------------------------------------------------------------------------- /src/KitchenService/Infrastructure/Data/Migrations/20220817151700_InitKitchenDb.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Infrastructure/Data/Migrations/20220817151700_InitKitchenDb.cs -------------------------------------------------------------------------------- /src/KitchenService/Infrastructure/Data/Migrations/MainDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Infrastructure/Data/Migrations/MainDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/KitchenService/Infrastructure/Data/Repository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Infrastructure/Data/Repository.cs -------------------------------------------------------------------------------- /src/KitchenService/Infrastructure/EventDispatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Infrastructure/EventDispatcher.cs -------------------------------------------------------------------------------- /src/KitchenService/KitchenService.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/KitchenService.csproj -------------------------------------------------------------------------------- /src/KitchenService/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Program.cs -------------------------------------------------------------------------------- /src/KitchenService/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/KitchenService/UseCases/PlaceKitchenOrderCommand.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/UseCases/PlaceKitchenOrderCommand.cs -------------------------------------------------------------------------------- /src/KitchenService/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/appsettings.Development.json -------------------------------------------------------------------------------- /src/KitchenService/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/KitchenService/appsettings.json -------------------------------------------------------------------------------- /src/Libs/CoffeeShop.Contracts/BaristaOrderUpdated.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/CoffeeShop.Contracts/BaristaOrderUpdated.cs -------------------------------------------------------------------------------- /src/Libs/CoffeeShop.Contracts/BaristaOrdered.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/CoffeeShop.Contracts/BaristaOrdered.cs -------------------------------------------------------------------------------- /src/Libs/CoffeeShop.Contracts/CoffeeShop.Contracts.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/CoffeeShop.Contracts/CoffeeShop.Contracts.csproj -------------------------------------------------------------------------------- /src/Libs/CoffeeShop.Contracts/ItemDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/CoffeeShop.Contracts/ItemDto.cs -------------------------------------------------------------------------------- /src/Libs/CoffeeShop.Contracts/ItemType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/CoffeeShop.Contracts/ItemType.cs -------------------------------------------------------------------------------- /src/Libs/CoffeeShop.Contracts/KitchenOrderUpdated.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/CoffeeShop.Contracts/KitchenOrderUpdated.cs -------------------------------------------------------------------------------- /src/Libs/CoffeeShop.Contracts/KitchenOrdered.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/CoffeeShop.Contracts/KitchenOrdered.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Domain/Entities.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Domain/Entities.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Domain/Events.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Domain/Events.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Domain/Exceptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Domain/Exceptions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Domain/Outbox.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Domain/Outbox.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Helpers/DateTimeHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Helpers/DateTimeHelper.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Helpers/GuidHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Helpers/GuidHelper.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/N8T.Core.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/N8T.Core.csproj -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Repository/IRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Repository/IRepository.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/And.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/And.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/GridSpecificationBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/GridSpecificationBase.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/ISpecification.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/ISpecification.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/Negated.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/Negated.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/NoOpSpec.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/NoOpSpec.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/Or.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/Or.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/PredicateBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/PredicateBuilder.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Core/Specification/SpecificationBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Core/Specification/SpecificationBase.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/AppDbContextBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/AppDbContextBase.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/Consts.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/Consts.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/DbContextDesignFactoryBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/DbContextDesignFactoryBase.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/IDbFacadeResolver.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/IDbFacadeResolver.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/MutateHandlerBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/MutateHandlerBase.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/N8T.Infrastructure.EfCore.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/N8T.Infrastructure.EfCore.csproj -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/Repository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/Repository.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure.EfCore/TxBehavior.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure.EfCore/TxBehavior.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/AppOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/AppOptions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Auth/AuthBehavior.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Auth/AuthBehavior.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Auth/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Auth/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Auth/IAuthRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Auth/IAuthRequest.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Auth/ISecurityContextAccessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Auth/ISecurityContextAccessor.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Auth/SecurityContextAccessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Auth/SecurityContextAccessor.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Bus/Dapr/DaprEventBusOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Bus/Dapr/DaprEventBusOptions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Bus/Dapr/Internal/DaprEventBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Bus/Dapr/Internal/DaprEventBus.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Bus/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Bus/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Bus/IEventBus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Bus/IEventBus.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Bus/Kafka/BackGroundKafkaConsumer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Bus/Kafka/BackGroundKafkaConsumer.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Bus/Kafka/KafkaConsumerConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Bus/Kafka/KafkaConsumerConfig.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Cache/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Cache/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Cache/Redis/IRedisCacheService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Cache/Redis/IRedisCacheService.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Cache/Redis/Internals/RedisCacheService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Cache/Redis/Internals/RedisCacheService.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Cache/Redis/RedisCacheOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Cache/Redis/RedisCacheOptions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Controller/BaseController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Controller/BaseController.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Controller/ExceptionMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Controller/ExceptionMiddleware.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/CqrsResultModels.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/CqrsResultModels.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/DateTime/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/DateTime/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/ErrorHandler/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/ErrorHandler/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/ErrorHandler/ProblemDetailsDeveloperPageExceptionFilter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/ErrorHandler/ProblemDetailsDeveloperPageExceptionFilter.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Events/DomainEventHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Events/DomainEventHandler.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Helpers/ConfigurationHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Helpers/ConfigurationHelper.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Logging/LoggingBehavior.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Logging/LoggingBehavior.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/N8T.Infrastructure.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/N8T.Infrastructure.csproj -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/OTel/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/OTel/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/SchemaRegistry/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/SchemaRegistry/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/ServiceInvocation/Dapr/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/ServiceInvocation/Dapr/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Status/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Status/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Status/StatusModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Status/StatusModel.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Swagger/ConfigureSwaggerOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Swagger/ConfigureSwaggerOptions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Swagger/Extentions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Swagger/Extentions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Swagger/SwaggerDefaultValues.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Swagger/SwaggerDefaultValues.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/Dapr/DaprTxOutboxOptions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/Dapr/DaprTxOutboxOptions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/Dapr/Internal/DaprLocalDispatchedHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/Dapr/Internal/DaprLocalDispatchedHandler.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/Dapr/Internal/DaprTxOutboxProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/Dapr/Internal/DaprTxOutboxProcessor.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/ITxOutboxProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/ITxOutboxProcessor.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/InMemory/EventStorage.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/InMemory/EventStorage.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/InMemory/LocalDispatchedHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/InMemory/LocalDispatchedHandler.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/InMemory/TxOutboxProcessor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/InMemory/TxOutboxProcessor.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/TxOutbox/OutboxEntity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/TxOutbox/OutboxEntity.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Validator/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Validator/Extensions.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Validator/RequestValidationBehavior.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Validator/RequestValidationBehavior.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Validator/ValidationError.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Validator/ValidationError.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Validator/ValidationException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Validator/ValidationException.cs -------------------------------------------------------------------------------- /src/Libs/N8T.Infrastructure/Validator/ValidationResultModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/N8T.Infrastructure/Validator/ValidationResultModel.cs -------------------------------------------------------------------------------- /src/Libs/packages.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/Libs/packages.props -------------------------------------------------------------------------------- /src/ProductService/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/Dockerfile -------------------------------------------------------------------------------- /src/ProductService/Domain/Item.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/Domain/Item.cs -------------------------------------------------------------------------------- /src/ProductService/ProductService.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/ProductService.csproj -------------------------------------------------------------------------------- /src/ProductService/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/Program.cs -------------------------------------------------------------------------------- /src/ProductService/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/ProductService/UseCases/ItemTypesQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/UseCases/ItemTypesQuery.cs -------------------------------------------------------------------------------- /src/ProductService/UseCases/ItemsByIdsQuery.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/UseCases/ItemsByIdsQuery.cs -------------------------------------------------------------------------------- /src/ProductService/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/appsettings.Development.json -------------------------------------------------------------------------------- /src/ProductService/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ProductService/appsettings.json -------------------------------------------------------------------------------- /src/ReverseProxy/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ReverseProxy/Dockerfile -------------------------------------------------------------------------------- /src/ReverseProxy/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ReverseProxy/Program.cs -------------------------------------------------------------------------------- /src/ReverseProxy/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ReverseProxy/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/ReverseProxy/ReverseProxy.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ReverseProxy/ReverseProxy.csproj -------------------------------------------------------------------------------- /src/ReverseProxy/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ReverseProxy/appsettings.Development.json -------------------------------------------------------------------------------- /src/ReverseProxy/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thangchung/coffeeshop-on-dapr/HEAD/src/ReverseProxy/appsettings.json --------------------------------------------------------------------------------