Activities of "andmattia"

Hi

Your link it's refer to setting in administration area my request is to inject in user setting menu

I can do it for single get method or need to be enable for all?

Hi

so I need to create all manually or create a second solution from scratch, copy on my own solution and adjust name/proxy?

Exactly.

I check the permission from gateway api side and it works fine but permission are defined in Application.Contracts reather then Settings that are defined in Domain.

My Ocelot use this config

{
            "DangerousAcceptAnyServerCertificateValidator": true,
            "ServiceKey": "Administration Service",
            "DownstreamPathTemplate": "/api/abp/{everything}",
            "DownstreamScheme": "https",
            "DownstreamHostAndPorts": [
                {
                    "Host": "localhost",
                    "Port": 44367
                }
            ],
            "UpstreamPathTemplate": "/api/abp/{everything}",
            "UpstreamHttpMethod": [
                "Put",
                "Delete",
                "Get",
                "Post"
            ]
        },
        

The output from Angular

And I miss the Setting from the other module/s.

I think is the conencted issue.

We are working in a very large and shred app (React, Python, Flutter, Angular) so we use gateway to prepare API for single app.

In this scenario we se the limitation about create a proxy from gateway. In the past you suggest to use dynamic proxy on gateway adding HttpClient to gateway project. This create a straight connection but in this way when yoc call definition you see all microservice API definitions.

I test that is not possibile use Ocelot in mix Dynamic+Static you can simple reproduce on microserivce template if you run in dynianic you see an output that is different if you run in static (reffer the first image on this topic).

Now we found a similar issue relate to settings. On angular side when we develop a module we can check if a settings exist and it's true but when we mount this module on final app and calling

this.configStateService.getSetting$ 

when don't see our settings and we get only the settings came from base service on Ocelot and it's exactly what happen bheind the scene when I call config from swagger. To see my config, caming from module, I need to call microservice swagger but it's not possibile when app runs.

Let me know if you have more clear about this issue

It solve partial the problem because I've the same issuues related to settings.

If I call the

this.configStateService.getSetting$

If I call this from API (gateway) my settings is empty if I look to internal microservice I see the settings....

No is not working.

You can see on simple solution has I described above

Any update?

Hi

we are in microservice landscape. Accoding to documentation BFF we add a Flutter app and a React portal. So we need to get the API definition to create a TS proxy.

Actually we use a dynamic proxy because we need to get the API definition from gateway (in the past Galip suggest us to use this way).

I see the video to move from dynamic to static and in this way we not need to re deploy the gateway Client Proxy but with static proxy when ask gateway definition you don't receive the definiotion from other service. (look the image above)

Hi

I see the HttpClient with correct proxy but if you try to get definition from gateway (ocelot) yon don't get it.

So it's not possibile to use. If you switch to dynamic and make gateway dipends from HttpApi you can see the API defintion from gateway.

Also I see that if you move to dynamic you lost audit, language, etc and you can see only the dynamic.

Showing 11 to 20 of 88 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11