Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Re-using deploymentEnvironment and nodes #212

Closed Answered by simonbrowndotje
plehmann-next asked this question in Q&A
Discussion options

You must be logged in to vote

This seems to work:

base.dsl

workspace {

    model {
        a = softwareSystem "A"

        live = deploymentEnvironment "Live" {
            deploymentNode "Server 1" {
                softwareSystemInstance a
            }
        }
    }

}

workspace.dsl

workspace extends base.dsl {

    model {
        b = softwareSystem "B"

        !ref live {
            deploymentNode "Server 2" {
                softwareSystemInstance b
            }
        }
    }

    views {
        deployment * live {
            include *
            autolayout
        }
    }

}

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@plehmann-next
Comment options

Answer selected by plehmann-next
Comment options

You must be logged in to vote
3 replies
@simonbrowndotje
Comment options

@renannprado
Comment options

@simonbrowndotje
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants