Activités de "AbpRaven"

hi, Why should we use IdentityServiceDomainTestBase for application layer tests?

Hi,

Could you provide the full steps to reproduce the problem? thanks.

I have create a new (first) test in identity microservice

public sealed class SampleAppService_Tests : IdentityServiceApplicationTestBase
{
    private readonly IUserAppService _userAppService;
    private ISettingManagementStore _abpSettingStore;

    protected override void BeforeAddApplication(IServiceCollection services)
    {
        _abpSettingStore = Substitute.For<ISettingManagementStore>();
        services.AddSingleton(_abpSettingStore);
        base.BeforeAddApplication(services);
    }
    
    public SampleAppService_Tests()
    {
        _userAppService = GetRequiredService<IUserAppService>();
    }

    [Fact]
    public async Task Test()
    {
        var test = await _userAppService.CreateUser(new UserCreateInput()
        {
            UserName = "TestUserName",
            Email = "test@test.com"
        }, ERole.External);
    }
}

And got this error Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.Settings.DefaultValueSettingValueProvider -> Volo.Abp.SettingManagement.SettingStore -> Volo.Abp.SettingManagement.SettingManagementStore. ---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.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.IDistributedCache1[Volo.Abp.SettingManagement.SettingCacheItem], Volo.Abp.Settings.ISettingDefinitionManager)'.`

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
Question

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

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

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
Répondre

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.

Répondre

hi Here the log from text file

Répondre

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

Répondre

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

Répondre

Hi,

Can you share the full error logs?

I think this full error :(

Affichage de 11 à 20 sur 22 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11