Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Commit be69af2

Browse files
Update docs.
1 parent a52e8f9 commit be69af2

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- structurizr-dsl: Adds an `!elements` keyword that can be used to find a set of elements via an expression.
1616
- structurizr-dsl: Adds an `!relationship` keyword that can be used to find a single relationship by identifier (replaces `!ref` and `!extend`).
1717
- structurizr-dsl: Adds a `!relationships` keyword that can be used to find a set of relationships via an expression.
18-
- structurizr-dsl: Adds a DSL wrapper around the `structurizr-component` component finder.
18+
- structurizr-dsl: Adds a DSL wrapper around the `structurizr-component` component finder (`!components`).
1919
- structurizr-dsl: Adds support for local theme files to be specified via `theme` (https://github.com/structurizr/java/issues/331).
2020
- structurizr-dsl: An exception is now thrown when trying to use disallowed features in restricted mode (e.g. `!docs`, `!include <file>`, etc).
2121
- structurizr-export: Adds support for icons to the Ilograph exporter (https://github.com/structurizr/java/issues/332).

structurizr-component/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@
55
This library provides a facility to discover components in a Java codebase, via a combination of
66
[Apache Commons BCEL](https://commons.apache.org/proper/commons-bcel/) and [JavaParser](https://javaparser.org),
77
using a pluggable and customisable set of matching and filtering rules.
8+
It is also available via the Structurizr DSL `!component` keyword.
89

9-
__Unreleased, experimental, and potentially subject to change - see tests for an example.__
10+
See the following tests for an example:
11+
12+
- https://github.com/structurizr/java/blob/master/structurizr-component/src/test/java/com/structurizr/component/SpringPetClinicTests.java
13+
- https://github.com/structurizr/java/blob/master/structurizr-dsl/src/test/resources/dsl/spring-petclinic/workspace.dsl

0 commit comments

Comments
 (0)