Due to many workaround solutions on the report-engine speed problems, Sebastian created many collections besides the mains ones (products_with_history, trends_data_v4).
Due to this fact, scripts was created to fill this new collections. The main problem with this is that don't exist a control of how import or a full reimport of the system due to changes on the mapping service.
So the sync project was created for this, to gather all the important scripts to fill these collections and to monitor them
Due to development phases, there are two versions of the Sync Project, the Old and New ones
The Old Sync uses a library called Rocketry to run the function in the desired time range, run function after other being finished
This library uses another library from the same creator, called RedBird to register the calls in a LOG system. In this case, we use CSV to register the calls and to know if was successful or not
This version tend to be deprecated due to the fact that a better sync would be by shop, not the whole system every day. The reason for the Old Sync still being up is due to some tasks that are better to still be ran as whole day
The new sync uses only FastAPI to receive Shop Conveyor Belt calls. To run each function by each shop, to the updates being incremented by shop
The services are
None registered at the moment