Skip to content

Feature 17 Multitenancy support in sql-dao library#18

Merged
kaushalaroraharman merged 1 commit intoeclipse-ecsp:17-feat-abstractroutingdatasource-implementation-for-multitenancyfrom
ihussainbadshah:17-feat-abstractroutingdatasource-implementation-for-multitenancy
Oct 29, 2025
Merged

Feature 17 Multitenancy support in sql-dao library#18
kaushalaroraharman merged 1 commit intoeclipse-ecsp:17-feat-abstractroutingdatasource-implementation-for-multitenancyfrom
ihussainbadshah:17-feat-abstractroutingdatasource-implementation-for-multitenancy

Conversation

@ihussainbadshah
Copy link
Contributor

Please refer to our contributing docs for any questions on submitting a pull request.
Issues are required for both bug fixes and features.

Resolves #17


Describe behaviour before the change

Before this change, only single tenant support was there in the sql-dao library.

Describe behaviour after the change

SQL DAO library now has the support for multiple tenants in a single deployment. Services can configure the tenantIds, enable the multi-tenant feature and SQL DAO library will be able to construct and connect to tenant specific datasources and using Spring's AbstractRoutingDataSource, it will also be able to route each request to tenant specific datasource.

Pull request checklist

  • I have read the CONTRIBUTING.md
  • My code follows the code style of this project
  • Tests for the changes have been added (for bug fixes / features)
  • All new and existing tests passed.
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

  • Yes
  • No

@kaushalaroraharman kaushalaroraharman self-requested a review October 29, 2025 12:16
@kaushalaroraharman kaushalaroraharman merged commit 55d6f48 into eclipse-ecsp:17-feat-abstractroutingdatasource-implementation-for-multitenancy Oct 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants