Multi-Database
This microservice is designed to manage multiple database configurations within a system.
Through this service, it is possible to create multiple databases within a single project and perform operations on them.
Main Features
- Retrieve a database configuration by name
- Retrieve all database configurations
- Create new database configurations
- Update existing configurations by name
- Delete database configurations by name
- Execute queries on the databases
How It Works
- Uses a service layer that supports different types of databases (PostgreSQL, Oracle, MySQL, ClickHouse, SQL Server)
- Selects the appropriate service implementation via a factory based on the database type
- Supports dynamic management of database configurations across multiple environments
- Logs all operations for easy tracking and auditing