Archi Forum

Archi Plug-ins => jArchi => Topic started by: yveszoundi on December 03, 2021, 09:02:30 AM

Title: Archi Confluence Upload Scripts
Post by: yveszoundi on December 03, 2021, 09:02:30 AM
I'm finalizing Archi scripts for Confluence (https://github.com/yveszoundi/archi-confluence) publishing, via REST API integration: I originally had a working but less flexible version.

Confluence Settings screenshot
settings_screenshot.png

Confluence Pipeline screenshot
pipeline_screenshot.png
Title: Re: Archi Confluence Upload Scripts
Post by: yveszoundi on December 03, 2021, 09:10:06 AM
Additional notes on top of the TLDR version.

Concepts

An archi-Confluence page is modeled as a Group element on a Sketch diagram:
 
An archi-Confluence pipeline on a Sketch diagram contains one or multiple archi-Confluence pages:

The name of archi-Confluence page is used as Confluence page title (retrieve existing page information by title and Confluence space: page id, page version, etc.).

Confluence integration

Diagram documentation and images are published through the Confluence REST API (https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/).

Design decisions

It is more flexible to use Sketch diagrams than Canvas or regular Archimate views.
Title: Re: Archi Confluence Upload Scripts
Post by: yveszoundi on December 03, 2021, 20:28:41 PM
I had a bit of time today to fix some of the typos in the code and test it.
I'm reasonably "satisfied" so far and things seem to be working as expected: I replaced my old Confluence workflows today with the newer scripts.

To aggregate content from an other thread, there are similar efforts from @Xavier Mayeur