Skip to content

Commit

Permalink
modify spring-data-relational spec to run server generator
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarakaprasad committed Mar 3, 2024
1 parent a2a4016 commit 0b84eff
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { beforeAll, describe, expect, it } from 'vitest';

import { defaultHelpers as helpers, result } from 'generator-jhipster/testing';

const SUB_GENERATOR = '<%= subGenerator %>';
const SUB_GENERATOR = <% if(subGenerator = 'spring-data-relational') { %> 'server' <% } else { %> '<%= subGenerator %>' <% } %>;
<%_ if (customGenerator) { _%>
const SUB_GENERATOR_NAMESPACE = `jhipster-<%= application.baseName %>:${SUB_GENERATOR}`;
<%_ } else { _%>
Expand Down
28 changes: 28 additions & 0 deletions test-integration/generate-blueprint-samples/default/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,34 @@
],
"sbs": false,
"written": true
},
"spring-data-relational": {
"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",
Expand Down

0 comments on commit 0b84eff

Please sign in to comment.