Skip to content

ecostanzi/spring-tenant-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tenant-switch

Single App, multiple customers customizations.

You sometimes need to override some default implementations due to customer needs. One way to achieve it using spring boot is a combination of annotations.

Try it out

Checkout the project and change the property you find in the application.properties.

mlt.customer=customer1

or

mlt.customer=customer2

or

mlt.customer=

Run it using

mvn spring-boot:run

and connect to localhost:8080/.

The proper service implementation will be chosen to serve the controller.

About

Spring - handling multiple service implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published