I keep get this issue "End-User module providing services " and i have done a lot of improvement to fix it but still not fixed !
I have the following flow
- Main Style Guid App has default design template
- Main App which has the custom menu links for my application and three pages
- 4 Apps have dependency on the Main App to get the menu and the exception handler and access deny page
- 5 Core services with different bussiness
In the main App i keep get below error !!
! i dont know what shall i do in the main app that has the menu to fix this issue !!
could any body help me please
For the first finding, you need to move the style guide out from the End User Application module, and put it together with the foundation, then in all your End User application, you could consume the style guide, this should solve the first finding.
For the second finding, try to break the interface into blocks and move to foundation module, then consume the blocks and widget from your End User App, might solve the second finding.
For the last finding, I guess you need to go through all the actions and entities, try to group them with purpose, and separate them into different Core Service module, this will help you to maintain the application in a better way, also one little changes won’t affect the whole chain of consumer.
Hope this could help :)
Do you think if i removed the pages from the Main App that has shared menu and kept that empty app with only menu.
and create new app and move the pages there that would fix the issue ?
Like do you think if the yellow one will become app consume the Standard Theme App and has only custom menu
and the Blue one the new main will hold all the pages in new end user app is that will fix the issue
maybe by this way the Main App Only Menu will become foundation and the reset will become end user apps consume it without issue but i am not sure if this will solve the issue
Please advice me :)
Hi Omar AbdElhadi ,
Yes I am also thinking the same way as you mentioned, you need to remove the screens from your module where you will be keeping only menus for other end user modules to consume.
This way this issue will get resolved in AI mentor studio.
This may help you :)
Hi Omar,
Keep in mind that, for the UI share module, you need to create a new Application, and make sure the UI share module is a library module, otherwise the error will still exist even you move out all the shared UI into a new application.
which means in the end, you will have 2 reactive application and 1 service application,
Hope this help :)
I Already have shred UI Module ! has the standard style !
but each App will have a custom menu as a result of that i created the main app and place only home page and menu , custom based on the role !
If that's the case, just push all the provider module as a library module in the UI share application.
This finding from AI Mentor will appear if there's any module from another application consuming any of the blocks or actions from this application.
I have faced to this issue once before, which I have 2 application, A & B. The FE module inside App B is consuming an action from a core service module of App A, then the issue appear, after I push all the provider to a service App, the issue was fixed.
if i understand you correct you meant, to create Reactive Web App and consume the lib module "The Standard Guid" and remove the main flow from the foundation reactive app so its will be the base after comsume the library
then it shall be like below
Foundation : Reactive Web Consume the Shared Lib of the standard style
CORE : Services
End User : All other consumer reactive web apps
Please correct me if I am wrong
Yes, that's correct, and the finding from AI Mentor should be resolved.
Not sure if this is main reason why AI Mentor said there's an consuming issue, from what I have studied from the last project I did, the explanation below is what I think AI Mentor works for alerting this issue.
Scenario A:
Application A:
EndUser module, CS module, CS module
If the EndUser module is consuming another module inside the same application. It will be passed.
Scenario B:
Application B:
EndUser module, CS module, IS module
If the EndUser module of App B, is consuming the CS module of App A, this will not be passed. Cuz under the hook, the Application A is providing service for another application.
Scenario C:
EndUser module AA, EndUser module AB, CS module, CS module
If EndUser module AA is consuming EndUser module AB, it will not be passed. Cuz the architecture canvas has explained that, no side reference in the top level of module.
Hope this could give you a better idea of how the architecture work in OS.
p.s. I'm quite new is OS, so my explanation may wrong, so if someone which has more experience in architecture of OS, please correct me.
Cheers :)
i will try and let you know soon if it works :)
After i tried it becomes much better all of them are green now ! but i still has the same issue
This is for the App with menu only and have dependency on the style guide
One of the reactive Apps , it has many pages
One of the core service has many bussiness but related to the same topic
This is the issue in general
What shall i do !