├── .dockerignore ├── .gitignore ├── .travis.yml ├── Dockerfile ├── LICENSE ├── Pacco.Services.Parcels.rest ├── Pacco.Services.Parcels.sln ├── README.md ├── scripts ├── build.sh ├── dockerize.sh ├── start-test.sh ├── start.sh └── test.sh ├── src ├── Pacco.Services.Parcels.Api │ ├── Pacco.Services.Parcels.Api.csproj │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── appsettings.development.json │ ├── appsettings.docker.json │ ├── appsettings.json │ ├── appsettings.local.json │ ├── appsettings.test.json │ └── certs │ │ └── localhost.cer ├── Pacco.Services.Parcels.Application │ ├── Commands │ │ ├── AddParcel.cs │ │ ├── DeleteParcel.cs │ │ └── Handlers │ │ │ ├── AddParcelHandler.cs │ │ │ └── DeleteParcelHandler.cs │ ├── ContractAttribute.cs │ ├── DTO │ │ ├── ParcelDto.cs │ │ └── ParcelsVolumeDto.cs │ ├── Events │ │ ├── External │ │ │ ├── CustomerCreated.cs │ │ │ ├── Handlers │ │ │ │ ├── CustomerCreatedHandler.cs │ │ │ │ ├── OrderCanceledHandler.cs │ │ │ │ ├── OrderDeletedHandler.cs │ │ │ │ ├── ParcelAddedToOrderHandler.cs │ │ │ │ └── ParcelDeletedFromOrderHandler.cs │ │ │ ├── OrderCanceled.cs │ │ │ ├── OrderDeleted.cs │ │ │ ├── ParcelAddedToOrder.cs │ │ │ └── ParcelDeletedFromOrder.cs │ │ ├── ParcelAdded.cs │ │ ├── ParcelDeleted.cs │ │ └── Rejected │ │ │ ├── AddParcelRejected.cs │ │ │ └── DeleteParcelRejected.cs │ ├── Exceptions │ │ ├── AppException.cs │ │ ├── CustomerAlreadyExistsException.cs │ │ ├── InvalidParcelSizeException.cs │ │ ├── InvalidParcelVariantException.cs │ │ └── UnauthorizedParcelAccessException.cs │ ├── Extensions.cs │ ├── IAppContext.cs │ ├── IIdentityContext.cs │ ├── Pacco.Services.Parcels.Application.csproj │ ├── Queries │ │ ├── GetParcel.cs │ │ ├── GetParcels.cs │ │ └── GetParcelsVolume.cs │ └── Services │ │ ├── IDateTimeProvider.cs │ │ └── IMessageBroker.cs ├── Pacco.Services.Parcels.Core │ ├── Entities │ │ ├── Customer.cs │ │ ├── Parcel.cs │ │ ├── Size.cs │ │ └── Variant.cs │ ├── Exceptions │ │ ├── CannotDeleteParcelException.cs │ │ ├── CustomerNotFoundException.cs │ │ ├── DomainException.cs │ │ ├── InvalidAggregateIdException.cs │ │ ├── InvalidParcelDescriptionException.cs │ │ ├── InvalidParcelNameException.cs │ │ └── ParcelNotFoundException.cs │ ├── Pacco.Services.Parcels.Core.csproj │ ├── Repositories │ │ ├── ICustomerRepository.cs │ │ └── IParcelRepository.cs │ └── Services │ │ ├── IParcelsService.cs │ │ └── ParcelsService.cs └── Pacco.Services.Parcels.Infrastructure │ ├── Contexts │ ├── AppContext.cs │ ├── AppContextFactory.cs │ ├── CorrelationContext.cs │ └── IdentityContext.cs │ ├── Decorators │ ├── OutboxCommandHandlerDecorator.cs │ └── OutboxEventHandlerDecorator.cs │ ├── Exceptions │ ├── ExceptionToMessageMapper.cs │ └── ExceptionToResponseMapper.cs │ ├── Extensions.cs │ ├── IAppContextFactory.cs │ ├── Logging │ ├── Extensions.cs │ └── MessageToLogTemplateMapper.cs │ ├── Mongo │ ├── Documents │ │ ├── CustomerDocument.cs │ │ ├── Extensions.cs │ │ └── ParcelDocument.cs │ ├── Queries │ │ └── Handlers │ │ │ ├── GetParcelHandler.cs │ │ │ ├── GetParcelsHandler.cs │ │ │ └── GetParcelsVolumeHandler.cs │ └── Repositories │ │ ├── CustomerMongoRepository.cs │ │ └── ParcelMongoRepository.cs │ ├── Pacco.Services.Parcels.Infrastructure.csproj │ └── Services │ ├── DateTimeProvider.cs │ └── MessageBroker.cs └── tests └── Pacco.Services.Parcels.PactProviderTests ├── Fixtures ├── MongoDbFixture.cs └── MongoDbFixtureInitializer.cs ├── PACT └── ParcelsApiPactProviderTests.cs ├── Pacco.Services.Parcels.PactProviderTests.csproj └── appsettings.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/LICENSE -------------------------------------------------------------------------------- /Pacco.Services.Parcels.rest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/Pacco.Services.Parcels.rest -------------------------------------------------------------------------------- /Pacco.Services.Parcels.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/Pacco.Services.Parcels.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/README.md -------------------------------------------------------------------------------- /scripts/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | dotnet build -c release -------------------------------------------------------------------------------- /scripts/dockerize.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/scripts/dockerize.sh -------------------------------------------------------------------------------- /scripts/start-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | export ASPNETCORE_ENVIRONMENT=test 3 | cd src/Pacco.Services.Parcels.Api 4 | dotnet run 5 | -------------------------------------------------------------------------------- /scripts/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | export ASPNETCORE_ENVIRONMENT=local 3 | cd src/Pacco.Services.Parcels.Api 4 | dotnet run 5 | -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/scripts/test.sh -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/Pacco.Services.Parcels.Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Api/Pacco.Services.Parcels.Api.csproj -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Api/Program.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/appsettings.development.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/appsettings.docker.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Api/appsettings.docker.json -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Api/appsettings.json -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/appsettings.local.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Api/appsettings.local.json -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/appsettings.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Api/appsettings.test.json -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Api/certs/localhost.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Api/certs/localhost.cer -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Commands/AddParcel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Commands/AddParcel.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Commands/DeleteParcel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Commands/DeleteParcel.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Commands/Handlers/AddParcelHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Commands/Handlers/AddParcelHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Commands/Handlers/DeleteParcelHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Commands/Handlers/DeleteParcelHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/ContractAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/ContractAttribute.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/DTO/ParcelDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/DTO/ParcelDto.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/DTO/ParcelsVolumeDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/DTO/ParcelsVolumeDto.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/CustomerCreated.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/CustomerCreated.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/Handlers/CustomerCreatedHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/Handlers/CustomerCreatedHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/Handlers/OrderCanceledHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/Handlers/OrderCanceledHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/Handlers/OrderDeletedHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/Handlers/OrderDeletedHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/Handlers/ParcelAddedToOrderHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/Handlers/ParcelAddedToOrderHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/Handlers/ParcelDeletedFromOrderHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/Handlers/ParcelDeletedFromOrderHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/OrderCanceled.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/OrderCanceled.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/OrderDeleted.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/OrderDeleted.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/ParcelAddedToOrder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/ParcelAddedToOrder.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/External/ParcelDeletedFromOrder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/External/ParcelDeletedFromOrder.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/ParcelAdded.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/ParcelAdded.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/ParcelDeleted.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/ParcelDeleted.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/Rejected/AddParcelRejected.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/Rejected/AddParcelRejected.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Events/Rejected/DeleteParcelRejected.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Events/Rejected/DeleteParcelRejected.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Exceptions/AppException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Exceptions/AppException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Exceptions/CustomerAlreadyExistsException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Exceptions/CustomerAlreadyExistsException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Exceptions/InvalidParcelSizeException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Exceptions/InvalidParcelSizeException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Exceptions/InvalidParcelVariantException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Exceptions/InvalidParcelVariantException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Exceptions/UnauthorizedParcelAccessException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Exceptions/UnauthorizedParcelAccessException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Extensions.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/IAppContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/IAppContext.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/IIdentityContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/IIdentityContext.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Pacco.Services.Parcels.Application.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Pacco.Services.Parcels.Application.csproj -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Queries/GetParcel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Queries/GetParcel.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Queries/GetParcels.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Queries/GetParcels.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Queries/GetParcelsVolume.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Queries/GetParcelsVolume.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Services/IDateTimeProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Services/IDateTimeProvider.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Application/Services/IMessageBroker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Application/Services/IMessageBroker.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Entities/Customer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Entities/Customer.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Entities/Parcel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Entities/Parcel.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Entities/Size.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Entities/Size.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Entities/Variant.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Entities/Variant.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Exceptions/CannotDeleteParcelException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Exceptions/CannotDeleteParcelException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Exceptions/CustomerNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Exceptions/CustomerNotFoundException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Exceptions/DomainException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Exceptions/DomainException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Exceptions/InvalidAggregateIdException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Exceptions/InvalidAggregateIdException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Exceptions/InvalidParcelDescriptionException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Exceptions/InvalidParcelDescriptionException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Exceptions/InvalidParcelNameException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Exceptions/InvalidParcelNameException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Exceptions/ParcelNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Exceptions/ParcelNotFoundException.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Pacco.Services.Parcels.Core.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Pacco.Services.Parcels.Core.csproj -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Repositories/ICustomerRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Repositories/ICustomerRepository.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Repositories/IParcelRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Repositories/IParcelRepository.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Services/IParcelsService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Services/IParcelsService.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Core/Services/ParcelsService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Core/Services/ParcelsService.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Contexts/AppContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Contexts/AppContext.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Contexts/AppContextFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Contexts/AppContextFactory.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Contexts/CorrelationContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Contexts/CorrelationContext.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Contexts/IdentityContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Contexts/IdentityContext.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Decorators/OutboxCommandHandlerDecorator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Decorators/OutboxCommandHandlerDecorator.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Decorators/OutboxEventHandlerDecorator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Decorators/OutboxEventHandlerDecorator.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Exceptions/ExceptionToMessageMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Exceptions/ExceptionToMessageMapper.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Exceptions/ExceptionToResponseMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Exceptions/ExceptionToResponseMapper.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Extensions.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/IAppContextFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/IAppContextFactory.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Logging/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Logging/Extensions.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Logging/MessageToLogTemplateMapper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Logging/MessageToLogTemplateMapper.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Mongo/Documents/CustomerDocument.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Mongo/Documents/CustomerDocument.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Mongo/Documents/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Mongo/Documents/Extensions.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Mongo/Documents/ParcelDocument.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Mongo/Documents/ParcelDocument.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Mongo/Queries/Handlers/GetParcelHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Mongo/Queries/Handlers/GetParcelHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Mongo/Queries/Handlers/GetParcelsHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Mongo/Queries/Handlers/GetParcelsHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Mongo/Queries/Handlers/GetParcelsVolumeHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Mongo/Queries/Handlers/GetParcelsVolumeHandler.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Mongo/Repositories/CustomerMongoRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Mongo/Repositories/CustomerMongoRepository.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Mongo/Repositories/ParcelMongoRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Mongo/Repositories/ParcelMongoRepository.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Pacco.Services.Parcels.Infrastructure.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Pacco.Services.Parcels.Infrastructure.csproj -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Services/DateTimeProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Services/DateTimeProvider.cs -------------------------------------------------------------------------------- /src/Pacco.Services.Parcels.Infrastructure/Services/MessageBroker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/src/Pacco.Services.Parcels.Infrastructure/Services/MessageBroker.cs -------------------------------------------------------------------------------- /tests/Pacco.Services.Parcels.PactProviderTests/Fixtures/MongoDbFixture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/tests/Pacco.Services.Parcels.PactProviderTests/Fixtures/MongoDbFixture.cs -------------------------------------------------------------------------------- /tests/Pacco.Services.Parcels.PactProviderTests/Fixtures/MongoDbFixtureInitializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/tests/Pacco.Services.Parcels.PactProviderTests/Fixtures/MongoDbFixtureInitializer.cs -------------------------------------------------------------------------------- /tests/Pacco.Services.Parcels.PactProviderTests/PACT/ParcelsApiPactProviderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/tests/Pacco.Services.Parcels.PactProviderTests/PACT/ParcelsApiPactProviderTests.cs -------------------------------------------------------------------------------- /tests/Pacco.Services.Parcels.PactProviderTests/Pacco.Services.Parcels.PactProviderTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/tests/Pacco.Services.Parcels.PactProviderTests/Pacco.Services.Parcels.PactProviderTests.csproj -------------------------------------------------------------------------------- /tests/Pacco.Services.Parcels.PactProviderTests/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devmentors/Pacco.Services.Parcels/HEAD/tests/Pacco.Services.Parcels.PactProviderTests/appsettings.json --------------------------------------------------------------------------------