Activities of "andmattia"

Question

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
Question
  • 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?

Question
  • 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

  • ABP Framework version: v7.1.1

I've a solution base on 7.X where I use DynamicProxy and Ocelot.

I see the video to move proxy from dynamic to static dynamic proxy

But my gatway not show my serivice. So I create a sample solution from scratch (via suite), I build all module and I try to check if productService work as expected but it doesn't work.

It's very simple to reproduce:

  • open abp suite
  • create empty solution (microservice template)
  • run gateway
  • run admin service
  • run product service
  • get API definition

My expected is to see productService as well

  • ABP Framework version: v7.1.0

I've a case where I have api the host need to access to orders (all tenant) and tenat user only own data.

I know that is possible to do that in appliaction/domain but I need to add logic to all calls. My idea is create a second HttpApi and disable datafilter but it doesn't work.

I create a using with UnitOfOwrk and inside of this using a second using disable a data fitler for multitenant but on application service I see tha same GIUD fot unit off work but IMultitenat filtert have filter with IsEnable set to true.

Is it possibile disable filter on HttpApi and propagate to Application/Domain/EF?

  • ABP Framework version: v7.1.0
  • UI type: Angular
  • DB provider: EF Core / MongoDB

I've a method POST to send file that work on own microservice but when call came from OCELOT all data send it is blank/null.

If I expose directly the microservice it works.

My call come from HttpClient

  • ABP Framework version: v7.1.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I've move my solution to LeptonX.

So I've created a second microservice and my angular UI has a new menu but the root name still visible to all user "autenticated" and "not autehnticated".

How can set my second menu visibile only for auth user?

I try to change my routing.module.ts inside a microservice folder off angular app but base menu name still visible

{
    path: '',
    pathMatch: 'full',
    component: DynamicLayoutComponent,
    children: [],
    canActivate: [
      AuthGuard,
      PermissionGuard
    ],
  },
Showing 1 to 10 of 31 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11