hegyiadam / RemoteScraping

Repo for a distributed user friendly web scraping DotNet and Python solution
1 stars 0 forks source link

Command architecture #3

Closed hegyiadam closed 4 years ago

hegyiadam commented 4 years ago

Precondition

Check pattern

This issue should not be started before Command Pattern investigation As result give a answer about:

hegyiadam commented 4 years ago

Communication has 3 steps

  1. Client calls master by it's REST Api (No command pattern is needed)
  2. Master calls processor server by WCF callback (No command pattern is needed)
  3. Processor calls Python by using REST Api (No command pattern is needed)

So conclusion: No command pattern is needed To make Python call easier I created a Python Interface Converter tool. By using this tool the call of the Python API is transparent. From the DotNet perspective it will be a simple function call.

hegyiadam commented 4 years ago

UML Diagram