1131 Commits

Author SHA1 Message Date
Sumit Ghosh
c37320b3e5
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>
2021-10-20 08:23:30 -05:00
Sumit Ghosh
ab1d9cc897
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>
2021-10-04 19:39:36 +05:30
Josh Coleman
8be1c9cd3e
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
2021-08-09 19:57:22 +05:30
Miguel Veloso
5afcd37caa Update item images 2021-06-22 14:58:16 +01:00
Miguel Veloso
7405ebaf80 Update README, catalog image files and MVC page size 2021-06-21 16:01:42 +01:00
Miguel Veloso
4b0c2c56dd Handle SPA/MVC branding for login and registration views 2021-06-18 15:08:05 +01:00
zedy
be9ce6d069
Update keyvault sdk from t1 to t2 (#1685)
* Upgrade Microsoft.Extensions.Configuration.AzureKeyVault to

* Update keyvault uri

* Update Program.cs

Modify format

* modify format

* resolve conflict

* replace credential

Co-authored-by: Wenjie Yu <v-wenjyu@microsoft.com>
2021-06-08 14:45:15 +05:30
Sander Obdeijn
8ed25875af
Added EventBus.Tests to solution (#1684)
* - Added EventBus.Tests to solution
- Updated targetframework to net5.0
- Consolidated nuget packages

* Added copy EventBus.Tests.csproj to DockerFile's
2021-05-31 14:46:44 +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
Sumit Ghosh
19baeb7069
Migrates from Newtonsoft.Json to System.Text.Json (#1658)
* Included System.Text.Json related changes

* Fixed order details summary in WebMVC

* Updated custom JsonConverter
2021-05-03 16:36:31 +05:30
Rich Lander
d0cd2830a8
Update sdk tag (#1647) 2021-04-13 18:45: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
Roman Marusyk
9b1a08a761
Service Bus persisted connection for ISubscriptionClient (#1521) 2021-03-09 15:32:28 +05:30
alecola
df93807677
GracePeriodManagerTask renamed in GracePeriodManagerService (#1615) 2021-03-02 16:45:44 +05:30
Sumit Ghosh
834af1209e
Fixes : #1599 | Applies patch to dotnet/sdk buster-slim docker image (#1601)
* Included docker file patch

* Used specific npm 6 package version
2021-02-04 12:29:39 +05:30
Borja García Rodríguez
fda8d8f869 program to top level statement 2021-01-24 19:08:31 +01:00
Miguel Veloso
7b3764c822 Merge branch 'dev' into migration/net-5 2021-01-20 17:53:09 +00:00
Miguel Veloso
f3ecf87a12 Merge remote-tracking branch 'origin/migration/net-5' into migration/net-5 2021-01-20 17:28:29 +00:00
Miguel Veloso
8da9c84385 Add community code changes since migration start 2021-01-20 17:27:47 +00:00
Borja García Rodríguez
2b91170662 clean up solution 2021-01-20 17:57:32 +01:00
Viswanatha Swamy
130e46ccdf
Swamy/15jan2021 small refactoring (#1580)
* Small Refactoring inside Basket Service folder

* Small Refactoring
2021-01-19 17:36:15 +05:30
Miguel Veloso
598c675811 Upgrade identity server, fix VS F5 unauthorized_client problem 2021-01-13 17:10:00 +00:00
Miguel Veloso
79e7e42aa8 Upgrade healthchecks packages 2021-01-13 13:45:29 +00:00
Miguel Veloso
96c0c1d32c Upgrade key packages 2021-01-13 13:14:59 +00:00
Sumit Ghosh
70a5e7bff6
Removes dotnet.myget.org NuGetPackage feed references (#1576)
* Removed Nuget package feed

* Removed unused System.ValueTuple package

* Downloadgraded Microsoft.AspNetCore.Hosting.Abstractions package

* Removed unused package

* Downgraded System.IO.Compression.ZipFile package

* Used Microsoft.AspNetCore.DataProtection.StackExchangeRedis package
2021-01-12 20:38:54 +05:30
Viswanatha Swamy
600d0aa456
Small-Formatting-Refactoring (#1564) 2020-12-30 11:29:47 +05:30
Borja García Rodríguez
ad29cfcdfe fix restores on docker.develop images 2020-12-28 20:57:32 +01:00
Borja García Rodríguez
ce504d9d36 Updated to aspnet 5 dockerfiles.development for azds 2020-12-28 16:54:35 +01:00
Miguel Veloso
a60152c16a
Merge pull request #1562 from borjasanes/feature/delete-load-test-references
remove load test references
2020-12-23 17:18:41 +00:00
Borja García Rodríguez
c970512232 remove load test references 2020-12-23 17:17:19 +01:00
InstanceFactory
c3d91dd914
Fixed Issue #1410 (#1560)
Added IdentityUrlExternal to src\Services\Ordering\Ordering.FunctionalTests\appsettings.json; sorted the properties
2020-12-23 19:42:52 +05:30
Borja García Rodríguez
278b3d1247 update nuget in catalog unit tests 2020-12-23 12:09:05 +01:00
Borja García Rodríguez
6fc60480c1 integration events updated to record types 2020-12-23 10:19:38 +01:00
Borja García Rodríguez
1857cc1c9e fix Breaking change net 5 missing method
app.UseDatabaseErrorPage()
https://github.com/dotnet/efcore/issues/22687
2020-12-23 09:32:10 +01:00
Borja García Rodríguez
ff728ec096 consolidate packages 2020-12-22 16:45:47 +01:00
Borja García Rodríguez
6f399e3c8b Merge branch 'feature/net-5' into feature/webapps-net5-migration 2020-12-22 15:50:35 +01:00
Miguel Veloso
257ed5c276
Merge pull request #1556 from borjasanes/feature/remove-marketing-and-location
Feature/remove marketing and location
2020-12-22 14:16:19 +00:00
Borja García Rodríguez
98552b7785 delete marketing and locations references 2020-12-21 16:44:02 +01:00
Borja García Rodríguez
55a177feac update dockerfiles without location & api csprojs 2020-12-21 13:29:07 +01:00
David Sanz
65079a1a1f Merge from migration/net-5 2020-12-21 12:51:58 +01:00
Borja García Rodríguez
62d4b2bd64 merge remote branch into fork 2020-12-21 12:16:58 +01:00
Miguel Veloso
332bd4cb71
Merge pull request #1551 from borjasanes/feature/catalog-api-migration
catalog api net 5 migration
2020-12-21 11:09:13 +00:00
Borja García Rodríguez
aef73d7b6e fix functional tests 2020-12-21 12:06:15 +01:00
Borja García Rodríguez
e619a39dbf update nugets 2020-12-21 11:21:09 +01:00
Borja García Rodríguez
f25537e214 dockerfiles and update nugets 2020-12-18 13:41:36 +01:00
David Sanz
6f8eabd294 Merge branch 'feature/net-5' into feature/payment-api-migration 2020-12-18 12:08:07 +01:00
David Sanz
3e23e27a96 Migrate Payment.API to dotnet 5 2020-12-18 12:05:04 +01:00
Borja García Rodríguez
19460bb1f1 update nuget packages 2020-12-18 12:04:35 +01:00
Borja García
85e901d857
Merge pull request #2 from borjasanes/feature/ordering-api-migration
Feature/ordering api migration
2020-12-18 09:43:57 +01:00
Viswanatha Swamy
0c575b5799
Swamy/remove unused using and refactor the code (#1552)
* Removed Unused Using and Reorganized the Using

* Removed unused using, Reorganized using, moved the class to separate file, removed commented code in Catalog.API

* Revert "Removed unused using, Reorganized using, moved the class to separate file, removed commented code in Catalog.API"

This reverts commit 34241c430619b3b0bbeaabafa44c078c859237c4.

* Removed unused using and reorganized the using inside "Services" folder

* Removed Unused using and reoganized the using

* Refactor Webhooks.API

* Removed unused using and reorganized using inside Catalog.API

* Refactoring

* Removed unsed using

* Added line break just to differentiate between the messages
2020-12-18 11:52:45 +05:30