19
Views
2
Comments
Solved
Can Consume _CS module entity/Action into _IS module ?
Application Type
Reactive

My Question.
Scenario:
I have few Entity into the XX_CS module and I want to store the response of the one of the API method which into YY_IS module.
Can I use Action/Entity created in _CS Into the _IS module? 

What is the best way to maintain the architecture ?


thanks in advance.

UserImage.jpg
Leandro Ribeiro
Solution

Hello Bhushan 

You shouldn't consume method of _CS module in the _IS. To keep the architecture the module _CS can consume from _IS.

I don't know the case you need to do this behavior but if you need information from CS in the IS, I recommend to create a _SYNC module and move the logic related to synchronization to this module, only keep the integration in the _IS module. The _SYNC module can consume from _CS and from _IS and in this way you keep the good architecture.

You can check this article.

Hope this help.

2024-07-17 07-59-24
Pratya Homhual

General dependencies didn't work?

UserImage.jpg
Leandro Ribeiro
Solution

Hello Bhushan 

You shouldn't consume method of _CS module in the _IS. To keep the architecture the module _CS can consume from _IS.

I don't know the case you need to do this behavior but if you need information from CS in the IS, I recommend to create a _SYNC module and move the logic related to synchronization to this module, only keep the integration in the _IS module. The _SYNC module can consume from _CS and from _IS and in this way you keep the good architecture.

You can check this article.

Hope this help.

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