structurizr / java

Structurizr for Java

Home Page:https://docs.structurizr.com/java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support to filter on element properties using DSL

renebrandnewday opened this issue · comments

commented

Description

Add support to filter on element properties. When described like :

    service = softwareSystem "Service" {
        url "https://dev.azure.com/dev/shared/_git/service"
        description "Provides a Service."
        properties {
            owner "Service Team"
            type service             
            system none
            domain none                   
            location europe               
            lifecycle production
            origin inhouse                
        }  

It would be nice to refer them as

    systemlandscape "SystemLandscape" {
        include "element.owner==Service Team"
        autoLayout
    }  

Alternative syntax

element.properties.owner==Service Team
element.properties[owner]==Service Team
element.properties {"owner" "Service Team"}

Motivation not to use tags:
Since tags aren't key value pairs, tags are not always the best choice to describe elements in a structured way.

Priority

I have no budget and there's no rush, please add this feature for free

More information

dsl properties