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.
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
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
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
Hi, @Jivendra Kumar
I hope this helps, there are few systems entity that can help you.
Hi @Nani I am doing same but not from where am getting the consumer details. Please help for that?
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.
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.
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
Thanks for your valuable comment but I need consumer dependency Application wise by passing the application Id.