Atividades de "DominaTang"

Login as host admin, there is text template setting for security code email template, which is:

<h3>{{L "EmailSecurityCodeSubject"}}</h3>

<p>{{L "EmailSecurityCodeBody" model.code }}</p>

So I add a "Hello" to the template, save. Login in as an user of a tenant, the email is still old template.

Manually insert an record in [AbpTextTemplateContents] with exact same template content for the tenant (sent TenantId column value) for the table. The email content still not changed.

ABP Framework 7.2.1

When login as host admin, via Admin Setting page, UI can change the following settings. Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword Abp.Identity.Password.PasswordChangePeriodDays

UI save would update record in AbpSettings table. However, I noticed that for existing tenant I created before update above settings, when login as Tenant Admin, above settings are not changed.

I am wondering where these two settings for each tenant? Is there a way to update all tenants settings when host settings are updated.

Thanks

  • ABP Framework version: v7.2.1 Micro Service Template

Hi,

With latest ABP Framework Micro Service Template. Does it support separate database for each tenant. For example, when Tenant Id is value 'aaa", then DbContext point to Sql Server database 'aaa', when TenantId is value 'bbb', DbContext pointing to SqlServer 'bbb' within a MicroSerivce.

Thanks,

In MicroService architect, Gateway plays the role 'Gateway for backend', each MicroService just need to know the gateway Url. And it's gateway forward the request from one Micro Service to corresponding target MicroService.

However, each MicroService has RemoteServices section, in appsettings.json as below. In this case, when MicroService A calls MicroService B's method, it's directly access MicroService B's Url or still forward the request to the gateway?

"RemoteServices": { "LxxxService": { "BaseUrl": "https://localhost:44502/", "UseCurrentAccessToken": "false" }, .. }

With ABP Micro Services, is it fine that two Micro Services actually point to same SQL server or MongoDb instance, but each takes care of a set of tables of its own.

  • ABP Framework version: v7.2.1

With ABP Framework, when entity data is changed, it is written to AbpEntityChanges and AbpEntityPropertyChanges table.

Is the a way intercept Abp's implementation, so that we can do this: Get Old Entity Instance value, Get new Entity Instance value, this entity change is triggered via which API and by who. Then we sent whole data to an event bus.

Thanks

  • ABP Framework version: v7.2.1 Micro Service *:

How to setup Serilog file retention policy in Abp Framework for all Micro Services?

  • ABP Framework version: v7.2.1

I read throw Abp's document about IntegrationService, there is one question, would abp gateway reject request to Integration Service by default in a Micro Services architect.

  • ABP Framework version: v7..2.X
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

In Abp MicroSerivce projects, if an API call triggered by UI to MicroService A Method1, and Method1 call Method2 in MicroService B. In Method2, if access CurrentTenant property, would it get the same value in Method1? This is the TenantId, CurrentUser penetrate issue across micro-services.

Thanks

  • ABP Framework version: v7.3.2
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Pergunta

With code below, at the second unit of work section, the line var dbData = repository.GetAsync(inserted.Id); throw exception, there is no Such Entity? Though if check database later, the new record is inserted into database successfully. Does Mongo driver cache the data somewhere?

[UnitOfWork(IsDisabled = true)]
public async Task SubmitAsync(XXXinput dto)
{
    using var uow = _unitOfWorkManager.Begin(requiresNew: true, isTransactional: true);
   //Map dto to Domain entity
   var inserted = await repository.InsertAysnc(domainEntity);
    await uow.SaveChangesAsync();
    await uow.CompleteAsync();

   using var uow = _unitOfWorkManager.Begin(requiresNew: true, isTransactional: true);
   var dbData =  repository.GetAsync(inserted.Id);
   //Other db operation
 await uow.SaveChangesAsync();
    await uow.CompleteAsync();
}
  • ABP Framework version: v7.2.3
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Mostrando 1 até 10 de 24 registros
Made with ❤️ on ABP v8.2.0-preview Updated on março 25, 2024, 15:11