Ends in:
1 DAY
21 HRS
53 MIN
14 SEC
Ends in:
1 D
21 H
53 M
14 S

Activities of "BeytullahBB"

I am developing a Tenant Management system using the ABP Framework. The project does not include Commercial modules. However, I would like to design a system with the following features. I am requesting guidance and support for implementing dynamic connection management and using separate database servers for read/write operations.

Requirements:

  1. Tenant-Based Module Management The system will have modules like bank, cash, and orders, which will be structured using a microservice architecture. The following database connection scenarios will be applied for each tenant: Bank Module: Connects with a tenant-specific connection string. Cash and Order Modules: Each uses a separate connection string. Other Modules (e.g., user management): Operates on a default database connection.
  2. Separate Database Servers for Read and Write Operations GET (read) operations will use a dedicated database server (X Server). CREATE, UPDATE, DELETE (write) operations will use a separate database server (Y Server). The replication and synchronization between X Server and Y Server will be managed by the database administration team. In summary: X Server should be used for GET operations. Y Server should be used for CREATE, UPDATE, DELETE operations.
  3. Angular Frontend Integration The Angular-based frontend should implement a system to manage module connections based on the tenant information. When a user opens any module (e.g., bank module): If a tenant-specific connection string exists, it should be used. If no tenant-specific connection string is defined, a default database connection should be used. Example Scenario: Connection Strings for Tenant1 Bank Module

GET operations: Server=banka-server-get;Database=tenant1_banka_db;User Id=...;Password=...; UPDATE, CREATE, DELETE operations: Server=banka-server-other;Database=tenant1_banka_db;User Id=...;Password=...; Cash Module

GET operations: Server=kasa-server-get;Database=tenant1_kasa_db;User Id=...;Password=...; UPDATE, CREATE, DELETE operations: Server=kasa-server-other;Database=tenant1_kasa_db;User Id=...;Password=...; Order Module

GET operations: Server=siparis-server-get;Database=tenant1_siparis_db;User Id=...;Password=...; UPDATE, CREATE, DELETE operations: Server=siparis-server-other;Database=tenant1_siparis_db;User Id=...;Password=...; Other Modules

GET operations: Server=default-server-get;Database=common_db;User Id=...;Password=...; UPDATE, CREATE, DELETE operations: Server=default-server-other;Database=common_db;User Id=...;Password=...; Expected Solution:

  1. Dynamic Connection Management with ABP Framework A proposal for managing tenant-based dynamic database connections using the ABP Framework. An example approach for configuring separate database connections for read and write operations.
  2. Domain and Application Layer Development Suggestions Examples of required development for tenant-based connection string management in the domain or application layer.
  3. Angular Frontend Integration Suggestions for implementing module-based API calls using tenant information on the frontend. Goal: To establish a flexible infrastructure for tenant-based connection management and utilize separate servers for read/write operations. I aim to achieve the above requirements using the ABP Framework's existing capabilities. However, I could not find a direct example addressing this scenario in the ABP Framework documentation. I would appreciate your guidance and recommendations.

Thank you!

  • ABP Framework version: v7.1.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  • ABP Framework version: v4.4.2
  • UI type: Angular & Dotnet Core 5.0
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hello, I have a technical problem. We are trying to create the developer environment for our project. For this, I created a new database for the developer environment (appsetting.dev.json) Everything worked normally until now, but after that I wanted to add a new tenant. When adding Tenant I defined admin mail adress as hi@developer.dev and the password as Developer123. When I log out and try to log in to the system with the new tenant with hi@developer.dev which I supposed was my admin, I recieved “Invalid user id or password” I checked the AbpUsers table and couldn’t see the hi@developer.dev user.

Question 1: Without selecting a tenant I could login to the system but when I select the tenant I cannot login to the system, what did I do wrong?

When I have a problem with the hi@developer.dev, I tried to register as new user by swithing to Developer tenant. This time I got an smtp error. Here is my second question. When we try to register as new user, can we cancel the event of sending an e-mail to the relevant person? If yes, how will it be? I would be glad if you help. Good work, Take it easy.

Screenshots Stage-1:https://prnt.sc/0TfSgjcU0m5r Stage-2:https://prnt.sc/eR8P-KqugBzl Stage-3:https://prnt.sc/F8I8bNOCqcoi Stage-4:https://prnt.sc/TlHAzsoPX13d Problem 2: Stage-1:https://prnt.sc/QZsht_iZRC6n Stage-2:https://prnt.sc/sOGeFOi214br Errors: https://www.file.io/hbhY/download/4KdDOpOU9zxL

Showing 1 to 2 of 2 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35