Skip to content

Commit

Permalink
Jdl blueprint fix 25385 (#25386)
Browse files Browse the repository at this point in the history
* add inline jdl content to blueprint spec option

fixes #25385

* add jdl subgenerator to blueprints ci-cd
  • Loading branch information
dwarakaprasad authored Mar 1, 2024
1 parent 0d5b1c4 commit 05ba864
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ describe('SubGenerator <%= subGenerator %> of <%= application.baseName %> JHipst
ignoreNeedlesError: true,
<%_ if (!customGenerator) { _%>
blueprint: '<%= application.baseName %>',
<%_ } _%>
<%_ if (subGenerator === 'jdl') { _%>
inline: 'application { }',
<%_ } _%>
})
.withJHipsterLookup()
Expand Down
30 changes: 29 additions & 1 deletion test-integration/generate-blueprint-samples/default/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,40 @@
],
"sbs": false,
"written": true
},
"jdl": {
"command": true,
"priorities": [
"initializing",
"prompting",
"configuring",
"composing",
"loading",
"preparing",
"configuringEachEntity",
"loadingEntities",
"preparingEachEntity",
"preparingEachEntityField",
"preparingEachEntityRelationship",
"postPreparingEachEntity",
"default",
"writing",
"writingEntities",
"postWriting",
"postWritingEntities",
"loadingTranslations",
"install",
"postInstall",
"end"
],
"sbs": false,
"written": true
}
},
"jhipsterVersion": "7.5.0",
"mainGenerator": "generate-blueprint",
"prettierDefaultIndent": 2,
"projectName": "CiTest",
"subGenerators": ["client", "common", "cypress", "server"]
"subGenerators": ["client", "common", "cypress", "server", "jdl"]
}
}

0 comments on commit 05ba864

Please sign in to comment.