143 Commits

Author SHA1 Message Date
zodraz
9958901afd
Create codeql-analysis.yml 2022-03-17 22:16:55 +01:00
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
Colin Dembovsky
e57a97d515
Update workflows to use composite (#1753)
* Update workflows to use composite

* Add name to composite actions

* Revert name change
2021-09-09 18:13:29 +05:30
Colin Dembovsky
c4d40f16db Prevent deploy jobs 2021-04-23 00:20:38 -05:00
Colin Dembovsky
374cf8d710 Prevent deploy jobs 2021-04-23 00:20:29 -05:00
Colin Dembovsky
6f29ec52d4 Fixing casing 2021-04-15 12:12:43 -05:00
Colin Dembovsky
d8c65784e7 Fix casing 2021-04-15 12:06:17 -05:00
Colin Dembovsky
e10f9c1c89 Fix file name 2021-04-15 11:55:10 -05:00
Colin Dembovsky
5ec02287b6 Fixing dotnet test cmd 2021-04-15 11:24:44 -05:00
Colin Dembovsky
87016c3280 Change verbosity to only test 2021-04-15 11:10:41 -05:00
Colin Dembovsky
95fc2197ed Update arg 2021-04-15 11:07:22 -05:00
Colin Dembovsky
f388b4fd17 Up verbosity 2021-04-15 11:02:21 -05:00
Colin Dembovsky
17dc8efb53 Adding unit tests 2021-04-15 10:50:19 -05:00
Colin Dembovsky
47ca5681f9 Adding workflow_dispatch and unit tests 2021-04-15 10:50:10 -05:00
Colin Dembovsky
99e86312f9 Change working dir 2021-04-15 10:28:08 -05:00
Colin Dembovsky
c6763a2aa6 Add workflow_dispatch 2021-04-15 10:25:56 -05:00
Colin Dembovsky
53ad2d19c3 Adding unit tests 2021-04-15 10:24:28 -05:00
Colin Dembovsky
e858b1af51 Full revert 2021-04-15 10:14:41 -05:00
Colin Dembovsky
d261523c05 Revert 2021-04-15 10:13:31 -05:00
Colin Dembovsky
9affd629be Adding unit tests 2021-04-15 10:11:49 -05:00
Colin Dembovsky
391de9fc9e Update DeployToK8s to deploy-to-k8s 2021-04-15 08:48:00 -05:00
Colin Dembovsky
c152b030ba Remove app-name 2021-04-15 08:46:11 -05:00
Colin Dembovsky
7343ceb4c2 Update namespace to NAMESPACE 2021-04-15 08:39:39 -05:00
Colin Dembovsky
ede057c6e7 Update chart to CHART 2021-04-15 08:37:30 -05:00
Colin Dembovsky
8414627340 Update chart-root to CHART_ROOT 2021-04-15 08:36:37 -05:00
Colin Dembovsky
996da7718a Update checkout from @v1 to @v2 2021-04-15 08:33:56 -05:00
Colin Dembovsky
acb304c06a Adding deploy workflows and script 2021-04-14 09:25:18 -05:00
Borja García Rodríguez
97bfcf2559 include subfolders in filtering path 2021-01-26 12:26:05 +01:00
Borja García Rodríguez
71c7e41272 formatting 2021-01-24 22:21:40 +01:00
Borja García Rodríguez
2be88ebdb6 test path filter on spa 2021-01-24 22:11:24 +01:00
Borja García Rodríguez
b652c70f07 added path filter on pr 2021-01-24 22:01:48 +01:00
Borja García Rodríguez
b93c6d69bc path filter on pr SPA 2021-01-24 22:00:40 +01:00
Miguel Veloso
db10da668e Remove main branch from action triggers 2021-01-20 18:09:16 +00:00
Borja García Rodríguez
0b786afa3b remove trigger on working branch 2021-01-12 15:18:58 +01:00
Borja García Rodríguez
899bf200b4 remove windows build 2021-01-12 14:59:00 +01:00
Borja García Rodríguez
bb62bd7052 final workflows 2020-12-28 11:34:36 +01:00
Borja García Rodríguez
32d056e0da test builds on branch 2020-12-28 09:12:22 +01:00
Borja García Rodríguez
90fe35f7aa remove azure pipelines 2020-12-28 09:09:51 +01:00
Borja García Rodríguez
5e516dd3fb added github workflows 2020-12-28 09:09:43 +01:00
Borja García Rodríguez
469957403c basket catalog identity ordering workflows 2020-12-24 20:49:04 +01:00
Borja García Rodríguez
19a1e77665 fix secret ref 2020-12-24 15:32:03 +01:00
Borja García Rodríguez
b67b05ff4c final version 2020-12-24 15:26:12 +01:00
Borja García Rodríguez
27a274ad87 final basket workflow 2020-12-24 15:24:59 +01:00
Borja García Rodríguez
0cba9fc72f final version 2020-12-24 15:24:41 +01:00
Borja García Rodríguez
0fb4f46de3 test 2020-12-24 15:09:34 +01:00
Borja García Rodríguez
be461f24b4 test 2020-12-24 15:00:34 +01:00
Borja García Rodríguez
230c706086 test 2020-12-24 15:00:24 +01:00
Borja García Rodríguez
b68b6253e1 final 2020-12-24 14:48:50 +01:00
Borja García Rodríguez
442a0f4b71 test 2020-12-24 14:38:09 +01:00
Borja García Rodríguez
9c149681bc test 2020-12-24 14:36:49 +01:00