Starts in:
2 DAYS
10 HRS
19 MIN
57 SEC
Starts in:
2 D
10 H
19 M
57 S

Activities of "andmattia"

When you say ‘I would suggest that services not depend on each other,’ do you mean that each service must be independent? Should I use events via a buffer to get data from other services? But generally speaking, if I need to check the stock level and the stock level is managed by the stock service, how can I achieve that?

I’ve checked the documentation, but it’s not clear and the pattern we need to solve is not covered. My question is more related to best practices and potential bottlenecks.

I have 2 microservices. In one of them, I expose an API to geolocate a point via GMaps.

So now I'm in this situation:

  • Service 1, where the geolocation API is deployed, needs information from Service 2.
  • Service 2, in some cases, needs to geolocate its data.

I can't reference my application contract from Service 1 in Service 2, and at the same time, I can't add the contract from Service 1 to Service 2. I tried to call my HttpClient from the Domain, but I can't check permissions and still have a 401 issue.

So my questions are:

  • Is it correct to call a service (via HttpClient) in the Domain module? Or is it better to call HttpClient only from the Application?
  • In this case, do I need to redesign the architecture and isolate my geolocation service to be called separately by Service 1 and Service 2? Or should I call it via EventBus? If I call it via EventBus, I don't need to import permissions in the application contract.

Hi

great suggestion to solve this case.

But generally speaking which is the best practice to execute operation via backgroud job in a microservice env?

In my case my service has complete different db so it doesn't access to abpUser / abpRole table

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?

Thanks

Great!

It works fine.

Thanks

Hi

it works fine but I've the same issue. Sliding down the background image not slide and my form has not backgroud

Hi

How can I push js script into login page (this page is embedded on account DLL).

I can only work on index.

I need to customize all login page to achive this result.

Hi I can't upgrade right now beacuse we need to test all services in 8.x before upgrade.

How can I patch it has you suggest?

I can't semply add class beacuse the login page is embedded on account module (MVC)

Showing 11 to 20 of 142 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06