Closed simonwfarrow closed 1 year ago
Hi,
When running the CLI to parse a DSL file into JSON, I recieve the following error if I include a !script tag in a Dynamic View:
com.structurizr.dsl.StructurizrDslParserException: The relationship "!script" does not exist
Create a dynamic view with a script tag i.e.
dynamic * "TestFlow" { !script external.groovy rel1 -> rel2 }
Run the DSL file through the CLI to format to JSON i.e. docker run -t --rm -v ${PWD}:/usr/local/structurizr structurizr/cli export -workspace workspaces/test.dsl -format json -output target
docker run -t --rm -v ${PWD}:/usr/local/structurizr structurizr/cli export -workspace workspaces/test.dsl -format json -output target
No response
Major
Medium
I have no budget, please fix this for free
Description
Hi,
When running the CLI to parse a DSL file into JSON, I recieve the following error if I include a !script tag in a Dynamic View:
com.structurizr.dsl.StructurizrDslParserException: The relationship "!script" does not exist
Steps to reproduce
Create a dynamic view with a script tag i.e.
Run the DSL file through the CLI to format to JSON i.e.
docker run -t --rm -v ${PWD}:/usr/local/structurizr structurizr/cli export -workspace workspaces/test.dsl -format json -output target
Screenshot
No response
Code sample
Configuration
No response
Severity
Major
Priority
Medium
Resolution
I have no budget, please fix this for free
More information
No response