Starts in:
1 DAY
21 HRS
31 MIN
33 SEC
Starts in:
1 D
21 H
31 M
33 S

Activities of "DominaTang"

With ABP Micro Services, is it fine that two Micro Services actually point to same SQL server or MongoDb instance, but each takes care of a set of tables of its own.

  • ABP Framework version: v7.2.1
  • Add SignalR sample to both backend, gateway and Angular. Somehow with Micro Services template, the Angular SignalR request is always rejected by gateway and we couldn't figure out the reason.

  • AbpEntityChanges, add two properties which is JSON format old instance snapshot and new instance snapshot.

Can ABP framework put Snapshot of old entity instance and new instance ExtraProperties in JSON format. Since sometimes, there is such audit requirement. For example, previous form submitter is A, new submitter is still A, this property is not changed. However, for audit perspective, the app needs to show who make such changes or even for property is not changed, the snapshot value should still show on the UI.

With ABP Framework, when entity data is changed, it is written to AbpEntityChanges and AbpEntityPropertyChanges table.

Is the a way intercept Abp's implementation, so that we can do this: Get Old Entity Instance value, Get new Entity Instance value, this entity change is triggered via which API and by who. Then we sent whole data to an event bus.

Thanks

  • ABP Framework version: v7.2.1 Micro Service *:

Thanks, From that Host file I find code set up SerigLog and the extension method uses "SerilogConfigurationHelper" in Shared.Hosting.AspNetCore project

How to setup Serilog file retention policy in Abp Framework for all Micro Services?

Are you using the Microservice template right?

You can find it in the YourProjectName.Shared.Hosting project.

That's the thing I feel weird. I noticed this file name in another thread. However, I check Shared.Hosting project there is no such file. I also checked the project template generated by Abp Suite last year, couldn't find this file neither. The ABP version is 7.1.0

I noticed that Abp installed some Serilog packages, one thread in support forum did mentioned about SerilogConfigurationHelper, but couldn't find it in source code.

My question is by modifying which place so that every AppService which has build in Logger property would have new SerigLog behavior. I believe the code below wouldn't change Logger's behavior. var log = new LoggerConfiguration() .WriteTo.RollingFile("log-{Date}.txt") .CreateLogger();

How to setup Serilog file retention policy in Abp Framework for all Micro Services?

  • ABP Framework version: v7.2.1

The integration services are non authorized endpoints and they should not be exposed to gateways.

There are two ways when using synchronous communication between microservices;

  • If you want to consume an exposed endpoint by a microservice which the internal service is authorized, you need to use client-credentials flow to make a request to the related microservice.
  • If your service is not authorized, you can use Integration services.

The suggested way is to write integration services spesifically for the related microservice interactions. You can check the Integration Services documentation.

I will update the documentation to include the integration services aswell.

If service is not authorized, and there is [Integration Service] for the an app service interface, from another microservice what to call this service, what the appsettings.json look like, just added to "RemoteServices" section?

The gateway has no routing for internal services by default, it should be 404 not found.

For inter-micro services communication, is there any special setting for [integration service] or just follow ABP's document regarding to communications between micro services.

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