简体   繁体   中英

Jhipster Extends Microservice Solution

I use jhipster in a new project that needs different customizations for each client. Every microservice (registry office, accounting etc ...) must be able to be customized according to some customer needs. Which is the best solution to manage an extendable microservice with different customizations for each client?

Tnk!!

In my point of view, you should ask yourself: Why do you want to have such a shared microservice stub that all the other service have to use as a basis. There are good reasons I am aware of but one big strength of a microservice architecture is that each service can make use of the technology which is best suited for its business needs.

Getting back to your question, you could create a Git repository with a basic JHipster setup which only contains those application parts that all microservices should have in common. Then you can create forks of this repository for each microservice.

Another approach: Instead of having a single base project you could create small modules of those features that all microservices should have in common, eg a common logging mechanism. Then all microservice projects can use these modules as dependencies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM