diff --git a/generators/angular/__snapshots__/generator.spec.ts.snap b/generators/angular/__snapshots__/generator.spec.ts.snap index 5993d5607d9e..d745ddf71274 100644 --- a/generators/angular/__snapshots__/generator.spec.ts.snap +++ b/generators/angular/__snapshots__/generator.spec.ts.snap @@ -1195,15 +1195,6 @@ exports[`generator - angular gateway-oauth2-withAdminUi(true)-skipJhipsterDepend "clientRoot/src/main/webapp/app/entities/simple/update/simple-update.component.ts": { "stateCleared": "modified", }, - "clientRoot/src/main/webapp/app/entities/user/user.model.ts": { - "stateCleared": "modified", - }, - "clientRoot/src/main/webapp/app/entities/user/user.service.spec.ts": { - "stateCleared": "modified", - }, - "clientRoot/src/main/webapp/app/entities/user/user.service.ts": { - "stateCleared": "modified", - }, "clientRoot/src/main/webapp/app/home/home.component.html": { "stateCleared": "modified", }, @@ -2522,15 +2513,6 @@ exports[`generator - angular microservice-oauth2-withAdminUi(true)-skipJhipsterD "src/main/webapp/app/entities/simple/update/simple-update.component.ts": { "stateCleared": "modified", }, - "src/main/webapp/app/entities/user/user.model.ts": { - "stateCleared": "modified", - }, - "src/main/webapp/app/entities/user/user.service.spec.ts": { - "stateCleared": "modified", - }, - "src/main/webapp/app/entities/user/user.service.ts": { - "stateCleared": "modified", - }, "src/main/webapp/app/home/home.component.html": { "stateCleared": "modified", }, @@ -4206,15 +4188,6 @@ exports[`generator - angular monolith-oauth2-withAdminUi(false)-skipJhipsterDepe "src/main/webapp/app/entities/simple/update/simple-update.component.ts": { "stateCleared": "modified", }, - "src/main/webapp/app/entities/user/user.model.ts": { - "stateCleared": "modified", - }, - "src/main/webapp/app/entities/user/user.service.spec.ts": { - "stateCleared": "modified", - }, - "src/main/webapp/app/entities/user/user.service.ts": { - "stateCleared": "modified", - }, "src/main/webapp/app/home/home.component.html": { "stateCleared": "modified", }, diff --git a/generators/app/__snapshots__/generator.spec.ts.snap b/generators/app/__snapshots__/generator.spec.ts.snap index c3eec6055157..ff9ce9173022 100644 --- a/generators/app/__snapshots__/generator.spec.ts.snap +++ b/generators/app/__snapshots__/generator.spec.ts.snap @@ -49,6 +49,7 @@ Options: --jhipster-dependencies-version jhipster-dependencies version to use, this option is not persisted (env: JHIPSTER_DEPENDENCIES_VERSION) --application-type Application type to generate (choices: "monolith", "gateway", "microservice") --feign-client Generate a feign client + --sync-user-with-idp Allow relationships with User for oauth2 applications --with-generated-flag Add a GeneratedByJHipster annotation to all generated java classes and interfaces --dev-database-type Development database --client-framework Provide client framework for the application (choices: "angular", "react", "vue", "no") @@ -737,6 +738,7 @@ exports[`generator - app with default config should match snapshot 1`] = ` "srcTestJava": "src/test/java/", "srcTestJavascript": "src/test/javascript/", "srcTestResources": "src/test/resources/", + "syncUserWithIdp": undefined, "temporaryDir": "target/", "testFrameworks": [], "testJavaDir": "src/test/java/", @@ -1307,6 +1309,7 @@ exports[`generator - app with gateway should match snapshot 1`] = ` "srcTestJava": "src/test/java/", "srcTestJavascript": "src/test/javascript/", "srcTestResources": "src/test/resources/", + "syncUserWithIdp": undefined, "temporaryDir": "target/", "testFrameworks": [], "testJavaDir": "src/test/java/", @@ -1584,8 +1587,8 @@ exports[`generator - app with microservice should match snapshot 1`] = ` "gatewayServerPort": undefined, "gatlingTests": false, "generateAuthenticationApi": false, - "generateBuiltInAuthorityEntity": false, - "generateBuiltInUserEntity": false, + "generateBuiltInAuthorityEntity": undefined, + "generateBuiltInUserEntity": undefined, "generateInMemoryUserCredentials": false, "generateUserManagement": false, "gradleEnterpriseHost": undefined, @@ -1820,6 +1823,7 @@ exports[`generator - app with microservice should match snapshot 1`] = ` "srcTestJava": "src/test/java/", "srcTestJavascript": "src/test/javascript/", "srcTestResources": "src/test/resources/", + "syncUserWithIdp": undefined, "temporaryDir": "target/", "testFrameworks": [], "testJavaDir": "src/test/java/", diff --git a/generators/app/support/config.ts b/generators/app/support/config.ts index e71f16e8ddca..4c149898a1ad 100644 --- a/generators/app/support/config.ts +++ b/generators/app/support/config.ts @@ -118,6 +118,7 @@ export const loadAppConfig = ({ 'skipUserManagement', 'blueprints', 'testFrameworks', + 'syncUserWithIdp', ]), { jhipsterVersion: packageJson.version, @@ -182,11 +183,7 @@ export const loadDerivedAppConfig = ({ application }: { application: any }) => { !application.skipUserManagement && application.databaseType !== NO_DATABASE && authenticationApiWithUserManagement; application.generateInMemoryUserCredentials = !application.generateUserManagement && authenticationApiWithUserManagement; - // TODO make UserEntity optional on relationships for microservices and oauth2 - // TODO check if we support syncWithIdp using jwt authentication - // Used for relationships and syncWithIdp - const usesSyncWithIdp = application.authenticationType === OAUTH2 && application.databaseType !== NO_DATABASE; - application.generateBuiltInUserEntity = application.generateUserManagement || usesSyncWithIdp; + application.generateBuiltInUserEntity = application.generateUserManagement || application.syncUserWithIdp; application.generateBuiltInAuthorityEntity = application.generateBuiltInUserEntity && application.databaseType !== CASSANDRA; }; diff --git a/generators/base-application/support/relationship.ts b/generators/base-application/support/relationship.ts index c2cb8ab88277..d77b18d4d18e 100644 --- a/generators/base-application/support/relationship.ts +++ b/generators/base-application/support/relationship.ts @@ -63,12 +63,22 @@ export const loadEntitiesAnnotations = (entities: Entity[]) => { } }; -export const loadEntitiesOtherSide = (entities: Entity[]): ValidationResult => { +export const loadEntitiesOtherSide = (entities: Entity[], { application }: { application?: any } = {}): ValidationResult => { const result: { warning: string[] } = { warning: [] }; for (const entity of entities) { for (const relationship of entity.relationships ?? []) { const otherEntity = findEntityInEntities(upperFirst(relationship.otherEntityName), entities); if (!otherEntity) { + if (upperFirst(relationship.otherEntityName) === 'User') { + const errors: string[] = []; + if (!application || application.authenticationTypeOauth2) { + errors.push("oauth2 applications with database and '--sync-user-with-idp' option"); + } + if (!application || !application.authenticationTypeOauth2) { + errors.push('jwt and session authentication types in monolith or gateway applications with database'); + } + throw new Error(`Error at entity ${entity.name}: relationships with built-in User entity is supported in ${errors}.`); + } throw new Error(`Error at entity ${entity.name}: could not find the entity ${relationship.otherEntityName}`); } otherEntity.otherRelationships = otherEntity.otherRelationships || []; diff --git a/generators/base-application/types.d.ts b/generators/base-application/types.d.ts index af752b5f471b..1d0c0920fbb8 100644 --- a/generators/base-application/types.d.ts +++ b/generators/base-application/types.d.ts @@ -110,6 +110,7 @@ export type CommonClientServerApplication = BaseApplication & dockerServices?: string[]; prettierExtensions?: string; + skipUserManagement?: boolean; generateUserManagement?: boolean; generateBuiltInUserEntity?: boolean; generateBuiltInAuthorityEntity?: boolean; diff --git a/generators/bootstrap-application-base/generator.ts b/generators/bootstrap-application-base/generator.ts index f356f98487eb..64aa2c6049a2 100644 --- a/generators/bootstrap-application-base/generator.ts +++ b/generators/bootstrap-application-base/generator.ts @@ -233,7 +233,7 @@ export default class BootstrapApplicationBase extends BaseApplicationGenerator { (application as any).user = user; } }, - loadingEntities({ entitiesToLoad }) { + loadingEntities({ application, entitiesToLoad }) { for (const { entityName, entityStorage } of entitiesToLoad) { if (this.sharedData.hasEntity(entityName)) { const existingEntity = this.sharedData.getEntity(entityName); @@ -250,7 +250,7 @@ export default class BootstrapApplicationBase extends BaseApplicationGenerator { const entities = this.sharedData.getEntities().map(({ entity }) => entity); loadEntitiesAnnotations(entities); - this.validateResult(loadEntitiesOtherSide(entities)); + this.validateResult(loadEntitiesOtherSide(entities, { application })); for (const entity of entities) { for (const relationship of entity.relationships) { diff --git a/generators/jdl/__snapshots__/generator.spec.ts.snap b/generators/jdl/__snapshots__/generator.spec.ts.snap index 7e6eedcae0c4..4d895714eb49 100644 --- a/generators/jdl/__snapshots__/generator.spec.ts.snap +++ b/generators/jdl/__snapshots__/generator.spec.ts.snap @@ -215,6 +215,7 @@ Options: --jhipster-dependencies-version jhipster-dependencies version to use, this option is not persisted (env: JHIPSTER_DEPENDENCIES_VERSION) --application-type Application type to generate (choices: "monolith", "gateway", "microservice") --feign-client Generate a feign client + --sync-user-with-idp Allow relationships with User for oauth2 applications --with-generated-flag Add a GeneratedByJHipster annotation to all generated java classes and interfaces --dev-database-type Development database --client-framework Provide client framework for the application (choices: "angular", "react", "vue", "no") diff --git a/generators/react/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_-update.tsx.ejs b/generators/react/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_-update.tsx.ejs index 23efcf318184..3669d68d158e 100644 --- a/generators/react/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_-update.tsx.ejs +++ b/generators/react/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_-update.tsx.ejs @@ -170,7 +170,7 @@ _%> <%_ }) _%> <%_ relFieldNames.forEach(rel => { _%> <%_ if (rel.persistableRelationship && !rel.collection) { _%> - <%= rel.relationshipFieldName %>: <%= rel.otherEntityNamePlural %>.find(it => it.<%= rel.otherEntity.primaryKey.name %>.toString() === values.<%= rel.relationshipFieldName %>.toString()), + <%= rel.relationshipFieldName %>: <%= rel.otherEntityNamePlural %>.find(it => it.<%= rel.otherEntity.primaryKey.name %>.toString() === values.<%= rel.relationshipFieldName %>?.toString()), <%_ } _%> <%_ }) _%> } diff --git a/generators/server/command.ts b/generators/server/command.ts index 0f3c92476f25..d9c4c0681d8b 100644 --- a/generators/server/command.ts +++ b/generators/server/command.ts @@ -162,6 +162,18 @@ const command: JHipsterCommandDefinition = { }, default: false, }, + syncUserWithIdp: { + description: 'Allow relationships with User for oauth2 applications', + cli: { + type: Boolean, + }, + prompt: gen => ({ + type: 'confirm', + message: 'Do you want to allow relationships with User entity?', + when: ({ authenticationType }) => (authenticationType ?? gen.jhipsterConfigWithDefaults.authenticationType) === 'oauth2', + }), + default: false, + }, }, import: [GENERATOR_COMMON, GENERATOR_JAVA, GENERATOR_LIQUIBASE, GENERATOR_SPRING_DATA_RELATIONAL], }; diff --git a/generators/server/generator.js b/generators/server/generator.js index 9873079c8f59..bb18b08d5cd3 100644 --- a/generators/server/generator.js +++ b/generators/server/generator.js @@ -224,12 +224,31 @@ export default class JHipsterServerGenerator extends BaseApplicationGenerator { if ( feignClient === undefined && this.isJhipsterVersionLessThan('8.0.1') && - reactive && + !reactive && applicationType === APPLICATION_TYPE_MICROSERVICE ) { this.jhipsterConfig.feignClient = true; } }, + syncUserWithIdp() { + if (this.jhipsterConfig.syncUserWithIdp === undefined && this.jhipsterConfig.authenticationType === OAUTH2) { + if (this.jhipsterConfig.databaseType === NO_DATABASE) { + this.jhipsterConfig.syncUserWithIdp = false; + } else if (this.isJhipsterVersionLessThan('8.1.1')) { + this.jhipsterConfig.syncUserWithIdp = true; + } else if (this.jhipsterConfig.applicationType === GATEWAY) { + // For compatibility with v8 microservices allow syncUserWithIdp by default. + // Switch to false at v9. + this.jhipsterConfig.syncUserWithIdp = true; + } else { + this.jhipsterConfig.syncUserWithIdp = this.getExistingEntities().some(entity => + (entity.definition.relationships ?? []).some(relationship => relationship.otherEntityName.toLowerCase() === 'user'), + ); + } + } else if (this.jhipsterConfig.syncUserWithIdp && this.jhipsterConfig.authenticationType !== OAUTH2) { + throw new Error(`syncUserWithIdp is only supported with authenticationType ${OAUTH2}`); + } + }, }); } diff --git a/generators/server/jdl/application-definition.ts b/generators/server/jdl/application-definition.ts index 91c2fc90f9cd..8d237d0916d7 100644 --- a/generators/server/jdl/application-definition.ts +++ b/generators/server/jdl/application-definition.ts @@ -20,11 +20,16 @@ import * as _ from 'lodash-es'; import { JDLApplicationConfig, JHipsterOptionDefinition } from '../../../jdl/types/types.js'; import databaseMigrationOption from '../options/database-migration.js'; import messageBrokerOption from '../options/message-broker.js'; -import { feignClientDefinition } from '../options/index.js'; +import { feignClientDefinition, syncUserWithIdpDefinition } from '../options/index.js'; const { upperCase, snakeCase } = _; -const jdlOptions: JHipsterOptionDefinition[] = [databaseMigrationOption, messageBrokerOption, feignClientDefinition]; +const jdlOptions: JHipsterOptionDefinition[] = [ + databaseMigrationOption, + messageBrokerOption, + feignClientDefinition, + syncUserWithIdpDefinition, +]; const applicationConfig: JDLApplicationConfig = { tokenConfigs: jdlOptions.map(option => ({ diff --git a/generators/server/options/index.ts b/generators/server/options/index.ts index da775ab8ca89..e64d52e18043 100644 --- a/generators/server/options/index.ts +++ b/generators/server/options/index.ts @@ -20,3 +20,4 @@ export * from './database-migration.js'; export * from './message-broker.js'; export * from './feign-client.js'; +export * from './sync-user-with-idp.js'; diff --git a/generators/server/options/sync-user-with-idp.spec.ts b/generators/server/options/sync-user-with-idp.spec.ts new file mode 100644 index 000000000000..3e77fedbe47b --- /dev/null +++ b/generators/server/options/sync-user-with-idp.spec.ts @@ -0,0 +1,20 @@ +import { before, it, describe, expect } from 'esmocha'; +import { createImporterFromContent, ImportState } from '../../../jdl/jdl-importer.js'; +import { SYNC_USER_WITH_IDP as optionName } from './sync-user-with-idp.js'; + +describe(`generators - server - jdl - ${optionName}`, () => { + [true, false].forEach(optionValue => { + describe(`with ${optionValue} value`, () => { + let state: ImportState; + + before(() => { + const importer = createImporterFromContent(`application { config { ${optionName} ${optionValue} } }`); + state = importer.import(); + }); + + it('should set expected value', () => { + expect(state.exportedApplicationsWithEntities.jhipster.config[optionName]).toBe(optionValue); + }); + }); + }); +}); diff --git a/generators/server/options/sync-user-with-idp.ts b/generators/server/options/sync-user-with-idp.ts new file mode 100644 index 000000000000..80ccec1ac72b --- /dev/null +++ b/generators/server/options/sync-user-with-idp.ts @@ -0,0 +1,28 @@ +/** + * Copyright 2013-2023 the original author or authors from the JHipster project. + * + * This file is part of the JHipster project, see https://www.jhipster.tech/ + * for more information. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { JHipsterOptionDefinition } from '../../../jdl/types/types.js'; + +export const SYNC_USER_WITH_IDP = 'syncUserWithIdp'; + +export const syncUserWithIdpDefinition: JHipsterOptionDefinition = { + name: SYNC_USER_WITH_IDP, + type: 'boolean', + tokenType: 'BOOLEAN', +}; diff --git a/generators/server/types.d.ts b/generators/server/types.d.ts index c0575f9b0c0e..8169c811045f 100644 --- a/generators/server/types.d.ts +++ b/generators/server/types.d.ts @@ -83,6 +83,8 @@ export type SpringBootApplication = JavaApplication & skipCheckLengthOfIdentifier: boolean; imperativeOrReactive: string; + generateAuthenticationApi?: boolean; + generateInMemoryUserCredentials?: boolean; databaseMigration: string; databaseMigrationLiquibase: boolean; diff --git a/generators/spring-data-cassandra/__snapshots__/generator.spec.ts.snap b/generators/spring-data-cassandra/__snapshots__/generator.spec.ts.snap index b4be8b3e3c02..7845ce4c18ee 100644 --- a/generators/spring-data-cassandra/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-cassandra/__snapshots__/generator.spec.ts.snap @@ -1268,9 +1268,6 @@ exports[`generator - cassandra microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -1283,9 +1280,6 @@ exports[`generator - cassandra microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -1310,18 +1304,9 @@ exports[`generator - cassandra microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -1337,9 +1322,6 @@ exports[`generator - cassandra microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -1349,9 +1331,6 @@ exports[`generator - cassandra microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/web/rest/AnotherSimpleResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -1475,30 +1454,18 @@ exports[`generator - cassandra microservice-oauth2-reactive(true)-gradle-enableT "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/AnotherSimpleResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2471,9 +2438,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/domain/SimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, @@ -2486,9 +2450,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/package-info.java": { "stateCleared": "modified", }, @@ -2516,18 +2477,9 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/AnotherSimpleDTO.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -2543,9 +2495,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -2573,9 +2522,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -2612,12 +2558,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/main/resources/config/application.yml": { "stateCleared": "modified", }, - "src/main/resources/config/cql/changelog/00000000000000_create-tables.cql": { - "stateCleared": "modified", - }, - "src/main/resources/config/cql/changelog/00000000000001_insert_default_users.cql": { - "stateCleared": "modified", - }, "src/main/resources/config/cql/changelog/20220129000100_added_entity_Simple.cql": { "stateCleared": "modified", }, @@ -2705,15 +2645,9 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/service/dto/AnotherSimpleDTOTest.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -2729,18 +2663,12 @@ exports[`generator - cassandra monolith-oauth2-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2890,9 +2818,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -2905,9 +2830,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -2932,18 +2854,9 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -2959,9 +2872,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -2989,9 +2899,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -3034,12 +2941,6 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/resources/config/bootstrap.yml": { "stateCleared": "modified", }, - "src/main/resources/config/cql/changelog/00000000000000_create-tables.cql": { - "stateCleared": "modified", - }, - "src/main/resources/config/cql/changelog/00000000000001_insert_default_users.cql": { - "stateCleared": "modified", - }, "src/main/resources/config/cql/changelog/20220129000100_added_entity_Simple.cql": { "stateCleared": "modified", }, @@ -3118,15 +3019,9 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -3145,18 +3040,12 @@ exports[`generator - cassandra monolith-oauth2-reactive(true)-gradle-enableTrans "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-couchbase/__snapshots__/generator.spec.ts.snap b/generators/spring-data-couchbase/__snapshots__/generator.spec.ts.snap index 17c1c98c394a..1a9c3ddb5fd0 100644 --- a/generators/spring-data-couchbase/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-couchbase/__snapshots__/generator.spec.ts.snap @@ -1295,15 +1295,9 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/domain/AnotherSimple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -1313,9 +1307,6 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/CouchbaseSearchRepository.java": { "stateCleared": "modified", }, @@ -1325,9 +1316,6 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -1352,18 +1340,9 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -1379,9 +1358,6 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -1391,9 +1367,6 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/web/rest/AnotherSimpleResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -1436,24 +1409,6 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/main/resources/config/bootstrap.yml": { "stateCleared": "modified", }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/authority/ROLE_ADMIN.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/authority/ROLE_USER.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/user/admin.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/user/user.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.2__create_indexes.n1ql": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0__create_collections.n1ql": { - "stateCleared": "modified", - }, "src/main/resources/config/couchmove/changelog/V20220129000100__simple.n1ql": { "stateCleared": "modified", }, @@ -1523,33 +1478,21 @@ exports[`generator - couchbase microservice-oauth2-reactive(true)-gradle-enableT "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/AnotherSimpleResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2546,15 +2489,9 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/domain/AnotherSimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/SimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, @@ -2564,18 +2501,12 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/JHipsterCouchbaseRepository.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/package-info.java": { "stateCleared": "modified", }, @@ -2606,18 +2537,9 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/AnotherSimpleDTO.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -2633,9 +2555,6 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -2663,9 +2582,6 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -2702,24 +2618,6 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/main/resources/config/application.yml": { "stateCleared": "modified", }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/authority/ROLE_ADMIN.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/authority/ROLE_USER.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/user/admin.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/user/user.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.2__create_indexes.n1ql": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0__create_collections.n1ql": { - "stateCleared": "modified", - }, "src/main/resources/config/couchmove/changelog/V20220129000100__simple.n1ql": { "stateCleared": "modified", }, @@ -2792,18 +2690,12 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/service/dto/AnotherSimpleDTOTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -2819,18 +2711,12 @@ exports[`generator - couchbase monolith-oauth2-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2980,15 +2866,9 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/domain/AnotherSimple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -2998,9 +2878,6 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/CouchbaseSearchRepository.java": { "stateCleared": "modified", }, @@ -3010,9 +2887,6 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -3037,18 +2911,9 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -3064,9 +2929,6 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -3094,9 +2956,6 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -3139,24 +2998,6 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/main/resources/config/bootstrap.yml": { "stateCleared": "modified", }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/authority/ROLE_ADMIN.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/authority/ROLE_USER.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/user/admin.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.1__initial_setup/user/user.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0.2__create_indexes.n1ql": { - "stateCleared": "modified", - }, - "src/main/resources/config/couchmove/changelog/V0__create_collections.n1ql": { - "stateCleared": "modified", - }, "src/main/resources/config/couchmove/changelog/V20220129000100__simple.n1ql": { "stateCleared": "modified", }, @@ -3229,18 +3070,12 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -3259,18 +3094,12 @@ exports[`generator - couchbase monolith-oauth2-reactive(true)-gradle-enableTrans "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-elasticsearch/__snapshots__/generator.spec.ts.snap b/generators/spring-data-elasticsearch/__snapshots__/generator.spec.ts.snap index 6be410ec13b8..464301ca31cb 100644 --- a/generators/spring-data-elasticsearch/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-elasticsearch/__snapshots__/generator.spec.ts.snap @@ -1463,18 +1463,12 @@ exports[`generator - elasticsearch microservice-oauth2-reactive(true)-gradle-ena "src/main/java/com/package/domain/AnotherSimple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/Microservice.java": { "stateCleared": "modified", }, "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -1484,27 +1478,15 @@ exports[`generator - elasticsearch microservice-oauth2-reactive(true)-gradle-ena "src/main/java/com/package/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/MicroserviceRepository.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/search/UserSearchRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/search/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/security/AuthoritiesConstants.java": { "stateCleared": "modified", }, @@ -1526,18 +1508,9 @@ exports[`generator - elasticsearch microservice-oauth2-reactive(true)-gradle-ena "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -1553,9 +1526,6 @@ exports[`generator - elasticsearch microservice-oauth2-reactive(true)-gradle-ena "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -1568,9 +1538,6 @@ exports[`generator - elasticsearch microservice-oauth2-reactive(true)-gradle-ena "src/main/java/com/package/web/rest/MicroserviceResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -1697,36 +1664,24 @@ exports[`generator - elasticsearch microservice-oauth2-reactive(true)-gradle-ena "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/AnotherSimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/MicroserviceResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2852,18 +2807,12 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/main/java/tech/jhipster/domain/AnotherSimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/MicroserviceEntity.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/domain/SimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, @@ -2873,18 +2822,12 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/main/java/tech/jhipster/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/MicroserviceRepository.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/package-info.java": { "stateCleared": "modified", }, @@ -2894,9 +2837,6 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/main/java/tech/jhipster/repository/search/SimpleSearchRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/search/UserSearchRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/search/package-info.java": { "stateCleared": "modified", }, @@ -2930,24 +2870,15 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/main/java/tech/jhipster/service/SimpleQueryService.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/criteria/SimpleCriteria.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/service/criteria/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/AnotherSimpleDTO.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -2963,9 +2894,6 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/main/java/tech/jhipster/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -2996,9 +2924,6 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/main/java/tech/jhipster/web/rest/MicroserviceResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -3125,18 +3050,12 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/service/dto/AnotherSimpleDTOTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -3155,18 +3074,12 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(false)-maven-enableT "src/test/java/tech/jhipster/web/rest/MicroserviceResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -3319,12 +3232,6 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/config/WebConfigurer.java": { "stateCleared": "modified", }, - "src/main/java/com/package/config/neo4j/Neo4jMigrations.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/config/neo4j/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/config/package-info.java": { "stateCleared": "modified", }, @@ -3358,18 +3265,12 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/domain/AnotherSimple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/Microservice.java": { "stateCleared": "modified", }, "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -3379,18 +3280,12 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/MicroserviceRepository.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -3400,9 +3295,6 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/repository/search/SimpleSearchRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/search/UserSearchRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/search/package-info.java": { "stateCleared": "modified", }, @@ -3427,18 +3319,9 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -3454,9 +3337,6 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -3487,9 +3367,6 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/main/java/com/package/web/rest/MicroserviceResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -3538,12 +3415,6 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/main/resources/config/bootstrap.yml": { "stateCleared": "modified", }, - "src/main/resources/config/neo4j/migrations/user__admin.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/neo4j/migrations/user__user.json": { - "stateCleared": "modified", - }, "src/main/resources/config/tls/keystore.p12": { "stateCleared": "modified", }, @@ -3628,18 +3499,12 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -3661,18 +3526,12 @@ exports[`generator - elasticsearch monolith-oauth2-reactive(true)-gradle-enableT "src/test/java/com/package/web/rest/MicroserviceResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-elasticsearch/__test-support/elastic-search-matcher.ts b/generators/spring-data-elasticsearch/__test-support/elastic-search-matcher.ts index d2d2350009b6..047f231b67b7 100644 --- a/generators/spring-data-elasticsearch/__test-support/elastic-search-matcher.ts +++ b/generators/spring-data-elasticsearch/__test-support/elastic-search-matcher.ts @@ -11,7 +11,9 @@ const expectedElasticsearchFiles = () => { const expectedElasticsearchUserFiles = (resultGetter: () => RunResult) => { const application = ((resultGetter() as any).generator as BaseApplicationGenerator).sharedData.getApplication(); - return [`${SERVER_MAIN_SRC_DIR}${application.packageFolder}/repository/search/UserSearchRepository.java`]; + return application.generateBuiltInUserEntity + ? [`${SERVER_MAIN_SRC_DIR}${application.packageFolder}/repository/search/UserSearchRepository.java`] + : []; }; const desiredConfig = { diff --git a/generators/spring-data-elasticsearch/cleanup.js b/generators/spring-data-elasticsearch/cleanup.js index 8bcf5a7891e0..0396f6678e6e 100644 --- a/generators/spring-data-elasticsearch/cleanup.js +++ b/generators/spring-data-elasticsearch/cleanup.js @@ -27,12 +27,12 @@ export default function cleanupElasticsearchFilesTask({ application }) { this.removeFile(`${application.javaPackageTestDir}config/ElasticsearchTestConfiguration.java`); } if (this.isJhipsterVersionLessThan('7.7.1')) { - if (this.generateUserManagement) { + if (application.generateUserManagement) { this.removeFile(`${application.javaPackageTestDir}repository/search/UserSearchRepositoryMockConfiguration.java`); } } if (this.isJhipsterVersionLessThan('7.9.3')) { - if (this.reactive) { + if (application.reactive) { this.removeFile(`${application.javaPackageTestDir}config/ElasticsearchReactiveTestConfiguration.java`); } } diff --git a/generators/spring-data-elasticsearch/files.js b/generators/spring-data-elasticsearch/files.js index e0f03ab67908..50687a888256 100644 --- a/generators/spring-data-elasticsearch/files.js +++ b/generators/spring-data-elasticsearch/files.js @@ -31,7 +31,7 @@ export const files = { ], }, { - condition: generator => generator.generateBuiltInUserEntity || generator.authenticationTypeOauth2, + condition: generator => generator.generateBuiltInUserEntity, path: `${SERVER_MAIN_SRC_DIR}_package_/`, renameTo: moveToJavaPackageSrcDir, templates: ['repository/search/UserSearchRepository.java'], diff --git a/generators/spring-data-mongodb/__snapshots__/generator.spec.ts.snap b/generators/spring-data-mongodb/__snapshots__/generator.spec.ts.snap index 826e415cd32a..fd3d87a49426 100644 --- a/generators/spring-data-mongodb/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-mongodb/__snapshots__/generator.spec.ts.snap @@ -1229,12 +1229,6 @@ exports[`generator - mongodb microservice-oauth2-reactive(true)-gradle-enableTra "src/main/java/com/package/config/WebConfigurer.java": { "stateCleared": "modified", }, - "src/main/java/com/package/config/dbmigrations/InitialSetupMigration.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/config/dbmigrations/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/config/package-info.java": { "stateCleared": "modified", }, @@ -1244,15 +1238,9 @@ exports[`generator - mongodb microservice-oauth2-reactive(true)-gradle-enableTra "src/main/java/com/package/domain/AnotherSimple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -1262,15 +1250,9 @@ exports[`generator - mongodb microservice-oauth2-reactive(true)-gradle-enableTra "src/main/java/com/package/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -1295,18 +1277,9 @@ exports[`generator - mongodb microservice-oauth2-reactive(true)-gradle-enableTra "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -1322,9 +1295,6 @@ exports[`generator - mongodb microservice-oauth2-reactive(true)-gradle-enableTra "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -1334,9 +1304,6 @@ exports[`generator - mongodb microservice-oauth2-reactive(true)-gradle-enableTra "src/main/java/com/package/web/rest/AnotherSimpleResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -1439,33 +1406,21 @@ exports[`generator - mongodb microservice-oauth2-reactive(true)-gradle-enableTra "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/AnotherSimpleResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2411,12 +2366,6 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/main/java/tech/jhipster/config/WebConfigurer.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/config/dbmigrations/InitialSetupMigration.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/config/dbmigrations/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/config/package-info.java": { "stateCleared": "modified", }, @@ -2426,15 +2375,9 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/main/java/tech/jhipster/domain/AnotherSimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/SimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, @@ -2444,15 +2387,9 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/main/java/tech/jhipster/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/package-info.java": { "stateCleared": "modified", }, @@ -2483,18 +2420,9 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/main/java/tech/jhipster/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/AnotherSimpleDTO.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -2510,9 +2438,6 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/main/java/tech/jhipster/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -2540,9 +2465,6 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -2645,18 +2567,12 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/service/dto/AnotherSimpleDTOTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -2672,18 +2588,12 @@ exports[`generator - mongodb monolith-oauth2-reactive(false)-maven-enableTransla "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2824,12 +2734,6 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/main/java/com/package/config/WebConfigurer.java": { "stateCleared": "modified", }, - "src/main/java/com/package/config/dbmigrations/InitialSetupMigration.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/config/dbmigrations/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/config/package-info.java": { "stateCleared": "modified", }, @@ -2839,15 +2743,9 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/main/java/com/package/domain/AnotherSimple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -2857,15 +2755,9 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/main/java/com/package/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -2890,18 +2782,9 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -2917,9 +2800,6 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -2947,9 +2827,6 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -3049,18 +2926,12 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -3079,18 +2950,12 @@ exports[`generator - mongodb monolith-oauth2-reactive(true)-gradle-enableTransla "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-neo4j/__snapshots__/generator.spec.ts.snap b/generators/spring-data-neo4j/__snapshots__/generator.spec.ts.snap index cdeb0b41d724..1aa263422e71 100644 --- a/generators/spring-data-neo4j/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-neo4j/__snapshots__/generator.spec.ts.snap @@ -1226,12 +1226,6 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/config/WebConfigurer.java": { "stateCleared": "modified", }, - "src/main/java/com/package/config/neo4j/Neo4jMigrations.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/config/neo4j/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/config/package-info.java": { "stateCleared": "modified", }, @@ -1241,15 +1235,9 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/domain/AnotherSimple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -1259,15 +1247,9 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -1292,18 +1274,9 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -1319,9 +1292,6 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -1331,9 +1301,6 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/main/java/com/package/web/rest/AnotherSimpleResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -1376,12 +1343,6 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/main/resources/config/bootstrap.yml": { "stateCleared": "modified", }, - "src/main/resources/config/neo4j/migrations/user__admin.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/neo4j/migrations/user__user.json": { - "stateCleared": "modified", - }, "src/main/resources/config/tls/keystore.p12": { "stateCleared": "modified", }, @@ -1442,33 +1403,21 @@ exports[`generator - neo4j microservice-oauth2-reactive(true)-gradle-enableTrans "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/AnotherSimpleResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2414,12 +2363,6 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/main/java/tech/jhipster/config/WebConfigurer.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/config/neo4j/Neo4jMigrations.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/config/neo4j/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/config/package-info.java": { "stateCleared": "modified", }, @@ -2429,15 +2372,9 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/main/java/tech/jhipster/domain/AnotherSimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/SimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, @@ -2447,15 +2384,9 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/main/java/tech/jhipster/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/package-info.java": { "stateCleared": "modified", }, @@ -2483,18 +2414,9 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/main/java/tech/jhipster/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/AnotherSimpleDTO.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -2510,9 +2432,6 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/main/java/tech/jhipster/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -2540,9 +2459,6 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -2579,12 +2495,6 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/main/resources/config/application.yml": { "stateCleared": "modified", }, - "src/main/resources/config/neo4j/migrations/user__admin.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/neo4j/migrations/user__user.json": { - "stateCleared": "modified", - }, "src/main/resources/config/tls/keystore.p12": { "stateCleared": "modified", }, @@ -2651,18 +2561,12 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/service/dto/AnotherSimpleDTOTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -2678,18 +2582,12 @@ exports[`generator - neo4j monolith-oauth2-reactive(false)-maven-enableTranslati "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -2830,12 +2728,6 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/main/java/com/package/config/WebConfigurer.java": { "stateCleared": "modified", }, - "src/main/java/com/package/config/neo4j/Neo4jMigrations.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/config/neo4j/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/config/package-info.java": { "stateCleared": "modified", }, @@ -2845,15 +2737,9 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/main/java/com/package/domain/AnotherSimple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, @@ -2863,15 +2749,9 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/main/java/com/package/repository/AnotherSimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -2896,18 +2776,9 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -2923,9 +2794,6 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -2953,9 +2821,6 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -2998,12 +2863,6 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/main/resources/config/bootstrap.yml": { "stateCleared": "modified", }, - "src/main/resources/config/neo4j/migrations/user__admin.json": { - "stateCleared": "modified", - }, - "src/main/resources/config/neo4j/migrations/user__user.json": { - "stateCleared": "modified", - }, "src/main/resources/config/tls/keystore.p12": { "stateCleared": "modified", }, @@ -3061,18 +2920,12 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -3091,18 +2944,12 @@ exports[`generator - neo4j monolith-oauth2-reactive(true)-gradle-enableTranslati "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-relational/__snapshots__/generator.spec.ts.snap b/generators/spring-data-relational/__snapshots__/generator.spec.ts.snap index d5f5d49c7654..8400a6b5d23a 100644 --- a/generators/spring-data-relational/__snapshots__/generator.spec.ts.snap +++ b/generators/spring-data-relational/__snapshots__/generator.spec.ts.snap @@ -4288,27 +4288,12 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(false)-maven-enabl "src/main/java/tech/jhipster/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/security/AuthoritiesConstants.java": { "stateCleared": "modified", }, @@ -4330,30 +4315,6 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(false)-maven-enabl "src/main/java/tech/jhipster/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/UserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -4369,9 +4330,6 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(false)-maven-enabl "src/main/java/tech/jhipster/web/rest/errors/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/package-info.java": { - "stateCleared": "modified", - }, "src/main/resources/banner.txt": { "stateCleared": "modified", }, @@ -4456,21 +4414,9 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(false)-maven-enabl "src/test/java/tech/jhipster/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -4608,42 +4554,21 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(true)-gradle-enabl "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -4665,30 +4590,6 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(true)-gradle-enabl "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -4704,9 +4605,6 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(true)-gradle-enabl "src/main/java/com/package/web/rest/errors/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/package-info.java": { - "stateCleared": "modified", - }, "src/main/resources/.h2.server.properties": { "stateCleared": "modified", }, @@ -4782,21 +4680,9 @@ exports[`generator - sql microservice-oauth2-mariadb-reactive(true)-gradle-enabl "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -4910,27 +4796,12 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(false)-maven-enableT "src/main/java/tech/jhipster/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/security/AuthoritiesConstants.java": { "stateCleared": "modified", }, @@ -4952,30 +4823,6 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(false)-maven-enableT "src/main/java/tech/jhipster/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/UserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -4991,9 +4838,6 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(false)-maven-enableT "src/main/java/tech/jhipster/web/rest/errors/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/package-info.java": { - "stateCleared": "modified", - }, "src/main/resources/banner.txt": { "stateCleared": "modified", }, @@ -5078,21 +4922,9 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(false)-maven-enableT "src/test/java/tech/jhipster/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -5230,42 +5062,21 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(true)-gradle-enableT "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -5287,30 +5098,6 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(true)-gradle-enableT "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -5326,9 +5113,6 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(true)-gradle-enableT "src/main/java/com/package/web/rest/errors/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/package-info.java": { - "stateCleared": "modified", - }, "src/main/resources/.h2.server.properties": { "stateCleared": "modified", }, @@ -5398,21 +5182,9 @@ exports[`generator - sql microservice-oauth2-mssql-reactive(true)-gradle-enableT "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -5550,42 +5322,21 @@ exports[`generator - sql microservice-oauth2-mysql-reactive(true)-gradle-enableT "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -5607,30 +5358,6 @@ exports[`generator - sql microservice-oauth2-mysql-reactive(true)-gradle-enableT "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -5646,9 +5373,6 @@ exports[`generator - sql microservice-oauth2-mysql-reactive(true)-gradle-enableT "src/main/java/com/package/web/rest/errors/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/package-info.java": { - "stateCleared": "modified", - }, "src/main/resources/.h2.server.properties": { "stateCleared": "modified", }, @@ -5724,21 +5448,9 @@ exports[`generator - sql microservice-oauth2-mysql-reactive(true)-gradle-enableT "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -5876,42 +5588,21 @@ exports[`generator - sql microservice-oauth2-oracle-reactive(true)-gradle-enable "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -5933,30 +5624,6 @@ exports[`generator - sql microservice-oauth2-oracle-reactive(true)-gradle-enable "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -5972,9 +5639,6 @@ exports[`generator - sql microservice-oauth2-oracle-reactive(true)-gradle-enable "src/main/java/com/package/web/rest/errors/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/package-info.java": { - "stateCleared": "modified", - }, "src/main/resources/.h2.server.properties": { "stateCleared": "modified", }, @@ -6047,21 +5711,9 @@ exports[`generator - sql microservice-oauth2-oracle-reactive(true)-gradle-enable "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -6199,42 +5851,21 @@ exports[`generator - sql microservice-oauth2-postgresql-reactive(true)-gradle-en "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -6256,30 +5887,6 @@ exports[`generator - sql microservice-oauth2-postgresql-reactive(true)-gradle-en "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -6295,9 +5902,6 @@ exports[`generator - sql microservice-oauth2-postgresql-reactive(true)-gradle-en "src/main/java/com/package/web/rest/errors/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/package-info.java": { - "stateCleared": "modified", - }, "src/main/resources/.h2.server.properties": { "stateCleared": "modified", }, @@ -6367,21 +5971,9 @@ exports[`generator - sql microservice-oauth2-postgresql-reactive(true)-gradle-en "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -10088,70 +9680,34 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(false)-maven-enableTra "src/main/java/tech/jhipster/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/security/AuthoritiesConstants.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/security/SecurityUtils.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/security/SpringSecurityAuditorAware.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/security/oauth2/AudienceValidator.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/security/oauth2/CustomClaimConverter.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/security/oauth2/JwtGrantedAuthorityConverter.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/security/oauth2/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/security/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { + "src/main/java/tech/jhipster/security/SpringSecurityAuditorAware.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { + "src/main/java/tech/jhipster/security/oauth2/AudienceValidator.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/package-info.java": { + "src/main/java/tech/jhipster/security/oauth2/CustomClaimConverter.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { + "src/main/java/tech/jhipster/security/oauth2/JwtGrantedAuthorityConverter.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/mapper/package-info.java": { + "src/main/java/tech/jhipster/security/oauth2/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/package-info.java": { + "src/main/java/tech/jhipster/security/package-info.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/web/filter/OAuth2RefreshTokensWebFilter.java": { @@ -10172,9 +9728,6 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(false)-maven-enableTra "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -10280,12 +9833,6 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(false)-maven-enableTra "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -10298,15 +9845,9 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(false)-maven-enableTra "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -10453,42 +9994,21 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(true)-gradle-enableTra "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -10510,27 +10030,6 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(true)-gradle-enableTra "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/filter/OAuth2ReactiveRefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -10549,9 +10048,6 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(true)-gradle-enableTra "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -10636,12 +10132,6 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(true)-gradle-enableTra "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -10657,15 +10147,9 @@ exports[`generator - sql monolith-oauth2-mariadb-reactive(true)-gradle-enableTra "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -10788,27 +10272,12 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/security/AuthoritiesConstants.java": { "stateCleared": "modified", }, @@ -10833,27 +10302,6 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/filter/OAuth2RefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -10872,9 +10320,6 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -10974,12 +10419,6 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -10992,15 +10431,9 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -11147,42 +10580,21 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(true)-gradle-enableTrans "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -11204,27 +10616,6 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(true)-gradle-enableTrans "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/filter/OAuth2ReactiveRefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -11243,9 +10634,6 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(true)-gradle-enableTrans "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -11336,12 +10724,6 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(true)-gradle-enableTrans "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -11357,15 +10739,9 @@ exports[`generator - sql monolith-oauth2-mssql-reactive(true)-gradle-enableTrans "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -11494,27 +10870,12 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/security/AuthoritiesConstants.java": { "stateCleared": "modified", }, @@ -11539,27 +10900,6 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/filter/OAuth2RefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -11578,9 +10918,6 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(false)-maven-enableTrans "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -11686,12 +11023,6 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -11704,15 +11035,9 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(false)-maven-enableTrans "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -11859,31 +11184,13 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(true)-gradle-enableTrans "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/EntityManager.java": { + "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { + "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserSqlHelper.java": { + "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/package-info.java": { @@ -11892,9 +11199,6 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(true)-gradle-enableTrans "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -11916,27 +11220,6 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(true)-gradle-enableTrans "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/filter/OAuth2ReactiveRefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -11955,9 +11238,6 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(true)-gradle-enableTrans "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -12048,12 +11328,6 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(true)-gradle-enableTrans "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -12069,15 +11343,9 @@ exports[`generator - sql monolith-oauth2-mysql-reactive(true)-gradle-enableTrans "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -12203,27 +11471,12 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(false)-maven-enableTran "src/main/java/tech/jhipster/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/security/AuthoritiesConstants.java": { "stateCleared": "modified", }, @@ -12248,27 +11501,6 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(false)-maven-enableTran "src/main/java/tech/jhipster/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/filter/OAuth2RefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -12287,9 +11519,6 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(false)-maven-enableTran "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -12392,12 +11621,6 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -12410,15 +11633,9 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(false)-maven-enableTran "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -12565,42 +11782,21 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(true)-gradle-enableTran "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -12622,27 +11818,6 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(true)-gradle-enableTran "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/filter/OAuth2ReactiveRefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -12661,9 +11836,6 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(true)-gradle-enableTran "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -12745,12 +11917,6 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(true)-gradle-enableTran "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -12766,15 +11932,9 @@ exports[`generator - sql monolith-oauth2-oracle-reactive(true)-gradle-enableTran "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -12897,27 +12057,12 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(false)-maven-enable "src/main/java/tech/jhipster/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/repository/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/security/AuthoritiesConstants.java": { "stateCleared": "modified", }, @@ -12942,27 +12087,6 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(false)-maven-enable "src/main/java/tech/jhipster/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/tech/jhipster/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/filter/OAuth2RefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -12981,9 +12105,6 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(false)-maven-enable "src/main/java/tech/jhipster/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -13083,12 +12204,6 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(false)-maven-enable "src/test/java/tech/jhipster/security/oauth2/CustomClaimConverterIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -13101,15 +12216,9 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(false)-maven-enable "src/test/java/tech/jhipster/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, @@ -13256,42 +12365,21 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(true)-gradle-enable "src/main/java/com/package/domain/AbstractAuditingEntity.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/Authority.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/AuthorityRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/EntityManager.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/repository/UserSqlHelper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, "src/main/java/com/package/repository/rowmapper/ColumnConverter.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/rowmapper/UserRowMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/rowmapper/package-info.java": { "stateCleared": "modified", }, @@ -13313,27 +12401,6 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(true)-gradle-enable "src/main/java/com/package/security/package-info.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/mapper/package-info.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/package-info.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/filter/OAuth2ReactiveRefreshTokensWebFilter.java": { "stateCleared": "modified", }, @@ -13352,9 +12419,6 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(true)-gradle-enable "src/main/java/com/package/web/rest/LogoutResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/errors/BadRequestAlertException.java": { "stateCleared": "modified", }, @@ -13445,12 +12509,6 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(true)-gradle-enable "src/test/java/com/package/security/oauth2/AudienceValidatorTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/test/util/OAuth2TestUtil.java": { "stateCleared": "modified", }, @@ -13466,15 +12524,9 @@ exports[`generator - sql monolith-oauth2-postgresql-reactive(true)-gradle-enable "src/test/java/com/package/web/rest/LogoutResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/TestUtil.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/WithUnauthenticatedMockUser.java": { "stateCleared": "modified", }, diff --git a/generators/spring-data-relational/__snapshots__/sql-entities.spec.ts.snap b/generators/spring-data-relational/__snapshots__/sql-entities.spec.ts.snap index b4f23b567fc4..76b075f0cae3 100644 --- a/generators/spring-data-relational/__snapshots__/sql-entities.spec.ts.snap +++ b/generators/spring-data-relational/__snapshots__/sql-entities.spec.ts.snap @@ -608,12 +608,6 @@ exports[`generator - sql - entities microservice-oauth2-reactive(true)-gradle-en "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/criteria/SimpleCriteria.java": { "stateCleared": "modified", }, @@ -650,9 +644,6 @@ exports[`generator - sql - entities microservice-oauth2-reactive(true)-gradle-en "src/main/java/com/package/repository/SimpleSqlHelper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -671,18 +662,9 @@ exports[`generator - sql - entities microservice-oauth2-reactive(true)-gradle-en "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -698,9 +680,6 @@ exports[`generator - sql - entities microservice-oauth2-reactive(true)-gradle-en "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -713,9 +692,6 @@ exports[`generator - sql - entities microservice-oauth2-reactive(true)-gradle-en "src/main/java/com/package/web/rest/MicroserviceResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -749,33 +725,21 @@ exports[`generator - sql - entities microservice-oauth2-reactive(true)-gradle-en "src/test/java/com/package/domain/SimpleTestSamples.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/AnotherSimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/MicroserviceResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, } `; @@ -1202,9 +1166,6 @@ exports[`generator - sql - entities monolith-oauth2-reactive(false)-maven-enable "src/main/java/tech/jhipster/domain/SimpleEntity.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/domain/UserEntity.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/domain/package-info.java": { "stateCleared": "modified", }, @@ -1217,9 +1178,6 @@ exports[`generator - sql - entities monolith-oauth2-reactive(false)-maven-enable "src/main/java/tech/jhipster/repository/SimpleRepository.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/repository/package-info.java": { "stateCleared": "modified", }, @@ -1229,24 +1187,15 @@ exports[`generator - sql - entities monolith-oauth2-reactive(false)-maven-enable "src/main/java/tech/jhipster/service/SimpleQueryService.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/UserService.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/criteria/SimpleCriteria.java": { "stateCleared": "modified", }, "src/main/java/tech/jhipster/service/criteria/package-info.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/AdminUserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/AnotherSimpleDTO.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/dto/UserDTO.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -1262,9 +1211,6 @@ exports[`generator - sql - entities monolith-oauth2-reactive(false)-maven-enable "src/main/java/tech/jhipster/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -1277,9 +1223,6 @@ exports[`generator - sql - entities monolith-oauth2-reactive(false)-maven-enable "src/main/java/tech/jhipster/web/rest/MicroserviceResource.java": { "stateCleared": "modified", }, - "src/main/java/tech/jhipster/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/tech/jhipster/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -1313,33 +1256,21 @@ exports[`generator - sql - entities monolith-oauth2-reactive(false)-maven-enable "src/test/java/tech/jhipster/domain/SimpleEntityTestSamples.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/service/dto/AnotherSimpleDTOTest.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/AnotherSimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/tech/jhipster/web/rest/MicroserviceResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/tech/jhipster/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/tech/jhipster/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, } `; @@ -1402,12 +1333,6 @@ exports[`generator - sql - entities monolith-oauth2-reactive(true)-gradle-enable "src/main/java/com/package/domain/Simple.java": { "stateCleared": "modified", }, - "src/main/java/com/package/domain/User.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/domain/UserCallback.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/domain/criteria/SimpleCriteria.java": { "stateCleared": "modified", }, @@ -1444,9 +1369,6 @@ exports[`generator - sql - entities monolith-oauth2-reactive(true)-gradle-enable "src/main/java/com/package/repository/SimpleSqlHelper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/repository/UserRepository.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/repository/package-info.java": { "stateCleared": "modified", }, @@ -1465,18 +1387,9 @@ exports[`generator - sql - entities monolith-oauth2-reactive(true)-gradle-enable "src/main/java/com/package/service/AnotherSimpleService.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/UserService.java": { - "stateCleared": "modified", - }, - "src/main/java/com/package/service/dto/AdminUserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/AnotherSimpleRest.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/dto/UserRest.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/dto/package-info.java": { "stateCleared": "modified", }, @@ -1492,9 +1405,6 @@ exports[`generator - sql - entities monolith-oauth2-reactive(true)-gradle-enable "src/main/java/com/package/service/mapper/EntityMapper.java": { "stateCleared": "modified", }, - "src/main/java/com/package/service/mapper/UserMapper.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/service/mapper/package-info.java": { "stateCleared": "modified", }, @@ -1507,9 +1417,6 @@ exports[`generator - sql - entities monolith-oauth2-reactive(true)-gradle-enable "src/main/java/com/package/web/rest/MicroserviceResource.java": { "stateCleared": "modified", }, - "src/main/java/com/package/web/rest/PublicUserResource.java": { - "stateCleared": "modified", - }, "src/main/java/com/package/web/rest/SimpleResource.java": { "stateCleared": "modified", }, @@ -1543,33 +1450,21 @@ exports[`generator - sql - entities monolith-oauth2-reactive(true)-gradle-enable "src/test/java/com/package/domain/SimpleTestSamples.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/UserServiceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/service/dto/AnotherSimpleRestTest.java": { "stateCleared": "modified", }, "src/test/java/com/package/service/mapper/AnotherSimpleMapperTest.java": { "stateCleared": "modified", }, - "src/test/java/com/package/service/mapper/UserMapperTest.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/AnotherSimpleResourceIT.java": { "stateCleared": "modified", }, "src/test/java/com/package/web/rest/MicroserviceResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/PublicUserResourceIT.java": { - "stateCleared": "modified", - }, "src/test/java/com/package/web/rest/SimpleResourceIT.java": { "stateCleared": "modified", }, - "src/test/java/com/package/web/rest/UserResourceIT.java": { - "stateCleared": "modified", - }, } `; diff --git a/generators/vue/__snapshots__/generator.spec.ts.snap b/generators/vue/__snapshots__/generator.spec.ts.snap index 11f795841704..713b16feca4d 100644 --- a/generators/vue/__snapshots__/generator.spec.ts.snap +++ b/generators/vue/__snapshots__/generator.spec.ts.snap @@ -754,9 +754,6 @@ exports[`generator - vue gateway-oauth2-withAdminUi(true)-skipJhipsterDependenci "clientRoot/src/main/webapp/app/entities/simple/simple.vue": { "stateCleared": "modified", }, - "clientRoot/src/main/webapp/app/entities/user/user.service.ts": { - "stateCleared": "modified", - }, "clientRoot/src/main/webapp/app/locale/translation.service.ts": { "stateCleared": "modified", }, @@ -1685,9 +1682,6 @@ exports[`generator - vue microservice-oauth2-withAdminUi(true)-skipJhipsterDepen "src/main/webapp/app/entities/simple/simple.vue": { "stateCleared": "modified", }, - "src/main/webapp/app/entities/user/user.service.ts": { - "stateCleared": "modified", - }, "src/main/webapp/app/index.ts": { "stateCleared": "modified", }, @@ -2775,9 +2769,6 @@ exports[`generator - vue monolith-oauth2-withAdminUi(false)-skipJhipsterDependen "src/main/webapp/app/entities/simple/simple.vue": { "stateCleared": "modified", }, - "src/main/webapp/app/entities/user/user.service.ts": { - "stateCleared": "modified", - }, "src/main/webapp/app/main.ts": { "stateCleared": "modified", }, diff --git a/test-integration/jdl-samples/ms-mf-react-eureka-oauth2-mariadb-infinispan/blog-store.jdl b/test-integration/jdl-samples/ms-mf-react-eureka-oauth2-mariadb-infinispan/blog-store.jdl index 2996bec88d86..ac9b653dc0ac 100644 --- a/test-integration/jdl-samples/ms-mf-react-eureka-oauth2-mariadb-infinispan/blog-store.jdl +++ b/test-integration/jdl-samples/ms-mf-react-eureka-oauth2-mariadb-infinispan/blog-store.jdl @@ -138,6 +138,8 @@ entity Notification { } relationship ManyToOne { + Blog{user(login)} to User with builtInEntity + Notification{user(login)} to User with builtInEntity Post{blog(name)} to Blog } diff --git a/test-integration/jdl-samples/ms-mf-vue-consul-oauth2-mysql-memcached/blog-store.jdl b/test-integration/jdl-samples/ms-mf-vue-consul-oauth2-mysql-memcached/blog-store.jdl index 82529e4e429b..88761d6c8e14 100644 --- a/test-integration/jdl-samples/ms-mf-vue-consul-oauth2-mysql-memcached/blog-store.jdl +++ b/test-integration/jdl-samples/ms-mf-vue-consul-oauth2-mysql-memcached/blog-store.jdl @@ -139,6 +139,7 @@ entity Notification { relationship ManyToOne { Blog{user(login)} to User with builtInEntity + Notification{user(login)} to User with builtInEntity Post{blog(name)} to Blog }