Baltic-RCC / EMF

Repository for Open Source EMF implementation
Mozilla Public License 2.0
8 stars 3 forks source link

#66 Merging worker update to main #70

Closed mr0321 closed 1 month ago

mr0321 commented 2 months ago

For #66 reads fields "included" (include these tsos for merging), "excluded" (exclude these tsos from merging process) and "local_import": (search igms of those tsos from local storage using regex on the metadata)

mr0321 commented 1 month ago

2

  1. Separate code for local storage test and detailed log saving to zip from production code

Removed the code

  1. Between handlers pass list of OPDM objects (maybe also TASK item)

List of OPDM object is packaged into dict/JSON: {"Models": [list of opdm objects]", Task_data": [rabbit data + added fields]"} Format can be changed by setting EXCHANGE_FORMATin model_merge.properties (currently are available only DEFAULTand JSON)

Each handler can set up the logger (if instance of ElkLoggingHandlerexists in root logger)

mr0321 commented 1 month ago

Refactoring to new branch, removing dependencies from other dev branches