Skip to content

Commit

Permalink
adjusts
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Mar 23, 2024
1 parent 2692bb5 commit dc0e617
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion generators/server/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ export default class extends ServerGenerator {
get [ServerGenerator.PREPARING]() {
return this.asPreparingTaskGroup({
...super.preparing,

configure({ application }) {
if (application.authenticationTypeOauth2) {
application.syncUserWithIdp = true;
application.generateBuiltInUserEntity = true;
}
},
prepareForTemplates({ application }) {
// Use Micronaut specific hipster
application.hipster = 'jhipster_family_member_4';
Expand Down Expand Up @@ -154,6 +159,12 @@ export default class extends ServerGenerator {
});
}

get [ServerGenerator.POST_PREPARING]() {
return this.asPostPreparingTaskGroup({
...super.postPreparing,
});
}

get [ServerGenerator.CONFIGURING_EACH_ENTITY]() {
return this.asConfiguringEachEntityTaskGroup({
...super.configuringEachEntity,
Expand Down

0 comments on commit dc0e617

Please sign in to comment.