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/
4 stars 1 forks source link

feat: use capellambse to get diagram images #42

Closed micha91 closed 9 months ago

micha91 commented 10 months ago

In preparation of using attachments for storing diagram images, we should unify the way we get diagram images. If we provide the diagram_cache to capellambse, we can get the cached diagram image directly from the diagram capella object. If the diagram is not in the diagram cache an error image will be generated instead. This way diagrams missing in the diagram cache, but present in the model, would not silently be deleted from Polarion (as it is currently the case) and would get this error image instead.