Upfront design CICD #128
Replies: 2 comments 2 replies
-
The problem with having a build pipeline create workspaces via an API is that the URL for that workspace will always be changing. So, for this reason, my recommendation would be to create a workspace via the UI for a specific branch, and configure your pipeline to always that particular workspace. All of that said, the hosted cloud service does have a user API that you can use to create (but not delete) workspaces -> https://structurizr.com/help/user-api The on-premises installation does not have this feature though (see structurizr/onpremises#45). |
Beta Was this translation helpful? Give feedback.
-
Hello Simon. Thanks for your inputs. I am specially interested on Structurizr OnPremise. As a manual process, I understand I would need to:
If I try to find potential automation opporunities, this is what is coming to my mind:
What are your thoughts about it? Do you see it could make sense to have those required features in your roadmap? As a summary, 1) worskpaces tags/properties; 2) API for searching worspaces by tag/properties; 3) API for getting worskpace metadata; 4) API for creating worskpace (with tags/properties); 5) API for deleting a worskpace Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello,
By having a repo containing a workspace is quite simple to keep diagrams up to date in Structurizr OnPremises / Cloud by creating a CICD pipeline running structurizr-cli to push it for any new change in the model. That covers a way to have the As-Is architecture up-to-date. So far so good. However, there are cases in which I need to work on upfront design to better communicate architecture vision. For those cases, I would like to create a feature branch (like /design/abc...) in a way every change I made in the model for that branch is reflected in diagrams for that design. To my understanding, the best approach to get it is by creating a separate workspace. I found some challenges for implementing this appraoch:
I would appreciate your suggestions / recommendations for the best way to generate diagrams when working on upfront design. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions