Open Closed

How to split Mono-repo microservice to Multi-repo? #1677


User avatar
0
asinta created

Hi,

I'm trying to develop a multi-repo microservice solution with ABP, all samples and guides are about the mono-repo example.

My problem is how can I split the mono-repo solution into multi-repo, how to solve dependencies by duplicate some code?

Thanks.


2 Answer(s)
  • User Avatar
    1
    gterdem created
    Support Team Senior .NET Developer

    Hello,

    Only way to split the microservice solution to multiple repositories is to update the project references to package reference. It means publishing each package reference to a nuget server.

    However, you can develop and store your microservices in individual repositories by duplicating shared microservice project functionalities. If you don't use tightly coupled communication between microservices (by referencing the Application.Contracts of an other microservice), it is possible to use different repositories for each microservice since microservices are independent from each other.

    But the microservice solution is the big picture manually referencing the apps, gateways and microservice host projects to make it easier to control and manage over. You don't need to use microservice solution at all if you are already experienced in development of microservice systems.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11