DSD-DBS / capella-polarion

Capella-Polarion Bridge - bi-directional integration of the 2 things based on REST API
https://dsd-dbs.github.io/capella-polarion/
3 stars 1 forks source link

feat(converter): Handle multi-serializer from config #45

Closed ewuerger closed 8 months ago

ewuerger commented 8 months ago

Also added tree_view serializer for tree view diagrams.

ewuerger commented 8 months ago

Why do we only do this when the work_item is None? Let's assume we have a Work Item A which references another Work Item B in the description text. Work Item B is not existing on Polarion and for that reason, we need to regenerate the description of Work Item A after Work Item B was posted to Polarion. From my understanding, this would not happen, if we only run the generic Work Item serializer if the work item is None

But this would need a completely different serialization routine. A queue where we push not resolvable work items back into... We serialize work items once w/o links post them and then in the next serialization step where links are also created we patch also recently posted ones with new links and descriptions.