Closed italopessoa closed 2 months ago
The changes introduce two new projects, FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs
and FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs.Test
, into the ByteMeBurger solution. A new configuration section for SQS settings is added, along with interfaces and classes to manage SQS clients and analytics publishing. Additionally, unit tests for these functionalities are included to ensure correct implementation.
File(s) | Change Summary |
---|---|
FIAP.TechChallenge.ByteMeBurger.sln |
Added projects for Publisher.Sqs and its tests, updated solution configurations. |
src/FIAP.TechChallenge.ByteMeBurger.Api/appsettings.Development.json |
Introduced SqsSettings for SQS configuration (QueueName, Enabled, Region). |
src/FIAP.TechChallenge.ByteMeBurger.DI/FIAP.TechChallenge.ByteMeBurger.DI.csproj |
Added project reference to Publisher.Sqs . |
src/FIAP.TechChallenge.ByteMeBurger.DI/ServiceCollectionsExtensions.cs |
Enhanced IoCSetup with ConfigureAnalyticsService() method. |
src/FIAP.TechChallenge.ByteMeBurger.Domain/Interfaces/IAnalyticsPublisher.cs |
Defined IAnalyticsPublisher interface for analytics events. |
src/FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs/... |
Created new project file targeting .NET 8.0 with dependencies on AWS SDK and Microsoft libraries. |
src/FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs/Factory/ISqsClientFactory.cs |
Introduced ISqsClientFactory interface for creating SQS clients. |
src/FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs/ServiceExtensions.cs |
Added SqsSettingsSetup and ServiceExtensions for binding and configuring SQS services. |
src/FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs/SqsClientFactory.cs |
Implemented SqsClientFactory for creating SQS client instances. |
src/FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs/SqsSettings.cs |
Defined SqsSettings class for SQS configuration properties. |
tests/FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs.Test/SqsClientFactoryTest.cs |
Added unit tests for SqsClientFactory functionality. |
tests/FIAP.TechChallenge.ByteMeBurger.Publisher.Sqs.Test/SqsServiceTest.cs |
Added unit tests for SqsService , covering message publishing scenarios. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
131