27 Commits

Author SHA1 Message Date
Sumit Ghosh
c37320b3e5
Updates all the services to .NET 6.0 ()
* Created global using file for catalog.api

* Moved individual usings statements to globalusing

* Updated catalog.api project

* Fixed local run bug for catalog.api

* Included globalusing for payment.api

* Refactored namespace statement for payment.api

* Moved namespaces to ordering.domain project

* Included globalusing for ordering.domain project

* Included globalusings for ordering.infrastructure project

* Refactored namespaces for ordering.infrastructure project

* Updated relevant packages in ordering.infrastructure project

* Included globalusings for ordering.signalrHub project

* Moved all the namespace to globalusings

* Updated packages in ordering.signalrHub csproj file

* Refactored namespace statements in catalog.api project

* Fixed namespace name in ordering.domain

* Included global usings for ordering.api project

* Moved all usings to globalusing file

* Updated ordering.api csproj project

* Fixed bug in statup.cs

* Updated ordering.unittests.csproj file

* Included globalusings in webhooks.api project

* Moved using statements to globalusing file in webhooks.api

* Included globalusing for web.bff.shoppping aggregator project

* Moved namespaces to globalusing shopping aggregator

* Included globalusing mobile.bff.shoppping project

* Moved namespaces to globalusing file

* Included globalusing for eventbus project

* Moved namespaces to global usings for eventbus

* Included globalusing for EventBusRabbitMQ project

* Moved using statements to EventBusRabbitMQ project

* Included global using in EventBusServiceBus project

* Moved using statements to globalusing for EventBusServiceBus

* Included globalusing file for IntegrationEventLogEF project

* Move using statements to globalusing file

* Updated packages of IntegrationEventLogEF project

* Included globalusing to Devspaces.Support project

* Moved using statements to globalusing Devspaces

* Updated dependent packages for Devspaces.Support.csproj

* Fixed bug in Basket API

* Fixed bug in catalog.api

* Fixed bug Identity.API

* Included globalusing to Basket.UnitTest project

* Moved namespaces to Basket.UnitTest project

* Updated packages of Basket.UnitTest csproj

* Included globalusing for Basket.FunctionalTests project

* Included file-scoped namespaces Basket.FunctionalTests

* Updated packages of Basket.FunctionalTests.csproj file

* Updated catalog unit test project to Net 6.0

* Included global usings for Catalog.FunctionalTests

* Included file-scope namespace catalog.functionaltests

* Updated packages of catalog.functionaltest csproj

* Included MigrateDbContext method in HostExtensions

* Included globalusing for ordering.UnitTests project

* Included file-scope statement for Ordering.UnitTest project

* Included globalusing for Ordering.FunctionalTests

* Included file-scope namespace statement for using

* Updated packages in  Ordering.FunctionalTests.csproj

* Apply suggestions from code review

Co-authored-by: David Pine <david.pine@microsoft.com>

* Apply suggestions from code review

Co-authored-by: David Pine <david.pine@microsoft.com>

* Update src/Services/Ordering/Ordering.API/Startup.cs

Co-authored-by: David Pine <david.pine@microsoft.com>

* Update src/Services/Ordering/Ordering.Domain/Events/OrderStatusChangedToPaidDomainEvent.cs

Co-authored-by: David Pine <david.pine@microsoft.com>

* Update src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/EventHandling/OrderStatusChangedToSubmittedIntegrationEventHandler.cs

Co-authored-by: David Pine <david.pine@microsoft.com>

* Update src/Services/Ordering/Ordering.SignalrHub/IntegrationEvents/Events/OrderStatusChangedToAwaitingValidationIntegrationEvent.cs

Co-authored-by: David Pine <david.pine@microsoft.com>

* Apply suggestions from code review

Co-authored-by: David Pine <david.pine@microsoft.com>

* Apply suggestions from code review

Co-authored-by: David Pine <david.pine@microsoft.com>

Co-authored-by: David Pine <david.pine@microsoft.com>
2021-10-20 08:23:30 -05:00
AlanYu
5c57b8c3f9
Binding queue using existing cosumerChannel ()
Co-authored-by: Alan.Yu <alan.yu@hidglobal.com>
2021-07-07 13:04:25 +05:30
Sumit Ghosh
19baeb7069
Migrates from Newtonsoft.Json to System.Text.Json ()
* Included System.Text.Json related changes

* Fixed order details summary in WebMVC

* Updated custom JsonConverter
2021-05-03 16:36:31 +05:30
Borja García Rodríguez
4db411d8f0 upgrade nuget packages 2020-12-22 16:24:18 +01:00
Facundo La Rocca
8f84bd3d09
Private readonly string changed to private const string () 2020-08-28 16:07:41 +05:30
Miguel Veloso
2621c36956 Add Task.Yield() to avoid synchronus deadlock by ensuring asynchronous execution 2019-06-17 22:00:19 +01:00
Miguel Veloso
61ecfba052 Add a TransactionId to IntegrationEventLogEntry to ensure that chained integration events are only published once from the correct transaction scope 2019-05-07 21:29:37 +01:00
Miguel Veloso
396d33fe7b Use AsyncEventingBasicConsumer in RabbitMQ to properly use async event handlers 2019-04-02 15:36:20 +01:00
liubaishui
a92383e123
Split RabbitMQ channel create and consumer create.
Because when channel create the Subscribe is not register, so the previously stored message may lose. This fix split the channel create and consumer create, when Subscribe registered then call the consumer create function.
2019-03-15 21:03:42 +08:00
Miguel Veloso
76e1072d07 Add logging of subscription events 2019-03-04 19:08:14 +00:00
Miguel Veloso
6d2c1fc717 Use structured logging for exceptions 2019-01-31 13:32:27 +00:00
Ramón Tomás
24bed0aa33 Send IntegrationEvents after committing transactions 2018-10-11 17:16:31 +02:00
Unai Zorrilla Castro
025ab0e14c Implemented HostedService in different service 2018-01-18 17:29:23 +01:00
Ramón Tomás
c3d9deb030 Merge branch 'dev' of https://github.com/dotnet-architecture/eShopOnContainers into dev 2017-11-10 17:58:08 +01:00
Ramón Tomás
804620330d Fix Rabbitmq bug with multiple service instances 2017-11-10 17:37:18 +01:00
Cesar De la Torre
6eaf3ae452 Cleaned-up Order class and EventBusRabbitMQ class 2017-11-09 11:38:53 -08:00
Igor Sychev
1b38589ff0 retry policy defined via config 2017-10-12 09:25:01 +01:00
Unai Zorrilla Castro
4e37f0df27 Migrate Building Blocks to .NETStandard2.0 and .NETCoreApp2.0. Fix packages references. Update Basket.API to new templates on .NETCoreApp2.0 2017-08-29 10:20:13 +02:00
Eduard Tomas
7fc63fe196 Messagebus dispatch messages in its own scope 2017-05-11 13:44:38 +02:00
Christian Arenas
c5cca8f320 Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
2017-05-08 13:59:59 +02:00
Unai Zorrilla Castro
f071ee7fce Fix bug with queue names 2017-04-20 16:44:07 +02:00
Unai Zorrilla Castro
44e39a685c Added IRabbitMQPersisterConnection and more resilient work on rabbitmq event bus 2017-04-20 10:53:17 +02:00
Unai Zorrilla Castro
7b779f0015 Pending review files 2017-04-17 15:00:53 +02:00
Eduard Tomas
20d2e32719 Ups... too many parens xD 2017-03-22 14:40:00 +01:00
Eduard Tomas
2e674ad532 Replaced Tuple by C#7 multiple return statement
Replaced private set only used in ctor by readonly prop
2017-03-22 14:23:25 +01:00
dsanz
e996593d32 Add functional test for integration events. Implement IDisposable for EventBusRabbitMQ. 2017-03-17 15:57:57 +01:00
dsanz
c8df9a232a Refactoring integration events: move event bus implementation to building block projects. 2017-03-16 13:30:01 +01:00