Starts in:
0 DAY
4 HRS
23 MIN
5 SEC
Starts in:
0 D
4 H
23 M
5 S
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
    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 v9.1.0-preview. Updated on November 20, 2024, 13:06