أنشطة "andmattia"

We work on a mircroservice applicaction.

I have a function on service 2 (for sending message) that can be use from UI (user can send message) or via backgroud job (every x mins check if I've message to send).

If I try to send message via UI my user is valid and I can pass the token from service 1 -> service 2 but when I try to run it on background job it doesn't work. So it works correctly because background is different process/thread so it don't have an authenticated context.

My question wich is the correct configuration for allow my service 1 work for users and jobs? Is it possibile or I need to move my job in a different service?

I have an issue with auth server on 7.4.5.

I create a new solution 7.4.5 if you try to login on auth server the page not slide if area is small.

I see that in 7.4.5

<div class="container-fluid p-0 overflow-hidden">
...
</dv> 

If I set overflow-x: hidden; it slide but I see a black band at the end off page.

How can we fix it?

I try with new 8.1.x and this issue is gone

سؤال
  • ABP Framework version: v7.4.5
  • UI Type: Angular
  • Database System: PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I've an handler to sync data from microservices

 public async Task HandleEventAsync(ProductEto eventData)
    {
        if (eventData != null)
        {
            using (var unitOfWork = _unitOfWorkManager.Begin())
            {
                _currentTenant.Change(eventData.TenantId);
                try
                {
                    var gmd = _objectMapper.Map<ProductEto, ProductSync>(eventData);

                    await _productSyncRepository.InsertAsync(gmd);
                }
                catch (Exception ex)
                {
                    Logger.LogError(ex, "Handle Event ProductEto Error");
                }
                finally
                {
                    await unitOfWork.CompleteAsync();
                }
            }
        }
        else
        {
            Logger.LogWarning("Input data is null into handle event ProductEto");
        }
    }

In this case I've a PK duplicate so Postgres raise an excetion but this happen in finally and my handler continue to retry process my data.

Also I observe that if I call InsertAsyc/UpdateAsync and not return to a local varibile update or insert in some case does't work, if I return the value it always work.

سؤال
  • ABP Framework version: v7.4.5
  • UI Type: Angular
  • Database System: PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I've configured my host with AzureAD and I'm able to login on host, so I move to a tenant to try to login so I see the button to login with OpenIdConnection. I check in administration settings and I see that my provider has a checkbox to override settings from host. So if i don't to use openIdConnection provider in tenant is not possibile beacuse If I uncheck the OpenIdProvider "Use host settings" and leve all blanks I still using host provider.

I think is a big issue in a multitenat enviroment. My goal is use my openId provider for host but not all tenant can use it if a tenant need it can set it up on administration area.

I try to chage json on db enable for host disable for tenant but host win at all.

سؤال

I write a module with UI angular component.

When I test it inside the module all works fine but when I mount in final app, where I use a LeptonX, some classes are missed for example

<a><i class="fas fa-comments fa-lg"></i>
      <span *ngIf="hasData" class="badge badge-primary">
      {{ count }}
    </span></a

In final app not show the correct UI, according with LeptonX

<span class="lpx-menu-item-icon">
      <small class="menu-item-badge">2</small>
      <i class="lpx-icon action-icon bi bi-bell-fill" aria-hidden="true"></i>
</span>

So i need to create 2 component to work with Lepton Theme.

Where I can find a manal to explain all CSS/class of leptonX and of course a compare wiht lepton used inside the module template

  • ABP Framework version: v7.4.5
سؤال
  • ABP Framework version: v7.1.0
  • UI Type: Angular

I've a user settings that I need user can adjust by it self.

Is it possible to insert on the green line like this picture?

At the moment I see that I can add a menu item on my menu using UserMenuService is it the only way to do?

سؤال
  • ABP Framework version: v7.1.0
  • UI Type: Angular
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no

I have a microservice solution whit 5 services.

I one off this I've an event (es. connect / disconnect) in GET. I see the method called from gateway (oceleot) and it works on API but I don't see the event tracked by AbpAuditLogs table.

The method in in API Controller Authorized but this method has tag AllowAnonymous

  • ABP Framework version: v7.1.0

In my microservice solution we need to add a second ui app (es. admin app for internal users). From suite / abp cli I can't create only the ui.

Which is the best way to do?

  • ABP Framework version: v7.1.0

I try to create a proxy from 2 differet microservice and until yestarday all works fine but now I get this error:

[API Not Available] Request to
https://localhost:45526/api/abp/api-definition
is unsuccessful. Please double-check the URL in the source project environment and make sure your application is up and running.

If I delete the proxy folder the first run generate 1 service but when I try to execute the second I get the error but if I click on link https it works fine and get API definition

سؤال
  • ** Versione ABP Framework ** : v7.1.0

I need multiple consumer, each per tenant.

I see that need to use RabbitMq module in place of IDistributedEventBus beacuse I need to add Header attribute. This solve the first part of problem: injection off message.

So now I need to register a consumer with specific header... this part is doing from IDistributedEventHandler but this not use header.

I can achive this result?

This need is beacuse at the moment I've multple injection message and a single process message so this is a botlek

عرض 1 الي 10 من 35 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11