Activities of "andmattia"

Hi

I've create a new app via suite and use only the angular folder with my microservice solution. So now I'm a little confuse how can I change my tenant.

I try to explain the scenario:

  1. App create via suite (no microservice)
    1. Create 2 tenant
    2. Open the UI
    3. go to Saas anche switch to tenant
  2. App with microservice
    1. Admin app has tenant adminstration
    2. Second app (create via suite) use microservice and gateway. All function it works fine.
    3. Need to change tenant.
      1. If I add sass UI angular module to this app, configure the route to access to SaasMicroservice
      2. I don't add SAAS module to change tenant (concretly I remove SAAS angular UI module from second app). I can I change tenant? Only via admin app and open the Url of second app. The tenant propagation work via cookies?

Another confusion is releted to default product Microservice that are autogenerated on solution. Why, in angular app, the microservice is "connected" directly to productMicroservice and not to the gateway?

,
    ProductService: {
      url: 'https://localhost:44325',
      rootNamespace: 'MyMicroMicroservice',
    },

Hi @gterdem my goal is add a new app (es. a PWA to B2B on eshop example). This new app ass 2 microservice

  • Delivery service
  • Logistic service

We need to create a new dedicated gateway with Catalog, Ordering, Logistics and Delivery Service an a dadicated app. So my approch is duplicate the gateway project and adjust Seed/CORS/config to allow conncetion but for a quick start to web pwa app I create a normal APP with cli command line and copy&paste angular folder.

The question is it's the best/only path that I've to do that?

Hi

I follow the document and I've create a new solution based on microservice.

I add a new service to my new microservice solution and it works fine, so now I want to add a new application so to do that I think:

  1. add new service (ok)
  2. add new gateway, I copy the web gateway in the solution and adjust octleton.json
  3. add new UI app, a new Angular app. I copy a angular app came from new app template

Point 2 and 3 I'm not sure if it's the best way to do.

I've the same problem and I read this thread to find the solution. In my case I've change my EF repository to use IDbContext instead DbContext.

I think the misconfiguration came from AbpSuite, so when you create a new entity you get custom repo based on concrete DbContext. It works fine if you don't need to move into a microservice but if you move later to microservice you need to change this.

For example the CmsKit has this issue in BlogFeature you get and in Blog you have

With this configuration it's impossible to Replace the DbContext.

I hope this example can be usefull.

Any update?

I've sent data to login

Hi

so we can't use Auth server per tenant? or we can't use auth per tenant with Swagger?

All 2 apps is develop with abp same version with angular auth page.

I prepare a use to see our landscape and send to support

Hi

I can prepare and account for sure, how can I share the login data?

If you write to me an email è reply with credentials.

Can you explain more details? The problem happen in swagger and in angular app but only from 1 app and not in both

Hi

nop the problem is very high.

Our second app read all logs from db.

We check on Postgres SQL and no tenant will be submitted on the query.

Showing 41 to 50 of 99 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30