Skip to content

avinfinity/MicroServices-WithRabbitMQIntegration

Repository files navigation

Microservices - Sample implementation using RabbitMQ

Architecture Overview

Architecture Overview

Prerequisites

EF Migrations:

EF migrations are already checked in, so only data base update is enough.

In directory : Pricing.Infrastructure
dotnet ef database update --context IntegrationLogDbContext
dotnet ef database update --context ProductPriceDbContext

In directory : ProductCatalogue.Infrastructure
dotnet ef database update --context IntegrationLogDbContext
dotnet ef database update --context ProductsDbContext

After that you must be able to see below structure in ServerExplorer of Visual Studio Databases - Server Explorer in Visual Studio

After this, Integration unit test cases can be run from Integration tests

Note:

Databases would be automatically seeded with test data while running integration test cases