diff --git a/README.md b/README.md
index d3490ef..4c411e1 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,20 @@
+# đŠī¸ Booking Monolith
+
-

-
-> đ **A practical microservices with the latest technologies and architecture like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq and Masstransit in .Net 9.**
+> đ **A practical Monolith architecture with the latest technologies and architectures like Vertical Slice Architecture, Event Driven Architecture, CQRS, DDD and Aspire in .Net 9.**
## You can find other version of this project here:
+- [Booking with Microservices Architecture](https://github.com/meysamhadeli/booking-microservices)
- [Booking with Modular Monolith Architecture](https://github.com/meysamhadeli/booking-modular-monolith)
-- [Booking with Monolith Architecture](https://github.com/meysamhadeli/booking-monolith)
-
-

-
-
-

-
+

+
# Table of Contents
@@ -26,17 +23,15 @@
- [Key Features](#key-features)
- [When to Use](#when-to-use)
- [Challenges](#challenges)
-- [The Domain and Bounded Context - Service Boundary](#the-domain-and-bounded-context---service-boundary)
+- [The Domain and Bounded Context](#the-domain-and-bounded-context)
- [Structure of Project](#structure-of-project)
- [Development Setup](#development-setup)
- - [Dotnet Tools Packages](#dotnet-tools-packages)
- - [Husky](#husky)
- - [Upgrade Nuget Packages](#upgrade-nuget-packages)
+ - [Dotnet Tools Packages](#dotnet-tools-packages)
+ - [Husky](#husky)
+ - [Upgrade Nuget Packages](#upgrade-nuget-packages)
- [How to Run](#how-to-run)
- [Config Certificate](#config-certificate)
- - [Aspire](#aspire)
- [Docker Compose](#docker-compose)
- - [Kubernetes](#kubernetes)
- [Build](#build)
- [Run](#run)
- [Test](#test)
@@ -49,12 +44,11 @@
- :sparkle: Using `Vertical Slice Architecture` for `architecture` level.
- :sparkle: Using `Domain Driven Design (DDD)` to implement all `business logic`.
-- :sparkle: Using `Rabbitmq` on top of `Masstransit` for `Event Driven Architecture`.
-- :sparkle: Using `gRPC` for `internal communication`.
- :sparkle: Using `CQRS` implementation with `MediatR` library.
- :sparkle: Using `Postgres` for `write side` database.
+- :sparkle: Using `InMemory Broker` on top of `Masstransit` for `Event Driven Architecture`.
- :sparkle: Using `MongoDB` for `read side` database.
-- :sparkle: Using `Event Store` for `write side` of Booking Microservice/Module to store all `historical change` of aggregate.
+- :sparkle: Using `Event Store` for `write side` of Booking to store all `historical change` of aggregate.
- :sparkle: Using `Inbox Pattern` for ensuring message idempotency for receiver and `Exactly once Delivery`.
- :sparkle: Using `Outbox Pattern` for ensuring no message is lost and there is at `At Least One Delivery`.
- :sparkle: Using `Unit Testing` for testing small units and mocking our dependencies with `Nsubstitute`.
@@ -68,11 +62,7 @@
- :sparkle: Using `OpenTelemetry` for distributed tracing on top of `Jaeger`.
- :sparkle: Using `OpenTelemetry` for monitoring on top of `Prometheus` and `Grafana`.
- :sparkle: Using `IdentityServer` for authentication and authorization base on `OpenID-Connect` and `OAuth2`.
-- :sparkle: Using `Yarp` as a microservices `gateway`.
-- :sparkle: Using `Kubernetes` to achieve efficient `scaling` and ensure `high availability` for each of our microservices.
-- :sparkle: Using `Nginx Ingress Controller` for `load balancing` between our microservices top of `Kubernetes`.
-- :sparkle: Using `cert-manager` to Configure `TLS` in `kubernetes cluster`.
-
+- :sparkle: Using `Aspire` for `service discovery`, `observability`, and `local orchestration` of microservices.
## Technologies - Libraries
@@ -95,48 +85,46 @@
- âī¸ **[`Hellang.Middleware.ProblemDetails`](https://github.com/khellang/Middleware/tree/master/src/ProblemDetails)** - A middleware for handling exception in .Net Core.
- âī¸ **[`NewId`](https://github.com/phatboyg/NewId)** - NewId can be used as an embedded unique ID generator that produces 128 bit (16 bytes) sequential IDs.
- âī¸ **[`Yarp`](https://github.com/microsoft/reverse-proxy)** - Reverse proxy toolkit for building fast proxy servers in .NET.
-- âī¸ **[`Tye`](https://github.com/dotnet/tye)** - Developer tool that makes developing, testing, and deploying microservices and distributed applications easier.
-- âī¸ **[`gRPC-dotnet`](https://github.com/grpc/grpc-dotnet)** - gRPC functionality for .NET.
- âī¸ **[`EventStore`](https://github.com/EventStore/EventStore)** - The open-source, functional database with Complex Event Processing.
- âī¸ **[`MongoDB.Driver`](https://github.com/mongodb/mongo-csharp-driver)** - .NET Driver for MongoDB.
- âī¸ **[`xUnit.net`](https://github.com/xunit/xunit)** - A free, open source, community-focused unit testing tool for the .NET Framework.
- âī¸ **[`Respawn`](https://github.com/jbogard/Respawn)** - Respawn is a small utility to help in resetting test databases to a clean state.
- âī¸ **[`Testcontainers`](https://github.com/testcontainers/testcontainers-dotnet)** - Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers.
- âī¸ **[`K6`](https://github.com/grafana/k6)** - Modern load testing for developers and testers in the DevOps era.
+- âī¸ **[`Aspire`](https://github.com/dotnet/aspire)** - .NET stack for building and orchestrating observable, distributed cloud-native applications.
## Key Features
-1. **Independent Services**: Each service is a separate project with its own database and deployment pipeline, enabling independent development and deployment.
-2. **Decentralized Communication**: Services communicate via APIs (REST, gRPC) or message brokers (RabbitMQ, Kafka), ensuring loose coupling and resilience.
-3. **Scalability**: Services can be scaled independently based on demand, allowing efficient resource utilization.
-4. **Fault Tolerance**: Failures are isolated, preventing cascading failures and ensuring high availability.
-5. **Technology Agnostic**: Services can use different technologies, frameworks, or databases, providing flexibility.
+1. **Single Codebase**: All components (UI, business logic, data access) are part of one project.
+2. **Tight Coupling**: Components are highly dependent on each other, making changes riskier.
+3. **Simple Deployment**: The entire application is deployed as a single unit.
+4. **Centralized Database**: Typically uses a single database for all data storage and access.
## When to Use
-1. **Large and Complex Projects**: Ideal for applications with complex business logic that can be broken into smaller, manageable services.
-2. **High Scalability Needs**: Suitable for applications requiring independent scaling of components.
-3. **Fault Tolerance and High Availability**: Perfect for systems where failure isolation and uptime are critical.
-4. **Distributed Teams**: Enables teams to work independently on different services.
-5. **Frequent Updates**: Supports continuous deployment and A/B testing for individual services.
-6. **Technology Diversity**: Allows the use of different technologies for different services.
+1. **Small to Medium Projects**: Ideal for applications with limited complexity and scope.
+2. **Rapid Development**: Suitable for projects requiring quick development and deployment.
+3. **Small Teams**: Works well for small teams with limited resources.
+4. **Low Scalability Needs**: Best for applications with predictable and low traffic.
## Challenges
-- Increased complexity in management, DevOps overhead, data consistency, latency, and higher costs.
+- Harder to maintain as the codebase grows.
+- Limited scalability (scaling requires scaling the entire application).
+- Difficult to adopt new technologies incrementally.
-## The Domain And Bounded Context - Service Boundary
+## The Domain And Bounded Context
-- `Identity Service`: The Identity Service is a bounded context for the authentication and authorization of users using [Identity Server](https://github.com/DuendeSoftware/IdentityServer). This service is responsible for creating new users and their corresponding roles and permissions using [.Net Core Identity](https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity) and Jwt authentication and authorization.
+- `Identity`: The Identity is a bounded context for the authentication and authorization of users using [Identity Server](https://github.com/DuendeSoftware/IdentityServer). This service is responsible for creating new users and their corresponding roles and permissions using [.Net Core Identity](https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity) and Jwt authentication and authorization.
-- `Flight Service`: The Flight Service is a bounded context `CRUD` service to handle flight related operations.
+- `Flight`: The Flight is a bounded context `CRUD` service to handle flight related operations.
-- `Passenger Service`: The Passenger Service is a bounded context for managing passenger information, tracking activities and subscribing to get notification for out of stock products.
+- `Passenger`: The Passenger is a bounded context for managing passenger information, tracking activities and subscribing to get notification for out of stock products.
-- `Booking Service`: The Booking Service is a bounded context for managing all operation related to booking ticket.
+- `Booking`: The Booking is a bounded context for managing all operation related to booking ticket.
-
+
## Structure of Project
@@ -178,7 +166,7 @@ dotnet tool restore
```
### Husky
-Here we use `husky` to handel some pre commit rules and we used `conventional commits` rules and `formatting` as pre commit rules, here in [package.json](.././package.json). of course, we can add more rules for pre commit in future. (find more about husky in the [documentation](https://typicode.github.io/husky/get-started.html))
+Here we use `husky` to handel some pre commit rules and we used `conventional commits` rules and `formatting` as pre commit rules, here in [package.json](./package.json). of course, we can add more rules for pre commit in future. (find more about husky in the [documentation](https://typicode.github.io/husky/get-started.html))
We need to install `husky` package for `manage` `pre commits hooks` and also I add two packages `@commitlint/cli` and `@commitlint/config-conventional` for handling conventional commits rules in [package.json](.././package.json).
Run the command bellow in the root of project to install all npm dependencies related to husky:
@@ -205,24 +193,13 @@ Run the following commands to [Config SSL](https://docs.microsoft.com/en-us/aspn
dotnet dev-certs https -ep %USERPROFILE%\.aspnet\https\aspnetapp.pfx -p password
dotnet dev-certs https --trust
```
-> Note: for running this command in `powershell` use `$env:USERPROFILE` instead of `%USERPROFILE%`*
+***Note:** for running this command in `powershell` use `$env:USERPROFILE` instead of `%USERPROFILE%`*
#### macOS or Linux
```bash
dotnet dev-certs https -ep ${HOME}/.aspnet/https/aspnetapp.pfx -p $CREDENTIAL_PLACEHOLDER$
dotnet dev-certs https --trust
```
-
-### Aspire
-
-To run the application using the `ASPIRE App Host`, execute the following command from the solution root:
-
-```bash
-dotnet run --project ./src/Aspire/src/AppHost
-```
-
-> Note:The `ASPIRE dashboard` will be available at `http://localhost:18888`
-
> ### Docker Compose
@@ -232,41 +209,28 @@ To run this app in `Docker`, use the [docker-compose.yaml](./deployments/docker-
docker-compose -f ./deployments/docker-compose/docker-compose.yaml up -d
```
-> ### Kubernetes
-To `configure TLS` in the `Kubernetes cluster`, we need to install `cert-manager` based on the [docs](https://cert-manager.io/docs/installation) and run the following commands to apply TLS in our application. Here, we use [Let's Encrypt](https://letsencrypt.org/) to encrypt our certificate.
-
-```bash
-kubectl apply -f ./deployments/kubernetes/booking-cert-manager.yml
-```
-
-To apply all necessary `deployments`, `pods`, `services`, `ingress`, and `config maps`, please run the following command:
-
-```bash
-kubectl apply -f ./deployments/kubernetes/booking-microservices.yml
-```
-
> ### Build
-To `build` all microservices, run this command in the `root` of the project:
+To `build` monolith app, run this command in the `root` of the project:
```bash
dotnet build
```
> ### Run
-To `run` each microservice, run this command in the root of the `Api` folder of each microservice where the `csproj` file is located:
+To `run` monolith app, run this command in the root of the `Api` folder:
```bash
dotnet run
```
> ### Test
-To `test` all microservices, run this command in the `root` of the project:
+To `test` monolith app, run this command in the `root` of the project:
```bash
dotnet test
```
> ### Documentation Apis
-Each microservice provides `API documentation` and navigate to `/swagger` for `Swagger OpenAPI` or `/scalar/v1` for `Scalar OpenAPI` to visit list of endpoints.
+For checking `API documentation`, navigate to `/swagger` for `Swagger OpenAPI` or `/scalar/v1` for `Scalar OpenAPI` to visit list of endpoints.
As part of API testing, I created the [booking.rest](./booking.rest) file which can be run with the [REST Client](https://github.com/Huachao/vscode-restclient) `VSCode plugin`.
@@ -280,7 +244,7 @@ Thanks a bunch for supporting me!
## Contribution
-Thanks to all [contributors](https://github.com/meysamhadeli/booking-microservices/graphs/contributors), you're awesome and this wouldn't be possible without you! The goal is to build a categorized, community-driven collection of very well-known resources.
+Thanks to all [contributors](https://github.com/meysamhadeli/booking-monolith/graphs/contributors), you're awesome and this wouldn't be possible without you! The goal is to build a categorized, community-driven collection of very well-known resources.
Please follow this [contribution guideline](./CONTRIBUTION.md) to submit a pull request or create the issue.
@@ -293,4 +257,4 @@ Please follow this [contribution guideline](./CONTRIBUTION.md) to submit a pull
- [https://github.com/pdevito3/MessageBusTestingInMemHarness](https://github.com/pdevito3/MessageBusTestingInMemHarness)
## License
-This project is made available under the MIT license. See [LICENSE](https://github.com/meysamhadeli/booking-microservices/blob/main/LICENSE) for details.
+This project is made available under the MIT license. See [LICENSE](https://github.com/meysamhadeli/booking-monolith/blob/main/LICENSE) for details.
diff --git a/src/ApiGateway/src/Program.cs b/src/ApiGateway/src/Program.cs
index c2a3738..2deb748 100644
--- a/src/ApiGateway/src/Program.cs
+++ b/src/ApiGateway/src/Program.cs
@@ -29,4 +29,4 @@ app.UseEndpoints(endpoints =>
app.MapGet("/", x => x.Response.WriteAsync(appOptions.Name));
-app.Run();
+app.Run();
\ No newline at end of file
diff --git a/src/Aspire/src/AppHost/Program.cs b/src/Aspire/src/AppHost/Program.cs
index a23482b..b391c07 100644
--- a/src/Aspire/src/AppHost/Program.cs
+++ b/src/Aspire/src/AppHost/Program.cs
@@ -213,4 +213,4 @@ var gateway = builder.AddProject
("api-gateway")
.WithHttpEndpoint(port: 5001, name: "gateway-http")
.WithHttpsEndpoint(port: 5000, name: "gateway-https");
-builder.Build().Run();
+builder.Build().Run();
\ No newline at end of file
diff --git a/src/BuildingBlocks/Caching/CachingBehavior.cs b/src/BuildingBlocks/Caching/CachingBehavior.cs
index 231ee39..2febb18 100644
--- a/src/BuildingBlocks/Caching/CachingBehavior.cs
+++ b/src/BuildingBlocks/Caching/CachingBehavior.cs
@@ -47,4 +47,4 @@ public class CachingBehavior : IPipelineBehavior
public interface ICommand : IRequest
where T : notnull
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/CQRS/ICommandHandler.cs b/src/BuildingBlocks/Core/CQRS/ICommandHandler.cs
index e5e16cf..a2b5158 100644
--- a/src/BuildingBlocks/Core/CQRS/ICommandHandler.cs
+++ b/src/BuildingBlocks/Core/CQRS/ICommandHandler.cs
@@ -11,4 +11,4 @@ public interface ICommandHandler : IRequestHandler
where TResponse : notnull
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/CQRS/IQuery.cs b/src/BuildingBlocks/Core/CQRS/IQuery.cs
index 2cd55d9..9734c0a 100644
--- a/src/BuildingBlocks/Core/CQRS/IQuery.cs
+++ b/src/BuildingBlocks/Core/CQRS/IQuery.cs
@@ -5,4 +5,4 @@ namespace BuildingBlocks.Core.CQRS;
public interface IQuery : IRequest
where T : notnull
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/CQRS/IQueryHandler.cs b/src/BuildingBlocks/Core/CQRS/IQueryHandler.cs
index 3e4b261..399e472 100644
--- a/src/BuildingBlocks/Core/CQRS/IQueryHandler.cs
+++ b/src/BuildingBlocks/Core/CQRS/IQueryHandler.cs
@@ -6,4 +6,4 @@ public interface IQueryHandler : IRequestHandler
where TResponse : notnull
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/CompositeEventMapper.cs b/src/BuildingBlocks/Core/CompositeEventMapper.cs
index 3f309f7..93fa3b9 100644
--- a/src/BuildingBlocks/Core/CompositeEventMapper.cs
+++ b/src/BuildingBlocks/Core/CompositeEventMapper.cs
@@ -34,4 +34,4 @@ public class CompositeEventMapper : IEventMapper
return null;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Event/EventType.cs b/src/BuildingBlocks/Core/Event/EventType.cs
index 818a456..4555995 100644
--- a/src/BuildingBlocks/Core/Event/EventType.cs
+++ b/src/BuildingBlocks/Core/Event/EventType.cs
@@ -6,4 +6,4 @@ public enum EventType
DomainEvent = 1,
IntegrationEvent = 2,
InternalCommand = 4
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Event/IDomainEvent.cs b/src/BuildingBlocks/Core/Event/IDomainEvent.cs
index 65bc80d..57f8192 100644
--- a/src/BuildingBlocks/Core/Event/IDomainEvent.cs
+++ b/src/BuildingBlocks/Core/Event/IDomainEvent.cs
@@ -2,4 +2,4 @@ namespace BuildingBlocks.Core.Event;
public interface IDomainEvent : IEvent
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Event/IEvent.cs b/src/BuildingBlocks/Core/Event/IEvent.cs
index 749c441..94b1f2a 100644
--- a/src/BuildingBlocks/Core/Event/IEvent.cs
+++ b/src/BuildingBlocks/Core/Event/IEvent.cs
@@ -9,4 +9,4 @@ public interface IEvent : INotification
Guid EventId => NewId.NextGuid();
public DateTime OccurredOn => DateTime.Now;
public string EventType => GetType().AssemblyQualifiedName;
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Event/IHaveIntegrationEvent.cs b/src/BuildingBlocks/Core/Event/IHaveIntegrationEvent.cs
index 7ec03a6..ecaf3d4 100644
--- a/src/BuildingBlocks/Core/Event/IHaveIntegrationEvent.cs
+++ b/src/BuildingBlocks/Core/Event/IHaveIntegrationEvent.cs
@@ -2,4 +2,4 @@ namespace BuildingBlocks.Core.Event;
public interface IHaveIntegrationEvent
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Event/IIntegrationEvent.cs b/src/BuildingBlocks/Core/Event/IIntegrationEvent.cs
index d546d5d..651d0d9 100644
--- a/src/BuildingBlocks/Core/Event/IIntegrationEvent.cs
+++ b/src/BuildingBlocks/Core/Event/IIntegrationEvent.cs
@@ -5,4 +5,4 @@ namespace BuildingBlocks.Core.Event;
[ExcludeFromTopology]
public interface IIntegrationEvent : IEvent
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Event/IInternalCommand.cs b/src/BuildingBlocks/Core/Event/IInternalCommand.cs
index 986e8eb..a9a8cc0 100644
--- a/src/BuildingBlocks/Core/Event/IInternalCommand.cs
+++ b/src/BuildingBlocks/Core/Event/IInternalCommand.cs
@@ -2,4 +2,4 @@ namespace BuildingBlocks.Core.Event;
public interface IInternalCommand : IEvent
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Event/InternalCommand.cs b/src/BuildingBlocks/Core/Event/InternalCommand.cs
index cc5bde0..dc94b26 100644
--- a/src/BuildingBlocks/Core/Event/InternalCommand.cs
+++ b/src/BuildingBlocks/Core/Event/InternalCommand.cs
@@ -2,4 +2,4 @@ using BuildingBlocks.Core.CQRS;
namespace BuildingBlocks.Core.Event;
-public record InternalCommand : IInternalCommand, ICommand;
+public record InternalCommand : IInternalCommand, ICommand;
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Event/MessageEnvelope.cs b/src/BuildingBlocks/Core/Event/MessageEnvelope.cs
index 2141de8..a790d1f 100644
--- a/src/BuildingBlocks/Core/Event/MessageEnvelope.cs
+++ b/src/BuildingBlocks/Core/Event/MessageEnvelope.cs
@@ -23,4 +23,4 @@ public class MessageEnvelope : MessageEnvelope
}
public new TMessage? Message { get; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/EventDispatcher.cs b/src/BuildingBlocks/Core/EventDispatcher.cs
index b10f295..7031e55 100644
--- a/src/BuildingBlocks/Core/EventDispatcher.cs
+++ b/src/BuildingBlocks/Core/EventDispatcher.cs
@@ -152,4 +152,4 @@ public sealed class EventDispatcher(
return headers;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/IEventDispatcher.cs b/src/BuildingBlocks/Core/IEventDispatcher.cs
index d56243e..47beeba 100644
--- a/src/BuildingBlocks/Core/IEventDispatcher.cs
+++ b/src/BuildingBlocks/Core/IEventDispatcher.cs
@@ -8,4 +8,4 @@ public interface IEventDispatcher
where T : IEvent;
public Task SendAsync(T @event, Type type = null, CancellationToken cancellationToken = default)
where T : IEvent;
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/IEventMapper.cs b/src/BuildingBlocks/Core/IEventMapper.cs
index 7a5c867..bb7a8c6 100644
--- a/src/BuildingBlocks/Core/IEventMapper.cs
+++ b/src/BuildingBlocks/Core/IEventMapper.cs
@@ -6,4 +6,4 @@ public interface IEventMapper
{
IIntegrationEvent? MapToIntegrationEvent(IDomainEvent @event);
IInternalCommand? MapToInternalCommand(IDomainEvent @event);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/IntegrationEventWrapper.cs b/src/BuildingBlocks/Core/IntegrationEventWrapper.cs
index 562727c..e7c3772 100644
--- a/src/BuildingBlocks/Core/IntegrationEventWrapper.cs
+++ b/src/BuildingBlocks/Core/IntegrationEventWrapper.cs
@@ -3,4 +3,4 @@ using BuildingBlocks.Core.Event;
namespace BuildingBlocks.Core;
public record IntegrationEventWrapper(TDomainEventType DomainEvent) : IIntegrationEvent
- where TDomainEventType : IDomainEvent;
+ where TDomainEventType : IDomainEvent;
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Model/Aggregate.cs b/src/BuildingBlocks/Core/Model/Aggregate.cs
index bd167b3..83e2ec6 100644
--- a/src/BuildingBlocks/Core/Model/Aggregate.cs
+++ b/src/BuildingBlocks/Core/Model/Aggregate.cs
@@ -20,4 +20,4 @@ public abstract record Aggregate : Entity, IAggregate
return dequeuedEvents;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Model/Entity.cs b/src/BuildingBlocks/Core/Model/Entity.cs
index c0133d7..0f68944 100644
--- a/src/BuildingBlocks/Core/Model/Entity.cs
+++ b/src/BuildingBlocks/Core/Model/Entity.cs
@@ -9,4 +9,4 @@ public abstract record Entity : IEntity
public long? LastModifiedBy { get; set; }
public bool IsDeleted { get; set; }
public long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Model/IAggregate.cs b/src/BuildingBlocks/Core/Model/IAggregate.cs
index 73e6cd0..60fbda3 100644
--- a/src/BuildingBlocks/Core/Model/IAggregate.cs
+++ b/src/BuildingBlocks/Core/Model/IAggregate.cs
@@ -10,4 +10,4 @@ public interface IAggregate : IEntity
{
IReadOnlyList DomainEvents { get; }
IEvent[] ClearDomainEvents();
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Model/IEntity.cs b/src/BuildingBlocks/Core/Model/IEntity.cs
index d385b18..d03c270 100644
--- a/src/BuildingBlocks/Core/Model/IEntity.cs
+++ b/src/BuildingBlocks/Core/Model/IEntity.cs
@@ -12,4 +12,4 @@ public interface IEntity : IVersion
public DateTime? LastModified { get; set; }
public long? LastModifiedBy { get; set; }
public bool IsDeleted { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Model/IVersion.cs b/src/BuildingBlocks/Core/Model/IVersion.cs
index 6e41ee0..893e9e1 100644
--- a/src/BuildingBlocks/Core/Model/IVersion.cs
+++ b/src/BuildingBlocks/Core/Model/IVersion.cs
@@ -4,4 +4,4 @@ namespace BuildingBlocks.Core.Model;
public interface IVersion
{
long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Pagination/Extensions.cs b/src/BuildingBlocks/Core/Pagination/Extensions.cs
index 9a3f263..d30b93f 100644
--- a/src/BuildingBlocks/Core/Pagination/Extensions.cs
+++ b/src/BuildingBlocks/Core/Pagination/Extensions.cs
@@ -33,4 +33,4 @@ public static class Extensions
return PageList.Create(items.AsReadOnly(), pageRequest.PageNumber, pageRequest.PageSize, total);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Pagination/IPageList.cs b/src/BuildingBlocks/Core/Pagination/IPageList.cs
index e84ee65..674f658 100644
--- a/src/BuildingBlocks/Core/Pagination/IPageList.cs
+++ b/src/BuildingBlocks/Core/Pagination/IPageList.cs
@@ -13,4 +13,4 @@ public interface IPageList
int TotalCount { get; init; }
int PageNumber { get; init; }
int PageSize { get; init; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Pagination/IPageQuery.cs b/src/BuildingBlocks/Core/Pagination/IPageQuery.cs
index 5a19d88..4e96d7d 100644
--- a/src/BuildingBlocks/Core/Pagination/IPageQuery.cs
+++ b/src/BuildingBlocks/Core/Pagination/IPageQuery.cs
@@ -4,4 +4,4 @@ using MediatR;
public interface IPageQuery : IPageRequest, IRequest
where TResponse : class
-{ }
+{ }
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Pagination/IPageRequest.cs b/src/BuildingBlocks/Core/Pagination/IPageRequest.cs
index 1e9a462..b92de73 100644
--- a/src/BuildingBlocks/Core/Pagination/IPageRequest.cs
+++ b/src/BuildingBlocks/Core/Pagination/IPageRequest.cs
@@ -6,4 +6,4 @@ public interface IPageRequest
int PageSize { get; init; }
string? Filters { get; init; }
string? SortOrder { get; init; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Core/Pagination/PageList.cs b/src/BuildingBlocks/Core/Pagination/PageList.cs
index 70ba0e1..ef58ee1 100644
--- a/src/BuildingBlocks/Core/Pagination/PageList.cs
+++ b/src/BuildingBlocks/Core/Pagination/PageList.cs
@@ -16,4 +16,4 @@ public record PageList(IReadOnlyList Items, int PageNumber, int PageSize,
{
return new PageList(items, pageNumber, pageSize, totalItems);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/AppDbContextBase.cs b/src/BuildingBlocks/EFCore/AppDbContextBase.cs
index 0dcd9c1..0ad663c 100644
--- a/src/BuildingBlocks/EFCore/AppDbContextBase.cs
+++ b/src/BuildingBlocks/EFCore/AppDbContextBase.cs
@@ -178,4 +178,4 @@ public abstract class AppDbContextBase : DbContext, IDbContext
throw new System.Exception("try for find IAggregate", ex);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/DesignTimeDbContextFactoryBase.cs b/src/BuildingBlocks/EFCore/DesignTimeDbContextFactoryBase.cs
index 177441c..f5a7232 100644
--- a/src/BuildingBlocks/EFCore/DesignTimeDbContextFactoryBase.cs
+++ b/src/BuildingBlocks/EFCore/DesignTimeDbContextFactoryBase.cs
@@ -57,4 +57,4 @@ namespace BuildingBlocks.EFCore
return CreateNewInstance(options);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/EfTxBehavior.cs b/src/BuildingBlocks/EFCore/EfTxBehavior.cs
index 96aed26..c086aa5 100644
--- a/src/BuildingBlocks/EFCore/EfTxBehavior.cs
+++ b/src/BuildingBlocks/EFCore/EfTxBehavior.cs
@@ -78,4 +78,4 @@ where TResponse : notnull
return response;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/Extensions.cs b/src/BuildingBlocks/EFCore/Extensions.cs
index d602f32..cdd3fca 100644
--- a/src/BuildingBlocks/EFCore/Extensions.cs
+++ b/src/BuildingBlocks/EFCore/Extensions.cs
@@ -138,4 +138,4 @@ public static class Extensions
await seedersManager.ExecuteSeedAsync();
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/IDataSeeder.cs b/src/BuildingBlocks/EFCore/IDataSeeder.cs
index a3083ff..df71ef2 100644
--- a/src/BuildingBlocks/EFCore/IDataSeeder.cs
+++ b/src/BuildingBlocks/EFCore/IDataSeeder.cs
@@ -9,4 +9,4 @@ namespace BuildingBlocks.EFCore
{
Task SeedAllAsync();
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/IDbContext.cs b/src/BuildingBlocks/EFCore/IDbContext.cs
index 4bb10b6..0bf70ee 100644
--- a/src/BuildingBlocks/EFCore/IDbContext.cs
+++ b/src/BuildingBlocks/EFCore/IDbContext.cs
@@ -15,4 +15,4 @@ public interface IDbContext
Task RollbackTransactionAsync(CancellationToken cancellationToken = default);
IExecutionStrategy CreateExecutionStrategy();
Task ExecuteTransactionalAsync(CancellationToken cancellationToken = default);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/ISeedManager.cs b/src/BuildingBlocks/EFCore/ISeedManager.cs
index 0ded6aa..77e8a6e 100644
--- a/src/BuildingBlocks/EFCore/ISeedManager.cs
+++ b/src/BuildingBlocks/EFCore/ISeedManager.cs
@@ -4,4 +4,4 @@ public interface ISeedManager
{
Task ExecuteSeedAsync();
Task ExecuteTestSeedAsync();
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/PostgresOptions.cs b/src/BuildingBlocks/EFCore/PostgresOptions.cs
index aeaf85a..02bcb80 100644
--- a/src/BuildingBlocks/EFCore/PostgresOptions.cs
+++ b/src/BuildingBlocks/EFCore/PostgresOptions.cs
@@ -3,4 +3,4 @@ namespace BuildingBlocks.EFCore;
public class PostgresOptions
{
public string ConnectionString { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EFCore/SeedManagers.cs b/src/BuildingBlocks/EFCore/SeedManagers.cs
index 75e72b0..3256798 100644
--- a/src/BuildingBlocks/EFCore/SeedManagers.cs
+++ b/src/BuildingBlocks/EFCore/SeedManagers.cs
@@ -39,4 +39,4 @@ public class SeedManager(
logger.LogInformation("Seed {SeederName} is completed.", testSeeder.GetType().Name);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/BackgroundWorkers/BackgroundWorker.cs b/src/BuildingBlocks/EventStoreDB/BackgroundWorkers/BackgroundWorker.cs
index 5c75668..17bac7b 100644
--- a/src/BuildingBlocks/EventStoreDB/BackgroundWorkers/BackgroundWorker.cs
+++ b/src/BuildingBlocks/EventStoreDB/BackgroundWorkers/BackgroundWorker.cs
@@ -25,4 +25,4 @@ public class BackgroundWorker : BackgroundService
await perform(stoppingToken);
logger.LogInformation("Background worker stopped");
}, stoppingToken);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Config.cs b/src/BuildingBlocks/EventStoreDB/Config.cs
index 6a1a769..ab1742c 100644
--- a/src/BuildingBlocks/EventStoreDB/Config.cs
+++ b/src/BuildingBlocks/EventStoreDB/Config.cs
@@ -90,4 +90,4 @@ public static class EventStoreDBConfigExtensions
.AsImplementedInterfaces()
.WithTransientLifetime());
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/AggregateEventSourcing.cs b/src/BuildingBlocks/EventStoreDB/Events/AggregateEventSourcing.cs
index 00476f3..d8bbe8e 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/AggregateEventSourcing.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/AggregateEventSourcing.cs
@@ -24,5 +24,4 @@ namespace BuildingBlocks.EventStoreDB.Events
public virtual void When(object @event) { }
}
-}
-
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/AggregateStreamExtensions.cs b/src/BuildingBlocks/EventStoreDB/Events/AggregateStreamExtensions.cs
index 56447f0..f1bd523 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/AggregateStreamExtensions.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/AggregateStreamExtensions.cs
@@ -36,4 +36,4 @@ public static class AggregateStreamExtensions
return aggregate;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/EventTypeMapper.cs b/src/BuildingBlocks/EventStoreDB/Events/EventTypeMapper.cs
index 28d2b3c..8079938 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/EventTypeMapper.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/EventTypeMapper.cs
@@ -40,4 +40,4 @@ public class EventTypeMapper
return type;
});
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/IAggregateEventSourcing.cs b/src/BuildingBlocks/EventStoreDB/Events/IAggregateEventSourcing.cs
index 825fba2..7e9083a 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/IAggregateEventSourcing.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/IAggregateEventSourcing.cs
@@ -12,4 +12,4 @@ namespace BuildingBlocks.EventStoreDB.Events
public interface IAggregateEventSourcing : IAggregateEventSourcing, IEntity
{
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/IEventHandler.cs b/src/BuildingBlocks/EventStoreDB/Events/IEventHandler.cs
index bb0ed35..eb069b0 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/IEventHandler.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/IEventHandler.cs
@@ -6,4 +6,4 @@ namespace BuildingBlocks.EventStoreDB.Events;
public interface IEventHandler : INotificationHandler
where TEvent : IEvent
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/IExternalEvent.cs b/src/BuildingBlocks/EventStoreDB/Events/IExternalEvent.cs
index c95e20c..5838432 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/IExternalEvent.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/IExternalEvent.cs
@@ -4,4 +4,4 @@ namespace BuildingBlocks.EventStoreDB.Events;
public interface IExternalEvent : IEvent
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/IProjection.cs b/src/BuildingBlocks/EventStoreDB/Events/IProjection.cs
index aac706a..2c84ec4 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/IProjection.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/IProjection.cs
@@ -3,4 +3,4 @@ namespace BuildingBlocks.EventStoreDB.Events;
public interface IProjection
{
void When(object @event);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/StreamEvent.cs b/src/BuildingBlocks/EventStoreDB/Events/StreamEvent.cs
index b6085b3..10aedcc 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/StreamEvent.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/StreamEvent.cs
@@ -26,5 +26,4 @@ public class StreamEvent : StreamEvent where T : notnull
public StreamEvent(T data, EventMetadata metadata) : base(data, metadata)
{
}
-}
-
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/StreamEventExtensions.cs b/src/BuildingBlocks/EventStoreDB/Events/StreamEventExtensions.cs
index 11e97a2..659145c 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/StreamEventExtensions.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/StreamEventExtensions.cs
@@ -16,4 +16,4 @@ public static class StreamEventExtensions
var type = typeof(StreamEvent<>).MakeGenericType(eventData.GetType());
return (StreamEvent)Activator.CreateInstance(type, eventData, metaData)!;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Events/StreamNameMapper.cs b/src/BuildingBlocks/EventStoreDB/Events/StreamNameMapper.cs
index 0c4e871..9a49b0b 100644
--- a/src/BuildingBlocks/EventStoreDB/Events/StreamNameMapper.cs
+++ b/src/BuildingBlocks/EventStoreDB/Events/StreamNameMapper.cs
@@ -25,4 +25,4 @@ public class StreamNameMapper
return $"{tenantPrefix}{streamType.Name}-{aggregateId}";
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Extensions.cs b/src/BuildingBlocks/EventStoreDB/Extensions.cs
index f1f3ac8..92af904 100644
--- a/src/BuildingBlocks/EventStoreDB/Extensions.cs
+++ b/src/BuildingBlocks/EventStoreDB/Extensions.cs
@@ -23,4 +23,4 @@ public static class Extensions
.AddEventStoreDB(configuration)
.AddProjections(assembliesToScan);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Projections/IProjectionProcessor.cs b/src/BuildingBlocks/EventStoreDB/Projections/IProjectionProcessor.cs
index 45e505f..96115b9 100644
--- a/src/BuildingBlocks/EventStoreDB/Projections/IProjectionProcessor.cs
+++ b/src/BuildingBlocks/EventStoreDB/Projections/IProjectionProcessor.cs
@@ -7,4 +7,4 @@ public interface IProjectionProcessor
{
Task ProcessEventAsync(StreamEvent streamEvent, CancellationToken cancellationToken = default)
where T : INotification;
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Projections/IProjectionPublisher.cs b/src/BuildingBlocks/EventStoreDB/Projections/IProjectionPublisher.cs
index 9d45823..961bae6 100644
--- a/src/BuildingBlocks/EventStoreDB/Projections/IProjectionPublisher.cs
+++ b/src/BuildingBlocks/EventStoreDB/Projections/IProjectionPublisher.cs
@@ -9,4 +9,4 @@ public interface IProjectionPublisher
where T : INotification;
Task PublishAsync(StreamEvent streamEvent, CancellationToken cancellationToken = default);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Projections/ProjectionPublisher.cs b/src/BuildingBlocks/EventStoreDB/Projections/ProjectionPublisher.cs
index 26ea017..1990166 100644
--- a/src/BuildingBlocks/EventStoreDB/Projections/ProjectionPublisher.cs
+++ b/src/BuildingBlocks/EventStoreDB/Projections/ProjectionPublisher.cs
@@ -36,4 +36,4 @@ public class ProjectionPublisher : IProjectionPublisher
return (Task)method
.Invoke(this, new object[] { streamEvent, cancellationToken })!;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Repository/EventStoreDBRepository.cs b/src/BuildingBlocks/EventStoreDB/Repository/EventStoreDBRepository.cs
index 6d7e34a..3a44d21 100644
--- a/src/BuildingBlocks/EventStoreDB/Repository/EventStoreDBRepository.cs
+++ b/src/BuildingBlocks/EventStoreDB/Repository/EventStoreDBRepository.cs
@@ -71,4 +71,4 @@ public class EventStoreDBRepository : IEventStoreDBRepository where T : cl
return events
.Select(EventStoreDBSerializer.ToJsonEventData);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Repository/RepositoryExtensions.cs b/src/BuildingBlocks/EventStoreDB/Repository/RepositoryExtensions.cs
index 32a4909..4cb10ee 100644
--- a/src/BuildingBlocks/EventStoreDB/Repository/RepositoryExtensions.cs
+++ b/src/BuildingBlocks/EventStoreDB/Repository/RepositoryExtensions.cs
@@ -30,4 +30,4 @@ public static class RepositoryExtensions
return await repository.Update(entity, expectedVersion, cancellationToken);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Serialization/EventStoreDBSerializer.cs b/src/BuildingBlocks/EventStoreDB/Serialization/EventStoreDBSerializer.cs
index 6665e9b..37b837d 100644
--- a/src/BuildingBlocks/EventStoreDB/Serialization/EventStoreDBSerializer.cs
+++ b/src/BuildingBlocks/EventStoreDB/Serialization/EventStoreDBSerializer.cs
@@ -36,4 +36,4 @@ public static class EventStoreDBSerializer
Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(@event)),
Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(new { }))
);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Serialization/JsonObjectContractProvider.cs b/src/BuildingBlocks/EventStoreDB/Serialization/JsonObjectContractProvider.cs
index e8dc66a..46e8221 100644
--- a/src/BuildingBlocks/EventStoreDB/Serialization/JsonObjectContractProvider.cs
+++ b/src/BuildingBlocks/EventStoreDB/Serialization/JsonObjectContractProvider.cs
@@ -78,4 +78,4 @@ public static class JsonObjectContractProvider
.GetConstructors(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)
.OrderByDescending(e => e.GetParameters().Length)
.FirstOrDefault();
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Serialization/NonDefaultConstructorContractResolver.cs b/src/BuildingBlocks/EventStoreDB/Serialization/NonDefaultConstructorContractResolver.cs
index dd18eff..5e12253 100644
--- a/src/BuildingBlocks/EventStoreDB/Serialization/NonDefaultConstructorContractResolver.cs
+++ b/src/BuildingBlocks/EventStoreDB/Serialization/NonDefaultConstructorContractResolver.cs
@@ -12,4 +12,4 @@ public class NonDefaultConstructorContractResolver : DefaultContractResolver
base.CreateConstructorParameters
);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Serialization/SerializationExtensions.cs b/src/BuildingBlocks/EventStoreDB/Serialization/SerializationExtensions.cs
index 4519ee1..2a72290 100644
--- a/src/BuildingBlocks/EventStoreDB/Serialization/SerializationExtensions.cs
+++ b/src/BuildingBlocks/EventStoreDB/Serialization/SerializationExtensions.cs
@@ -65,4 +65,4 @@ public static class SerializationExtensions
{
return new StringContent(obj.ToJson(), Encoding.UTF8, "application/json");
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Subscriptions/EventStoreDBSubscriptionCheckpointRepository.cs b/src/BuildingBlocks/EventStoreDB/Subscriptions/EventStoreDBSubscriptionCheckpointRepository.cs
index 1f2b71b..4218498 100644
--- a/src/BuildingBlocks/EventStoreDB/Subscriptions/EventStoreDBSubscriptionCheckpointRepository.cs
+++ b/src/BuildingBlocks/EventStoreDB/Subscriptions/EventStoreDBSubscriptionCheckpointRepository.cs
@@ -73,4 +73,4 @@ public class EventStoreDBSubscriptionCheckpointRepository : ISubscriptionCheckpo
}
private static string GetCheckpointStreamName(string subscriptionId) => $"checkpoint_{subscriptionId}";
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Subscriptions/EventStoreDBSubscriptionToAll.cs b/src/BuildingBlocks/EventStoreDB/Subscriptions/EventStoreDBSubscriptionToAll.cs
index 4832e3d..de3fc6e 100644
--- a/src/BuildingBlocks/EventStoreDB/Subscriptions/EventStoreDBSubscriptionToAll.cs
+++ b/src/BuildingBlocks/EventStoreDB/Subscriptions/EventStoreDBSubscriptionToAll.cs
@@ -188,4 +188,4 @@ public class EventStoreDBSubscriptionToAll
logger.LogInformation("Checkpoint event - ignoring");
return true;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Subscriptions/ISubscriptionCheckpointRepository.cs b/src/BuildingBlocks/EventStoreDB/Subscriptions/ISubscriptionCheckpointRepository.cs
index 07a7062..c008183 100644
--- a/src/BuildingBlocks/EventStoreDB/Subscriptions/ISubscriptionCheckpointRepository.cs
+++ b/src/BuildingBlocks/EventStoreDB/Subscriptions/ISubscriptionCheckpointRepository.cs
@@ -5,4 +5,4 @@ public interface ISubscriptionCheckpointRepository
ValueTask Load(string subscriptionId, CancellationToken ct);
ValueTask Store(string subscriptionId, ulong position, CancellationToken ct);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/EventStoreDB/Subscriptions/InMemorySubscriptionCheckpointRepository.cs b/src/BuildingBlocks/EventStoreDB/Subscriptions/InMemorySubscriptionCheckpointRepository.cs
index 59e95d0..17f7105 100644
--- a/src/BuildingBlocks/EventStoreDB/Subscriptions/InMemorySubscriptionCheckpointRepository.cs
+++ b/src/BuildingBlocks/EventStoreDB/Subscriptions/InMemorySubscriptionCheckpointRepository.cs
@@ -17,4 +17,4 @@ public class InMemorySubscriptionCheckpointRepository : ISubscriptionCheckpointR
return ValueTask.CompletedTask;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/AggregateNotFoundException.cs b/src/BuildingBlocks/Exception/AggregateNotFoundException.cs
index aadaad6..12afdeb 100644
--- a/src/BuildingBlocks/Exception/AggregateNotFoundException.cs
+++ b/src/BuildingBlocks/Exception/AggregateNotFoundException.cs
@@ -10,4 +10,4 @@ public class AggregateNotFoundException : System.Exception
{
return new AggregateNotFoundException(typeof(T).Name, id);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/AppException.cs b/src/BuildingBlocks/Exception/AppException.cs
index f567498..5be9aa6 100644
--- a/src/BuildingBlocks/Exception/AppException.cs
+++ b/src/BuildingBlocks/Exception/AppException.cs
@@ -11,4 +11,4 @@ public class AppException : CustomException
public AppException(string message, System.Exception innerException, HttpStatusCode statusCode = HttpStatusCode.BadRequest, int? code = null) : base(message, innerException, statusCode, code)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/BadRequestException.cs b/src/BuildingBlocks/Exception/BadRequestException.cs
index 6056488..7644702 100644
--- a/src/BuildingBlocks/Exception/BadRequestException.cs
+++ b/src/BuildingBlocks/Exception/BadRequestException.cs
@@ -10,4 +10,4 @@ namespace BuildingBlocks.Exception
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/ConflictException.cs b/src/BuildingBlocks/Exception/ConflictException.cs
index 4d45372..b522afa 100644
--- a/src/BuildingBlocks/Exception/ConflictException.cs
+++ b/src/BuildingBlocks/Exception/ConflictException.cs
@@ -8,4 +8,4 @@ namespace BuildingBlocks.Exception
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/CustomException.cs b/src/BuildingBlocks/Exception/CustomException.cs
index 586dcd8..7fce48b 100644
--- a/src/BuildingBlocks/Exception/CustomException.cs
+++ b/src/BuildingBlocks/Exception/CustomException.cs
@@ -34,4 +34,4 @@ public class CustomException : System.Exception
public HttpStatusCode StatusCode { get; }
public int? Code { get; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/DomainException.cs b/src/BuildingBlocks/Exception/DomainException.cs
index b8f661f..5a33d83 100644
--- a/src/BuildingBlocks/Exception/DomainException.cs
+++ b/src/BuildingBlocks/Exception/DomainException.cs
@@ -13,4 +13,4 @@ namespace SmartCharging.Infrastructure.Exceptions
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/GrpcExceptionInterceptor.cs b/src/BuildingBlocks/Exception/GrpcExceptionInterceptor.cs
index 1464b97..d78337a 100644
--- a/src/BuildingBlocks/Exception/GrpcExceptionInterceptor.cs
+++ b/src/BuildingBlocks/Exception/GrpcExceptionInterceptor.cs
@@ -20,4 +20,4 @@ public class GrpcExceptionInterceptor : Interceptor
throw new RpcException(new Status(StatusCode.Internal, exception.Message));
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/InternalServerException.cs b/src/BuildingBlocks/Exception/InternalServerException.cs
index e276cc2..e05113e 100644
--- a/src/BuildingBlocks/Exception/InternalServerException.cs
+++ b/src/BuildingBlocks/Exception/InternalServerException.cs
@@ -14,4 +14,4 @@ namespace BuildingBlocks.Exception
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/NotFoundException.cs b/src/BuildingBlocks/Exception/NotFoundException.cs
index 4367ca0..0308915 100644
--- a/src/BuildingBlocks/Exception/NotFoundException.cs
+++ b/src/BuildingBlocks/Exception/NotFoundException.cs
@@ -8,4 +8,4 @@ namespace BuildingBlocks.Exception
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/ProblemDetailsWithCode.cs b/src/BuildingBlocks/Exception/ProblemDetailsWithCode.cs
index c9f4fec..90d0312 100644
--- a/src/BuildingBlocks/Exception/ProblemDetailsWithCode.cs
+++ b/src/BuildingBlocks/Exception/ProblemDetailsWithCode.cs
@@ -9,4 +9,4 @@ public class ProblemDetailsWithCode : ProblemDetails
{
[JsonPropertyName("code")]
public int? Code { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Exception/ValidationException.cs b/src/BuildingBlocks/Exception/ValidationException.cs
index f3c812b..3ee48fd 100644
--- a/src/BuildingBlocks/Exception/ValidationException.cs
+++ b/src/BuildingBlocks/Exception/ValidationException.cs
@@ -8,4 +8,4 @@ namespace BuildingBlocks.Exception
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/HealthCheck/Extensions.cs b/src/BuildingBlocks/HealthCheck/Extensions.cs
index 0c58f0a..defa6b3 100644
--- a/src/BuildingBlocks/HealthCheck/Extensions.cs
+++ b/src/BuildingBlocks/HealthCheck/Extensions.cs
@@ -87,4 +87,4 @@ public static class Extensions
return app;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/HealthCheck/HealthOptions.cs b/src/BuildingBlocks/HealthCheck/HealthOptions.cs
index 759158e..98bb562 100644
--- a/src/BuildingBlocks/HealthCheck/HealthOptions.cs
+++ b/src/BuildingBlocks/HealthCheck/HealthOptions.cs
@@ -3,4 +3,4 @@ namespace BuildingBlocks.HealthCheck;
public class HealthOptions
{
public bool Enabled { get; set; } = true;
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Jwt/AuthHeaderHandler.cs b/src/BuildingBlocks/Jwt/AuthHeaderHandler.cs
index ec4de79..d4d521b 100644
--- a/src/BuildingBlocks/Jwt/AuthHeaderHandler.cs
+++ b/src/BuildingBlocks/Jwt/AuthHeaderHandler.cs
@@ -21,4 +21,4 @@ public class AuthHeaderHandler : DelegatingHandler
return base.SendAsync(request, cancellationToken);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Jwt/JwtExtensions.cs b/src/BuildingBlocks/Jwt/JwtExtensions.cs
index 18909b0..62405a5 100644
--- a/src/BuildingBlocks/Jwt/JwtExtensions.cs
+++ b/src/BuildingBlocks/Jwt/JwtExtensions.cs
@@ -74,4 +74,4 @@ namespace BuildingBlocks.Jwt
return services;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Logging/LoggingBehavior.cs b/src/BuildingBlocks/Logging/LoggingBehavior.cs
index 5bbb120..16866da 100644
--- a/src/BuildingBlocks/Logging/LoggingBehavior.cs
+++ b/src/BuildingBlocks/Logging/LoggingBehavior.cs
@@ -37,4 +37,4 @@ public class LoggingBehavior : IPipelineBehavior : IFilter>
public void Probe(ProbeContext context)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/MassTransit/Extensions.cs b/src/BuildingBlocks/MassTransit/Extensions.cs
index 86028ff..5bc96a8 100644
--- a/src/BuildingBlocks/MassTransit/Extensions.cs
+++ b/src/BuildingBlocks/MassTransit/Extensions.cs
@@ -117,4 +117,4 @@ public static class Extensions
.Ignore<
ValidationException>(); // don't retry if we have invalid data and message goes to _error queue masstransit
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/MassTransit/RabbitMqOptions.cs b/src/BuildingBlocks/MassTransit/RabbitMqOptions.cs
index 1f8f6a6..35f938e 100644
--- a/src/BuildingBlocks/MassTransit/RabbitMqOptions.cs
+++ b/src/BuildingBlocks/MassTransit/RabbitMqOptions.cs
@@ -7,4 +7,4 @@ public class RabbitMqOptions
public string UserName { get; set; }
public string Password { get; set; }
public ushort? Port { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/MassTransit/TransportType.cs b/src/BuildingBlocks/MassTransit/TransportType.cs
index d8b6e41..700ffcf 100644
--- a/src/BuildingBlocks/MassTransit/TransportType.cs
+++ b/src/BuildingBlocks/MassTransit/TransportType.cs
@@ -4,4 +4,4 @@ public enum TransportType
{
RabbitMq,
InMemory
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/Extensions.cs b/src/BuildingBlocks/Mongo/Extensions.cs
index 943fa97..9d544b5 100644
--- a/src/BuildingBlocks/Mongo/Extensions.cs
+++ b/src/BuildingBlocks/Mongo/Extensions.cs
@@ -49,4 +49,4 @@ namespace BuildingBlocks.Mongo
return services;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/IMongoDbContext.cs b/src/BuildingBlocks/Mongo/IMongoDbContext.cs
index 9449ad4..c3b017a 100644
--- a/src/BuildingBlocks/Mongo/IMongoDbContext.cs
+++ b/src/BuildingBlocks/Mongo/IMongoDbContext.cs
@@ -10,4 +10,4 @@ public interface IMongoDbContext : IDisposable
Task CommitTransactionAsync(CancellationToken cancellationToken = default);
Task RollbackTransaction(CancellationToken cancellationToken = default);
void AddCommand(Func func);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/IMongoRepository.cs b/src/BuildingBlocks/Mongo/IMongoRepository.cs
index 9e65e85..792be72 100644
--- a/src/BuildingBlocks/Mongo/IMongoRepository.cs
+++ b/src/BuildingBlocks/Mongo/IMongoRepository.cs
@@ -5,4 +5,4 @@ namespace BuildingBlocks.Mongo;
public interface IMongoRepository : IRepository
where TEntity : class, IAggregate
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/IMongoUnitOfWork.cs b/src/BuildingBlocks/Mongo/IMongoUnitOfWork.cs
index e9a46bd..9acf37a 100644
--- a/src/BuildingBlocks/Mongo/IMongoUnitOfWork.cs
+++ b/src/BuildingBlocks/Mongo/IMongoUnitOfWork.cs
@@ -2,4 +2,4 @@ namespace BuildingBlocks.Mongo;
public interface IMongoUnitOfWork : IUnitOfWork where TContext : class, IMongoDbContext
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/IRepository.cs b/src/BuildingBlocks/Mongo/IRepository.cs
index cc2e7a7..6826738 100644
--- a/src/BuildingBlocks/Mongo/IRepository.cs
+++ b/src/BuildingBlocks/Mongo/IRepository.cs
@@ -46,4 +46,4 @@ public interface IRepository :
public interface IRepository : IRepository
where TEntity : class, IAggregate
{
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/ITransactionAble.cs b/src/BuildingBlocks/Mongo/ITransactionAble.cs
index 8cff62d..8a98134 100644
--- a/src/BuildingBlocks/Mongo/ITransactionAble.cs
+++ b/src/BuildingBlocks/Mongo/ITransactionAble.cs
@@ -5,4 +5,4 @@ public interface ITransactionAble
Task BeginTransactionAsync(CancellationToken cancellationToken = default);
Task RollbackTransactionAsync(CancellationToken cancellationToken = default);
Task CommitTransactionAsync(CancellationToken cancellationToken = default);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/IUnitOfWork.cs b/src/BuildingBlocks/Mongo/IUnitOfWork.cs
index 76752c8..121b5d9 100644
--- a/src/BuildingBlocks/Mongo/IUnitOfWork.cs
+++ b/src/BuildingBlocks/Mongo/IUnitOfWork.cs
@@ -10,4 +10,4 @@ public interface IUnitOfWork : IUnitOfWork
where TContext : class
{
TContext Context { get; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/ImmutablePocoConvention.cs b/src/BuildingBlocks/Mongo/ImmutablePocoConvention.cs
index 7052d41..2c61a98 100644
--- a/src/BuildingBlocks/Mongo/ImmutablePocoConvention.cs
+++ b/src/BuildingBlocks/Mongo/ImmutablePocoConvention.cs
@@ -93,4 +93,4 @@ namespace BuildingBlocks.Mongo
return true;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/MongoDbContext.cs b/src/BuildingBlocks/Mongo/MongoDbContext.cs
index 8f25d25..b6ccf8c 100644
--- a/src/BuildingBlocks/Mongo/MongoDbContext.cs
+++ b/src/BuildingBlocks/Mongo/MongoDbContext.cs
@@ -149,4 +149,4 @@ public class MongoDbContext : IMongoDbContext
throw;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/MongoOptions.cs b/src/BuildingBlocks/Mongo/MongoOptions.cs
index c127b79..ec30e9d 100644
--- a/src/BuildingBlocks/Mongo/MongoOptions.cs
+++ b/src/BuildingBlocks/Mongo/MongoOptions.cs
@@ -5,4 +5,4 @@ public class MongoOptions
public string ConnectionString { get; set; } = null!;
public string DatabaseName { get; set; } = null!;
public static Guid UniqueId { get; set; } = Guid.NewGuid();
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/MongoRepository.cs b/src/BuildingBlocks/Mongo/MongoRepository.cs
index f479e10..c982b00 100644
--- a/src/BuildingBlocks/Mongo/MongoRepository.cs
+++ b/src/BuildingBlocks/Mongo/MongoRepository.cs
@@ -87,4 +87,4 @@ public class MongoRepository : IMongoRepository
{
return DbSet.DeleteOneAsync(e => e.Id.Equals(id), cancellationToken);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Mongo/MongoUnitOfWork.cs b/src/BuildingBlocks/Mongo/MongoUnitOfWork.cs
index 7d6d94c..e8e4cd5 100644
--- a/src/BuildingBlocks/Mongo/MongoUnitOfWork.cs
+++ b/src/BuildingBlocks/Mongo/MongoUnitOfWork.cs
@@ -28,5 +28,4 @@ public class MongoUnitOfWork : IMongoUnitOfWork, ITransactio
}
public void Dispose() => Context.Dispose();
-}
-
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenApi/Extensions.cs b/src/BuildingBlocks/OpenApi/Extensions.cs
index 32077e9..c79ff5f 100644
--- a/src/BuildingBlocks/OpenApi/Extensions.cs
+++ b/src/BuildingBlocks/OpenApi/Extensions.cs
@@ -52,4 +52,4 @@ namespace BuildingBlocks.OpenApi
return app;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs b/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs
index 0fec484..94d3f39 100644
--- a/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs
+++ b/src/BuildingBlocks/OpenApi/SecuritySchemeDocumentTransformer.cs
@@ -41,4 +41,4 @@ public class SecuritySchemeDocumentTransformer : IOpenApiDocumentTransformer
return Task.CompletedTask;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/ActivityExtensions.cs b/src/BuildingBlocks/OpenTelemetryCollector/ActivityExtensions.cs
index fb06a1c..2af6e8b 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/ActivityExtensions.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/ActivityExtensions.cs
@@ -172,4 +172,4 @@ internal static class ActivityExtensions
return activity;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/ActivityInfo.cs b/src/BuildingBlocks/OpenTelemetryCollector/ActivityInfo.cs
index 0392f0f..c73aec9 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/ActivityInfo.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/ActivityInfo.cs
@@ -26,4 +26,4 @@ public class ActivityEventInfo
public string Name { get; set; } = default!;
public DateTimeOffset Timestamp { get; set; }
public IDictionary Attributes { get; set; } = new Dictionary();
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/Behaviors/ObservabilityPipelineBehavior.cs b/src/BuildingBlocks/OpenTelemetryCollector/Behaviors/ObservabilityPipelineBehavior.cs
index aadb938..244394c 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/Behaviors/ObservabilityPipelineBehavior.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/Behaviors/ObservabilityPipelineBehavior.cs
@@ -82,4 +82,4 @@ public class ObservabilityPipelineBehavior(
return await next();
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Commands/CommandHandlerActivity.cs b/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Commands/CommandHandlerActivity.cs
index c136ff3..84111ef 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Commands/CommandHandlerActivity.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Commands/CommandHandlerActivity.cs
@@ -83,4 +83,4 @@ public class CommandHandlerActivity(IDiagnosticsProvider diagnosticsProvider)
cancellationToken
);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Commands/CommandHandlerMetrics.cs b/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Commands/CommandHandlerMetrics.cs
index 1fc87ac..6bf5d80 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Commands/CommandHandlerMetrics.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Commands/CommandHandlerMetrics.cs
@@ -154,4 +154,4 @@ public class CommandHandlerMetrics
_failedCommandsNumber.Add(1, tags);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Query/QueryHandlerActivity.cs b/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Query/QueryHandlerActivity.cs
index 3d5b037..bc327c1 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Query/QueryHandlerActivity.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Query/QueryHandlerActivity.cs
@@ -44,4 +44,4 @@ public class QueryHandlerActivity(IDiagnosticsProvider diagnosticsProvider)
cancellationToken
);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Query/QueryHandlerMetrics.cs b/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Query/QueryHandlerMetrics.cs
index eaea5dd..af3949f 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Query/QueryHandlerMetrics.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/CoreDiagnostics/Query/QueryHandlerMetrics.cs
@@ -153,4 +153,4 @@ public class QueryHandlerMetrics
_failedQueriesNumber.Add(1, tags);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/CreateActivityInfo.cs b/src/BuildingBlocks/OpenTelemetryCollector/CreateActivityInfo.cs
index bbaa8ab..aec4093 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/CreateActivityInfo.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/CreateActivityInfo.cs
@@ -9,4 +9,4 @@ public class CreateActivityInfo
public string? ParentId { get; set; }
public ActivityContext? Parent { get; set; }
public required ActivityKind ActivityKind = ActivityKind.Internal;
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/DiagnosticsProvider/CustomeDiagnosticsProvider.cs b/src/BuildingBlocks/OpenTelemetryCollector/DiagnosticsProvider/CustomeDiagnosticsProvider.cs
index abbcc7f..4269c49 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/DiagnosticsProvider/CustomeDiagnosticsProvider.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/DiagnosticsProvider/CustomeDiagnosticsProvider.cs
@@ -129,4 +129,4 @@ public class CustomeDiagnosticsProvider(IMeterFactory meterFactory, IOptions> action,
CancellationToken cancellationToken = default
);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/Extensions.cs b/src/BuildingBlocks/OpenTelemetryCollector/Extensions.cs
index 61dd0ee..aab72a3 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/Extensions.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/Extensions.cs
@@ -364,4 +364,4 @@ public static class Extensions
return builder;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/ObservabilityConstant.cs b/src/BuildingBlocks/OpenTelemetryCollector/ObservabilityConstant.cs
index 319a97c..94c4f86 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/ObservabilityConstant.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/ObservabilityConstant.cs
@@ -13,4 +13,4 @@ public static class ObservabilityConstant
public const string Consumer = "Consumer";
public const string EventHandler = "EventHandler";
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/ObservabilityOptions.cs b/src/BuildingBlocks/OpenTelemetryCollector/ObservabilityOptions.cs
index dca919a..e02de75 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/ObservabilityOptions.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/ObservabilityOptions.cs
@@ -44,4 +44,4 @@ public class OTLPOptions
public class AspireDashboardOTLPOptions
{
public string OTLPGrpcExporterEndpoint { get; set; } = "http://localhost:4319";
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/OpenTelemetryCollector/TelemetryTags.cs b/src/BuildingBlocks/OpenTelemetryCollector/TelemetryTags.cs
index 7cf2787..dc73fad 100644
--- a/src/BuildingBlocks/OpenTelemetryCollector/TelemetryTags.cs
+++ b/src/BuildingBlocks/OpenTelemetryCollector/TelemetryTags.cs
@@ -262,4 +262,4 @@ public static class TelemetryTags
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/Extensions.cs b/src/BuildingBlocks/PersistMessageProcessor/Extensions.cs
index 329fbcd..71b8613 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/Extensions.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/Extensions.cs
@@ -58,4 +58,4 @@ public static class Extensions
return builder.Services;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/IPersistMessageDbContext.cs b/src/BuildingBlocks/PersistMessageProcessor/IPersistMessageDbContext.cs
index c67b8fa..11fac49 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/IPersistMessageDbContext.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/IPersistMessageDbContext.cs
@@ -7,4 +7,4 @@ public interface IPersistMessageDbContext
DbSet PersistMessage { get; }
Task SaveChangesAsync(CancellationToken cancellationToken = default);
Task ExecuteTransactionalAsync(CancellationToken cancellationToken = default);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/IPersistMessageProcessor.cs b/src/BuildingBlocks/PersistMessageProcessor/IPersistMessageProcessor.cs
index a33a377..8017ce0 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/IPersistMessageProcessor.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/IPersistMessageProcessor.cs
@@ -40,4 +40,4 @@ public interface IPersistMessageProcessor
Task ProcessAsync(Guid messageId, MessageDeliveryType deliveryType, CancellationToken cancellationToken = default);
Task ProcessAllAsync(CancellationToken cancellationToken = default);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/MessageDeliveryType.cs b/src/BuildingBlocks/PersistMessageProcessor/MessageDeliveryType.cs
index 52aa797..2d1fa53 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/MessageDeliveryType.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/MessageDeliveryType.cs
@@ -7,4 +7,4 @@ public enum MessageDeliveryType
Outbox = 1,
Inbox = 2,
Internal = 3
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/MessageStatus.cs b/src/BuildingBlocks/PersistMessageProcessor/MessageStatus.cs
index 3b40c60..b661dc8 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/MessageStatus.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/MessageStatus.cs
@@ -5,4 +5,4 @@ public enum MessageStatus
Unknown = 0,
InProgress = 1,
Processed = 2
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/PersistMessage.cs b/src/BuildingBlocks/PersistMessageProcessor/PersistMessage.cs
index 551777f..8fec7e5 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/PersistMessage.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/PersistMessage.cs
@@ -33,4 +33,4 @@ public class PersistMessage : IVersion
{
RetryCount++;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/PersistMessageBackgroundService.cs b/src/BuildingBlocks/PersistMessageProcessor/PersistMessageBackgroundService.cs
index 35ee175..bd24a16 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/PersistMessageBackgroundService.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/PersistMessageBackgroundService.cs
@@ -45,4 +45,4 @@ public class PersistMessageBackgroundService(
await Task.Delay(delay, stoppingToken);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/PersistMessageDbContext.cs b/src/BuildingBlocks/PersistMessageProcessor/PersistMessageDbContext.cs
index 27636a7..77bb1f6 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/PersistMessageDbContext.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/PersistMessageDbContext.cs
@@ -116,4 +116,4 @@ public class PersistMessageDbContext : DbContext, IPersistMessageDbContext
throw new System.Exception("try for find IVersion", ex);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/PersistMessageOptions.cs b/src/BuildingBlocks/PersistMessageProcessor/PersistMessageOptions.cs
index 76ada24..4e21bc2 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/PersistMessageOptions.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/PersistMessageOptions.cs
@@ -5,4 +5,4 @@ public class PersistMessageOptions
public int? Interval { get; set; } = 30;
public bool Enabled { get; set; } = true;
public string? ConnectionString { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/PersistMessageProcessor/PersistMessageProcessor.cs b/src/BuildingBlocks/PersistMessageProcessor/PersistMessageProcessor.cs
index ecb53ca..de6f0ef 100644
--- a/src/BuildingBlocks/PersistMessageProcessor/PersistMessageProcessor.cs
+++ b/src/BuildingBlocks/PersistMessageProcessor/PersistMessageProcessor.cs
@@ -218,4 +218,4 @@ public class PersistMessageProcessor : IPersistMessageProcessor
await _persistMessageDbContext.SaveChangesAsync(cancellationToken);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Polly/Extensions.cs b/src/BuildingBlocks/Polly/Extensions.cs
index 0ae82c5..a588550 100644
--- a/src/BuildingBlocks/Polly/Extensions.cs
+++ b/src/BuildingBlocks/Polly/Extensions.cs
@@ -21,4 +21,4 @@ public static class Extensions
return retryPolicy.Execute(action);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/ProblemDetails/Extensions.cs b/src/BuildingBlocks/ProblemDetails/Extensions.cs
index 382b1d9..a167c6b 100644
--- a/src/BuildingBlocks/ProblemDetails/Extensions.cs
+++ b/src/BuildingBlocks/ProblemDetails/Extensions.cs
@@ -124,5 +124,4 @@ public static class Extensions
return app;
}
-}
-
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/TestBase/TestBase.cs b/src/BuildingBlocks/TestBase/TestBase.cs
index bc48330..360a3af 100644
--- a/src/BuildingBlocks/TestBase/TestBase.cs
+++ b/src/BuildingBlocks/TestBase/TestBase.cs
@@ -759,4 +759,4 @@ where TRContext : MongoDbContext
}
public TestFixture Fixture { get; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/TestBase/TestContainers.cs b/src/BuildingBlocks/TestBase/TestContainers.cs
index 462b912..2f102b9 100644
--- a/src/BuildingBlocks/TestBase/TestContainers.cs
+++ b/src/BuildingBlocks/TestBase/TestContainers.cs
@@ -152,4 +152,4 @@ public static class TestContainers
public int Port { get; set; } = 2113;
public string ImageName { get; set; } = "eventstore/eventstore:latest";
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Utils/NoSynchronizationContextScope.cs b/src/BuildingBlocks/Utils/NoSynchronizationContextScope.cs
index 6bb4e59..cf04304 100644
--- a/src/BuildingBlocks/Utils/NoSynchronizationContextScope.cs
+++ b/src/BuildingBlocks/Utils/NoSynchronizationContextScope.cs
@@ -21,4 +21,4 @@ public static class NoSynchronizationContextScope
public void Dispose() =>
SynchronizationContext.SetSynchronizationContext(synchronizationContext);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Utils/ServiceLocator.cs b/src/BuildingBlocks/Utils/ServiceLocator.cs
index 4ab1611..dfc913b 100644
--- a/src/BuildingBlocks/Utils/ServiceLocator.cs
+++ b/src/BuildingBlocks/Utils/ServiceLocator.cs
@@ -35,4 +35,4 @@ public class ServiceLocator
{
return _currentServiceProvider.GetService();
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Utils/TypeProvider.cs b/src/BuildingBlocks/Utils/TypeProvider.cs
index 0e3d837..a29f959 100644
--- a/src/BuildingBlocks/Utils/TypeProvider.cs
+++ b/src/BuildingBlocks/Utils/TypeProvider.cs
@@ -82,4 +82,4 @@ public static class TypeProvider
return list.ToList().AsReadOnly();
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Validation/Extensions.cs b/src/BuildingBlocks/Validation/Extensions.cs
index c6971f8..f024b21 100644
--- a/src/BuildingBlocks/Validation/Extensions.cs
+++ b/src/BuildingBlocks/Validation/Extensions.cs
@@ -17,4 +17,4 @@ namespace BuildingBlocks.Validation
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Validation/ValidationBehavior.cs b/src/BuildingBlocks/Validation/ValidationBehavior.cs
index d9b82c2..0346f35 100644
--- a/src/BuildingBlocks/Validation/ValidationBehavior.cs
+++ b/src/BuildingBlocks/Validation/ValidationBehavior.cs
@@ -26,4 +26,4 @@ public sealed class ValidationBehavior : IPipelineBehavior<
return await next();
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Validation/ValidationError.cs b/src/BuildingBlocks/Validation/ValidationError.cs
index ab78b81..1620ed4 100644
--- a/src/BuildingBlocks/Validation/ValidationError.cs
+++ b/src/BuildingBlocks/Validation/ValidationError.cs
@@ -12,4 +12,4 @@ namespace BuildingBlocks.Validation
Message = message;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Validation/ValidationResultModel.cs b/src/BuildingBlocks/Validation/ValidationResultModel.cs
index 45bd2c4..0ad8083 100644
--- a/src/BuildingBlocks/Validation/ValidationResultModel.cs
+++ b/src/BuildingBlocks/Validation/ValidationResultModel.cs
@@ -18,4 +18,4 @@ namespace BuildingBlocks.Validation
return JsonSerializer.Serialize(this);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/ApiVersioningExtensions.cs b/src/BuildingBlocks/Web/ApiVersioningExtensions.cs
index c7c899a..35fc65d 100644
--- a/src/BuildingBlocks/Web/ApiVersioningExtensions.cs
+++ b/src/BuildingBlocks/Web/ApiVersioningExtensions.cs
@@ -51,4 +51,4 @@ public static class ApiVersioningExtensions
// Support versioning in mvc with with (Asp.Versioning.Mvc.ApiExplorer) dll
.AddMvc(); // https://www.nuget.org/packages/Asp.Versioning.Mvc.ApiExplorer
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/AppOptions.cs b/src/BuildingBlocks/Web/AppOptions.cs
index b8a3bb7..2c6a6d5 100644
--- a/src/BuildingBlocks/Web/AppOptions.cs
+++ b/src/BuildingBlocks/Web/AppOptions.cs
@@ -3,4 +3,4 @@ namespace BuildingBlocks.Web;
public class AppOptions
{
public string Name { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/BaseController.cs b/src/BuildingBlocks/Web/BaseController.cs
index 2447978..fa4a4ee 100644
--- a/src/BuildingBlocks/Web/BaseController.cs
+++ b/src/BuildingBlocks/Web/BaseController.cs
@@ -21,4 +21,4 @@ public abstract class BaseController : ControllerBase
_mediator ??= HttpContext.RequestServices.GetService();
protected IMapper Mapper => _mapper ??= HttpContext.RequestServices.GetService();
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/ConfigurationExtensions.cs b/src/BuildingBlocks/Web/ConfigurationExtensions.cs
index 7090539..6f4f570 100644
--- a/src/BuildingBlocks/Web/ConfigurationExtensions.cs
+++ b/src/BuildingBlocks/Web/ConfigurationExtensions.cs
@@ -39,4 +39,4 @@ public static class ConfigurationExtensions
service.AddSingleton(x => x.GetRequiredService>().Value);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/ConfigurationHelper.cs b/src/BuildingBlocks/Web/ConfigurationHelper.cs
index 240139b..686a20d 100644
--- a/src/BuildingBlocks/Web/ConfigurationHelper.cs
+++ b/src/BuildingBlocks/Web/ConfigurationHelper.cs
@@ -17,4 +17,4 @@ namespace BuildingBlocks.Web
.Build();
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/CorrelationExtensions.cs b/src/BuildingBlocks/Web/CorrelationExtensions.cs
index 7c43a07..c79f6d4 100644
--- a/src/BuildingBlocks/Web/CorrelationExtensions.cs
+++ b/src/BuildingBlocks/Web/CorrelationExtensions.cs
@@ -24,4 +24,4 @@ public static class CorrelationExtensions
context.Items.TryGetValue(CorrelationId, out var correlationId);
return string.IsNullOrEmpty(correlationId?.ToString()) ? Guid.NewGuid() : new Guid(correlationId.ToString()!);
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/CurrentUserProvider.cs b/src/BuildingBlocks/Web/CurrentUserProvider.cs
index e0f910d..6c2f57c 100644
--- a/src/BuildingBlocks/Web/CurrentUserProvider.cs
+++ b/src/BuildingBlocks/Web/CurrentUserProvider.cs
@@ -26,4 +26,4 @@ public class CurrentUserProvider : ICurrentUserProvider
return userId;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/EndpointConfig.cs b/src/BuildingBlocks/Web/EndpointConfig.cs
index fa517b7..49433b9 100644
--- a/src/BuildingBlocks/Web/EndpointConfig.cs
+++ b/src/BuildingBlocks/Web/EndpointConfig.cs
@@ -6,4 +6,4 @@ public class EndpointConfig
{
public const string BaseApiPath = "api/v{version:apiVersion}";
public static ApiVersionSet VersionSet { get; private set; } = default!;
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/IMinimalEndpoint.cs b/src/BuildingBlocks/Web/IMinimalEndpoint.cs
index ef2a6d9..6c7cbf4 100644
--- a/src/BuildingBlocks/Web/IMinimalEndpoint.cs
+++ b/src/BuildingBlocks/Web/IMinimalEndpoint.cs
@@ -5,4 +5,4 @@ namespace BuildingBlocks.Web;
public interface IMinimalEndpoint
{
IEndpointRouteBuilder MapEndpoint(IEndpointRouteBuilder builder);
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/MinimalApiExtensions.cs b/src/BuildingBlocks/Web/MinimalApiExtensions.cs
index da37b9c..1cc14e7 100644
--- a/src/BuildingBlocks/Web/MinimalApiExtensions.cs
+++ b/src/BuildingBlocks/Web/MinimalApiExtensions.cs
@@ -51,4 +51,4 @@ public static class MinimalApiExtensions
return builder;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/ServiceCollectionExtensions.cs b/src/BuildingBlocks/Web/ServiceCollectionExtensions.cs
index 2d81bf1..6b39ad5 100644
--- a/src/BuildingBlocks/Web/ServiceCollectionExtensions.cs
+++ b/src/BuildingBlocks/Web/ServiceCollectionExtensions.cs
@@ -68,4 +68,4 @@ public static class ServiceCollectionExtensions
services.AddSingleton(_ => Substitute.For());
return services;
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/ServiceProviderExtensions.cs b/src/BuildingBlocks/Web/ServiceProviderExtensions.cs
index 492facf..195bc0e 100644
--- a/src/BuildingBlocks/Web/ServiceProviderExtensions.cs
+++ b/src/BuildingBlocks/Web/ServiceProviderExtensions.cs
@@ -27,4 +27,4 @@ public static class ServiceProviderExtensions
await hostedService.StopAsync(cancellationToken);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/BuildingBlocks/Web/SlugifyParameterTransformer.cs b/src/BuildingBlocks/Web/SlugifyParameterTransformer.cs
index 29bc834..29e9e45 100644
--- a/src/BuildingBlocks/Web/SlugifyParameterTransformer.cs
+++ b/src/BuildingBlocks/Web/SlugifyParameterTransformer.cs
@@ -13,4 +13,4 @@ public class SlugifyParameterTransformer : IOutboundParameterTransformer
? null
: Regex.Replace(value.ToString() ?? string.Empty, "([a-z])([A-Z])", "$1-$2").ToLower(CultureInfo.CurrentCulture);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking.Api/Program.cs b/src/Services/Booking/src/Booking.Api/Program.cs
index c8d5c9e..b9b9830 100644
--- a/src/Services/Booking/src/Booking.Api/Program.cs
+++ b/src/Services/Booking/src/Booking.Api/Program.cs
@@ -19,4 +19,4 @@ namespace Booking.Api
public partial class Program
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/AssemblyInfo.cs b/src/Services/Booking/src/Booking/AssemblyInfo.cs
index 60fedfd..b0f8704 100644
--- a/src/Services/Booking/src/Booking/AssemblyInfo.cs
+++ b/src/Services/Booking/src/Booking/AssemblyInfo.cs
@@ -2,5 +2,4 @@ using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Unit.Test")]
[assembly: InternalsVisibleTo("Integration.Test")]
-[assembly: InternalsVisibleTo("EndToEnd.Test")]
-
+[assembly: InternalsVisibleTo("EndToEnd.Test")]
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Dtos/CreateReservation.cs b/src/Services/Booking/src/Booking/Booking/Dtos/CreateReservation.cs
index 56c4a89..c1d61c2 100644
--- a/src/Services/Booking/src/Booking/Booking/Dtos/CreateReservation.cs
+++ b/src/Services/Booking/src/Booking/Booking/Dtos/CreateReservation.cs
@@ -1,4 +1,4 @@
namespace Booking.Booking.Dtos;
public record BookingResponseDto(Guid Id, string Name, string FlightNumber, Guid AircraftId, decimal Price,
- DateTime FlightDate, string SeatNumber, Guid DepartureAirportId, Guid ArriveAirportId, string Description);
+ DateTime FlightDate, string SeatNumber, Guid DepartureAirportId, Guid ArriveAirportId, string Description);
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/BookingAlreadyExistException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/BookingAlreadyExistException.cs
index 81ed2f6..8c11740 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/BookingAlreadyExistException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/BookingAlreadyExistException.cs
@@ -8,4 +8,4 @@ public class BookingAlreadyExistException : AppException
public BookingAlreadyExistException(int? code = default) : base("Booking already exist!", HttpStatusCode.Conflict, code)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/FlightNotFoundException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/FlightNotFoundException.cs
index e803ca1..e0c453e 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/FlightNotFoundException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/FlightNotFoundException.cs
@@ -8,4 +8,4 @@ public class FlightNotFoundException : AppException
public FlightNotFoundException() : base("Flight doesn't exist!", HttpStatusCode.NotFound)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidAircraftIdException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidAircraftIdException.cs
index bfa7cee..120ba40 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidAircraftIdException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidAircraftIdException.cs
@@ -8,4 +8,4 @@ public class InvalidAircraftIdException : DomainException
: base($"aircraftId: '{aircraftId}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidArriveAirportIdException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidArriveAirportIdException.cs
index e138c0a..394a4f2 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidArriveAirportIdException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidArriveAirportIdException.cs
@@ -8,4 +8,4 @@ public class InvalidArriveAirportIdException : DomainException
: base($"arriveAirportId: '{arriveAirportId}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidDepartureAirportIdException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidDepartureAirportIdException.cs
index 6c8ad7a..ce2d5ef 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidDepartureAirportIdException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidDepartureAirportIdException.cs
@@ -8,4 +8,4 @@ public class InvalidDepartureAirportIdException : DomainException
: base($"departureAirportId: '{departureAirportId}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidFlightDateException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidFlightDateException.cs
index a22c300..2dddb55 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidFlightDateException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidFlightDateException.cs
@@ -8,4 +8,4 @@ public class InvalidFlightDateException : DomainException
: base($"Flight Date: '{flightDate}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidFlightNumberException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidFlightNumberException.cs
index 764d782..6fd8599 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidFlightNumberException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidFlightNumberException.cs
@@ -8,4 +8,4 @@ public class InvalidFlightNumberException : DomainException
: base($"Flight Number: '{flightNumber}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidPassengerNameException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidPassengerNameException.cs
index b575066..45ac6d7 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidPassengerNameException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidPassengerNameException.cs
@@ -8,4 +8,4 @@ public class InvalidPassengerNameException : DomainException
: base($"Passenger Name: '{passengerName}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidPriceException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidPriceException.cs
index 66ae7c9..5b23a02 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidPriceException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/InvalidPriceException.cs
@@ -8,5 +8,4 @@ public class InvalidPriceException : DomainException
: base($"Price: '{price}' must be grater than or equal 0.")
{
}
-}
-
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Exceptions/SeatNumberException.cs b/src/Services/Booking/src/Booking/Booking/Exceptions/SeatNumberException.cs
index 4c4ad58..4f84fa5 100644
--- a/src/Services/Booking/src/Booking/Booking/Exceptions/SeatNumberException.cs
+++ b/src/Services/Booking/src/Booking/Booking/Exceptions/SeatNumberException.cs
@@ -8,5 +8,4 @@ public class SeatNumberException : DomainException
: base($"Seat Number: '{seatNumber}' is invalid.")
{
}
-}
-
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Features/BookingMappings.cs b/src/Services/Booking/src/Booking/Booking/Features/BookingMappings.cs
index feaa98e..a557e66 100644
--- a/src/Services/Booking/src/Booking/Booking/Features/BookingMappings.cs
+++ b/src/Services/Booking/src/Booking/Booking/Features/BookingMappings.cs
@@ -20,4 +20,4 @@ public class BookingMappings : IRegister
config.NewConfig()
.ConstructUsing(x => new CreateBooking(x.PassengerId, x.FlightId, x.Description));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Features/CreatingBook/V1/CreateBooking.cs b/src/Services/Booking/src/Booking/Booking/Features/CreatingBook/V1/CreateBooking.cs
index bde40c0..26b2161 100644
--- a/src/Services/Booking/src/Booking/Booking/Features/CreatingBook/V1/CreateBooking.cs
+++ b/src/Services/Booking/src/Booking/Booking/Features/CreatingBook/V1/CreateBooking.cs
@@ -143,4 +143,4 @@ internal class CreateBookingCommandHandler : ICommandHandler
IsDeleted = @event.IsDeleted;
Version++;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/Models/BookingReadModel.cs b/src/Services/Booking/src/Booking/Booking/Models/BookingReadModel.cs
index 57d2018..2aea8f6 100644
--- a/src/Services/Booking/src/Booking/Booking/Models/BookingReadModel.cs
+++ b/src/Services/Booking/src/Booking/Booking/Models/BookingReadModel.cs
@@ -9,4 +9,4 @@ public class BookingReadModel
public required Trip Trip { get; init; }
public required PassengerInfo PassengerInfo { get; init; }
public required bool IsDeleted { get; init; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/ValueObjects/PassengerInfo.cs b/src/Services/Booking/src/Booking/Booking/ValueObjects/PassengerInfo.cs
index 9cbedc6..b760aa6 100644
--- a/src/Services/Booking/src/Booking/Booking/ValueObjects/PassengerInfo.cs
+++ b/src/Services/Booking/src/Booking/Booking/ValueObjects/PassengerInfo.cs
@@ -20,4 +20,4 @@ public record PassengerInfo
return new PassengerInfo(name);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Booking/ValueObjects/Trip.cs b/src/Services/Booking/src/Booking/Booking/ValueObjects/Trip.cs
index fb1b0d4..0d58de4 100644
--- a/src/Services/Booking/src/Booking/Booking/ValueObjects/Trip.cs
+++ b/src/Services/Booking/src/Booking/Booking/ValueObjects/Trip.cs
@@ -66,4 +66,4 @@ public record Trip
return new Trip(flightNumber, aircraftId, departureAirportId, arriveAirportId, flightDate, price, description, seatNumber);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/BookingEventMapper.cs b/src/Services/Booking/src/Booking/BookingEventMapper.cs
index ecfc0e6..09f2225 100644
--- a/src/Services/Booking/src/Booking/BookingEventMapper.cs
+++ b/src/Services/Booking/src/Booking/BookingEventMapper.cs
@@ -24,4 +24,4 @@ public sealed class BookingEventMapper : IEventMapper
_ => null
};
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/BookingProjection.cs b/src/Services/Booking/src/Booking/BookingProjection.cs
index ba4d2db..93b0123 100644
--- a/src/Services/Booking/src/Booking/BookingProjection.cs
+++ b/src/Services/Booking/src/Booking/BookingProjection.cs
@@ -51,4 +51,4 @@ public class BookingProjection : IProjectionProcessor
await _bookingReadDbContext.Booking.InsertOneAsync(bookingReadModel, cancellationToken: cancellationToken);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/BookingRoot.cs b/src/Services/Booking/src/Booking/BookingRoot.cs
index 73eb27c..e7d79cd 100644
--- a/src/Services/Booking/src/Booking/BookingRoot.cs
+++ b/src/Services/Booking/src/Booking/BookingRoot.cs
@@ -3,4 +3,4 @@ namespace Booking;
public class BookingRoot
{
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Configuration/GrpcOptions.cs b/src/Services/Booking/src/Booking/Configuration/GrpcOptions.cs
index 4f4adf7..017824e 100644
--- a/src/Services/Booking/src/Booking/Configuration/GrpcOptions.cs
+++ b/src/Services/Booking/src/Booking/Configuration/GrpcOptions.cs
@@ -4,4 +4,4 @@ public class GrpcOptions
{
public string FlightAddress { get; set; }
public string PassengerAddress { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Data/BookingReadDbContext.cs b/src/Services/Booking/src/Booking/Data/BookingReadDbContext.cs
index e35b256..9cb4b44 100644
--- a/src/Services/Booking/src/Booking/Data/BookingReadDbContext.cs
+++ b/src/Services/Booking/src/Booking/Data/BookingReadDbContext.cs
@@ -15,4 +15,4 @@ public class BookingReadDbContext : MongoDbContext
}
public IMongoCollection Booking { get; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Extensions/Infrastructure/GrpcClientExtensions.cs b/src/Services/Booking/src/Booking/Extensions/Infrastructure/GrpcClientExtensions.cs
index 6d5e19f..19ea193 100644
--- a/src/Services/Booking/src/Booking/Extensions/Infrastructure/GrpcClientExtensions.cs
+++ b/src/Services/Booking/src/Booking/Extensions/Infrastructure/GrpcClientExtensions.cs
@@ -75,4 +75,4 @@ public static class GrpcClientExtensions
return services;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Extensions/Infrastructure/InfrastructureExtensions.cs b/src/Services/Booking/src/Booking/Extensions/Infrastructure/InfrastructureExtensions.cs
index 791e5ad..4f14e9b 100644
--- a/src/Services/Booking/src/Booking/Extensions/Infrastructure/InfrastructureExtensions.cs
+++ b/src/Services/Booking/src/Booking/Extensions/Infrastructure/InfrastructureExtensions.cs
@@ -108,4 +108,4 @@ public static class InfrastructureExtensions
return app;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/src/Booking/Extensions/Infrastructure/MediatRExtensions.cs b/src/Services/Booking/src/Booking/Extensions/Infrastructure/MediatRExtensions.cs
index dfda181..a15f64a 100644
--- a/src/Services/Booking/src/Booking/Extensions/Infrastructure/MediatRExtensions.cs
+++ b/src/Services/Booking/src/Booking/Extensions/Infrastructure/MediatRExtensions.cs
@@ -15,4 +15,4 @@ public static class MediatRExtensions
return services;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/tests/IntegrationTest/Booking/Features/CreateBookingTests.cs b/src/Services/Booking/tests/IntegrationTest/Booking/Features/CreateBookingTests.cs
index ef2dc45..c51b072 100644
--- a/src/Services/Booking/tests/IntegrationTest/Booking/Features/CreateBookingTests.cs
+++ b/src/Services/Booking/tests/IntegrationTest/Booking/Features/CreateBookingTests.cs
@@ -82,4 +82,4 @@ namespace Integration.Test.Booking.Features
}));
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/tests/IntegrationTest/BookingIntegrationTestBase.cs b/src/Services/Booking/tests/IntegrationTest/BookingIntegrationTestBase.cs
index 649e482..db09b76 100644
--- a/src/Services/Booking/tests/IntegrationTest/BookingIntegrationTestBase.cs
+++ b/src/Services/Booking/tests/IntegrationTest/BookingIntegrationTestBase.cs
@@ -17,4 +17,4 @@ public class BookingIntegrationTestBase : TestReadBase>
{
public const string Name = "Booking Integration Test";
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/tests/IntegrationTest/Fakes/FakeCreateBookingCommand.cs b/src/Services/Booking/tests/IntegrationTest/Fakes/FakeCreateBookingCommand.cs
index ff5cb93..fdf1b7c 100644
--- a/src/Services/Booking/tests/IntegrationTest/Fakes/FakeCreateBookingCommand.cs
+++ b/src/Services/Booking/tests/IntegrationTest/Fakes/FakeCreateBookingCommand.cs
@@ -14,4 +14,4 @@ public sealed class FakeCreateBookingCommand : AutoFaker
RuleFor(r => r.FlightId, _ => new Guid("3c5c0000-97c6-fc34-2eb9-08db322230c9"));
RuleFor(r => r.PassengerId, _ => new Guid("4c5c8888-97c6-fc34-2eb9-18db322230c1"));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/tests/IntegrationTest/Fakes/FakeFlightResponse.cs b/src/Services/Booking/tests/IntegrationTest/Fakes/FakeFlightResponse.cs
index 03588e9..3fc115e 100644
--- a/src/Services/Booking/tests/IntegrationTest/Fakes/FakeFlightResponse.cs
+++ b/src/Services/Booking/tests/IntegrationTest/Fakes/FakeFlightResponse.cs
@@ -28,4 +28,4 @@ public static class FakeFlightResponse
return flightMock;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/tests/IntegrationTest/Fakes/FakeGetAvailableSeatsResponse.cs b/src/Services/Booking/tests/IntegrationTest/Fakes/FakeGetAvailableSeatsResponse.cs
index 16333cb..219ec20 100644
--- a/src/Services/Booking/tests/IntegrationTest/Fakes/FakeGetAvailableSeatsResponse.cs
+++ b/src/Services/Booking/tests/IntegrationTest/Fakes/FakeGetAvailableSeatsResponse.cs
@@ -33,4 +33,4 @@ public static class FakeGetAvailableSeatsResponse
return result;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/tests/IntegrationTest/Fakes/FakePassengerResponse.cs b/src/Services/Booking/tests/IntegrationTest/Fakes/FakePassengerResponse.cs
index c3b2998..a9e3d42 100644
--- a/src/Services/Booking/tests/IntegrationTest/Fakes/FakePassengerResponse.cs
+++ b/src/Services/Booking/tests/IntegrationTest/Fakes/FakePassengerResponse.cs
@@ -19,4 +19,4 @@ public static class FakePassengerResponse
return result;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Booking/tests/IntegrationTest/Fakes/FakeReserveSeatResponse.cs b/src/Services/Booking/tests/IntegrationTest/Fakes/FakeReserveSeatResponse.cs
index d5e4a1c..0f37d4a 100644
--- a/src/Services/Booking/tests/IntegrationTest/Fakes/FakeReserveSeatResponse.cs
+++ b/src/Services/Booking/tests/IntegrationTest/Fakes/FakeReserveSeatResponse.cs
@@ -11,4 +11,4 @@ public static class FakeReserveSeatResponse
return result;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight.Api/Program.cs b/src/Services/Flight/src/Flight.Api/Program.cs
index f388ff5..a46e4b3 100644
--- a/src/Services/Flight/src/Flight.Api/Program.cs
+++ b/src/Services/Flight/src/Flight.Api/Program.cs
@@ -20,4 +20,4 @@ namespace Flight.Api
public partial class Program
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Dtos/AircraftDto.cs b/src/Services/Flight/src/Flight/Aircrafts/Dtos/AircraftDto.cs
index 89aeed8..6abc49e 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Dtos/AircraftDto.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Dtos/AircraftDto.cs
@@ -1,3 +1,3 @@
namespace Flight.Aircrafts.Dtos;
-public record AircraftDto(long Id, string Name, string Model, int ManufacturingYear);
+public record AircraftDto(long Id, string Name, string Model, int ManufacturingYear);
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/AircraftAlreadyExistException.cs b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/AircraftAlreadyExistException.cs
index 2bd320e..d239dea 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/AircraftAlreadyExistException.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/AircraftAlreadyExistException.cs
@@ -8,4 +8,4 @@ public class AircraftAlreadyExistException : AppException
public AircraftAlreadyExistException() : base("Aircraft already exist!", HttpStatusCode.Conflict)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidAircraftIdException.cs b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidAircraftIdException.cs
index ba061ff..4201ed8 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidAircraftIdException.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidAircraftIdException.cs
@@ -8,4 +8,4 @@ public class InvalidAircraftIdException : DomainException
: base($"AircraftId: '{aircraftId}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidManufacturingYearException.cs b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidManufacturingYearException.cs
index 8313ca8..ecefa62 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidManufacturingYearException.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidManufacturingYearException.cs
@@ -7,4 +7,4 @@ public class InvalidManufacturingYearException : DomainException
public InvalidManufacturingYearException() : base("ManufacturingYear must be greater than 1900")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidModelException.cs b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidModelException.cs
index 96da762..505bc49 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidModelException.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidModelException.cs
@@ -7,4 +7,4 @@ public class InvalidModelException : DomainException
public InvalidModelException() : base("Model cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidNameException.cs b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidNameException.cs
index 599dcb9..8b1397b 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidNameException.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Exceptions/InvalidNameException.cs
@@ -7,4 +7,4 @@ public class InvalidNameException : DomainException
public InvalidNameException() : base("Name cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Features/AircraftMappings.cs b/src/Services/Flight/src/Flight/Aircrafts/Features/AircraftMappings.cs
index 81be420..4200ac2 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Features/AircraftMappings.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Features/AircraftMappings.cs
@@ -22,4 +22,4 @@ public class AircraftMappings : IRegister
config.NewConfig()
.ConstructUsing(x => new CreatingAircraft.V1.CreateAircraft(x.Name, x.Model, x.ManufacturingYear));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Features/CreatingAircraft/V1/CreateAircraft.cs b/src/Services/Flight/src/Flight/Aircrafts/Features/CreatingAircraft/V1/CreateAircraft.cs
index ff9b266..2a621be 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Features/CreatingAircraft/V1/CreateAircraft.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Features/CreatingAircraft/V1/CreateAircraft.cs
@@ -105,4 +105,4 @@ internal class CreateAircraftHandler : IRequestHandler
return Unit.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Models/Aircraft.cs b/src/Services/Flight/src/Flight/Aircrafts/Models/Aircraft.cs
index ab71aeb..bb48c76 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Models/Aircraft.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Models/Aircraft.cs
@@ -32,4 +32,4 @@ public record Aircraft : Aggregate
return aircraft;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/Models/AircraftReadModel.cs b/src/Services/Flight/src/Flight/Aircrafts/Models/AircraftReadModel.cs
index d80052e..8c034f6 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/Models/AircraftReadModel.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/Models/AircraftReadModel.cs
@@ -10,4 +10,4 @@ public class AircraftReadModel
public required string Model { get; init; }
public required int ManufacturingYear { get; init; }
public required bool IsDeleted { get; init; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/AircraftId.cs b/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/AircraftId.cs
index cc7e241..5112272 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/AircraftId.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/AircraftId.cs
@@ -26,4 +26,4 @@ public record AircraftId
{
return aircraftId.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/ManufacturingYear.cs b/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/ManufacturingYear.cs
index 3ab80a5..ca1595a 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/ManufacturingYear.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/ManufacturingYear.cs
@@ -25,4 +25,4 @@ public record ManufacturingYear
{
return manufacturingYear.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/Model.cs b/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/Model.cs
index eae73f5..cf6d5c9 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/Model.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/Model.cs
@@ -25,4 +25,4 @@ public record Model
{
return model.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/Name.cs b/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/Name.cs
index 63a0fa4..7cd3441 100644
--- a/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/Name.cs
+++ b/src/Services/Flight/src/Flight/Aircrafts/ValueObjects/Name.cs
@@ -25,4 +25,4 @@ public record Name
{
return name.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Dtos/AirportDto.cs b/src/Services/Flight/src/Flight/Airports/Dtos/AirportDto.cs
index 6ff8797..0f54f7a 100644
--- a/src/Services/Flight/src/Flight/Airports/Dtos/AirportDto.cs
+++ b/src/Services/Flight/src/Flight/Airports/Dtos/AirportDto.cs
@@ -1,3 +1,3 @@
namespace Flight.Airports.Dtos;
-public record AirportDto(long Id, string Name, string Address, string Code);
+public record AirportDto(long Id, string Name, string Address, string Code);
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Exceptions/AirportAlreadyExistException.cs b/src/Services/Flight/src/Flight/Airports/Exceptions/AirportAlreadyExistException.cs
index aef8bf8..bafb031 100644
--- a/src/Services/Flight/src/Flight/Airports/Exceptions/AirportAlreadyExistException.cs
+++ b/src/Services/Flight/src/Flight/Airports/Exceptions/AirportAlreadyExistException.cs
@@ -8,4 +8,4 @@ public class AirportAlreadyExistException : AppException
public AirportAlreadyExistException(int? code = default) : base("Airport already exist!", HttpStatusCode.Conflict, code)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidAddressException.cs b/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidAddressException.cs
index 05d115c..96a7b88 100644
--- a/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidAddressException.cs
+++ b/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidAddressException.cs
@@ -7,4 +7,4 @@ public class InvalidAddressException : DomainException
public InvalidAddressException() : base("Address cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidAirportIdException.cs b/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidAirportIdException.cs
index c40c6bc..2d0dd55 100644
--- a/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidAirportIdException.cs
+++ b/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidAirportIdException.cs
@@ -8,4 +8,4 @@ public class InvalidAirportIdException : DomainException
: base($"airportId: '{airportId}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidCodeException.cs b/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidCodeException.cs
index f78555b..7475a9d 100644
--- a/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidCodeException.cs
+++ b/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidCodeException.cs
@@ -7,4 +7,4 @@ public class InvalidCodeException : DomainException
public InvalidCodeException() : base("Code cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidNameException.cs b/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidNameException.cs
index a6b3355..6b848aa 100644
--- a/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidNameException.cs
+++ b/src/Services/Flight/src/Flight/Airports/Exceptions/InvalidNameException.cs
@@ -7,4 +7,4 @@ public class InvalidNameException : DomainException
public InvalidNameException() : base("Name cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Features/AirportMappings.cs b/src/Services/Flight/src/Flight/Airports/Features/AirportMappings.cs
index 5c7b7cd..d11f39e 100644
--- a/src/Services/Flight/src/Flight/Airports/Features/AirportMappings.cs
+++ b/src/Services/Flight/src/Flight/Airports/Features/AirportMappings.cs
@@ -20,4 +20,4 @@ public class AirportMappings : IRegister
config.NewConfig()
.ConstructUsing(x => new CreateAirport(x.Name, x.Address, x.Code));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Features/CreatingAirport/V1/CreateAirport.cs b/src/Services/Flight/src/Flight/Airports/Features/CreatingAirport/V1/CreateAirport.cs
index 580f9c7..357be56 100644
--- a/src/Services/Flight/src/Flight/Airports/Features/CreatingAirport/V1/CreateAirport.cs
+++ b/src/Services/Flight/src/Flight/Airports/Features/CreatingAirport/V1/CreateAirport.cs
@@ -102,4 +102,4 @@ internal class CreateAirportHandler : IRequestHandler
return Unit.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Models/Airport.cs b/src/Services/Flight/src/Flight/Airports/Models/Airport.cs
index efe8120..51e8be7 100644
--- a/src/Services/Flight/src/Flight/Airports/Models/Airport.cs
+++ b/src/Services/Flight/src/Flight/Airports/Models/Airport.cs
@@ -32,4 +32,4 @@ public record Airport : Aggregate
return airport;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/Models/AirportReadModel.cs b/src/Services/Flight/src/Flight/Airports/Models/AirportReadModel.cs
index 14d5a32..69fc762 100644
--- a/src/Services/Flight/src/Flight/Airports/Models/AirportReadModel.cs
+++ b/src/Services/Flight/src/Flight/Airports/Models/AirportReadModel.cs
@@ -10,4 +10,4 @@ public class AirportReadModel
public string Address { get; init; }
public required string Code { get; init; }
public required bool IsDeleted { get; init; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/ValueObjects/Address.cs b/src/Services/Flight/src/Flight/Airports/ValueObjects/Address.cs
index 04bbc7c..810acb8 100644
--- a/src/Services/Flight/src/Flight/Airports/ValueObjects/Address.cs
+++ b/src/Services/Flight/src/Flight/Airports/ValueObjects/Address.cs
@@ -25,4 +25,4 @@ public class Address
{
return address.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/ValueObjects/AirportId.cs b/src/Services/Flight/src/Flight/Airports/ValueObjects/AirportId.cs
index d1fd8ae..5ffaea2 100644
--- a/src/Services/Flight/src/Flight/Airports/ValueObjects/AirportId.cs
+++ b/src/Services/Flight/src/Flight/Airports/ValueObjects/AirportId.cs
@@ -26,4 +26,4 @@ public record AirportId
{
return airportId.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/ValueObjects/Code.cs b/src/Services/Flight/src/Flight/Airports/ValueObjects/Code.cs
index f53c297..f8aec06 100644
--- a/src/Services/Flight/src/Flight/Airports/ValueObjects/Code.cs
+++ b/src/Services/Flight/src/Flight/Airports/ValueObjects/Code.cs
@@ -25,4 +25,4 @@ public record Code
{
return code.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Airports/ValueObjects/Name.cs b/src/Services/Flight/src/Flight/Airports/ValueObjects/Name.cs
index c66e500..153f167 100644
--- a/src/Services/Flight/src/Flight/Airports/ValueObjects/Name.cs
+++ b/src/Services/Flight/src/Flight/Airports/ValueObjects/Name.cs
@@ -25,4 +25,4 @@ public record Name
{
return name.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/AssemblyInfo.cs b/src/Services/Flight/src/Flight/AssemblyInfo.cs
index 60fedfd..b0f8704 100644
--- a/src/Services/Flight/src/Flight/AssemblyInfo.cs
+++ b/src/Services/Flight/src/Flight/AssemblyInfo.cs
@@ -2,5 +2,4 @@ using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Unit.Test")]
[assembly: InternalsVisibleTo("Integration.Test")]
-[assembly: InternalsVisibleTo("EndToEnd.Test")]
-
+[assembly: InternalsVisibleTo("EndToEnd.Test")]
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/Configurations/AircraftConfiguration.cs b/src/Services/Flight/src/Flight/Data/Configurations/AircraftConfiguration.cs
index cb0adfa..4ba166d 100644
--- a/src/Services/Flight/src/Flight/Data/Configurations/AircraftConfiguration.cs
+++ b/src/Services/Flight/src/Flight/Data/Configurations/AircraftConfiguration.cs
@@ -53,4 +53,4 @@ public class AircraftConfiguration : IEntityTypeConfiguration
}
);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/Configurations/AirportConfiguration.cs b/src/Services/Flight/src/Flight/Data/Configurations/AirportConfiguration.cs
index 6570a2d..d38f6fb 100644
--- a/src/Services/Flight/src/Flight/Data/Configurations/AirportConfiguration.cs
+++ b/src/Services/Flight/src/Flight/Data/Configurations/AirportConfiguration.cs
@@ -54,4 +54,4 @@ public class AirportConfiguration : IEntityTypeConfiguration
}
);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/Configurations/FlightConfiguration.cs b/src/Services/Flight/src/Flight/Data/Configurations/FlightConfiguration.cs
index 18e75fe..256aec8 100644
--- a/src/Services/Flight/src/Flight/Data/Configurations/FlightConfiguration.cs
+++ b/src/Services/Flight/src/Flight/Data/Configurations/FlightConfiguration.cs
@@ -110,4 +110,4 @@ public class FlightConfiguration : IEntityTypeConfiguration
x => x.ToString(),
x => (Flight.Seats.Enums.SeatType)Enum.Parse(typeof(Flight.Seats.Enums.SeatType), x));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/DesignTimeDbContextFactory.cs b/src/Services/Flight/src/Flight/Data/DesignTimeDbContextFactory.cs
index b9a7a6c..df6c009 100644
--- a/src/Services/Flight/src/Flight/Data/DesignTimeDbContextFactory.cs
+++ b/src/Services/Flight/src/Flight/Data/DesignTimeDbContextFactory.cs
@@ -14,4 +14,4 @@ namespace Flight.Data
return new FlightDbContext(builder.Options);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/FlightDbContext.cs b/src/Services/Flight/src/Flight/Data/FlightDbContext.cs
index 8f9f77c..ac625fd 100644
--- a/src/Services/Flight/src/Flight/Data/FlightDbContext.cs
+++ b/src/Services/Flight/src/Flight/Data/FlightDbContext.cs
@@ -29,4 +29,4 @@ public sealed class FlightDbContext : AppDbContextBase
builder.FilterSoftDeletedProperties();
builder.ToSnakeCaseTables();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/FlightReadDbContext.cs b/src/Services/Flight/src/Flight/Data/FlightReadDbContext.cs
index 0c63e27..0e15fe0 100644
--- a/src/Services/Flight/src/Flight/Data/FlightReadDbContext.cs
+++ b/src/Services/Flight/src/Flight/Data/FlightReadDbContext.cs
@@ -24,4 +24,4 @@ public class FlightReadDbContext : MongoDbContext
public IMongoCollection Aircraft { get; }
public IMongoCollection Airport { get; }
public IMongoCollection Seat { get; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/Migrations/20230611230948_initial.cs b/src/Services/Flight/src/Flight/Data/Migrations/20230611230948_initial.cs
index 630f49f..5f13e14 100644
--- a/src/Services/Flight/src/Flight/Data/Migrations/20230611230948_initial.cs
+++ b/src/Services/Flight/src/Flight/Data/Migrations/20230611230948_initial.cs
@@ -160,4 +160,4 @@ namespace Flight.Data.Migrations
name: "airport");
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/Seed/FlightDataSeeder.cs b/src/Services/Flight/src/Flight/Data/Seed/FlightDataSeeder.cs
index e2d8cd9..a97e98c 100644
--- a/src/Services/Flight/src/Flight/Data/Seed/FlightDataSeeder.cs
+++ b/src/Services/Flight/src/Flight/Data/Seed/FlightDataSeeder.cs
@@ -85,4 +85,4 @@ public class FlightDataSeeder(
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Data/Seed/InitialData.cs b/src/Services/Flight/src/Flight/Data/Seed/InitialData.cs
index 695251e..29cb8f3 100644
--- a/src/Services/Flight/src/Flight/Data/Seed/InitialData.cs
+++ b/src/Services/Flight/src/Flight/Data/Seed/InitialData.cs
@@ -58,4 +58,4 @@ public static class InitialData
Seat.Create(SeatId.Of(NewId.NextGuid()), SeatNumber.Of("12F"), global::Flight.Seats.Enums.SeatType.Aisle, global::Flight.Seats.Enums.SeatClass.Economy, FlightId.Of((Guid) Flights.First().Id))
};
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Extensions/Infrastructure/InfrastructureExtensions.cs b/src/Services/Flight/src/Flight/Extensions/Infrastructure/InfrastructureExtensions.cs
index 2a40d92..99c83fa 100644
--- a/src/Services/Flight/src/Flight/Extensions/Infrastructure/InfrastructureExtensions.cs
+++ b/src/Services/Flight/src/Flight/Extensions/Infrastructure/InfrastructureExtensions.cs
@@ -117,4 +117,4 @@ public static class InfrastructureExtensions
return app;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Extensions/Infrastructure/MediatRExtensions.cs b/src/Services/Flight/src/Flight/Extensions/Infrastructure/MediatRExtensions.cs
index b0672b6..187d91c 100644
--- a/src/Services/Flight/src/Flight/Extensions/Infrastructure/MediatRExtensions.cs
+++ b/src/Services/Flight/src/Flight/Extensions/Infrastructure/MediatRExtensions.cs
@@ -20,4 +20,4 @@ public static class MediatRExtensions
return services;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/FlightEventMapper.cs b/src/Services/Flight/src/Flight/FlightEventMapper.cs
index 06249e0..d33995b 100644
--- a/src/Services/Flight/src/Flight/FlightEventMapper.cs
+++ b/src/Services/Flight/src/Flight/FlightEventMapper.cs
@@ -48,4 +48,4 @@ public sealed class FlightEventMapper : IEventMapper
_ => null
};
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/FlightRoot.cs b/src/Services/Flight/src/Flight/FlightRoot.cs
index 5fe2291..f689868 100644
--- a/src/Services/Flight/src/Flight/FlightRoot.cs
+++ b/src/Services/Flight/src/Flight/FlightRoot.cs
@@ -3,4 +3,4 @@ namespace Flight;
public class FlightRoot
{
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Dtos/FlightDto.cs b/src/Services/Flight/src/Flight/Flights/Dtos/FlightDto.cs
index 1da222e..be5c750 100644
--- a/src/Services/Flight/src/Flight/Flights/Dtos/FlightDto.cs
+++ b/src/Services/Flight/src/Flight/Flights/Dtos/FlightDto.cs
@@ -3,4 +3,4 @@ using System;
namespace Flight.Flights.Dtos;
public record FlightDto(Guid Id, string FlightNumber, Guid AircraftId, Guid DepartureAirportId,
DateTime DepartureDate, DateTime ArriveDate, Guid ArriveAirportId, decimal DurationMinutes, DateTime FlightDate,
- Enums.FlightStatus Status, decimal Price);
+ Enums.FlightStatus Status, decimal Price);
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Enums/FlightStatus.cs b/src/Services/Flight/src/Flight/Flights/Enums/FlightStatus.cs
index 14de1d3..eb82a62 100644
--- a/src/Services/Flight/src/Flight/Flights/Enums/FlightStatus.cs
+++ b/src/Services/Flight/src/Flight/Flights/Enums/FlightStatus.cs
@@ -7,4 +7,4 @@ public enum FlightStatus
Delay = 2,
Canceled = 3,
Completed = 4
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/FlightAlreadyExistException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/FlightAlreadyExistException.cs
index 339a00d..25b377e 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/FlightAlreadyExistException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/FlightAlreadyExistException.cs
@@ -8,4 +8,4 @@ public class FlightAlreadyExistException : AppException
public FlightAlreadyExistException(int? code = default) : base("Flight already exist!", HttpStatusCode.Conflict, code)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/FlightNotFountException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/FlightNotFountException.cs
index 60a53e8..0159f60 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/FlightNotFountException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/FlightNotFountException.cs
@@ -8,4 +8,4 @@ public class FlightNotFountException : AppException
public FlightNotFountException() : base("Flight not found!", HttpStatusCode.NotFound)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidArriveDateException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidArriveDateException.cs
index ae8163f..c6ac6c7 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidArriveDateException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidArriveDateException.cs
@@ -8,4 +8,4 @@ public class InvalidArriveDateException : DomainException
: base($"Arrive Date: '{arriveDate}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidDepartureDateException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidDepartureDateException.cs
index 913de9d..9b62dc6 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidDepartureDateException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidDepartureDateException.cs
@@ -8,4 +8,4 @@ public class InvalidDepartureDateException : DomainException
: base($"Departure Date: '{departureDate}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidDurationException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidDurationException.cs
index de172e0..9642850 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidDurationException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidDurationException.cs
@@ -8,4 +8,4 @@ public class InvalidDurationException : DomainException
: base("Duration cannot be negative.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightDateException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightDateException.cs
index d40f476..8e4ade3 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightDateException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightDateException.cs
@@ -8,4 +8,4 @@ public class InvalidFlightDateException : DomainException
: base($"Flight Date: '{flightDate}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightIdException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightIdException.cs
index 7ef355d..a5fcd2e 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightIdException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightIdException.cs
@@ -8,4 +8,4 @@ public class InvalidFlightIdException : DomainException
: base($"flightId: '{flightId}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightNumberException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightNumberException.cs
index fdaf34c..92cdba7 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightNumberException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidFlightNumberException.cs
@@ -8,4 +8,4 @@ public class InvalidFlightNumberException : DomainException
: base($"Flight Number: '{flightNumber}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidPriceException.cs b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidPriceException.cs
index 3a17496..157d7ca 100644
--- a/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidPriceException.cs
+++ b/src/Services/Flight/src/Flight/Flights/Exceptions/InvalidPriceException.cs
@@ -8,4 +8,4 @@ public class InvalidPriceException : DomainException
: base($"Price Cannot be negative.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Features/CreatingFlight/V1/CreateFlight.cs b/src/Services/Flight/src/Flight/Flights/Features/CreatingFlight/V1/CreateFlight.cs
index e0a3d99..02ddf96 100644
--- a/src/Services/Flight/src/Flight/Flights/Features/CreatingFlight/V1/CreateFlight.cs
+++ b/src/Services/Flight/src/Flight/Flights/Features/CreatingFlight/V1/CreateFlight.cs
@@ -124,4 +124,4 @@ internal class CreateFlightHandler : ICommandHandler
return Unit.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Features/DeletingFlight/V1/DeleteFlight.cs b/src/Services/Flight/src/Flight/Flights/Features/DeletingFlight/V1/DeleteFlight.cs
index 3f82d40..609bd11 100644
--- a/src/Services/Flight/src/Flight/Flights/Features/DeletingFlight/V1/DeleteFlight.cs
+++ b/src/Services/Flight/src/Flight/Flights/Features/DeletingFlight/V1/DeleteFlight.cs
@@ -107,4 +107,4 @@ internal class DeleteFlightHandler : ICommandHandler
AddDomainEvent(@event);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/Models/FlightReadModel.cs b/src/Services/Flight/src/Flight/Flights/Models/FlightReadModel.cs
index 74eec28..2f93963 100644
--- a/src/Services/Flight/src/Flight/Flights/Models/FlightReadModel.cs
+++ b/src/Services/Flight/src/Flight/Flights/Models/FlightReadModel.cs
@@ -17,4 +17,4 @@ public class FlightReadModel
public required Enums.FlightStatus Status { get; init; }
public required decimal Price { get; init; }
public required bool IsDeleted { get; init; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/ValueObjects/ArriveDate.cs b/src/Services/Flight/src/Flight/Flights/ValueObjects/ArriveDate.cs
index 72996c5..863579c 100644
--- a/src/Services/Flight/src/Flight/Flights/ValueObjects/ArriveDate.cs
+++ b/src/Services/Flight/src/Flight/Flights/ValueObjects/ArriveDate.cs
@@ -25,4 +25,4 @@ public record ArriveDate
{
return arriveDate.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/ValueObjects/DepartureDate.cs b/src/Services/Flight/src/Flight/Flights/ValueObjects/DepartureDate.cs
index a24e137..89eb003 100644
--- a/src/Services/Flight/src/Flight/Flights/ValueObjects/DepartureDate.cs
+++ b/src/Services/Flight/src/Flight/Flights/ValueObjects/DepartureDate.cs
@@ -26,4 +26,4 @@ public record DepartureDate
{
return departureDate.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/ValueObjects/DurationMinutes.cs b/src/Services/Flight/src/Flight/Flights/ValueObjects/DurationMinutes.cs
index 292b345..2e2cbac 100644
--- a/src/Services/Flight/src/Flight/Flights/ValueObjects/DurationMinutes.cs
+++ b/src/Services/Flight/src/Flight/Flights/ValueObjects/DurationMinutes.cs
@@ -30,4 +30,4 @@ public class DurationMinutes
{
return new DurationMinutes(value);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightDate.cs b/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightDate.cs
index 0da2949..fd56660 100644
--- a/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightDate.cs
+++ b/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightDate.cs
@@ -25,4 +25,4 @@ public record FlightDate
{
return flightDate.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightId.cs b/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightId.cs
index c3e5a46..e12923b 100644
--- a/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightId.cs
+++ b/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightId.cs
@@ -26,4 +26,4 @@ public record FlightId
{
return flightId.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightNumber.cs b/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightNumber.cs
index b709d7d..1da33a7 100644
--- a/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightNumber.cs
+++ b/src/Services/Flight/src/Flight/Flights/ValueObjects/FlightNumber.cs
@@ -25,4 +25,4 @@ public record FlightNumber
{
return flightNumber.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Flights/ValueObjects/Price.cs b/src/Services/Flight/src/Flight/Flights/ValueObjects/Price.cs
index d2fa93e..e2efcad 100644
--- a/src/Services/Flight/src/Flight/Flights/ValueObjects/Price.cs
+++ b/src/Services/Flight/src/Flight/Flights/ValueObjects/Price.cs
@@ -25,4 +25,4 @@ public class Price
{
return price.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/GrpcServer/Services/FlightGrpcServices.cs b/src/Services/Flight/src/Flight/GrpcServer/Services/FlightGrpcServices.cs
index f55dc1e..fb8c769 100644
--- a/src/Services/Flight/src/Flight/GrpcServer/Services/FlightGrpcServices.cs
+++ b/src/Services/Flight/src/Flight/GrpcServer/Services/FlightGrpcServices.cs
@@ -52,4 +52,4 @@ public class FlightGrpcServices : FlightGrpcService.FlightGrpcServiceBase
var result = await _mediator.Send(new ReserveSeat(new Guid(request.FlightId), request.SeatNumber));
return result.Adapt();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Dtos/SeatDto.cs b/src/Services/Flight/src/Flight/Seats/Dtos/SeatDto.cs
index 0547616..e35403c 100644
--- a/src/Services/Flight/src/Flight/Seats/Dtos/SeatDto.cs
+++ b/src/Services/Flight/src/Flight/Seats/Dtos/SeatDto.cs
@@ -2,4 +2,4 @@ namespace Flight.Seats.Dtos;
using System;
-public record SeatDto(Guid Id, string SeatNumber, Enums.SeatType Type, Enums.SeatClass Class, Guid FlightId);
+public record SeatDto(Guid Id, string SeatNumber, Enums.SeatType Type, Enums.SeatClass Class, Guid FlightId);
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Enums/SeatClass.cs b/src/Services/Flight/src/Flight/Seats/Enums/SeatClass.cs
index ad49617..1e777cd 100644
--- a/src/Services/Flight/src/Flight/Seats/Enums/SeatClass.cs
+++ b/src/Services/Flight/src/Flight/Seats/Enums/SeatClass.cs
@@ -6,4 +6,4 @@ public enum SeatClass
FirstClass,
Business,
Economy
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Enums/SeatType.cs b/src/Services/Flight/src/Flight/Seats/Enums/SeatType.cs
index 0bd0684..f0b8c38 100644
--- a/src/Services/Flight/src/Flight/Seats/Enums/SeatType.cs
+++ b/src/Services/Flight/src/Flight/Seats/Enums/SeatType.cs
@@ -6,4 +6,4 @@ public enum SeatType
Window,
Middle,
Aisle
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Exceptions/AllSeatsFullException.cs b/src/Services/Flight/src/Flight/Seats/Exceptions/AllSeatsFullException.cs
index 0f1ad8f..7c634e6 100644
--- a/src/Services/Flight/src/Flight/Seats/Exceptions/AllSeatsFullException.cs
+++ b/src/Services/Flight/src/Flight/Seats/Exceptions/AllSeatsFullException.cs
@@ -7,4 +7,4 @@ public class AllSeatsFullException : AppException
public AllSeatsFullException() : base("All seats are full!")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Exceptions/InvalidSeatIdException.cs b/src/Services/Flight/src/Flight/Seats/Exceptions/InvalidSeatIdException.cs
index 57c8dc8..4e889ab 100644
--- a/src/Services/Flight/src/Flight/Seats/Exceptions/InvalidSeatIdException.cs
+++ b/src/Services/Flight/src/Flight/Seats/Exceptions/InvalidSeatIdException.cs
@@ -8,4 +8,4 @@ public class InvalidSeatIdException : DomainException
: base($"seatId: '{seatId}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Exceptions/InvalidSeatNumberException.cs b/src/Services/Flight/src/Flight/Seats/Exceptions/InvalidSeatNumberException.cs
index 7252c8c..bcfff53 100644
--- a/src/Services/Flight/src/Flight/Seats/Exceptions/InvalidSeatNumberException.cs
+++ b/src/Services/Flight/src/Flight/Seats/Exceptions/InvalidSeatNumberException.cs
@@ -7,4 +7,4 @@ public class InvalidSeatNumberException : DomainException
public InvalidSeatNumberException() : base("SeatNumber Cannot be null or negative")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Exceptions/SeatAlreadyExistException.cs b/src/Services/Flight/src/Flight/Seats/Exceptions/SeatAlreadyExistException.cs
index 015044b..5f32968 100644
--- a/src/Services/Flight/src/Flight/Seats/Exceptions/SeatAlreadyExistException.cs
+++ b/src/Services/Flight/src/Flight/Seats/Exceptions/SeatAlreadyExistException.cs
@@ -8,4 +8,4 @@ public class SeatAlreadyExistException : AppException
public SeatAlreadyExistException(int? code = default) : base("Seat already exist!", HttpStatusCode.Conflict, code)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Exceptions/SeatNumberIncorrectException.cs b/src/Services/Flight/src/Flight/Seats/Exceptions/SeatNumberIncorrectException.cs
index 8c15ce6..1e7a23a 100644
--- a/src/Services/Flight/src/Flight/Seats/Exceptions/SeatNumberIncorrectException.cs
+++ b/src/Services/Flight/src/Flight/Seats/Exceptions/SeatNumberIncorrectException.cs
@@ -7,4 +7,4 @@ public class SeatNumberIncorrectException : AppException
public SeatNumberIncorrectException() : base("Seat number is incorrect!")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Features/CreatingSeat/V1/CreateSeat.cs b/src/Services/Flight/src/Flight/Seats/Features/CreatingSeat/V1/CreateSeat.cs
index 1ab80ff..b11b00a 100644
--- a/src/Services/Flight/src/Flight/Seats/Features/CreatingSeat/V1/CreateSeat.cs
+++ b/src/Services/Flight/src/Flight/Seats/Features/CreatingSeat/V1/CreateSeat.cs
@@ -110,4 +110,4 @@ internal class CreateSeatCommandHandler : IRequestHandler
return Unit.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Features/GettingAvailableSeats/V1/GetAvailableSeats.cs b/src/Services/Flight/src/Flight/Seats/Features/GettingAvailableSeats/V1/GetAvailableSeats.cs
index 2470176..6c556a8 100644
--- a/src/Services/Flight/src/Flight/Seats/Features/GettingAvailableSeats/V1/GetAvailableSeats.cs
+++ b/src/Services/Flight/src/Flight/Seats/Features/GettingAvailableSeats/V1/GetAvailableSeats.cs
@@ -93,4 +93,4 @@ internal class GetAvailableSeatsQueryHandler : IRequestHandler
return Unit.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Features/SeatMappings.cs b/src/Services/Flight/src/Flight/Seats/Features/SeatMappings.cs
index 65f24fa..64cf791 100644
--- a/src/Services/Flight/src/Flight/Seats/Features/SeatMappings.cs
+++ b/src/Services/Flight/src/Flight/Seats/Features/SeatMappings.cs
@@ -32,4 +32,4 @@ public class SeatMappings : IRegister
config.NewConfig()
.ConstructUsing(x => new ReserveSeat(x.FlightId, x.SeatNumber));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Models/Seat.cs b/src/Services/Flight/src/Flight/Seats/Models/Seat.cs
index ee817d9..aa8ce60 100644
--- a/src/Services/Flight/src/Flight/Seats/Models/Seat.cs
+++ b/src/Services/Flight/src/Flight/Seats/Models/Seat.cs
@@ -57,4 +57,4 @@ public record Seat : Aggregate
this.AddDomainEvent(@event);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/Models/SeatReadModel.cs b/src/Services/Flight/src/Flight/Seats/Models/SeatReadModel.cs
index 536b62f..646b435 100644
--- a/src/Services/Flight/src/Flight/Seats/Models/SeatReadModel.cs
+++ b/src/Services/Flight/src/Flight/Seats/Models/SeatReadModel.cs
@@ -11,4 +11,4 @@ public class SeatReadModel
public required Enums.SeatClass Class { get; init; }
public required Guid FlightId { get; init; }
public required bool IsDeleted { get; init; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/ValueObjects/SeatId.cs b/src/Services/Flight/src/Flight/Seats/ValueObjects/SeatId.cs
index 4196b6e..f5f406b 100644
--- a/src/Services/Flight/src/Flight/Seats/ValueObjects/SeatId.cs
+++ b/src/Services/Flight/src/Flight/Seats/ValueObjects/SeatId.cs
@@ -26,4 +26,4 @@ public record SeatId
{
return seatId.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/src/Flight/Seats/ValueObjects/SeatNumber.cs b/src/Services/Flight/src/Flight/Seats/ValueObjects/SeatNumber.cs
index e6d4b2e..ec6d733 100644
--- a/src/Services/Flight/src/Flight/Seats/ValueObjects/SeatNumber.cs
+++ b/src/Services/Flight/src/Flight/Seats/ValueObjects/SeatNumber.cs
@@ -25,4 +25,4 @@ public record SeatNumber
{
return seatNumber.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/EndToEndTest/Fakes/FakeCreateFlightCommand.cs b/src/Services/Flight/tests/EndToEndTest/Fakes/FakeCreateFlightCommand.cs
index 83df003..17bc6c6 100644
--- a/src/Services/Flight/tests/EndToEndTest/Fakes/FakeCreateFlightCommand.cs
+++ b/src/Services/Flight/tests/EndToEndTest/Fakes/FakeCreateFlightCommand.cs
@@ -18,4 +18,4 @@ public sealed class FakeCreateFlightCommand : AutoFaker
RuleFor(r => r.Status, _ => FlightStatus.Flying);
RuleFor(r => r.AircraftId, _ => InitialData.Aircrafts.First().Id);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/EndToEndTest/Fakes/FakeCreateFlightMongoCommand.cs b/src/Services/Flight/tests/EndToEndTest/Fakes/FakeCreateFlightMongoCommand.cs
index 603c455..b23acb0 100644
--- a/src/Services/Flight/tests/EndToEndTest/Fakes/FakeCreateFlightMongoCommand.cs
+++ b/src/Services/Flight/tests/EndToEndTest/Fakes/FakeCreateFlightMongoCommand.cs
@@ -18,5 +18,4 @@ public sealed class FakeCreateFlightMongoCommand : AutoFaker
RuleFor(r => r.AircraftId, _ => InitialData.Aircrafts.First().Id);
RuleFor(r => r.IsDeleted, _ => false);
}
-}
-
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/EndToEndTest/Flight/Features/CreateFlightTests.cs b/src/Services/Flight/tests/EndToEndTest/Flight/Features/CreateFlightTests.cs
index c44f367..b2b166c 100644
--- a/src/Services/Flight/tests/EndToEndTest/Flight/Features/CreateFlightTests.cs
+++ b/src/Services/Flight/tests/EndToEndTest/Flight/Features/CreateFlightTests.cs
@@ -30,4 +30,4 @@ public class CreateFlightTests : FlightEndToEndTestBase
// Assert
result.StatusCode.Should().Be(HttpStatusCode.Created);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/EndToEndTest/Flight/Features/GetFlightByIdTests.cs b/src/Services/Flight/tests/EndToEndTest/Flight/Features/GetFlightByIdTests.cs
index 057e03a..5abd819 100644
--- a/src/Services/Flight/tests/EndToEndTest/Flight/Features/GetFlightByIdTests.cs
+++ b/src/Services/Flight/tests/EndToEndTest/Flight/Features/GetFlightByIdTests.cs
@@ -31,4 +31,4 @@ public class GetFlightByIdTests : FlightEndToEndTestBase
// Assert
result.StatusCode.Should().Be(HttpStatusCode.OK);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/EndToEndTest/FlightEndToEndTestBase.cs b/src/Services/Flight/tests/EndToEndTest/FlightEndToEndTestBase.cs
index 35c6400..654ea55 100644
--- a/src/Services/Flight/tests/EndToEndTest/FlightEndToEndTestBase.cs
+++ b/src/Services/Flight/tests/EndToEndTest/FlightEndToEndTestBase.cs
@@ -17,4 +17,4 @@ public class FlightEndToEndTestBase : TestBase>
{
public const string Name = "Flight EndToEnd Test";
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/EndToEndTest/FlightTestDataSeeder.cs b/src/Services/Flight/tests/EndToEndTest/FlightTestDataSeeder.cs
index 862356f..dd4b2dd 100644
--- a/src/Services/Flight/tests/EndToEndTest/FlightTestDataSeeder.cs
+++ b/src/Services/Flight/tests/EndToEndTest/FlightTestDataSeeder.cs
@@ -82,4 +82,4 @@ public class FlightTestDataSeeder(
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/EndToEndTest/Routes/ApiRoutes.cs b/src/Services/Flight/tests/EndToEndTest/Routes/ApiRoutes.cs
index 0517f29..274eed2 100644
--- a/src/Services/Flight/tests/EndToEndTest/Routes/ApiRoutes.cs
+++ b/src/Services/Flight/tests/EndToEndTest/Routes/ApiRoutes.cs
@@ -10,4 +10,4 @@ public static class ApiRoutes
public const string GetFlightById = $"{BaseApiPath}/flight/{Id}";
public const string CreateFlight = $"{BaseApiPath}/flight";
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Aircraft/Features/CreateAircraftTests.cs b/src/Services/Flight/tests/IntegrationTest/Aircraft/Features/CreateAircraftTests.cs
index 7077139..5a57e16 100644
--- a/src/Services/Flight/tests/IntegrationTest/Aircraft/Features/CreateAircraftTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Aircraft/Features/CreateAircraftTests.cs
@@ -30,4 +30,4 @@ public class CreateAircraftTests : FlightIntegrationTestBase
(await Fixture.WaitForPublishing()).Should().Be(true);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Airport/Features/CreateAirportTests.cs b/src/Services/Flight/tests/IntegrationTest/Airport/Features/CreateAirportTests.cs
index fbc913c..80f52f7 100644
--- a/src/Services/Flight/tests/IntegrationTest/Airport/Features/CreateAirportTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Airport/Features/CreateAirportTests.cs
@@ -30,4 +30,4 @@ public class CreateAirportTests : FlightIntegrationTestBase
(await Fixture.WaitForPublishing()).Should().Be(true);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateAircraftCommand.cs b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateAircraftCommand.cs
index 646ced6..23e577e 100644
--- a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateAircraftCommand.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateAircraftCommand.cs
@@ -12,4 +12,4 @@ public class FakeCreateAircraftCommand : AutoFaker
RuleFor(r => r.Id, _ => NewId.NextGuid());
RuleFor(r => r.ManufacturingYear, _ => 2000);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateAirportCommand.cs b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateAirportCommand.cs
index 2cc7ae2..d155665 100644
--- a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateAirportCommand.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateAirportCommand.cs
@@ -11,4 +11,4 @@ public class FakeCreateAirportCommand : AutoFaker
{
RuleFor(r => r.Id, _ => NewId.NextGuid());
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateFlightCommand.cs b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateFlightCommand.cs
index 5e2793e..af08522 100644
--- a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateFlightCommand.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateFlightCommand.cs
@@ -19,4 +19,4 @@ public sealed class FakeCreateFlightCommand : AutoFaker
RuleFor(r => r.Status, _ => FlightStatus.Flying);
RuleFor(r => r.AircraftId, _ => InitialData.Aircrafts.First().Id);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateFlightMongoCommand.cs b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateFlightMongoCommand.cs
index 921b810..fc69065 100644
--- a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateFlightMongoCommand.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateFlightMongoCommand.cs
@@ -19,5 +19,4 @@ public sealed class FakeCreateFlightMongoCommand : AutoFaker
RuleFor(r => r.AircraftId, _ => InitialData.Aircrafts.First().Id);
RuleFor(r => r.IsDeleted, _ => false);
}
-}
-
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateSeatCommand.cs b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateSeatCommand.cs
index 1f68428..f2b72d9 100644
--- a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateSeatCommand.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateSeatCommand.cs
@@ -16,4 +16,4 @@ public class FakeCreateSeatCommand : AutoFaker
RuleFor(r => r.Class, _ => SeatClass.Economy);
RuleFor(r => r.Type, _ => SeatType.Middle);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateSeatMongoCommand.cs b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateSeatMongoCommand.cs
index 441d090..65ecd75 100644
--- a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateSeatMongoCommand.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeCreateSeatMongoCommand.cs
@@ -16,4 +16,4 @@ public class FakeCreateSeatMongoCommand : AutoFaker
RuleFor(r => r.Type, _ => SeatType.Middle);
RuleFor(r => r.IsDeleted, _ => false);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeUpdateFlightCommand.cs b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeUpdateFlightCommand.cs
index e6ca140..42a95aa 100644
--- a/src/Services/Flight/tests/IntegrationTest/Fakes/FakeUpdateFlightCommand.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Fakes/FakeUpdateFlightCommand.cs
@@ -17,4 +17,4 @@ public class FakeUpdateFlightCommand : AutoFaker
RuleFor(r => r.Status, _ => flight.Status);
RuleFor(r => r.ArriveDate, _ => flight.ArriveDate);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Flight/Features/CreateFlightTests.cs b/src/Services/Flight/tests/IntegrationTest/Flight/Features/CreateFlightTests.cs
index 87dacc8..ab7dd88 100644
--- a/src/Services/Flight/tests/IntegrationTest/Flight/Features/CreateFlightTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Flight/Features/CreateFlightTests.cs
@@ -30,4 +30,4 @@ public class CreateFlightTests : FlightIntegrationTestBase
(await Fixture.WaitForPublishing()).Should().Be(true);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Flight/Features/DeleteFlightTests.cs b/src/Services/Flight/tests/IntegrationTest/Flight/Features/DeleteFlightTests.cs
index 6eb6959..7fdd978 100644
--- a/src/Services/Flight/tests/IntegrationTest/Flight/Features/DeleteFlightTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Flight/Features/DeleteFlightTests.cs
@@ -42,4 +42,4 @@ public class DeleteFlightTests : FlightIntegrationTestBase
(await Fixture.WaitForPublishing()).Should().Be(true);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Flight/Features/GetAvailableFlightsTests.cs b/src/Services/Flight/tests/IntegrationTest/Flight/Features/GetAvailableFlightsTests.cs
index 5fc24da..2c15fee 100644
--- a/src/Services/Flight/tests/IntegrationTest/Flight/Features/GetAvailableFlightsTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Flight/Features/GetAvailableFlightsTests.cs
@@ -36,4 +36,4 @@ public class GetAvailableFlightsTests : FlightIntegrationTestBase
response?.Should().NotBeNull();
response?.Count.Should().BeGreaterOrEqualTo(2);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Flight/Features/GetFlightByIdTests.cs b/src/Services/Flight/tests/IntegrationTest/Flight/Features/GetFlightByIdTests.cs
index 0df0609..e7585a7 100644
--- a/src/Services/Flight/tests/IntegrationTest/Flight/Features/GetFlightByIdTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Flight/Features/GetFlightByIdTests.cs
@@ -53,4 +53,4 @@ public class GetFlightByIdTests : FlightIntegrationTestBase
response?.Should().NotBeNull();
response?.FlightDto.Id.Should().Be(command.Id.ToString());
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Flight/Features/UpdateFlightTests.cs b/src/Services/Flight/tests/IntegrationTest/Flight/Features/UpdateFlightTests.cs
index 21e42e3..3872f14 100644
--- a/src/Services/Flight/tests/IntegrationTest/Flight/Features/UpdateFlightTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Flight/Features/UpdateFlightTests.cs
@@ -37,4 +37,4 @@ public class UpdateFlightTests : FlightIntegrationTestBase
(await Fixture.WaitForPublishing()).Should().Be(true);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/FlightIntegrationTestBase.cs b/src/Services/Flight/tests/IntegrationTest/FlightIntegrationTestBase.cs
index f6bc1c0..1516c79 100644
--- a/src/Services/Flight/tests/IntegrationTest/FlightIntegrationTestBase.cs
+++ b/src/Services/Flight/tests/IntegrationTest/FlightIntegrationTestBase.cs
@@ -17,4 +17,4 @@ public class FlightIntegrationTestBase : TestBase>
{
public const string Name = "Flight Integration Test";
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/FlightTestDataSeeder.cs b/src/Services/Flight/tests/IntegrationTest/FlightTestDataSeeder.cs
index 3121315..6c3c7c3 100644
--- a/src/Services/Flight/tests/IntegrationTest/FlightTestDataSeeder.cs
+++ b/src/Services/Flight/tests/IntegrationTest/FlightTestDataSeeder.cs
@@ -82,4 +82,4 @@ public class FlightTestDataSeeder(
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Seat/Features/GetAvailableSeatsTests.cs b/src/Services/Flight/tests/IntegrationTest/Seat/Features/GetAvailableSeatsTests.cs
index c1d80dc..2ebe143 100644
--- a/src/Services/Flight/tests/IntegrationTest/Seat/Features/GetAvailableSeatsTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Seat/Features/GetAvailableSeatsTests.cs
@@ -40,4 +40,4 @@ public class GetAvailableSeatsTests : FlightIntegrationTestBase
response?.Should().NotBeNull();
response?.SeatDtos?.Count.Should().BeGreaterOrEqualTo(1);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/IntegrationTest/Seat/Features/ReserveSeatTests.cs b/src/Services/Flight/tests/IntegrationTest/Seat/Features/ReserveSeatTests.cs
index 9b9a8fa..9d658bc 100644
--- a/src/Services/Flight/tests/IntegrationTest/Seat/Features/ReserveSeatTests.cs
+++ b/src/Services/Flight/tests/IntegrationTest/Seat/Features/ReserveSeatTests.cs
@@ -40,4 +40,4 @@ public class ReserveSeatTests : FlightIntegrationTestBase
response?.Should().NotBeNull();
response?.Id.Should().Be(seatCommand?.Id.ToString());
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Aircraft/Features/CreateAircraftTests/CreateAircraftCommandHandlerTests.cs b/src/Services/Flight/tests/UnitTest/Aircraft/Features/CreateAircraftTests/CreateAircraftCommandHandlerTests.cs
index 10c9f3f..ccfaa6d 100644
--- a/src/Services/Flight/tests/UnitTest/Aircraft/Features/CreateAircraftTests/CreateAircraftCommandHandlerTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Aircraft/Features/CreateAircraftTests/CreateAircraftCommandHandlerTests.cs
@@ -50,4 +50,4 @@ public class CreateAircraftCommandHandlerTests
// Assert
await act.Should().ThrowAsync();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Aircraft/Features/CreateAircraftTests/CreateAircraftCommandValidatorTests.cs b/src/Services/Flight/tests/UnitTest/Aircraft/Features/CreateAircraftTests/CreateAircraftCommandValidatorTests.cs
index c68142a..327f8d0 100644
--- a/src/Services/Flight/tests/UnitTest/Aircraft/Features/CreateAircraftTests/CreateAircraftCommandValidatorTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Aircraft/Features/CreateAircraftTests/CreateAircraftCommandValidatorTests.cs
@@ -27,4 +27,4 @@ public class CreateAircraftCommandValidatorTests
result.ShouldHaveValidationErrorFor(x => x.ManufacturingYear);
result.ShouldHaveValidationErrorFor(x => x.Name);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Airport/Features/CreateAirportTests/CreateAirportCommandHandlerTests.cs b/src/Services/Flight/tests/UnitTest/Airport/Features/CreateAirportTests/CreateAirportCommandHandlerTests.cs
index d6a4137..d69822b 100644
--- a/src/Services/Flight/tests/UnitTest/Airport/Features/CreateAirportTests/CreateAirportCommandHandlerTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Airport/Features/CreateAirportTests/CreateAirportCommandHandlerTests.cs
@@ -52,4 +52,4 @@ public class CreateAirportCommandHandlerTests
// Assert
await act.Should().ThrowAsync();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Airport/Features/CreateAirportTests/CreateAirportCommandValidatorTests.cs b/src/Services/Flight/tests/UnitTest/Airport/Features/CreateAirportTests/CreateAirportCommandValidatorTests.cs
index 9fa877e..e27626f 100644
--- a/src/Services/Flight/tests/UnitTest/Airport/Features/CreateAirportTests/CreateAirportCommandValidatorTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Airport/Features/CreateAirportTests/CreateAirportCommandValidatorTests.cs
@@ -27,4 +27,4 @@ public class CreateAirportCommandValidatorTests
result.ShouldHaveValidationErrorFor(x => x.Address);
result.ShouldHaveValidationErrorFor(x => x.Name);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Common/DbContextFactory.cs b/src/Services/Flight/tests/UnitTest/Common/DbContextFactory.cs
index f11753a..ad87a5a 100644
--- a/src/Services/Flight/tests/UnitTest/Common/DbContextFactory.cs
+++ b/src/Services/Flight/tests/UnitTest/Common/DbContextFactory.cs
@@ -93,4 +93,4 @@ public static class DbContextFactory
context.Database.EnsureDeleted();
context.Dispose();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Common/MapperFactory.cs b/src/Services/Flight/tests/UnitTest/Common/MapperFactory.cs
index b848805..04bac3f 100644
--- a/src/Services/Flight/tests/UnitTest/Common/MapperFactory.cs
+++ b/src/Services/Flight/tests/UnitTest/Common/MapperFactory.cs
@@ -15,4 +15,4 @@ namespace Unit.Test.Common
return instance;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Common/UnitTestFixture.cs b/src/Services/Flight/tests/UnitTest/Common/UnitTestFixture.cs
index 102d755..1c66c1c 100644
--- a/src/Services/Flight/tests/UnitTest/Common/UnitTestFixture.cs
+++ b/src/Services/Flight/tests/UnitTest/Common/UnitTestFixture.cs
@@ -23,4 +23,4 @@ namespace Unit.Test.Common
DbContextFactory.Destroy(DbContext);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateAircraftCommand.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateAircraftCommand.cs
index cafba2c..d7011da 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateAircraftCommand.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateAircraftCommand.cs
@@ -12,4 +12,4 @@ public class FakeCreateAircraftCommand : AutoFaker
RuleFor(r => r.Id, _ => NewId.NextGuid());
RuleFor(r => r.ManufacturingYear, _ => 2000);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateAirportCommand.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateAirportCommand.cs
index f1fd415..9ba846c 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateAirportCommand.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateAirportCommand.cs
@@ -11,4 +11,4 @@ public class FakeCreateAirportCommand : AutoFaker
{
RuleFor(r => r.Id, _ => NewId.NextGuid());
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateFlightCommand.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateFlightCommand.cs
index 1362b10..a6b898b 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateFlightCommand.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateFlightCommand.cs
@@ -17,4 +17,4 @@ public sealed class FakeCreateFlightCommand : AutoFaker
RuleFor(r => r.ArriveAirportId, _ => InitialData.Airports.Last().Id);
RuleFor(r => r.AircraftId, _ => InitialData.Aircrafts.First().Id);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateSeatCommand.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateSeatCommand.cs
index 7810d1b..2f66c19 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateSeatCommand.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeCreateSeatCommand.cs
@@ -18,4 +18,4 @@ public class FakeCreateSeatCommand : AutoFaker
RuleFor(r => r.Type, _ => SeatType.Window);
RuleFor(r => r.Class, _ => SeatClass.Economy);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeFlightCreate.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeFlightCreate.cs
index d9c5e70..0ecc65a 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeFlightCreate.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeFlightCreate.cs
@@ -15,4 +15,4 @@ public static class FakeFlightCreate
ArriveDate.Of(command.ArriveDate), AirportId.Of(command.ArriveAirportId), DurationMinutes.Of(command.DurationMinutes),
FlightDate.Of(command.FlightDate), command.Status, Price.Of(command.Price));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeFlightUpdate.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeFlightUpdate.cs
index 0996583..0ca308a 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeFlightUpdate.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeFlightUpdate.cs
@@ -10,4 +10,4 @@ public static class FakeFlightUpdate
flight.Update(flight.Id, flight.FlightNumber, flight.AircraftId, flight.DepartureAirportId, flight.DepartureDate,
flight.ArriveDate, flight.ArriveAirportId, flight.DurationMinutes, flight.FlightDate, flight.Status, Price.Of(1000), flight.IsDeleted);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateAircraftCommand.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateAircraftCommand.cs
index d233486..4665de9 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateAircraftCommand.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateAircraftCommand.cs
@@ -12,4 +12,4 @@ public class FakeValidateCreateAircraftCommand : AutoFaker
RuleFor(r => r.Name, _ => null);
RuleFor(r => r.Model, _ => null);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateAirportCommand.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateAirportCommand.cs
index 508e85c..c5d1890 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateAirportCommand.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateAirportCommand.cs
@@ -12,4 +12,4 @@ public class FakeValidateCreateAirportCommand : AutoFaker
RuleFor(r => r.Name, _ => null);
RuleFor(r => r.Address, _ => null);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateFlightCommand.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateFlightCommand.cs
index 007d7fd..d615535 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateFlightCommand.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateFlightCommand.cs
@@ -18,4 +18,4 @@ public class FakeValidateCreateFlightCommand : AutoFaker
RuleFor(r => r.DurationMinutes, _ => 0);
RuleFor(r => r.FlightDate, _ => new DateTime());
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateSeatCommand.cs b/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateSeatCommand.cs
index f7985a9..61389ec 100644
--- a/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateSeatCommand.cs
+++ b/src/Services/Flight/tests/UnitTest/Fakes/FakeValidateCreateSeatCommand.cs
@@ -14,4 +14,4 @@ public class FakeValidateCreateSeatCommand : AutoFaker
RuleFor(r => r.FlightId, _ => Guid.Empty);
RuleFor(r => r.Class, _ => (SeatClass)10);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Flight/Features/Domains/CreateFlightTests.cs b/src/Services/Flight/tests/UnitTest/Flight/Features/Domains/CreateFlightTests.cs
index bd4b3f6..c6f4330 100644
--- a/src/Services/Flight/tests/UnitTest/Flight/Features/Domains/CreateFlightTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Flight/Features/Domains/CreateFlightTests.cs
@@ -31,4 +31,4 @@ namespace Unit.Test.Flight.Features.Domains
fakeFlight.DomainEvents.FirstOrDefault().Should().BeOfType(typeof(FlightCreatedDomainEvent));
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Flight/Features/Domains/UpdateFlightTests.cs b/src/Services/Flight/tests/UnitTest/Flight/Features/Domains/UpdateFlightTests.cs
index d0aaadd..e0ec4a4 100644
--- a/src/Services/Flight/tests/UnitTest/Flight/Features/Domains/UpdateFlightTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Flight/Features/Domains/UpdateFlightTests.cs
@@ -37,4 +37,4 @@ public class UpdateFlightTests
fakeFlight.DomainEvents.Count.Should().Be(1);
fakeFlight.DomainEvents.FirstOrDefault().Should().BeOfType(typeof(FlightUpdatedDomainEvent));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Flight/Features/Handlers/CreateFlight/CreateFlightCommandHandlerTests.cs b/src/Services/Flight/tests/UnitTest/Flight/Features/Handlers/CreateFlight/CreateFlightCommandHandlerTests.cs
index 6a37fb4..89a7a43 100644
--- a/src/Services/Flight/tests/UnitTest/Flight/Features/Handlers/CreateFlight/CreateFlightCommandHandlerTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Flight/Features/Handlers/CreateFlight/CreateFlightCommandHandlerTests.cs
@@ -53,4 +53,4 @@ public class CreateFlightCommandHandlerTests
// Assert
await act.Should().ThrowAsync();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Flight/Features/Handlers/CreateFlight/CreateFlightCommandValidatorTests.cs b/src/Services/Flight/tests/UnitTest/Flight/Features/Handlers/CreateFlight/CreateFlightCommandValidatorTests.cs
index c339532..a40a214 100644
--- a/src/Services/Flight/tests/UnitTest/Flight/Features/Handlers/CreateFlight/CreateFlightCommandValidatorTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Flight/Features/Handlers/CreateFlight/CreateFlightCommandValidatorTests.cs
@@ -30,4 +30,4 @@ public class CreateFlightCommandValidatorTests
result.ShouldHaveValidationErrorFor(x => x.DurationMinutes);
result.ShouldHaveValidationErrorFor(x => x.FlightDate);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Flight/FlightMappingTests.cs b/src/Services/Flight/tests/UnitTest/Flight/FlightMappingTests.cs
index 4c1e26e..1dcf57b 100644
--- a/src/Services/Flight/tests/UnitTest/Flight/FlightMappingTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Flight/FlightMappingTests.cs
@@ -36,4 +36,4 @@ public class FlightMappingTests
_mapper.Map(instance, source, destination);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Seat/Features/CreateSeatCommandHandlerTests.cs b/src/Services/Flight/tests/UnitTest/Seat/Features/CreateSeatCommandHandlerTests.cs
index ad9d85a..33cd2a6 100644
--- a/src/Services/Flight/tests/UnitTest/Seat/Features/CreateSeatCommandHandlerTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Seat/Features/CreateSeatCommandHandlerTests.cs
@@ -54,4 +54,4 @@ public class CreateSeatCommandHandlerTests
// Assert
await act.Should().ThrowAsync();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Seat/Features/CreateSeatCommandValidatorTests.cs b/src/Services/Flight/tests/UnitTest/Seat/Features/CreateSeatCommandValidatorTests.cs
index 79bb087..f6ea47d 100644
--- a/src/Services/Flight/tests/UnitTest/Seat/Features/CreateSeatCommandValidatorTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Seat/Features/CreateSeatCommandValidatorTests.cs
@@ -27,4 +27,4 @@ public class CreateSeatCommandValidatorTests
result.ShouldHaveValidationErrorFor(x => x.FlightId);
result.ShouldHaveValidationErrorFor(x => x.Class);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Flight/tests/UnitTest/Seat/SeatMappingTests.cs b/src/Services/Flight/tests/UnitTest/Seat/SeatMappingTests.cs
index 4652665..cc987b6 100644
--- a/src/Services/Flight/tests/UnitTest/Seat/SeatMappingTests.cs
+++ b/src/Services/Flight/tests/UnitTest/Seat/SeatMappingTests.cs
@@ -37,4 +37,4 @@ public class SeatMappingTests
_mapper.Map(instance, source, destination);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity.Api/Program.cs b/src/Services/Identity/src/Identity.Api/Program.cs
index 9ef9072..0d8550e 100644
--- a/src/Services/Identity/src/Identity.Api/Program.cs
+++ b/src/Services/Identity/src/Identity.Api/Program.cs
@@ -17,4 +17,4 @@ app.Run();
namespace Identity.Api
{
public partial class Program { }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/AssemblyInfo.cs b/src/Services/Identity/src/Identity/AssemblyInfo.cs
index 60fedfd..b0f8704 100644
--- a/src/Services/Identity/src/Identity/AssemblyInfo.cs
+++ b/src/Services/Identity/src/Identity/AssemblyInfo.cs
@@ -2,5 +2,4 @@ using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Unit.Test")]
[assembly: InternalsVisibleTo("Integration.Test")]
-[assembly: InternalsVisibleTo("EndToEnd.Test")]
-
+[assembly: InternalsVisibleTo("EndToEnd.Test")]
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Configurations/AuthOptions.cs b/src/Services/Identity/src/Identity/Configurations/AuthOptions.cs
index c7b7605..a26bed7 100644
--- a/src/Services/Identity/src/Identity/Configurations/AuthOptions.cs
+++ b/src/Services/Identity/src/Identity/Configurations/AuthOptions.cs
@@ -3,4 +3,4 @@ namespace Identity.Configurations;
public class AuthOptions
{
public string IssuerUri { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Configurations/Config.cs b/src/Services/Identity/src/Identity/Configurations/Config.cs
index f741749..734d10c 100644
--- a/src/Services/Identity/src/Identity/Configurations/Config.cs
+++ b/src/Services/Identity/src/Identity/Configurations/Config.cs
@@ -74,4 +74,4 @@ public static class Config
AlwaysIncludeUserClaimsInIdToken = true // Include claims in ID token
}
};
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Configurations/UserValidator.cs b/src/Services/Identity/src/Identity/Configurations/UserValidator.cs
index ef6c263..210db14 100644
--- a/src/Services/Identity/src/Identity/Configurations/UserValidator.cs
+++ b/src/Services/Identity/src/Identity/Configurations/UserValidator.cs
@@ -51,4 +51,4 @@ public class UserValidator : IResourceOwnerPasswordValidator
context.Result = new GrantValidationResult(
TokenRequestErrors.UnauthorizedClient, "Invalid Credentials");
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Data/Configurations/RoleClaimConfiguration.cs b/src/Services/Identity/src/Identity/Data/Configurations/RoleClaimConfiguration.cs
index 58fabd9..457ac2c 100644
--- a/src/Services/Identity/src/Identity/Data/Configurations/RoleClaimConfiguration.cs
+++ b/src/Services/Identity/src/Identity/Data/Configurations/RoleClaimConfiguration.cs
@@ -13,4 +13,4 @@ public class RoleClaimConfiguration : IEntityTypeConfiguration
// // ref: https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=fluent-api
builder.Property(r => r.Version).IsConcurrencyToken();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Data/Configurations/RoleConfiguration.cs b/src/Services/Identity/src/Identity/Data/Configurations/RoleConfiguration.cs
index 991cdea..cc78e95 100644
--- a/src/Services/Identity/src/Identity/Data/Configurations/RoleConfiguration.cs
+++ b/src/Services/Identity/src/Identity/Data/Configurations/RoleConfiguration.cs
@@ -13,4 +13,4 @@ public class RoleConfiguration : IEntityTypeConfiguration
// // ref: https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=fluent-api
builder.Property(r => r.Version).IsConcurrencyToken();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Data/Configurations/UserClaimConfiguration.cs b/src/Services/Identity/src/Identity/Data/Configurations/UserClaimConfiguration.cs
index 40f2d30..9696a58 100644
--- a/src/Services/Identity/src/Identity/Data/Configurations/UserClaimConfiguration.cs
+++ b/src/Services/Identity/src/Identity/Data/Configurations/UserClaimConfiguration.cs
@@ -13,4 +13,4 @@ public class UserClaimConfiguration : IEntityTypeConfiguration
// // ref: https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=fluent-api
builder.Property(r => r.Version).IsConcurrencyToken();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Data/Configurations/UserConfiguration.cs b/src/Services/Identity/src/Identity/Data/Configurations/UserConfiguration.cs
index 9a66611..a09957f 100644
--- a/src/Services/Identity/src/Identity/Data/Configurations/UserConfiguration.cs
+++ b/src/Services/Identity/src/Identity/Data/Configurations/UserConfiguration.cs
@@ -13,4 +13,4 @@ public class UserConfiguration : IEntityTypeConfiguration
// // ref: https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=fluent-api
builder.Property(r => r.Version).IsConcurrencyToken();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Data/Configurations/UserLoginConfiguration.cs b/src/Services/Identity/src/Identity/Data/Configurations/UserLoginConfiguration.cs
index 4b556b0..ab6f7e4 100644
--- a/src/Services/Identity/src/Identity/Data/Configurations/UserLoginConfiguration.cs
+++ b/src/Services/Identity/src/Identity/Data/Configurations/UserLoginConfiguration.cs
@@ -13,5 +13,4 @@ public class UserLoginConfiguration : IEntityTypeConfiguration
// // ref: https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=fluent-api
builder.Property(r => r.Version).IsConcurrencyToken();
}
-}
-
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Data/Configurations/UserRoleConfiguration.cs b/src/Services/Identity/src/Identity/Data/Configurations/UserRoleConfiguration.cs
index c0f4bf8..cf79b68 100644
--- a/src/Services/Identity/src/Identity/Data/Configurations/UserRoleConfiguration.cs
+++ b/src/Services/Identity/src/Identity/Data/Configurations/UserRoleConfiguration.cs
@@ -13,4 +13,4 @@ public class UserRoleConfiguration : IEntityTypeConfiguration
// // ref: https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=fluent-api
builder.Property(r => r.Version).IsConcurrencyToken();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Data/Configurations/UserTokenConfiguration.cs b/src/Services/Identity/src/Identity/Data/Configurations/UserTokenConfiguration.cs
index 380151e..b993dec 100644
--- a/src/Services/Identity/src/Identity/Data/Configurations/UserTokenConfiguration.cs
+++ b/src/Services/Identity/src/Identity/Data/Configurations/UserTokenConfiguration.cs
@@ -13,4 +13,4 @@ public class UserTokenConfiguration : IEntityTypeConfiguration
// // ref: https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=fluent-api
builder.Property(r => r.Version).IsConcurrencyToken();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Data/DesignTimeDbContextFactory.cs b/src/Services/Identity/src/Identity/Data/DesignTimeDbContextFactory.cs
index 40f5138..c7bfd52 100644
--- a/src/Services/Identity/src/Identity/Data/DesignTimeDbContextFactory.cs
+++ b/src/Services/Identity/src/Identity/Data/DesignTimeDbContextFactory.cs
@@ -13,4 +13,4 @@ public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory new RegisterNewUser(x.FirstName, x.LastName, x.Username, x.Email,
x.Password, x.ConfirmPassword, x.PassportNumber));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Identity/Features/RegisteringNewUser/V1/RegisterNewUser.cs b/src/Services/Identity/src/Identity/Identity/Features/RegisteringNewUser/V1/RegisterNewUser.cs
index 4818113..8f0582b 100644
--- a/src/Services/Identity/src/Identity/Identity/Features/RegisteringNewUser/V1/RegisterNewUser.cs
+++ b/src/Services/Identity/src/Identity/Identity/Features/RegisteringNewUser/V1/RegisterNewUser.cs
@@ -134,4 +134,4 @@ internal class RegisterNewUserHandler : ICommandHandler, IVersion
{
public long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Identity/Models/RoleClaim.cs b/src/Services/Identity/src/Identity/Identity/Models/RoleClaim.cs
index cc59e12..619fa44 100644
--- a/src/Services/Identity/src/Identity/Identity/Models/RoleClaim.cs
+++ b/src/Services/Identity/src/Identity/Identity/Models/RoleClaim.cs
@@ -7,4 +7,4 @@ using Microsoft.AspNetCore.Identity;
public class RoleClaim : IdentityRoleClaim, IVersion
{
public long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Identity/Models/User.cs b/src/Services/Identity/src/Identity/Identity/Models/User.cs
index 2c1bdb0..6d8a76c 100644
--- a/src/Services/Identity/src/Identity/Identity/Models/User.cs
+++ b/src/Services/Identity/src/Identity/Identity/Models/User.cs
@@ -11,4 +11,4 @@ public class User : IdentityUser, IVersion
public required string LastName { get; init; }
public required string PassPortNumber { get; init; }
public long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Identity/Models/UserClaim.cs b/src/Services/Identity/src/Identity/Identity/Models/UserClaim.cs
index c77e433..4dbd280 100644
--- a/src/Services/Identity/src/Identity/Identity/Models/UserClaim.cs
+++ b/src/Services/Identity/src/Identity/Identity/Models/UserClaim.cs
@@ -7,4 +7,4 @@ using Microsoft.AspNetCore.Identity;
public class UserClaim : IdentityUserClaim, IVersion
{
public long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Identity/Models/UserLogin.cs b/src/Services/Identity/src/Identity/Identity/Models/UserLogin.cs
index 4d9fc22..cf51494 100644
--- a/src/Services/Identity/src/Identity/Identity/Models/UserLogin.cs
+++ b/src/Services/Identity/src/Identity/Identity/Models/UserLogin.cs
@@ -7,4 +7,4 @@ using Microsoft.AspNetCore.Identity;
public class UserLogin : IdentityUserLogin, IVersion
{
public long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Identity/Models/UserRole.cs b/src/Services/Identity/src/Identity/Identity/Models/UserRole.cs
index 3f0adf3..5d55753 100644
--- a/src/Services/Identity/src/Identity/Identity/Models/UserRole.cs
+++ b/src/Services/Identity/src/Identity/Identity/Models/UserRole.cs
@@ -7,4 +7,4 @@ using Microsoft.AspNetCore.Identity;
public class UserRole : IdentityUserRole, IVersion
{
public long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/Identity/Models/UserToken.cs b/src/Services/Identity/src/Identity/Identity/Models/UserToken.cs
index ce88cbf..da87890 100644
--- a/src/Services/Identity/src/Identity/Identity/Models/UserToken.cs
+++ b/src/Services/Identity/src/Identity/Identity/Models/UserToken.cs
@@ -7,4 +7,4 @@ using Microsoft.AspNetCore.Identity;
public class UserToken : IdentityUserToken, IVersion
{
public long Version { get; set; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/IdentityEventMapper.cs b/src/Services/Identity/src/Identity/IdentityEventMapper.cs
index 887210d..9858d1e 100644
--- a/src/Services/Identity/src/Identity/IdentityEventMapper.cs
+++ b/src/Services/Identity/src/Identity/IdentityEventMapper.cs
@@ -20,4 +20,4 @@ public sealed class IdentityEventMapper : IEventMapper
_ => null
};
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/src/Identity/IdentityRoot.cs b/src/Services/Identity/src/Identity/IdentityRoot.cs
index 05b7694..89f83a1 100644
--- a/src/Services/Identity/src/Identity/IdentityRoot.cs
+++ b/src/Services/Identity/src/Identity/IdentityRoot.cs
@@ -2,4 +2,4 @@ namespace Identity;
public class IdentityRoot
{
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/tests/IntegrationTest/Fakes/FakeRegisterNewUserCommand.cs b/src/Services/Identity/tests/IntegrationTest/Fakes/FakeRegisterNewUserCommand.cs
index f351009..cdd7bb0 100644
--- a/src/Services/Identity/tests/IntegrationTest/Fakes/FakeRegisterNewUserCommand.cs
+++ b/src/Services/Identity/tests/IntegrationTest/Fakes/FakeRegisterNewUserCommand.cs
@@ -13,4 +13,4 @@ public class FakeRegisterNewUserCommand : AutoFaker
RuleFor(r => r.ConfirmPassword, _ => "Password@123");
RuleFor(r => r.Email, _ => "test@test.com");
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/tests/IntegrationTest/Identity/Features/RegisterNewUserTests.cs b/src/Services/Identity/tests/IntegrationTest/Identity/Features/RegisterNewUserTests.cs
index 1593d4f..a1b354f 100644
--- a/src/Services/Identity/tests/IntegrationTest/Identity/Features/RegisterNewUserTests.cs
+++ b/src/Services/Identity/tests/IntegrationTest/Identity/Features/RegisterNewUserTests.cs
@@ -30,4 +30,4 @@ public class RegisterNewUserTests : IdentityIntegrationTestBase
(await Fixture.WaitForPublishing()).Should().Be(true);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/tests/IntegrationTest/IdentityIntegrationTestBase.cs b/src/Services/Identity/tests/IntegrationTest/IdentityIntegrationTestBase.cs
index 248d45c..e44dc79 100644
--- a/src/Services/Identity/tests/IntegrationTest/IdentityIntegrationTestBase.cs
+++ b/src/Services/Identity/tests/IntegrationTest/IdentityIntegrationTestBase.cs
@@ -18,4 +18,4 @@ public class IdentityIntegrationTestBase : TestWriteBase>
{
public const string Name = "Identity Integration Test";
-}
+}
\ No newline at end of file
diff --git a/src/Services/Identity/tests/IntegrationTest/IdentityTestDataSeeder.cs b/src/Services/Identity/tests/IntegrationTest/IdentityTestDataSeeder.cs
index 7bb371e..4c193ac 100644
--- a/src/Services/Identity/tests/IntegrationTest/IdentityTestDataSeeder.cs
+++ b/src/Services/Identity/tests/IntegrationTest/IdentityTestDataSeeder.cs
@@ -61,4 +61,4 @@ public class IdentityTestDataSeeder(
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger.Api/Program.cs b/src/Services/Passenger/src/Passenger.Api/Program.cs
index 66303f3..b04d2d1 100644
--- a/src/Services/Passenger/src/Passenger.Api/Program.cs
+++ b/src/Services/Passenger/src/Passenger.Api/Program.cs
@@ -19,4 +19,4 @@ namespace Passenger.Api
public partial class Program
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/AssemblyInfo.cs b/src/Services/Passenger/src/Passenger/AssemblyInfo.cs
index 60fedfd..b0f8704 100644
--- a/src/Services/Passenger/src/Passenger/AssemblyInfo.cs
+++ b/src/Services/Passenger/src/Passenger/AssemblyInfo.cs
@@ -2,5 +2,4 @@ using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Unit.Test")]
[assembly: InternalsVisibleTo("Integration.Test")]
-[assembly: InternalsVisibleTo("EndToEnd.Test")]
-
+[assembly: InternalsVisibleTo("EndToEnd.Test")]
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Data/Configurations/PassengerConfiguration.cs b/src/Services/Passenger/src/Passenger/Data/Configurations/PassengerConfiguration.cs
index 5871d21..ea79c66 100644
--- a/src/Services/Passenger/src/Passenger/Data/Configurations/PassengerConfiguration.cs
+++ b/src/Services/Passenger/src/Passenger/Data/Configurations/PassengerConfiguration.cs
@@ -57,4 +57,4 @@ public class PassengerConfiguration : IEntityTypeConfiguration x.ToString(),
x => (Passengers.Enums.PassengerType)Enum.Parse(typeof(Passengers.Enums.PassengerType), x));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Data/DesignTimeDbContextFactory.cs b/src/Services/Passenger/src/Passenger/Data/DesignTimeDbContextFactory.cs
index 4ee9534..64161ff 100644
--- a/src/Services/Passenger/src/Passenger/Data/DesignTimeDbContextFactory.cs
+++ b/src/Services/Passenger/src/Passenger/Data/DesignTimeDbContextFactory.cs
@@ -13,4 +13,4 @@ public class DesignTimeDbContextFactory : IDesignTimeDbContextFactory Passenger { get; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Exceptions/InvalidAgeException.cs b/src/Services/Passenger/src/Passenger/Exceptions/InvalidAgeException.cs
index 0e59ba9..8cab9c0 100644
--- a/src/Services/Passenger/src/Passenger/Exceptions/InvalidAgeException.cs
+++ b/src/Services/Passenger/src/Passenger/Exceptions/InvalidAgeException.cs
@@ -7,4 +7,4 @@ public class InvalidAgeException : DomainException
public InvalidAgeException() : base("Age Cannot be null or negative")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Exceptions/InvalidNameException.cs b/src/Services/Passenger/src/Passenger/Exceptions/InvalidNameException.cs
index 2665776..faca985 100644
--- a/src/Services/Passenger/src/Passenger/Exceptions/InvalidNameException.cs
+++ b/src/Services/Passenger/src/Passenger/Exceptions/InvalidNameException.cs
@@ -7,4 +7,4 @@ public class InvalidNameException : DomainException
public InvalidNameException() : base("Name cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Exceptions/InvalidPassengerIdException.cs b/src/Services/Passenger/src/Passenger/Exceptions/InvalidPassengerIdException.cs
index dd342d5..c64319b 100644
--- a/src/Services/Passenger/src/Passenger/Exceptions/InvalidPassengerIdException.cs
+++ b/src/Services/Passenger/src/Passenger/Exceptions/InvalidPassengerIdException.cs
@@ -9,4 +9,4 @@ public class InvalidPassengerIdException : DomainException
: base($"PassengerId: '{passengerId}' is invalid.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Exceptions/InvalidPassportNumberException.cs b/src/Services/Passenger/src/Passenger/Exceptions/InvalidPassportNumberException.cs
index 491398d..885d926 100644
--- a/src/Services/Passenger/src/Passenger/Exceptions/InvalidPassportNumberException.cs
+++ b/src/Services/Passenger/src/Passenger/Exceptions/InvalidPassportNumberException.cs
@@ -7,4 +7,4 @@ public class InvalidPassportNumberException : DomainException
public InvalidPassportNumberException() : base("Passport number cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Exceptions/PassengerAlreadyExist.cs b/src/Services/Passenger/src/Passenger/Exceptions/PassengerAlreadyExist.cs
index 8f65d3c..b2bcd73 100644
--- a/src/Services/Passenger/src/Passenger/Exceptions/PassengerAlreadyExist.cs
+++ b/src/Services/Passenger/src/Passenger/Exceptions/PassengerAlreadyExist.cs
@@ -8,4 +8,4 @@ public class PassengerNotExist : AppException
public PassengerNotExist() : base("Please register before!", HttpStatusCode.NotFound)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Exceptions/PassengerNotFoundException.cs b/src/Services/Passenger/src/Passenger/Exceptions/PassengerNotFoundException.cs
index c387900..6520ea9 100644
--- a/src/Services/Passenger/src/Passenger/Exceptions/PassengerNotFoundException.cs
+++ b/src/Services/Passenger/src/Passenger/Exceptions/PassengerNotFoundException.cs
@@ -8,4 +8,4 @@ public class PassengerNotFoundException : AppException
public PassengerNotFoundException() : base("Passenger not found!", HttpStatusCode.NotFound)
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Extensions/Infrastructure/InfrastructureExtensions.cs b/src/Services/Passenger/src/Passenger/Extensions/Infrastructure/InfrastructureExtensions.cs
index 7e1f10a..67d8b54 100644
--- a/src/Services/Passenger/src/Passenger/Extensions/Infrastructure/InfrastructureExtensions.cs
+++ b/src/Services/Passenger/src/Passenger/Extensions/Infrastructure/InfrastructureExtensions.cs
@@ -114,4 +114,4 @@ public static class InfrastructureExtensions
return app;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Extensions/Infrastructure/MediatRExtensions.cs b/src/Services/Passenger/src/Passenger/Extensions/Infrastructure/MediatRExtensions.cs
index eb7468f..e5b0db5 100644
--- a/src/Services/Passenger/src/Passenger/Extensions/Infrastructure/MediatRExtensions.cs
+++ b/src/Services/Passenger/src/Passenger/Extensions/Infrastructure/MediatRExtensions.cs
@@ -17,4 +17,4 @@ public static class MediatRExtensions
return services;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/GrpcServer/Services/PassengerGrpcServices.cs b/src/Services/Passenger/src/Passenger/GrpcServer/Services/PassengerGrpcServices.cs
index d66cca5..f7956a7 100644
--- a/src/Services/Passenger/src/Passenger/GrpcServer/Services/PassengerGrpcServices.cs
+++ b/src/Services/Passenger/src/Passenger/GrpcServer/Services/PassengerGrpcServices.cs
@@ -21,4 +21,4 @@ public class PassengerGrpcServices : PassengerGrpcService.PassengerGrpcServiceBa
var result = await _mediator.Send(new GetPassengerById(new Guid(request.Id)));
return result?.Adapt();
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Identity/Consumers/RegisteringNewUser/V1/PassengerCreatedDomainEvent.cs b/src/Services/Passenger/src/Passenger/Identity/Consumers/RegisteringNewUser/V1/PassengerCreatedDomainEvent.cs
index 1e96c2d..12b74c8 100644
--- a/src/Services/Passenger/src/Passenger/Identity/Consumers/RegisteringNewUser/V1/PassengerCreatedDomainEvent.cs
+++ b/src/Services/Passenger/src/Passenger/Identity/Consumers/RegisteringNewUser/V1/PassengerCreatedDomainEvent.cs
@@ -2,4 +2,4 @@ namespace Passenger.Identity.Consumers.RegisteringNewUser.V1;
using BuildingBlocks.Core.Event;
-public record PassengerCreatedDomainEvent(Guid Id, string Name, string PassportNumber, bool IsDeleted = false) : IDomainEvent;
+public record PassengerCreatedDomainEvent(Guid Id, string Name, string PassportNumber, bool IsDeleted = false) : IDomainEvent;
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Identity/Consumers/RegisteringNewUser/V1/RegisterNewUser.cs b/src/Services/Passenger/src/Passenger/Identity/Consumers/RegisteringNewUser/V1/RegisterNewUser.cs
index a674210..94682f5 100644
--- a/src/Services/Passenger/src/Passenger/Identity/Consumers/RegisteringNewUser/V1/RegisterNewUser.cs
+++ b/src/Services/Passenger/src/Passenger/Identity/Consumers/RegisteringNewUser/V1/RegisterNewUser.cs
@@ -56,4 +56,4 @@ public class RegisterNewUserHandler : IConsumer
new PassengerCreatedDomainEvent(passenger.Id, passenger.Name, passenger.PassportNumber),
typeof(IInternalCommand));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/PassengerEventMapper.cs b/src/Services/Passenger/src/Passenger/PassengerEventMapper.cs
index 1deafb7..aaf5aa3 100644
--- a/src/Services/Passenger/src/Passenger/PassengerEventMapper.cs
+++ b/src/Services/Passenger/src/Passenger/PassengerEventMapper.cs
@@ -30,4 +30,4 @@ public sealed class PassengerEventMapper : IEventMapper
_ => null
};
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/PassengerRoot.cs b/src/Services/Passenger/src/Passenger/PassengerRoot.cs
index faf4fe5..ac69aca 100644
--- a/src/Services/Passenger/src/Passenger/PassengerRoot.cs
+++ b/src/Services/Passenger/src/Passenger/PassengerRoot.cs
@@ -3,4 +3,4 @@ namespace Passenger;
public class PassengerRoot
{
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Dtos/PassengerDto.cs b/src/Services/Passenger/src/Passenger/Passengers/Dtos/PassengerDto.cs
index 17fad5c..70b750e 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Dtos/PassengerDto.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Dtos/PassengerDto.cs
@@ -1,2 +1,2 @@
namespace Passenger.Passengers.Dtos;
-public record PassengerDto(Guid Id, string Name, string PassportNumber, Enums.PassengerType PassengerType, int Age);
+public record PassengerDto(Guid Id, string Name, string PassportNumber, Enums.PassengerType PassengerType, int Age);
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Enums/PassengerType.cs b/src/Services/Passenger/src/Passenger/Passengers/Enums/PassengerType.cs
index 4767301..5774ab9 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Enums/PassengerType.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Enums/PassengerType.cs
@@ -6,4 +6,4 @@ public enum PassengerType
Male,
Female,
Baby
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidAgeException.cs b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidAgeException.cs
index df9a826..2c0c4bf 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidAgeException.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidAgeException.cs
@@ -6,4 +6,4 @@ public class InvalidAgeException : BadRequestException
public InvalidAgeException() : base("Age Cannot be null or negative")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidNameException.cs b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidNameException.cs
index 0a44de6..a30aab6 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidNameException.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidNameException.cs
@@ -7,4 +7,4 @@ public class InvalidNameException : BadRequestException
public InvalidNameException() : base("Name cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidPassportNumberException.cs b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidPassportNumberException.cs
index bb6429b..be19652 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidPassportNumberException.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/InvalidPassportNumberException.cs
@@ -7,4 +7,4 @@ public class InvalidPassportNumberException : BadRequestException
public InvalidPassportNumberException() : base("Passport number cannot be empty or whitespace.")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/PassengerAlreadyExist.cs b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/PassengerAlreadyExist.cs
index 62a46a2..b7e1f59 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/PassengerAlreadyExist.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/PassengerAlreadyExist.cs
@@ -7,4 +7,4 @@ public class PassengerNotExist : BadRequestException
public PassengerNotExist(string code = default) : base("Please register before!")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/PassengerNotFoundException.cs b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/PassengerNotFoundException.cs
index 771089e..83482aa 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Exceptions/PassengerNotFoundException.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Exceptions/PassengerNotFoundException.cs
@@ -7,4 +7,4 @@ public class PassengerNotFoundException : NotFoundException
public PassengerNotFoundException(string code = default) : base("Passenger not found!")
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Features/CompletingRegisterPassenger/V1/CompleteRegisterPassenger.cs b/src/Services/Passenger/src/Passenger/Passengers/Features/CompletingRegisterPassenger/V1/CompleteRegisterPassenger.cs
index 5860071..635004d 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Features/CompletingRegisterPassenger/V1/CompleteRegisterPassenger.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Features/CompletingRegisterPassenger/V1/CompleteRegisterPassenger.cs
@@ -114,4 +114,4 @@ internal class CompleteRegisterPassengerCommandHandler : ICommandHandler()
.ConstructUsing(x => new PassengerDto(x.Id.Value, x.Name.Value, x.PassportNumber.Value, x.PassengerType, x.Age.Value));
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Models/Passenger.cs b/src/Services/Passenger/src/Passenger/Passengers/Models/Passenger.cs
index 1b287b9..870d3a1 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Models/Passenger.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Models/Passenger.cs
@@ -42,4 +42,4 @@ public record Passenger : Aggregate
return passenger;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/Models/PassengerReadModel.cs b/src/Services/Passenger/src/Passenger/Passengers/Models/PassengerReadModel.cs
index faa64a3..2b13cf1 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/Models/PassengerReadModel.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/Models/PassengerReadModel.cs
@@ -8,4 +8,4 @@ public class PassengerReadModel
public required Enums.PassengerType PassengerType { get; init; }
public int Age { get; init; }
public required bool IsDeleted { get; init; }
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/Age.cs b/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/Age.cs
index 73524cf..95d9503 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/Age.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/Age.cs
@@ -25,4 +25,4 @@ public record Age
{
return age.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/Name.cs b/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/Name.cs
index 41c134f..627decc 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/Name.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/Name.cs
@@ -25,4 +25,4 @@ public record Name
{
return name.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/PassengerId.cs b/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/PassengerId.cs
index 548e6ad..b48a611 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/PassengerId.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/PassengerId.cs
@@ -26,4 +26,4 @@ public record PassengerId
{
return passengerId.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/PassportNumber.cs b/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/PassportNumber.cs
index 9e4f922..0c0064d 100644
--- a/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/PassportNumber.cs
+++ b/src/Services/Passenger/src/Passenger/Passengers/ValueObjects/PassportNumber.cs
@@ -30,4 +30,4 @@ public record PassportNumber
{
return passportNumber.Value;
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeCompleteRegisterPassengerCommand.cs b/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeCompleteRegisterPassengerCommand.cs
index d470686..4f0081e 100644
--- a/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeCompleteRegisterPassengerCommand.cs
+++ b/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeCompleteRegisterPassengerCommand.cs
@@ -15,5 +15,4 @@ public sealed class FakeCompleteRegisterPassengerCommand : AutoFaker r.PassengerType, _ => PassengerType.Male);
RuleFor(r => r.Age, _ => 30);
}
-}
-
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeCompleteRegisterPassengerMongoCommand.cs b/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeCompleteRegisterPassengerMongoCommand.cs
index f4c3f05..f3cc553 100644
--- a/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeCompleteRegisterPassengerMongoCommand.cs
+++ b/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeCompleteRegisterPassengerMongoCommand.cs
@@ -16,4 +16,4 @@ public class FakeCompleteRegisterPassengerMongoCommand : AutoFaker r.IsDeleted, _ => false);
RuleFor(r => r.PassengerType, _ => PassengerType.Male);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeUserCreated.cs b/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeUserCreated.cs
index de9e78e..dee41e6 100644
--- a/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeUserCreated.cs
+++ b/src/Services/Passenger/tests/IntegrationTest/Fakes/FakeUserCreated.cs
@@ -13,4 +13,4 @@ public class FakeUserCreated : AutoFaker
RuleFor(r => r.Name, _ => "Sam");
RuleFor(r => r.PassportNumber, _ => "123456789");
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/tests/IntegrationTest/Passenger/Features/CompleteRegisterPassengerTests.cs b/src/Services/Passenger/tests/IntegrationTest/Passenger/Features/CompleteRegisterPassengerTests.cs
index ecc88af..edd9dfd 100644
--- a/src/Services/Passenger/tests/IntegrationTest/Passenger/Features/CompleteRegisterPassengerTests.cs
+++ b/src/Services/Passenger/tests/IntegrationTest/Passenger/Features/CompleteRegisterPassengerTests.cs
@@ -38,4 +38,4 @@ public class CompleteRegisterPassengerTests : PassengerIntegrationTestBase
response?.PassengerDto?.PassengerType.ToString().Should().Be(command.PassengerType.ToString());
response?.PassengerDto?.Age.Should().Be(command.Age);
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/tests/IntegrationTest/Passenger/Features/GetPassengerByIdTests.cs b/src/Services/Passenger/tests/IntegrationTest/Passenger/Features/GetPassengerByIdTests.cs
index 59ab0a5..5b9289d 100644
--- a/src/Services/Passenger/tests/IntegrationTest/Passenger/Features/GetPassengerByIdTests.cs
+++ b/src/Services/Passenger/tests/IntegrationTest/Passenger/Features/GetPassengerByIdTests.cs
@@ -53,4 +53,4 @@ public class GetPassengerByIdTests : PassengerIntegrationTestBase
response?.Should().NotBeNull();
response?.PassengerDto?.Id.Should().Be(command.Id.ToString());
}
-}
+}
\ No newline at end of file
diff --git a/src/Services/Passenger/tests/IntegrationTest/PassengerIntegrationTestBase.cs b/src/Services/Passenger/tests/IntegrationTest/PassengerIntegrationTestBase.cs
index c0d04e9..96b2669 100644
--- a/src/Services/Passenger/tests/IntegrationTest/PassengerIntegrationTestBase.cs
+++ b/src/Services/Passenger/tests/IntegrationTest/PassengerIntegrationTestBase.cs
@@ -18,4 +18,4 @@ public class PassengerIntegrationTestBase : TestBase>
{
public const string Name = "Passenger Integration Test";
-}
+}
\ No newline at end of file