Activities of "AbpRaven"

Question

How can I mock grpc server for tests? I have 2 microservices and from one of them i send request through gprc to second one. I have overwrited AfterAddApplication. This works but the request is sent to real service and of couse i got exception.

protected override void AfterAddApplication(IServiceCollection services)
{
    _client = Substitute.For<MyClass>();
    var responce = AsyncUnaryCall<SomeClass>(); //responce with real value
    _client.GetAllAsync(Arg.Any<Request>()).Returns(responce);
    services.AddSingleton(_client);
}

Good morning. The problem is after deploy we can login as an admin but after few time we can not to login at all and get this error message:

error: "invalid_request" error_description: "This client application is not allowed to use the specified scope." error_uri: "https://documentation.openiddict.com/errors/ID2051"

If we deploy application (without some changes we can login again but after few time can not). Also I tried to use the link below but this page is empty

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core

Hi,

Can you share the full error logs?

I think this full error :(

currently we have disabled writing to the txt file. But we can add it again and send you this file. But it take a few time

And also I forgot to note that this problem happen only on some environment. If we run application locally through the we do not get this problem

hi Here the log from text file

Currently I got what happend. We miss the orderService for angular. But why can we login in the first time? It is looks like a bug.

Does ABP have a feature out of the box to parallel migration process inside Kubernetes cluster as Kubernetes Jobs to distribute the load between instances, rather than parallel migration process using threads within one Job for all applications on one instance? It would be really useful during the project growing because when you have >100 microservices with migrations, one Job to migrate all applications in parallel look, at least, like a workload with enough resources consumption.

Or maybe there is a feature to run DBMigrator per application/microservice rather than collect all migrations from all applications to run migration process for all of them?

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core
Question

Hi. Do you have some module for generate pdf/excel?

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core

Hi. I have problem with testing of Identity microservice. I got an issue .Reflection.DefaultConstructorFinder' on type 'Volo.Abp.SettingManagement.SettingManagementStore' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Abp.SettingManagement.ISettingRepository settingRepository' of constructor 'Void .ctor(Volo.Abp.SettingManagement.ISettingRepository, Volo.Abp.Guids.IGuidGenerator, Volo.Abp.Caching.IDistributedCache`1[Volo.Abp.SettingManagement.SettingCacheItem], Volo.Abp.Settings.ISettingDefinitionManager)'.

But in another microservice I did not get this issue. For exapmle in another microservice we mock settings: and when we mock our settings manager:

But in identity microservice it is not working and I do not understand what is wrong

How we can fix the problem? please help

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core
顯示 22 個紀錄的 1 到 10 個.
Made with ❤️ on ABP v8.2.0-preview Updated on 3月 25, 2024, 15:11