269 Commits

Author SHA1 Message Date
Espen Tønnessen Nordli
1f040cb19a Work in progress to implement multiple connections to RabbitMQ with one virtual host per tenant in the application. Each tenant specific microservice would then only be given the credentials for their own channel, while the baseline product would have to create connections to all the different virtual hosts in RabbitMQ, and also have awareness of which connection should be used for publishing an event. 2020-02-03 18:57:52 +01:00
espent1004
b55c59a490 Implementing TenantId in events: UserCheckoutAcceptedIntegrationEvent, OrderStartedIntegrationEvent, OrderStatusChangedToSubmittedIntegrationEvent, GracePeriodConfirmedIntegrationEvent, OrderStatusChangedToAwaitingValidationIntegrationEvent.
Additionally the TenantId in the events are made use of the EventBusRabbitMQ implementation, where it checks wether the event should be sent to the tenant specific microservice, or handled normally. In addition it is made use of to ensure that events that do not belong to the tenant is not sent to their tenant specific microservice.
2020-02-02 00:58:35 +01:00
Miguel Veloso
038b3caffa Update Dockerfiles to improve local build time 2019-08-16 19:56:30 +01:00
Miguel Veloso
b6032b139b
Merge pull request #1103 from Karql/fix-web-status
Fix WebStatus HealthChecks replacement
2019-08-16 16:48:49 +01:00
Miguel Veloso
ca642eb0f8 Remove duplicated Azure KeyVault reference 2019-08-12 14:12:27 +01:00
Mateusz Karkula
033ebd350e Fix WebStatus HealthChecks replacement 2019-08-09 20:11:45 +02:00
eiximenis
58f156f417 fixing dockerfiles for windows 2019-05-28 11:49:39 +02:00
Miguel Veloso
91515e7ea6 Remove deprecated Swashbuckle API, refactor 2019-05-13 18:15:50 +01:00
Dmytro Hridin
e9c5b041e1 move interface to Model folder 2019-05-08 21:25:48 +03:00
Dmytro Hridin
bcc158a96d move BasketRepository to from Models folder to Repositories folders 2019-05-05 15:22:11 +03:00
Miguel Veloso
914e8bd0cd Make the RUN restore-packages optional through an option on docker-compose 2019-04-22 18:10:53 +01:00
Miguel Veloso
376030c179
Merge branch 'dev' into enhancement/add-restore-packages-layer 2019-04-15 19:39:06 +01:00
Miguel Veloso
06018d4080 Streamline Dockerfiles 2019-04-13 08:23:40 +01:00
Miguel Veloso
be75d554f2 Inital Dockerfiles 2019-04-12 19:45:45 +01:00
Miguel Veloso
8dea75d1fc
Merge pull request #1003 from dotnet-architecture/fix/unit-and-functional-tests-failures
Fix tests projects compilation errors and unit tests failures
2019-04-11 20:17:59 +01:00
Miguel Veloso
493df257c8 Fix compilation errors and unit tests failures 2019-04-11 20:12:58 +01:00
eiximenis
c0e125f2bf Merge from features/devspaces to dev 2019-04-11 14:38:31 +02:00
Miguel Veloso
396d33fe7b Use AsyncEventingBasicConsumer in RabbitMQ to properly use async event handlers 2019-04-02 15:36:20 +01:00
eiximenis
e809029e2c Final fixes to make it work under Devspaces 2019-03-28 18:59:45 +01:00
jmanuelcorral
0706c724ad Changed default logstashUrl to null 2019-03-27 15:58:57 +01:00
jmanuelcorral
a0699501b1 Merged from Dev 2019-03-27 15:54:03 +01:00
jmanuelcorral
905f8552d9 Updated pointing to ELK external service for testing and demo purposes 2019-03-22 13:45:02 +01:00
jmanuelcorral
65b7b31d8d Done Updating versions 2019-03-21 16:38:01 +01:00
jmanuelcorral
06e07914e1 First version with Kibana/ElasticSearch & Logstash, needs refactor 2019-03-19 15:57:47 +01:00
eiximenis
1f762a6bcf devspaces scripts 2019-03-15 19:52:34 +01:00
Miguel Veloso
c1d7ca8951 Merge branch 'dev' into features/add-seq-sink
# Conflicts SOLVED:
#	.gitignore
#	src/BuildingBlocks/WebHostCustomization/WebHost.Customization/WebHostExtensions.cs
#	src/Services/Basket/Basket.API/Basket.API.csproj
#	src/Services/Basket/Basket.API/Program.cs
#	src/Services/Basket/Basket.API/Startup.cs
#	src/Services/Catalog/Catalog.API/Catalog.API.csproj
#	src/Services/Catalog/Catalog.API/Program.cs
#	src/Services/Catalog/Catalog.API/Startup.cs
#	src/Services/Identity/Identity.API/Identity.API.csproj
#	src/Services/Identity/Identity.API/Program.cs
#	src/Services/Identity/Identity.API/Startup.cs
#	src/Services/Location/Locations.API/Locations.API.csproj
#	src/Services/Location/Locations.API/Program.cs
#	src/Services/Location/Locations.API/Startup.cs
#	src/Services/Marketing/Marketing.API/Marketing.API.csproj
#	src/Services/Marketing/Marketing.API/Program.cs
#	src/Services/Marketing/Marketing.API/Startup.cs
#	src/Services/Ordering/Ordering.API/Ordering.API.csproj
#	src/Services/Ordering/Ordering.API/Program.cs
#	src/Services/Ordering/Ordering.API/Startup.cs
#	src/Services/Ordering/Ordering.SignalrHub/Ordering.SignalrHub.csproj
#	src/Services/Ordering/Ordering.SignalrHub/Program.cs
#	src/Services/Ordering/Ordering.SignalrHub/Startup.cs
#	src/Services/Payment/Payment.API/Payment.API.csproj
#	src/Services/Payment/Payment.API/Program.cs
#	src/Services/Payment/Payment.API/Startup.cs
#	src/Web/WebMVC/Program.cs
#	src/Web/WebMVC/Startup.cs
#	src/Web/WebStatus/Program.cs
#	src/Web/WebStatus/Startup.cs
#	src/Web/WebStatus/WebStatus.csproj
2019-02-28 15:34:12 +00:00
Igor_Sychev
e98c625f81 runfix 2019-02-28 11:43:44 +03:00
Miguel Veloso
b6b0744c74 Standarize ApplicationContext logging property 2019-02-26 21:59:16 +00:00
Miguel Veloso
38a86f19c4 General refactoring for documentation 2019-02-26 21:55:04 +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
eiximenis
e310a525fe Devspaces files for Apigateways, basket, ordering, aggregators 2019-02-25 13:26:31 +01:00
Miguel Veloso
7dbab01b44 Update traces templates 2019-02-22 15:10:18 +00:00
Miguel Veloso
dfc680e152 Fix naming inconsistency 2019-02-21 18:32:57 +00:00
Miguel Veloso
405e5be62b Add publishing integration events traces 2019-02-21 17:58:36 +00:00
Miguel Veloso
12148c9723 Refactor LogContext for IntegrationEvent Handlers to include AppName 2019-02-21 15:51:37 +00:00
Miguel Veloso
2158938dda Fix IntegrationEventIdContext logging property name 2019-02-18 22:35:00 +00:00
Miguel Veloso
122fab5108 Add LogContext to IntegrationEventHandlers 2019-02-18 19:33:04 +00:00
eiximenis
820330556b updated files to new devspaces format 2019-02-13 10:02:07 +01:00
eiximenis
eed86811aa Merge branch 'test-devspaces' of https://github.com/dotnet-architecture/eShopOnContainers into features/devspaces 2019-02-12 15:55:16 +01:00
Miguel Veloso
29c41fe3e3 Remove specific version for Microsoft.AspNetCore.App 2019-02-06 21:37:30 +00:00
Miguel Veloso
423066a822 Add log traces for integration event handling 2019-02-06 18:53:30 +00:00
Miguel Veloso
b9839d15c6 Added traces for UserCheckoutAcceptedIntegrationEvent 2019-02-06 15:48:28 +00:00
Miguel Veloso
24b660f339 Expore Program.AppName/AppShortName for logging 2019-02-06 13:03:54 +00:00
Miguel Veloso
3a22e2f35b Add Seq as sink and some integration event traces 2019-01-31 13:33:36 +00:00
Ramón Tomás
873d70a67e Fixed netcore2.2 CORS issue not allowing wildcard origins 2019-01-04 13:39:25 +01:00
Ramón Tomás
a387f21029 fixed merge 2019-01-03 18:42:26 +01:00
Ramón Tomás
b9dcc80acd Merge Netcore2.2 branch 2019-01-03 18:41:58 +01:00
Ramón Tomás
dbf175f913 Fixed missing env variables in marketing.api in k8s scripts
Added Resource path in webstatus UI when deploying with K8S
Added Liveness healthChecks
Updated k8s healthcheck configuration
2019-01-03 17:11:56 +01:00
Ramón Tomás
fa0b1a7a6b Added serilog 2018-12-13 12:13:59 +01:00
Ramón Tomás
ffca2da0b3 Migrated to netcore 2.2 2018-12-11 13:51:58 +01:00