42
Views
9
Comments
How we can get the producer and consumer module application wise?
Application Type
Reactive
Service Studio Version
11.55.28 (Build 64236)

I have a requirement where I need to show the details Application wise. In thsi I need to show the consumer and producer module for Individual Application.

2026-03-12 06-20-48
KUNDAN CHAUHAN
Champion

Hey @Jivendra Kumar ,

We can do it like this:

Option 1: Using Lifetime API we can fetch:

  • The list of all Applications

  • The list of all Modules

  • And the list of Module Dependencies (which module is consuming which)

Option 2: Use Discovery (Forge Component)

  • Applications and their modules

  • Which modules are producers

  • Which ones consume others

  • Circular dependencies and architecture views


Thanks


2019-11-11 17-10-24
Manish Jawla
 
MVP

Hi @Jivendra Kumar ,


You can go to service center and open the application module and you will find the details:

Here you will find consumer & producer relationship.

Regards,

Manish Jawla

2024-08-12 03-27-24
Jivendra Kumar

HI @KUNDAN CHAUHAN & @Manish Jawla Thanks for your time. I need entity where OutSystems store the producer and consumer Module's details, so that I use in service studio to make the SQL query or logic. If any entity has such attribute, please let me know.

Thanks,

Jivendra Kumar


UserImage.jpg
Nani

Hi, @Jivendra Kumar 

I hope this helps, there are few systems entity that can help you.


2024-08-12 03-27-24
Jivendra Kumar

Hi @Nani I am doing same but not from where am getting the consumer details. Please help for that?

UserImage.jpg
Nani

Espace is also known as module with Espace we can get assembly Id with that we can each module dependency's from "Assembly _Dependency". check out the diagram once again in pervious post.

2024-08-12 03-27-24
Jivendra Kumar

I am not getting the data. can you please explain in detail?  There is one case: an application module consuming the other application module and I need to show that module is consumer module for first application.

UserImage.jpg
Nani


Select {Application}.[Id] AS App_ID, {Application}.[Name] AS ApplicationName, {Espace}.[Id] M_ID, {Espace}.[Name] ModuleName, Dep_App.[Name] Consumer_APP , Dep_E.[Name] Consumer_Module  from {Application}

inner join {App_Definition_Module} on {App_Definition_Module}.[Application_Id] = {Application}.[Id]

inner join {Module} on {Module}.[Id] = {App_Definition_Module}.[Module_Id]

inner join {Espace} on {Espace}.[Id] = {Module}.[Espace_Id]

left join {Assembly} on {Assembly}.[Espace_Id] = {Espace}.[Id]

left join {Assembly_Dependency} on {Assembly}.[Id] = {Assembly_Dependency}.[Assembly_Id]

left join {Espace} AS Dep_E on Dep_E.[Id] = {Assembly_Dependency}.[Espace_Id]

left join {Module} AS Dep_M on Dep_M.[Espace_Id] = Dep_E.[Id]

left join {App_Definition_Module} AS Dep_APP_M on Dep_APP_M.[Module_Id] = Dep_M.[Id]

Left join {Application} As Dep_App on Dep_App.[Id] = Dep_APP_M.[Application_Id]


order by {Application}.[Id] DESC

2024-08-12 03-27-24
Jivendra Kumar

Thanks for your valuable comment but I need consumer dependency Application wise by passing the application Id.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.