Skip to content

Commit

Permalink
Makes the Spring PetClinic example easier to run from Lite.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrowndotje committed Aug 21, 2024
1 parent 69262cc commit 726f6eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ bin
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

structurizr-dsl/src/test/resources/dsl/spring-petclinic/.structurizr
structurizr-dsl/src/test/resources/dsl/spring-petclinic/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ void springPetClinic() throws Exception {
if (!StringUtils.isNullOrEmpty(springPetClinicHome)) {
System.out.println("Running Spring PetClinic example...");
StructurizrDslParser parser = new StructurizrDslParser();
parser.parse(new File("src/test/resources/dsl/spring-petclinic.dsl"));
parser.parse(new File("src/test/resources/dsl/spring-petclinic/workspace.dsl"));

Container webApplication = (Container)parser.getIdentifiersRegister().getElement("springPetClinic.webApplication");
assertEquals(7, webApplication.getComponents().size());
Expand Down

0 comments on commit 726f6eb

Please sign in to comment.