128 Commits

Author SHA1 Message Date
Sumit Ghosh
630cb35cfb
Updates to .NET 6.0 (#1786)
* Seeking feedback: Build and run on .Net 6 preview 6 (#1734)

* Updgrade build and hosting machines to .net6 latest

* Target .net 6

* ILogger is ambiguous?

* More ILogger ambiguity

* Use preview 6... seeing errors in preview 7...

* Of course the SDK version is different :)

* downgrade the last nonworking component

* Only restore the packages we need for the one off service stuck in .net 5

* Downgrade development docker files to use the preview 6 sdk

* Updates `basket-api` to .NET 6 (#1742)

* Use global usings

* Use file-scoped namespaces

* Updates docker images to preview 7

* Created a new migration plan

* Included global usings for identity project

* Updated docker file to preview version to 7

* Updated dockerfiles

* Merged conent from Startup.cs to Program.cs

* Removed Starup.cs

* Removed unnecessary files

* Revert "Removed unnecessary files"

This reverts commit 536bddcd96b54673401cedbe802520dce12b3472.

* Revert "Removed Starup.cs"

This reverts commit 46175d7aa97475d88ec46bce39ed498c7037d924.

* Revert "Merged conent from Startup.cs to Program.cs"

This reverts commit 2766ea86dfef9220fe3f0c27a37a9a6c18153078.

* Removed extra spaces

* Updated basket-api project file

* Update src/Services/Basket/Basket.API/Grpc/BasketService.cs

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

* Apply suggestions from code review

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

* Moved the fully qualified namespace on top

* Updated relevant packages in basket.api project

* Updated relevant packages in identity.api project

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

* Updates all the services to .NET 6.0 (#1770)

* 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>

* Updates WebMVC to .NET 6.0 (#1773)

* Included globalusing WebMVC

* Included file scope namespaces for all files

* Updated dockerfile

* Updated packages to WebMVC

* Fixes few bugs in Net 6.0 service migration (#1774)

* 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>

* Fixed bugs in Mobile.BFF.Shopping project

* Fixed bugs in Web.Bff.Shopping aggregator project

* Fixed bugs in EventBusServiceBus project

* Fixed bug in Mobile.Bff.Shopping project

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

* Updates webhook client project to .NET 6.0 (#1777)

* Included globalusing file for webhookclient

* Included file scope namespaces for Webhookclient

* Updated packages in WebHookClient project

* Updates webspa project to Net 6.0 (#1778)

* Included globalusing in webspa project

* Included file scoped namespace for webspa project

* Updated packages in WebSPA project

* Updates the Application.FunctionalTests project to .NET 6.0 (#1781)

* Included globalusing in Application.FunctionalTests project

* Included file scoped namespace

* Renamed Azure.Messaging.ServiceBus namespace

* Updates .NET version of Dockerfile to 6.0 (#1785)

* Updatated package versions to RC2

* Updated package versions to RC2

* Updated Dockerfiles to .NET 6 RC2

* Changed docker file tag to 6.0

* Updated Program class

* Updated globalusing file

* Removed preview tag reference from Dockerfile.develop file

* Updated dotnet version to .NET 6.0

* Updated all packages to the .NET 6.0

* Removed RC tag from dockerfile

* Fixed bundleconfig json

* Updated readme files

* Fixed ingress yaml indentation

* Included globalusing for WebStatus project

* Updated WebStatus project to .NET 6.0

* Included scoped namespace

* Updated Dockerfile of WebStatus to .NET 6.0

Co-authored-by: Josh Coleman <83677148+JcolemanNR@users.noreply.github.com>
Co-authored-by: David Pine <david.pine@microsoft.com>
2021-11-15 19:02:23 +05:30
David Pine
bf7ade80d2
Update CardType.cs (#1674)
Sync with https://github.com/dotnet/docs/pull/24236
2021-05-17 13:16:38 +05:30
Matt Callahan
a71b004897
updated CardType and Enumeration classes (#1528)
* updated CardType and Enumeration classes

* Update per IEvangelist's suggestion

* Update src/Services/Ordering/Ordering.Domain/SeedWork/Enumeration.cs

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

Co-authored-by: Sumit Ghosh <sumit.ghosh@neudesic.com>
Co-authored-by: David Pine <david.pine@microsoft.com>
2021-04-08 11:46:11 +05:30
Borja García Rodríguez
2b91170662 clean up solution 2021-01-20 17:57:32 +01:00
David Sanz
35b30a109a Top-level statements. Change ordering net standard projects to dotnet 5. 2020-12-17 11:33:55 +01:00
David Sanz
6b47be9335 Update nuget packages for Ordering service. 2020-12-16 13:43:12 +01:00
André Silva
921de69418
refactored Equals() method on ValueObject (#1316) 2020-08-25 16:22:08 +05:30
Miguel Veloso
44d3fcf767 Update packages 2019-12-17 17:41:03 +00:00
Miguel Veloso
ade6358eca Reorganize project folders 2019-11-18 15:03:28 +00:00
Miguel Veloso
c3f7178631 Change obsolete .ForSqlServerUseSequenceHiLo for .UseHiLo 2019-11-08 15:36:10 +00:00
Miguel Veloso
a1f64f9b6c Add back logging traces referenced in the wiki 2019-11-07 18:22:23 +00:00
Miguel Veloso
b34b8d2403 Sort package references 2019-11-06 11:14:19 +00:00
eiximenis
9b57122f7a update to net3 rc1 2019-09-19 10:12:14 +02:00
ericuss
ffe2884dc4 fix checkout process of mvc app 2019-08-30 14:20:26 +02:00
ericuss
bf85169d67 partial checkin trying to fix checkout process 2019-08-12 08:27:19 +02:00
Erik Pique
1e49084844 netcore 3 ordering 2019-07-23 08:30:05 +02:00
eiximenis
96c3b12721 More package refs moved to dependencies.props 2019-07-18 12:31:27 +02:00
eiximenis
437bdd7431 Using Directory.Build.props for handling versions. Needed to start the update to net3 2019-07-17 18:26:20 +02:00
rafsanulhasan
641982a5ab correct typo 2019-04-02 17:54:43 +06:00
Miguel Veloso
a7c76f97a2 Simplify Enumeration and CardType classes as proposed in PR #704 2019-03-28 16:43:59 +00:00
Miguel Veloso
2ecc8677ba
Merge pull request #856 from denjamal/Refactoring
Refactoring Buyer aggregate
2019-03-05 19:55:51 +00:00
Igor_Sychev
185a5dcc31 minor packages update
replace preview apis with production
replace EnableKubernetes with AddApplicationInsightsKubernetesEnricher
replace  loggerFactory.AddAzureWebAppDiagnostics(); with  loggerBuilder.AddAzureWebAppDiagnostics();
2019-02-26 22:28:30 +03:00
dmalimon
e410b8d686 Refactoring Buyer aggregate 2018-11-19 18:16:01 +02:00
Miguel Veloso
535044e4f4 Add private setters so deserializing on integration event handler works as expected. 2018-10-05 09:46:19 +01:00
Erik Pique
1fdcc5cc32 MediatorR: Migration Guide 4.x to 5.0 2018-09-28 10:26:10 +02:00
Cesar De la Torre Llorente
28f7baaf5c Fixed error in namespace. 2018-09-07 09:20:44 -07:00
amedora
9f34b7e9e6
fix: duplicated "using Seedwork;" 2018-09-07 11:06:01 +09:00
Lukas Behal
92cb497db8 build break fix - removed missed new constrain which is not required anymore 2018-07-03 14:57:45 +12:00
Lukas
84e4758df2 modified Enumeration class to support private constructor for defined Enum types, refactored orderingContextSeed to use GetAll() method to get predefined types 2018-06-30 22:41:17 +12:00
Ramón Tomás
f1f17798da Added missing Task.Background service docker-compose configuration
Added signalr client for MVC
Added signalr hub
Added signalr events when order status changes
2018-04-13 13:45:21 +02:00
David Britch
e519fbde43 Merge branch 'bff' into xamarin-settings 2018-03-29 13:52:03 +01:00
Miguel Veloso
f2a4f3ac2c
Merge pull request #561 from Alexbits/hotfix/EntityEncapsulationFix
Improved encapsulation of DomainEvents collection in Entity class
2018-03-27 19:43:31 +01:00
Alex Kryvdyk
1d8c6178de Improved encapsulation of DomainEvents collection in Entity class 2018-03-26 22:25:00 +03:00
Miguel Veloso
e580731adc
Merge pull request #560 from Alexbits/dev
Make Address value object truly immutable. Replace #551
2018-03-26 18:45:42 +01:00
Alex Kryvdyk
6869ad249a Remove private property setters in Address value object to make it truly immutable 2018-03-26 19:17:59 +03:00
Alex Kryvdyk
ed26c3359c
Remove private setters to make class immutable
Remove private setters to make a class truly immutable. Otherwise, properties can be updated outside of constructor. This also makes code cleaner. Same in docs https://github.com/dotnet/docs/pull/4755
2018-03-23 15:50:25 +02:00
Enrico Tirotta
dbd5999e38
Update Enumeration.cs 2018-02-25 09:41:08 +01:00
Eduard Tomàs
b0d4ae5a72 All order flow goes through Purchase BFF API. Also some refactorings. 2018-02-02 12:26:47 +01:00
Unai Zorrilla Castro
025ab0e14c Implemented HostedService in different service 2018-01-18 17:29:23 +01:00
Sychev Igor
ed0988a3a1 MediatR from 3 to 4 2017-12-13 09:12:59 +03:00
Ramón Tomás
4dff728d11 Replaced custom DataProtection.Redis lib with official Microsoft pkg
Removed Sessions in WebMVC app
Fixed GracePeriodMgr issues using multiple instances
2017-11-30 11:40:30 +01:00
Cesar De la Torre
6eaf3ae452 Cleaned-up Order class and EventBusRabbitMQ class 2017-11-09 11:38:53 -08:00
Cesar De la Torre
d2f7d6a5d6 Minor clean-up on Entity, Domain Events. 2017-11-07 16:53:41 -08:00
Cesar De la Torre
625f53213b Added a comment about Addess as Value Object and EF Core 2.0 onwed entity 2017-11-07 12:45:05 -08:00
Cesar De la Torre
16ee563112 Cleaning up the Address ValueObject 2017-11-07 10:56:46 -08:00
Cesar De la Torre
18af108cd6 Cleaning up the Address ValueObject class 2017-11-07 10:51:35 -08:00
Cesar De la Torre
0ca2faaaab Removing unneeded blank lines on the ValueObject class 2017-11-07 10:49:18 -08:00
Cesar De la Torre
1b51865349 Minor refactoring at Seedwork 2017-11-07 10:35:08 -08:00
Igor Sychev
e1c93bd05a update to latest packages 2017-10-13 13:04:06 +01:00
Igor Sychev
7dfb2db7c3 packages update and clean up *.csproj files from useless content 2017-10-13 13:04:06 +01:00