diff --git a/.prettierignore b/.prettierignore index adacca64d..b79b7970f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,6 +2,5 @@ node_modules travis docs .git -.jhipster .vscode **/templates/**/ diff --git a/test-integration/samples/.jhipster/Album.json b/test-integration/samples/.jhipster/Album.json index 1d2fef46d..5e5bfa353 100644 --- a/test-integration/samples/.jhipster/Album.json +++ b/test-integration/samples/.jhipster/Album.json @@ -1,34 +1,39 @@ { - "applications": "*", - "changelogDate": "20200417191023", - "clientRootFolder": "", - "dto": "no", - "embedded": false, - "entityTableName": "album", - "fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "name": "Album", - "pagination": "no", - "readOnly": false, - "relationships": [ - { - "otherEntityField": "name", - "otherEntityName": "artist", - "otherEntityRelationshipName": "album", - "ownerSide": true, - "relationshipName": "artist", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "name", - "otherEntityName": "genre", - "otherEntityRelationshipName": "album", - "ownerSide": true, - "relationshipName": "genre", - "relationshipType": "one-to-one" - }, - { "otherEntityName": "track", "otherEntityRelationshipName": "album", "relationshipName": "track", "relationshipType": "one-to-many" } - ], - "service": "no" + "applications": "*", + "changelogDate": "20200417191023", + "clientRootFolder": "", + "dto": "no", + "embedded": false, + "entityTableName": "album", + "fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "name": "Album", + "pagination": "no", + "readOnly": false, + "relationships": [ + { + "otherEntityField": "name", + "otherEntityName": "artist", + "otherEntityRelationshipName": "album", + "ownerSide": true, + "relationshipName": "artist", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "name", + "otherEntityName": "genre", + "otherEntityRelationshipName": "album", + "ownerSide": true, + "relationshipName": "genre", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "track", + "otherEntityRelationshipName": "album", + "relationshipName": "track", + "relationshipType": "one-to-many" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/Artist.json b/test-integration/samples/.jhipster/Artist.json index ee7bf1f6d..3970f8071 100644 --- a/test-integration/samples/.jhipster/Artist.json +++ b/test-integration/samples/.jhipster/Artist.json @@ -1,16 +1,16 @@ { - "applications": "*", - "changelogDate": "20200417190723", - "clientRootFolder": "", - "dto": "no", - "embedded": false, - "entityTableName": "artist", - "fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "name": "Artist", - "pagination": "no", - "readOnly": false, - "relationships": [], - "service": "no" + "applications": "*", + "changelogDate": "20200417190723", + "clientRootFolder": "", + "dto": "no", + "embedded": false, + "entityTableName": "artist", + "fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "name": "Artist", + "pagination": "no", + "readOnly": false, + "relationships": [], + "service": "no" } diff --git a/test-integration/samples/.jhipster/BankAccount.json b/test-integration/samples/.jhipster/BankAccount.json index 3ceca5f14..4c4c21064 100644 --- a/test-integration/samples/.jhipster/BankAccount.json +++ b/test-integration/samples/.jhipster/BankAccount.json @@ -1,35 +1,35 @@ { - "angularJSSuffix": "mySuffix", - "changelogDate": "20200804163352", - "clientRootFolder": "test-root", - "dto": "no", - "fields": [ - { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "guid", "fieldType": "UUID" }, - { "fieldName": "bankNumber", "fieldType": "Integer" }, - { "fieldName": "agencyNumber", "fieldType": "Long" }, - { "fieldName": "lastOperationDuration", "fieldType": "Float" }, - { "fieldName": "meanOperationDuration", "fieldType": "Double" }, - { "fieldName": "meanQueueDuration", "fieldType": "Duration" }, - { "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "openingDay", "fieldType": "LocalDate" }, - { "fieldName": "lastOperationDate", "fieldType": "Instant" }, - { "fieldName": "active", "fieldType": "Boolean" }, - { "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" }, - { "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" } - ], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "pagination": "no", - "relationships": [ - { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "user", "relationshipType": "many-to-one" }, - { - "otherEntityName": "operation", - "otherEntityRelationshipName": "bankAccount", - "relationshipName": "operation", - "relationshipType": "one-to-many" - } - ], - "service": "serviceImpl" + "angularJSSuffix": "mySuffix", + "changelogDate": "20200804163352", + "clientRootFolder": "test-root", + "dto": "no", + "fields": [ + { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, + { "fieldName": "guid", "fieldType": "UUID" }, + { "fieldName": "bankNumber", "fieldType": "Integer" }, + { "fieldName": "agencyNumber", "fieldType": "Long" }, + { "fieldName": "lastOperationDuration", "fieldType": "Float" }, + { "fieldName": "meanOperationDuration", "fieldType": "Double" }, + { "fieldName": "meanQueueDuration", "fieldType": "Duration" }, + { "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "openingDay", "fieldType": "LocalDate" }, + { "fieldName": "lastOperationDate", "fieldType": "Instant" }, + { "fieldName": "active", "fieldType": "Boolean" }, + { "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" }, + { "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" } + ], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "pagination": "no", + "relationships": [ + { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "user", "relationshipType": "many-to-one" }, + { + "otherEntityName": "operation", + "otherEntityRelationshipName": "bankAccount", + "relationshipName": "operation", + "relationshipType": "one-to-many" + } + ], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/CassBankAccount.json b/test-integration/samples/.jhipster/CassBankAccount.json index 933c77e4f..c03ee3141 100644 --- a/test-integration/samples/.jhipster/CassBankAccount.json +++ b/test-integration/samples/.jhipster/CassBankAccount.json @@ -1,22 +1,22 @@ { - "angularJSSuffix": "mySuffix", - "changelogDate": "20150805124839", - "dto": "mapstruct", - "fields": [ - { "fieldName": "userId", "fieldType": "UUID" }, - { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "bankNumber", "fieldType": "Integer" }, - { "fieldName": "agencyNumber", "fieldType": "Long" }, - { "fieldName": "lastOperationDuration", "fieldType": "Float" }, - { "fieldName": "meanOperationDuration", "fieldType": "Double" }, - { "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "lastOperationDate", "fieldType": "Date" }, - { "fieldName": "active", "fieldType": "Boolean" }, - { "fieldName": "picture", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, - { "fieldName": "operationsFile", "fieldType": "byte[]" }, - { "fieldName": "accountType", "fieldType": "AccountTypeEnum", "fieldValues": "STANDARD,PREMIUM" } - ], - "fluentMethods": true, - "pagination": "no", - "service": "serviceImpl" + "angularJSSuffix": "mySuffix", + "changelogDate": "20150805124839", + "dto": "mapstruct", + "fields": [ + { "fieldName": "userId", "fieldType": "UUID" }, + { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, + { "fieldName": "bankNumber", "fieldType": "Integer" }, + { "fieldName": "agencyNumber", "fieldType": "Long" }, + { "fieldName": "lastOperationDuration", "fieldType": "Float" }, + { "fieldName": "meanOperationDuration", "fieldType": "Double" }, + { "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "lastOperationDate", "fieldType": "Date" }, + { "fieldName": "active", "fieldType": "Boolean" }, + { "fieldName": "picture", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, + { "fieldName": "operationsFile", "fieldType": "byte[]" }, + { "fieldName": "accountType", "fieldType": "AccountTypeEnum", "fieldValues": "STANDARD,PREMIUM" } + ], + "fluentMethods": true, + "pagination": "no", + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/Division.json b/test-integration/samples/.jhipster/Division.json index d0d5ca3d6..0c9d109a8 100644 --- a/test-integration/samples/.jhipster/Division.json +++ b/test-integration/samples/.jhipster/Division.json @@ -1,37 +1,37 @@ { - "changelogDate": "20170626061520", - "clientRootFolder": "test-root", - "dto": "no", - "entityTableName": "division", - "fields": [ - { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required", "unique"] }, - { "fieldName": "shortName", "fieldType": "String", "fieldValidateRules": ["unique"] }, - { "fieldName": "numberOfPeople", "fieldType": "Long" }, - { - "fieldName": "divisionType", - "fieldType": "DivisionType", - "fieldValidateRules": ["required"], - "fieldValues": "SCHOOL,CLASS,SUBGROUP" - }, - { "fieldName": "colorBackground", "fieldType": "String" }, - { "fieldName": "colorText", "fieldType": "String" } - ], - "fluentMethods": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "place", - "otherEntityRelationshipName": "owner", - "relationshipName": "divisionsPlace", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "place", - "otherEntityRelationshipName": "preferredDivision", - "ownerSide": false, - "relationshipName": "preferredPlace", - "relationshipType": "many-to-many" - } - ], - "service": "no" + "changelogDate": "20170626061520", + "clientRootFolder": "test-root", + "dto": "no", + "entityTableName": "division", + "fields": [ + { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required", "unique"] }, + { "fieldName": "shortName", "fieldType": "String", "fieldValidateRules": ["unique"] }, + { "fieldName": "numberOfPeople", "fieldType": "Long" }, + { + "fieldName": "divisionType", + "fieldType": "DivisionType", + "fieldValidateRules": ["required"], + "fieldValues": "SCHOOL,CLASS,SUBGROUP" + }, + { "fieldName": "colorBackground", "fieldType": "String" }, + { "fieldName": "colorText", "fieldType": "String" } + ], + "fluentMethods": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "place", + "otherEntityRelationshipName": "owner", + "relationshipName": "divisionsPlace", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "place", + "otherEntityRelationshipName": "preferredDivision", + "ownerSide": false, + "relationshipName": "preferredPlace", + "relationshipType": "many-to-many" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/DocumentBankAccount.json b/test-integration/samples/.jhipster/DocumentBankAccount.json index 64d4aa7ae..00dd50f63 100644 --- a/test-integration/samples/.jhipster/DocumentBankAccount.json +++ b/test-integration/samples/.jhipster/DocumentBankAccount.json @@ -1,29 +1,29 @@ { - "changelogDate": "20150805124838", - "dto": "mapstruct", - "fields": [ - { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "bankNumber", "fieldType": "Integer" }, - { "fieldName": "agencyNumber", "fieldType": "Long" }, - { "fieldName": "lastOperationDuration", "fieldType": "Float" }, - { "fieldName": "meanOperationDuration", "fieldType": "Double" }, - { "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "openingDay", "fieldType": "LocalDate" }, - { "fieldName": "lastOperationDate", "fieldType": "Instant" }, - { "fieldName": "active", "fieldType": "Boolean" }, - { "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" }, - { "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" } - ], - "fluentMethods": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "embeddedOperation", - "otherEntityRelationshipName": "documentBankAccount", - "relationshipName": "embeddedOperation", - "relationshipType": "one-to-many" - } - ], - "service": "serviceImpl" + "changelogDate": "20150805124838", + "dto": "mapstruct", + "fields": [ + { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, + { "fieldName": "bankNumber", "fieldType": "Integer" }, + { "fieldName": "agencyNumber", "fieldType": "Long" }, + { "fieldName": "lastOperationDuration", "fieldType": "Float" }, + { "fieldName": "meanOperationDuration", "fieldType": "Double" }, + { "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "openingDay", "fieldType": "LocalDate" }, + { "fieldName": "lastOperationDate", "fieldType": "Instant" }, + { "fieldName": "active", "fieldType": "Boolean" }, + { "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" }, + { "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" } + ], + "fluentMethods": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "embeddedOperation", + "otherEntityRelationshipName": "documentBankAccount", + "relationshipName": "embeddedOperation", + "relationshipType": "one-to-many" + } + ], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/EmbeddedOperation.json b/test-integration/samples/.jhipster/EmbeddedOperation.json index c1943ec3d..cd5586c19 100644 --- a/test-integration/samples/.jhipster/EmbeddedOperation.json +++ b/test-integration/samples/.jhipster/EmbeddedOperation.json @@ -1,23 +1,23 @@ { - "changelogDate": "20200804163351", - "clientRootFolder": "test-root", - "dto": "mapstruct", - "embedded": true, - "fields": [ - { "fieldName": "date", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "description", "fieldType": "String" }, - { "fieldName": "amount", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "pagination": "infinite-scroll", - "relationships": [ - { - "otherEntityField": "name", - "otherEntityName": "documentBankAccount", - "otherEntityRelationshipName": "embeddedOperation", - "relationshipName": "documentBankAccount", - "relationshipType": "many-to-one" - } - ], - "service": "no" + "changelogDate": "20200804163351", + "clientRootFolder": "test-root", + "dto": "mapstruct", + "embedded": true, + "fields": [ + { "fieldName": "date", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "description", "fieldType": "String" }, + { "fieldName": "amount", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "pagination": "infinite-scroll", + "relationships": [ + { + "otherEntityField": "name", + "otherEntityName": "documentBankAccount", + "otherEntityRelationshipName": "embeddedOperation", + "relationshipName": "documentBankAccount", + "relationshipType": "many-to-one" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/EntityWithDTO.json b/test-integration/samples/.jhipster/EntityWithDTO.json index 224898865..52eccdcf5 100644 --- a/test-integration/samples/.jhipster/EntityWithDTO.json +++ b/test-integration/samples/.jhipster/EntityWithDTO.json @@ -1,10 +1,10 @@ { - "changelogDate": "20160806123735", - "dto": "mapstruct", - "entityTableName": "entity_with_dto", - "fields": [{ "fieldName": "emma", "fieldType": "String" }], - "fluentMethods": true, - "pagination": "no", - "relationships": [], - "service": "no" + "changelogDate": "20160806123735", + "dto": "mapstruct", + "entityTableName": "entity_with_dto", + "fields": [{ "fieldName": "emma", "fieldType": "String" }], + "fluentMethods": true, + "pagination": "no", + "relationships": [], + "service": "no" } diff --git a/test-integration/samples/.jhipster/EntityWithPaginationAndDTO.json b/test-integration/samples/.jhipster/EntityWithPaginationAndDTO.json index 8bb38bd78..8f2dca1ff 100644 --- a/test-integration/samples/.jhipster/EntityWithPaginationAndDTO.json +++ b/test-integration/samples/.jhipster/EntityWithPaginationAndDTO.json @@ -1,10 +1,10 @@ { - "changelogDate": "20160806123743", - "dto": "mapstruct", - "entityTableName": "entity_with_pagination_and_dto", - "fields": [{ "fieldName": "lea", "fieldType": "String" }], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [], - "service": "no" + "changelogDate": "20160806123743", + "dto": "mapstruct", + "entityTableName": "entity_with_pagination_and_dto", + "fields": [{ "fieldName": "lea", "fieldType": "String" }], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [], + "service": "no" } diff --git a/test-integration/samples/.jhipster/EntityWithServiceClassAndPagination.json b/test-integration/samples/.jhipster/EntityWithServiceClassAndPagination.json index 44fcb32be..448d651f5 100644 --- a/test-integration/samples/.jhipster/EntityWithServiceClassAndPagination.json +++ b/test-integration/samples/.jhipster/EntityWithServiceClassAndPagination.json @@ -1,10 +1,10 @@ { - "changelogDate": "20160806123739", - "dto": "no", - "entityTableName": "entity_with_service_class_and_pagination", - "fields": [{ "fieldName": "enzo", "fieldType": "String" }], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [], - "service": "serviceClass" + "changelogDate": "20160806123739", + "dto": "no", + "entityTableName": "entity_with_service_class_and_pagination", + "fields": [{ "fieldName": "enzo", "fieldType": "String" }], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [], + "service": "serviceClass" } diff --git a/test-integration/samples/.jhipster/EntityWithServiceClassPaginationAndDTO.json b/test-integration/samples/.jhipster/EntityWithServiceClassPaginationAndDTO.json index 621633396..f6fa78af1 100644 --- a/test-integration/samples/.jhipster/EntityWithServiceClassPaginationAndDTO.json +++ b/test-integration/samples/.jhipster/EntityWithServiceClassPaginationAndDTO.json @@ -1,10 +1,10 @@ { - "changelogDate": "20160806123744", - "dto": "mapstruct", - "entityTableName": "entity_with_service_class_pagination_and_dto", - "fields": [{ "fieldName": "lena", "fieldType": "String" }], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [], - "service": "serviceClass" + "changelogDate": "20160806123744", + "dto": "mapstruct", + "entityTableName": "entity_with_service_class_pagination_and_dto", + "fields": [{ "fieldName": "lena", "fieldType": "String" }], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [], + "service": "serviceClass" } diff --git a/test-integration/samples/.jhipster/EntityWithServiceImplAndDTO.json b/test-integration/samples/.jhipster/EntityWithServiceImplAndDTO.json index 15cc2404a..55b901a8c 100644 --- a/test-integration/samples/.jhipster/EntityWithServiceImplAndDTO.json +++ b/test-integration/samples/.jhipster/EntityWithServiceImplAndDTO.json @@ -1,10 +1,10 @@ { - "changelogDate": "20160806123742", - "dto": "mapstruct", - "entityTableName": "entity_with_service_impl_and_dto", - "fields": [{ "fieldName": "louis", "fieldType": "String" }], - "fluentMethods": true, - "pagination": "no", - "relationships": [], - "service": "serviceImpl" + "changelogDate": "20160806123742", + "dto": "mapstruct", + "entityTableName": "entity_with_service_impl_and_dto", + "fields": [{ "fieldName": "louis", "fieldType": "String" }], + "fluentMethods": true, + "pagination": "no", + "relationships": [], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/EntityWithServiceImplAndPagination.json b/test-integration/samples/.jhipster/EntityWithServiceImplAndPagination.json index 9995b7fda..9b237a714 100644 --- a/test-integration/samples/.jhipster/EntityWithServiceImplAndPagination.json +++ b/test-integration/samples/.jhipster/EntityWithServiceImplAndPagination.json @@ -1,10 +1,10 @@ { - "changelogDate": "20160806123740", - "dto": "no", - "entityTableName": "entity_with_service_impl_and_pagination", - "fields": [{ "fieldName": "hugo", "fieldType": "String" }], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [], - "service": "serviceImpl" + "changelogDate": "20160806123740", + "dto": "no", + "entityTableName": "entity_with_service_impl_and_pagination", + "fields": [{ "fieldName": "hugo", "fieldType": "String" }], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/EntityWithServiceImplPaginationAndDTO.json b/test-integration/samples/.jhipster/EntityWithServiceImplPaginationAndDTO.json index 26b053747..943817f76 100644 --- a/test-integration/samples/.jhipster/EntityWithServiceImplPaginationAndDTO.json +++ b/test-integration/samples/.jhipster/EntityWithServiceImplPaginationAndDTO.json @@ -1,10 +1,10 @@ { - "changelogDate": "20160806123845", - "dto": "mapstruct", - "entityTableName": "entity_with_service_impl_pagination_and_dto", - "fields": [{ "fieldName": "theo", "fieldType": "String" }], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [], - "service": "serviceImpl" + "changelogDate": "20160806123845", + "dto": "mapstruct", + "entityTableName": "entity_with_service_impl_pagination_and_dto", + "fields": [{ "fieldName": "theo", "fieldType": "String" }], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/FieldTestEntity.json b/test-integration/samples/.jhipster/FieldTestEntity.json index 1c80d6f6d..182cbb8d6 100644 --- a/test-integration/samples/.jhipster/FieldTestEntity.json +++ b/test-integration/samples/.jhipster/FieldTestEntity.json @@ -1,104 +1,109 @@ { - "changelogDate": "20160208184035", - "dto": "no", - "fields": [ - { "fieldName": "stringTom", "fieldType": "String" }, - { "fieldName": "stringRequiredTom", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "stringMinlengthTom", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, - { "fieldName": "stringMaxlengthTom", "fieldType": "String", "fieldValidateRules": ["maxlength"], "fieldValidateRulesMaxlength": 20 }, - { - "fieldName": "stringPatternTom", - "fieldType": "String", - "fieldValidateRules": ["pattern"], - "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", - "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" - }, - { - "fieldName": "numberPatternTom", - "fieldType": "String", - "fieldValidateRules": ["pattern"], - "fieldValidateRulesPattern": "^\\d+$" - }, - { - "fieldName": "numberPatternRequiredTom", - "fieldType": "String", - "fieldValidateRules": ["pattern", "required"], - "fieldValidateRulesPattern": "^\\d+$" - }, - { "fieldName": "integerTom", "fieldType": "Integer" }, - { "fieldName": "integerRequiredTom", "fieldType": "Integer", "fieldValidateRules": ["required"] }, - { "fieldName": "integerMinTom", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "integerMaxTom", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "longTom", "fieldType": "Long" }, - { "fieldName": "longRequiredTom", "fieldType": "Long", "fieldValidateRules": ["required"] }, - { "fieldName": "longMinTom", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "longMaxTom", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "floatTom", "fieldType": "Float" }, - { "fieldName": "floatRequiredTom", "fieldType": "Float", "fieldValidateRules": ["required"] }, - { "fieldName": "floatMinTom", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "floatMaxTom", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "doubleRequiredTom", "fieldType": "Double", "fieldValidateRules": ["required"] }, - { "fieldName": "doubleMinTom", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "doubleMaxTom", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "bigDecimalRequiredTom", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "bigDecimalMinTom", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "bigDecimalMaxTom", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "localDateTom", "fieldType": "LocalDate" }, - { "fieldName": "localDateRequiredTom", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, - { "fieldName": "instantTom", "fieldType": "Instant" }, - { "fieldName": "instantRequiredTom", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "zonedDateTimeTom", "fieldType": "ZonedDateTime" }, - { "fieldName": "zonedDateTimeRequiredTom", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, - { "fieldName": "durationTom", "fieldType": "Duration" }, - { "fieldName": "durationRequiredTom", "fieldType": "Duration", "fieldValidateRules": ["required"] }, - { "fieldName": "booleanTom", "fieldType": "Boolean" }, - { "fieldName": "booleanRequiredTom", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, - { "fieldName": "enumTom", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, - { - "fieldName": "enumRequiredTom", - "fieldType": "EnumRequiredFieldClass", - "fieldValidateRules": ["required"], - "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" - }, - { "fieldName": "uuidTom", "fieldType": "UUID" }, - { "fieldName": "uuidRequiredTom", "fieldType": "UUID", "fieldValidateRules": ["required"] }, - { "fieldName": "byteImageTom", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, - { "fieldName": "byteImageRequiredTom", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteImageMinbytesTom", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteImageMaxbytesTom", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteAnyTom", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "byteAnyRequiredTom", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteAnyMinbytesTom", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteAnyMaxbytesTom", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteTextTom", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, - { "fieldName": "byteTextRequiredTom", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "pagination": "no", - "relationships": [], - "service": "no" + "changelogDate": "20160208184035", + "dto": "no", + "fields": [ + { "fieldName": "stringTom", "fieldType": "String" }, + { "fieldName": "stringRequiredTom", "fieldType": "String", "fieldValidateRules": ["required"] }, + { "fieldName": "stringMinlengthTom", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, + { + "fieldName": "stringMaxlengthTom", + "fieldType": "String", + "fieldValidateRules": ["maxlength"], + "fieldValidateRulesMaxlength": 20 + }, + { + "fieldName": "stringPatternTom", + "fieldType": "String", + "fieldValidateRules": ["pattern"], + "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", + "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" + }, + { + "fieldName": "numberPatternTom", + "fieldType": "String", + "fieldValidateRules": ["pattern"], + "fieldValidateRulesPattern": "^\\d+$" + }, + { + "fieldName": "numberPatternRequiredTom", + "fieldType": "String", + "fieldValidateRules": ["pattern", "required"], + "fieldValidateRulesPattern": "^\\d+$" + }, + { "fieldName": "integerTom", "fieldType": "Integer" }, + { "fieldName": "integerRequiredTom", "fieldType": "Integer", "fieldValidateRules": ["required"] }, + { "fieldName": "integerMinTom", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "integerMaxTom", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "longTom", "fieldType": "Long" }, + { "fieldName": "longRequiredTom", "fieldType": "Long", "fieldValidateRules": ["required"] }, + { "fieldName": "longMinTom", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "longMaxTom", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "floatTom", "fieldType": "Float" }, + { "fieldName": "floatRequiredTom", "fieldType": "Float", "fieldValidateRules": ["required"] }, + { "fieldName": "floatMinTom", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "floatMaxTom", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "doubleRequiredTom", "fieldType": "Double", "fieldValidateRules": ["required"] }, + { "fieldName": "doubleMinTom", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "doubleMaxTom", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "bigDecimalRequiredTom", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "bigDecimalMinTom", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "bigDecimalMaxTom", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "localDateTom", "fieldType": "LocalDate" }, + { "fieldName": "localDateRequiredTom", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, + { "fieldName": "instantTom", "fieldType": "Instant" }, + { "fieldName": "instantRequiredTom", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "zonedDateTimeTom", "fieldType": "ZonedDateTime" }, + { "fieldName": "zonedDateTimeRequiredTom", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, + { "fieldName": "durationTom", "fieldType": "Duration" }, + { "fieldName": "durationRequiredTom", "fieldType": "Duration", "fieldValidateRules": ["required"] }, + { "fieldName": "booleanTom", "fieldType": "Boolean" }, + { "fieldName": "booleanRequiredTom", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, + { "fieldName": "enumTom", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, + { + "fieldName": "enumRequiredTom", + "fieldType": "EnumRequiredFieldClass", + "fieldValidateRules": ["required"], + "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" + }, + { "fieldName": "uuidTom", "fieldType": "UUID" }, + { "fieldName": "uuidRequiredTom", "fieldType": "UUID", "fieldValidateRules": ["required"] }, + { "fieldName": "byteImageTom", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, + { "fieldName": "byteImageRequiredTom", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteImageMinbytesTom", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteImageMaxbytesTom", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteAnyTom", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "byteAnyRequiredTom", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteAnyMinbytesTom", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteAnyMaxbytesTom", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteTextTom", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, + { "fieldName": "byteTextRequiredTom", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "pagination": "no", + "relationships": [], + "service": "no" } diff --git a/test-integration/samples/.jhipster/FieldTestEnumWithValue.json b/test-integration/samples/.jhipster/FieldTestEnumWithValue.json index 904a73e71..f6460b18a 100644 --- a/test-integration/samples/.jhipster/FieldTestEnumWithValue.json +++ b/test-integration/samples/.jhipster/FieldTestEnumWithValue.json @@ -1,20 +1,20 @@ { - "applications": "*", - "changelogDate": "20200415193919", - "clientRootFolder": "", - "dto": "no", - "embedded": false, - "entityTableName": "entity_with_enums", - "fields": [ - { "fieldName": "myFieldA", "fieldType": "MyEnumA", "fieldValues": "AAA,BBB" }, - { "fieldName": "myFieldB", "fieldType": "MyEnumB", "fieldValues": "AAA (aaa_aaa),BBB" }, - { "fieldName": "myFieldC", "fieldType": "MyEnumC", "fieldValues": "AAA (aaa_aaa),BBB (b and b)" } - ], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "name": "FieldTestEnumWithValue", - "pagination": "no", - "readOnly": false, - "relationships": [], - "service": "no" + "applications": "*", + "changelogDate": "20200415193919", + "clientRootFolder": "", + "dto": "no", + "embedded": false, + "entityTableName": "entity_with_enums", + "fields": [ + { "fieldName": "myFieldA", "fieldType": "MyEnumA", "fieldValues": "AAA,BBB" }, + { "fieldName": "myFieldB", "fieldType": "MyEnumB", "fieldValues": "AAA (aaa_aaa),BBB" }, + { "fieldName": "myFieldC", "fieldType": "MyEnumC", "fieldValues": "AAA (aaa_aaa),BBB (b and b)" } + ], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "name": "FieldTestEnumWithValue", + "pagination": "no", + "readOnly": false, + "relationships": [], + "service": "no" } diff --git a/test-integration/samples/.jhipster/FieldTestInfiniteScrollEntity.json b/test-integration/samples/.jhipster/FieldTestInfiniteScrollEntity.json index feb0c19b5..05adddf1c 100644 --- a/test-integration/samples/.jhipster/FieldTestInfiniteScrollEntity.json +++ b/test-integration/samples/.jhipster/FieldTestInfiniteScrollEntity.json @@ -1,92 +1,107 @@ { - "changelogDate": "20160208184036", - "dto": "no", - "fields": [ - { "fieldName": "stringHugo", "fieldType": "String" }, - { "fieldName": "stringRequiredHugo", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "stringMinlengthHugo", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, - { "fieldName": "stringMaxlengthHugo", "fieldType": "String", "fieldValidateRules": ["maxlength"], "fieldValidateRulesMaxlength": 20 }, - { - "fieldName": "stringPatternHugo", - "fieldType": "String", - "fieldValidateRules": ["pattern"], - "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", - "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" - }, - { "fieldName": "integerHugo", "fieldType": "Integer" }, - { "fieldName": "integerRequiredHugo", "fieldType": "Integer", "fieldValidateRules": ["required"] }, - { "fieldName": "integerMinHugo", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "integerMaxHugo", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "longHugo", "fieldType": "Long" }, - { "fieldName": "longRequiredHugo", "fieldType": "Long", "fieldValidateRules": ["required"] }, - { "fieldName": "longMinHugo", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "longMaxHugo", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "floatHugo", "fieldType": "Float" }, - { "fieldName": "floatRequiredHugo", "fieldType": "Float", "fieldValidateRules": ["required"] }, - { "fieldName": "floatMinHugo", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "floatMaxHugo", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "doubleRequiredHugo", "fieldType": "Double", "fieldValidateRules": ["required"] }, - { "fieldName": "doubleMinHugo", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "doubleMaxHugo", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "bigDecimalRequiredHugo", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "bigDecimalMinHugo", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "bigDecimalMaxHugo", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "localDateHugo", "fieldType": "LocalDate" }, - { "fieldName": "localDateRequiredHugo", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, - { "fieldName": "instantHugo", "fieldType": "Instant" }, - { "fieldName": "instanteRequiredHugo", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "zonedDateTimeHugo", "fieldType": "ZonedDateTime" }, - { "fieldName": "zonedDateTimeRequiredHugo", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, - { "fieldName": "durationHugo", "fieldType": "Duration" }, - { "fieldName": "durationRequiredHugo", "fieldType": "Duration", "fieldValidateRules": ["required"] }, - { "fieldName": "booleanHugo", "fieldType": "Boolean" }, - { "fieldName": "booleanRequiredHugo", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, - { "fieldName": "enumHugo", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, - { - "fieldName": "enumRequiredHugo", - "fieldType": "EnumRequiredFieldClass", - "fieldValidateRules": ["required"], - "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" - }, - { "fieldName": "uuidHugo", "fieldType": "UUID" }, - { "fieldName": "uuidRequiredHugo", "fieldType": "UUID", "fieldValidateRules": ["required"] }, - { "fieldName": "byteImageHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, - { "fieldName": "byteImageRequiredHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteImageMinbytesHugo", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteImageMaxbytesHugo", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteAnyHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "byteAnyRequiredHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteAnyMinbytesHugo", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteAnyMaxbytesHugo", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteTextHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, - { "fieldName": "byteTextRequiredHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "pagination": "infinite-scroll", - "relationships": [], - "service": "no" + "changelogDate": "20160208184036", + "dto": "no", + "fields": [ + { "fieldName": "stringHugo", "fieldType": "String" }, + { "fieldName": "stringRequiredHugo", "fieldType": "String", "fieldValidateRules": ["required"] }, + { + "fieldName": "stringMinlengthHugo", + "fieldType": "String", + "fieldValidateRules": ["minlength"], + "fieldValidateRulesMinlength": 0 + }, + { + "fieldName": "stringMaxlengthHugo", + "fieldType": "String", + "fieldValidateRules": ["maxlength"], + "fieldValidateRulesMaxlength": 20 + }, + { + "fieldName": "stringPatternHugo", + "fieldType": "String", + "fieldValidateRules": ["pattern"], + "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", + "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" + }, + { "fieldName": "integerHugo", "fieldType": "Integer" }, + { "fieldName": "integerRequiredHugo", "fieldType": "Integer", "fieldValidateRules": ["required"] }, + { "fieldName": "integerMinHugo", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "integerMaxHugo", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "longHugo", "fieldType": "Long" }, + { "fieldName": "longRequiredHugo", "fieldType": "Long", "fieldValidateRules": ["required"] }, + { "fieldName": "longMinHugo", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "longMaxHugo", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "floatHugo", "fieldType": "Float" }, + { "fieldName": "floatRequiredHugo", "fieldType": "Float", "fieldValidateRules": ["required"] }, + { "fieldName": "floatMinHugo", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "floatMaxHugo", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "doubleRequiredHugo", "fieldType": "Double", "fieldValidateRules": ["required"] }, + { "fieldName": "doubleMinHugo", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "doubleMaxHugo", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "bigDecimalRequiredHugo", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "bigDecimalMinHugo", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "bigDecimalMaxHugo", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "localDateHugo", "fieldType": "LocalDate" }, + { "fieldName": "localDateRequiredHugo", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, + { "fieldName": "instantHugo", "fieldType": "Instant" }, + { "fieldName": "instanteRequiredHugo", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "zonedDateTimeHugo", "fieldType": "ZonedDateTime" }, + { "fieldName": "zonedDateTimeRequiredHugo", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, + { "fieldName": "durationHugo", "fieldType": "Duration" }, + { "fieldName": "durationRequiredHugo", "fieldType": "Duration", "fieldValidateRules": ["required"] }, + { "fieldName": "booleanHugo", "fieldType": "Boolean" }, + { "fieldName": "booleanRequiredHugo", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, + { "fieldName": "enumHugo", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, + { + "fieldName": "enumRequiredHugo", + "fieldType": "EnumRequiredFieldClass", + "fieldValidateRules": ["required"], + "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" + }, + { "fieldName": "uuidHugo", "fieldType": "UUID" }, + { "fieldName": "uuidRequiredHugo", "fieldType": "UUID", "fieldValidateRules": ["required"] }, + { "fieldName": "byteImageHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, + { + "fieldName": "byteImageRequiredHugo", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["required"] + }, + { + "fieldName": "byteImageMinbytesHugo", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteImageMaxbytesHugo", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteAnyHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "byteAnyRequiredHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteAnyMinbytesHugo", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteAnyMaxbytesHugo", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteTextHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, + { "fieldName": "byteTextRequiredHugo", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "pagination": "infinite-scroll", + "relationships": [], + "service": "no" } diff --git a/test-integration/samples/.jhipster/FieldTestMapstructAndServiceClassEntity.json b/test-integration/samples/.jhipster/FieldTestMapstructAndServiceClassEntity.json index 4ba349669..5860aa000 100644 --- a/test-integration/samples/.jhipster/FieldTestMapstructAndServiceClassEntity.json +++ b/test-integration/samples/.jhipster/FieldTestMapstructAndServiceClassEntity.json @@ -1,92 +1,97 @@ { - "changelogDate": "20160208184037", - "dto": "mapstruct", - "fields": [ - { "fieldName": "stringEva", "fieldType": "String" }, - { "fieldName": "stringRequiredEva", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "stringMinlengthEva", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, - { "fieldName": "stringMaxlengthEva", "fieldType": "String", "fieldValidateRules": ["maxlength"], "fieldValidateRulesMaxlength": 20 }, - { - "fieldName": "stringPatternEva", - "fieldType": "String", - "fieldValidateRules": ["pattern"], - "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", - "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" - }, - { "fieldName": "integerEva", "fieldType": "Integer" }, - { "fieldName": "integerRequiredEva", "fieldType": "Integer", "fieldValidateRules": ["required"] }, - { "fieldName": "integerMinEva", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "integerMaxEva", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "longEva", "fieldType": "Long" }, - { "fieldName": "longRequiredEva", "fieldType": "Long", "fieldValidateRules": ["required"] }, - { "fieldName": "longMinEva", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "longMaxEva", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "floatEva", "fieldType": "Float" }, - { "fieldName": "floatRequiredEva", "fieldType": "Float", "fieldValidateRules": ["required"] }, - { "fieldName": "floatMinEva", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "floatMaxEva", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "doubleRequiredEva", "fieldType": "Double", "fieldValidateRules": ["required"] }, - { "fieldName": "doubleMinEva", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "doubleMaxEva", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "bigDecimalRequiredEva", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "bigDecimalMinEva", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "bigDecimalMaxEva", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "localDateEva", "fieldType": "LocalDate" }, - { "fieldName": "localDateRequiredEva", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, - { "fieldName": "instantEva", "fieldType": "Instant" }, - { "fieldName": "instanteRequiredEva", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "zonedDateTimeEva", "fieldType": "ZonedDateTime" }, - { "fieldName": "zonedDateTimeRequiredEva", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, - { "fieldName": "durationEva", "fieldType": "Duration" }, - { "fieldName": "durationRequiredEva", "fieldType": "Duration", "fieldValidateRules": ["required"] }, - { "fieldName": "booleanEva", "fieldType": "Boolean" }, - { "fieldName": "booleanRequiredEva", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, - { "fieldName": "enumEva", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, - { - "fieldName": "enumRequiredEva", - "fieldType": "EnumRequiredFieldClass", - "fieldValidateRules": ["required"], - "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" - }, - { "fieldName": "uuidEva", "fieldType": "UUID" }, - { "fieldName": "uuidRequiredEva", "fieldType": "UUID", "fieldValidateRules": ["required"] }, - { "fieldName": "byteImageEva", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, - { "fieldName": "byteImageRequiredEva", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteImageMinbytesEva", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteImageMaxbytesEva", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteAnyEva", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "byteAnyRequiredEva", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteAnyMinbytesEva", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteAnyMaxbytesEva", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteTextEva", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, - { "fieldName": "byteTextRequiredEva", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "pagination": "no", - "relationships": [], - "service": "serviceClass" + "changelogDate": "20160208184037", + "dto": "mapstruct", + "fields": [ + { "fieldName": "stringEva", "fieldType": "String" }, + { "fieldName": "stringRequiredEva", "fieldType": "String", "fieldValidateRules": ["required"] }, + { "fieldName": "stringMinlengthEva", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, + { + "fieldName": "stringMaxlengthEva", + "fieldType": "String", + "fieldValidateRules": ["maxlength"], + "fieldValidateRulesMaxlength": 20 + }, + { + "fieldName": "stringPatternEva", + "fieldType": "String", + "fieldValidateRules": ["pattern"], + "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", + "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" + }, + { "fieldName": "integerEva", "fieldType": "Integer" }, + { "fieldName": "integerRequiredEva", "fieldType": "Integer", "fieldValidateRules": ["required"] }, + { "fieldName": "integerMinEva", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "integerMaxEva", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "longEva", "fieldType": "Long" }, + { "fieldName": "longRequiredEva", "fieldType": "Long", "fieldValidateRules": ["required"] }, + { "fieldName": "longMinEva", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "longMaxEva", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "floatEva", "fieldType": "Float" }, + { "fieldName": "floatRequiredEva", "fieldType": "Float", "fieldValidateRules": ["required"] }, + { "fieldName": "floatMinEva", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "floatMaxEva", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "doubleRequiredEva", "fieldType": "Double", "fieldValidateRules": ["required"] }, + { "fieldName": "doubleMinEva", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "doubleMaxEva", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "bigDecimalRequiredEva", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "bigDecimalMinEva", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "bigDecimalMaxEva", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "localDateEva", "fieldType": "LocalDate" }, + { "fieldName": "localDateRequiredEva", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, + { "fieldName": "instantEva", "fieldType": "Instant" }, + { "fieldName": "instanteRequiredEva", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "zonedDateTimeEva", "fieldType": "ZonedDateTime" }, + { "fieldName": "zonedDateTimeRequiredEva", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, + { "fieldName": "durationEva", "fieldType": "Duration" }, + { "fieldName": "durationRequiredEva", "fieldType": "Duration", "fieldValidateRules": ["required"] }, + { "fieldName": "booleanEva", "fieldType": "Boolean" }, + { "fieldName": "booleanRequiredEva", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, + { "fieldName": "enumEva", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, + { + "fieldName": "enumRequiredEva", + "fieldType": "EnumRequiredFieldClass", + "fieldValidateRules": ["required"], + "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" + }, + { "fieldName": "uuidEva", "fieldType": "UUID" }, + { "fieldName": "uuidRequiredEva", "fieldType": "UUID", "fieldValidateRules": ["required"] }, + { "fieldName": "byteImageEva", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, + { "fieldName": "byteImageRequiredEva", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteImageMinbytesEva", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteImageMaxbytesEva", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteAnyEva", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "byteAnyRequiredEva", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteAnyMinbytesEva", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteAnyMaxbytesEva", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteTextEva", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, + { "fieldName": "byteTextRequiredEva", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "pagination": "no", + "relationships": [], + "service": "serviceClass" } diff --git a/test-integration/samples/.jhipster/FieldTestPaginationEntity.json b/test-integration/samples/.jhipster/FieldTestPaginationEntity.json index 5c0ef2b05..2d34eb11f 100644 --- a/test-integration/samples/.jhipster/FieldTestPaginationEntity.json +++ b/test-integration/samples/.jhipster/FieldTestPaginationEntity.json @@ -1,92 +1,107 @@ { - "changelogDate": "20160208184038", - "dto": "no", - "fields": [ - { "fieldName": "stringAlice", "fieldType": "String" }, - { "fieldName": "stringRequiredAlice", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "stringMinlengthAlice", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, - { "fieldName": "stringMaxlengthAlice", "fieldType": "String", "fieldValidateRules": ["maxlength"], "fieldValidateRulesMaxlength": 20 }, - { - "fieldName": "stringPatternAlice", - "fieldType": "String", - "fieldValidateRules": ["pattern"], - "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", - "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" - }, - { "fieldName": "integerAlice", "fieldType": "Integer" }, - { "fieldName": "integerRequiredAlice", "fieldType": "Integer", "fieldValidateRules": ["required"] }, - { "fieldName": "integerMinAlice", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "integerMaxAlice", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "longAlice", "fieldType": "Long" }, - { "fieldName": "longRequiredAlice", "fieldType": "Long", "fieldValidateRules": ["required"] }, - { "fieldName": "longMinAlice", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "longMaxAlice", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "floatAlice", "fieldType": "Float" }, - { "fieldName": "floatRequiredAlice", "fieldType": "Float", "fieldValidateRules": ["required"] }, - { "fieldName": "floatMinAlice", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "floatMaxAlice", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "doubleRequiredAlice", "fieldType": "Double", "fieldValidateRules": ["required"] }, - { "fieldName": "doubleMinAlice", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "doubleMaxAlice", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "bigDecimalRequiredAlice", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "bigDecimalMinAlice", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "bigDecimalMaxAlice", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "localDateAlice", "fieldType": "LocalDate" }, - { "fieldName": "localDateRequiredAlice", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, - { "fieldName": "instantAlice", "fieldType": "Instant" }, - { "fieldName": "instanteRequiredAlice", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "zonedDateTimeAlice", "fieldType": "ZonedDateTime" }, - { "fieldName": "zonedDateTimeRequiredAlice", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, - { "fieldName": "durationAlice", "fieldType": "Duration" }, - { "fieldName": "durationRequiredAlice", "fieldType": "Duration", "fieldValidateRules": ["required"] }, - { "fieldName": "booleanAlice", "fieldType": "Boolean" }, - { "fieldName": "booleanRequiredAlice", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, - { "fieldName": "enumAlice", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, - { - "fieldName": "enumRequiredAlice", - "fieldType": "EnumRequiredFieldClass", - "fieldValidateRules": ["required"], - "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" - }, - { "fieldName": "uuidAlice", "fieldType": "UUID" }, - { "fieldName": "uuidRequiredAlice", "fieldType": "UUID", "fieldValidateRules": ["required"] }, - { "fieldName": "byteImageAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, - { "fieldName": "byteImageRequiredAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteImageMinbytesAlice", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteImageMaxbytesAlice", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteAnyAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "byteAnyRequiredAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteAnyMinbytesAlice", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteAnyMaxbytesAlice", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteTextAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, - { "fieldName": "byteTextRequiredAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [], - "service": "no" + "changelogDate": "20160208184038", + "dto": "no", + "fields": [ + { "fieldName": "stringAlice", "fieldType": "String" }, + { "fieldName": "stringRequiredAlice", "fieldType": "String", "fieldValidateRules": ["required"] }, + { + "fieldName": "stringMinlengthAlice", + "fieldType": "String", + "fieldValidateRules": ["minlength"], + "fieldValidateRulesMinlength": 0 + }, + { + "fieldName": "stringMaxlengthAlice", + "fieldType": "String", + "fieldValidateRules": ["maxlength"], + "fieldValidateRulesMaxlength": 20 + }, + { + "fieldName": "stringPatternAlice", + "fieldType": "String", + "fieldValidateRules": ["pattern"], + "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", + "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" + }, + { "fieldName": "integerAlice", "fieldType": "Integer" }, + { "fieldName": "integerRequiredAlice", "fieldType": "Integer", "fieldValidateRules": ["required"] }, + { "fieldName": "integerMinAlice", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "integerMaxAlice", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "longAlice", "fieldType": "Long" }, + { "fieldName": "longRequiredAlice", "fieldType": "Long", "fieldValidateRules": ["required"] }, + { "fieldName": "longMinAlice", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "longMaxAlice", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "floatAlice", "fieldType": "Float" }, + { "fieldName": "floatRequiredAlice", "fieldType": "Float", "fieldValidateRules": ["required"] }, + { "fieldName": "floatMinAlice", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "floatMaxAlice", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "doubleRequiredAlice", "fieldType": "Double", "fieldValidateRules": ["required"] }, + { "fieldName": "doubleMinAlice", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "doubleMaxAlice", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "bigDecimalRequiredAlice", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "bigDecimalMinAlice", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "bigDecimalMaxAlice", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "localDateAlice", "fieldType": "LocalDate" }, + { "fieldName": "localDateRequiredAlice", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, + { "fieldName": "instantAlice", "fieldType": "Instant" }, + { "fieldName": "instanteRequiredAlice", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "zonedDateTimeAlice", "fieldType": "ZonedDateTime" }, + { "fieldName": "zonedDateTimeRequiredAlice", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, + { "fieldName": "durationAlice", "fieldType": "Duration" }, + { "fieldName": "durationRequiredAlice", "fieldType": "Duration", "fieldValidateRules": ["required"] }, + { "fieldName": "booleanAlice", "fieldType": "Boolean" }, + { "fieldName": "booleanRequiredAlice", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, + { "fieldName": "enumAlice", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, + { + "fieldName": "enumRequiredAlice", + "fieldType": "EnumRequiredFieldClass", + "fieldValidateRules": ["required"], + "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" + }, + { "fieldName": "uuidAlice", "fieldType": "UUID" }, + { "fieldName": "uuidRequiredAlice", "fieldType": "UUID", "fieldValidateRules": ["required"] }, + { "fieldName": "byteImageAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, + { + "fieldName": "byteImageRequiredAlice", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["required"] + }, + { + "fieldName": "byteImageMinbytesAlice", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteImageMaxbytesAlice", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteAnyAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "byteAnyRequiredAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteAnyMinbytesAlice", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteAnyMaxbytesAlice", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteTextAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, + { "fieldName": "byteTextRequiredAlice", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [], + "service": "no" } diff --git a/test-integration/samples/.jhipster/FieldTestServiceClassAndJpaFilteringEntity.json b/test-integration/samples/.jhipster/FieldTestServiceClassAndJpaFilteringEntity.json index 291229c52..3e6029cb3 100644 --- a/test-integration/samples/.jhipster/FieldTestServiceClassAndJpaFilteringEntity.json +++ b/test-integration/samples/.jhipster/FieldTestServiceClassAndJpaFilteringEntity.json @@ -1,93 +1,98 @@ { - "changelogDate": "20160208184039", - "dto": "no", - "fields": [ - { "fieldName": "stringBob", "fieldType": "String" }, - { "fieldName": "stringRequiredBob", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "stringMinlengthBob", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, - { "fieldName": "stringMaxlengthBob", "fieldType": "String", "fieldValidateRules": ["maxlength"], "fieldValidateRulesMaxlength": 20 }, - { - "fieldName": "stringPatternBob", - "fieldType": "String", - "fieldValidateRules": ["pattern"], - "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", - "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" - }, - { "fieldName": "integerBob", "fieldType": "Integer" }, - { "fieldName": "integerRequiredBob", "fieldType": "Integer", "fieldValidateRules": ["required"] }, - { "fieldName": "integerMinBob", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "integerMaxBob", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "longBob", "fieldType": "Long" }, - { "fieldName": "longRequiredBob", "fieldType": "Long", "fieldValidateRules": ["required"] }, - { "fieldName": "longMinBob", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "longMaxBob", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "floatBob", "fieldType": "Float" }, - { "fieldName": "floatRequiredBob", "fieldType": "Float", "fieldValidateRules": ["required"] }, - { "fieldName": "floatMinBob", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "floatMaxBob", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "doubleRequiredBob", "fieldType": "Double", "fieldValidateRules": ["required"] }, - { "fieldName": "doubleMinBob", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "doubleMaxBob", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "bigDecimalRequiredBob", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "bigDecimalMinBob", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "bigDecimalMaxBob", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "localDateBob", "fieldType": "LocalDate" }, - { "fieldName": "localDateRequiredBob", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, - { "fieldName": "instantBob", "fieldType": "Instant" }, - { "fieldName": "instanteRequiredBob", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "zonedDateTimeBob", "fieldType": "ZonedDateTime" }, - { "fieldName": "zonedDateTimeRequiredBob", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, - { "fieldName": "durationBob", "fieldType": "Duration" }, - { "fieldName": "durationRequiredBob", "fieldType": "Duration", "fieldValidateRules": ["required"] }, - { "fieldName": "booleanBob", "fieldType": "Boolean" }, - { "fieldName": "booleanRequiredBob", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, - { "fieldName": "enumBob", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, - { - "fieldName": "enumRequiredBob", - "fieldType": "EnumRequiredFieldClass", - "fieldValidateRules": ["required"], - "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" - }, - { "fieldName": "uuidBob", "fieldType": "UUID" }, - { "fieldName": "uuidRequiredBob", "fieldType": "UUID", "fieldValidateRules": ["required"] }, - { "fieldName": "byteImageBob", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, - { "fieldName": "byteImageRequiredBob", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteImageMinbytesBob", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteImageMaxbytesBob", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteAnyBob", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "byteAnyRequiredBob", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteAnyMinbytesBob", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteAnyMaxbytesBob", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteTextBob", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, - { "fieldName": "byteTextRequiredBob", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "pagination": "no", - "relationships": [], - "service": "serviceClass" + "changelogDate": "20160208184039", + "dto": "no", + "fields": [ + { "fieldName": "stringBob", "fieldType": "String" }, + { "fieldName": "stringRequiredBob", "fieldType": "String", "fieldValidateRules": ["required"] }, + { "fieldName": "stringMinlengthBob", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, + { + "fieldName": "stringMaxlengthBob", + "fieldType": "String", + "fieldValidateRules": ["maxlength"], + "fieldValidateRulesMaxlength": 20 + }, + { + "fieldName": "stringPatternBob", + "fieldType": "String", + "fieldValidateRules": ["pattern"], + "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", + "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" + }, + { "fieldName": "integerBob", "fieldType": "Integer" }, + { "fieldName": "integerRequiredBob", "fieldType": "Integer", "fieldValidateRules": ["required"] }, + { "fieldName": "integerMinBob", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "integerMaxBob", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "longBob", "fieldType": "Long" }, + { "fieldName": "longRequiredBob", "fieldType": "Long", "fieldValidateRules": ["required"] }, + { "fieldName": "longMinBob", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "longMaxBob", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "floatBob", "fieldType": "Float" }, + { "fieldName": "floatRequiredBob", "fieldType": "Float", "fieldValidateRules": ["required"] }, + { "fieldName": "floatMinBob", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "floatMaxBob", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "doubleRequiredBob", "fieldType": "Double", "fieldValidateRules": ["required"] }, + { "fieldName": "doubleMinBob", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "doubleMaxBob", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "bigDecimalRequiredBob", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "bigDecimalMinBob", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "bigDecimalMaxBob", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "localDateBob", "fieldType": "LocalDate" }, + { "fieldName": "localDateRequiredBob", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, + { "fieldName": "instantBob", "fieldType": "Instant" }, + { "fieldName": "instanteRequiredBob", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "zonedDateTimeBob", "fieldType": "ZonedDateTime" }, + { "fieldName": "zonedDateTimeRequiredBob", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, + { "fieldName": "durationBob", "fieldType": "Duration" }, + { "fieldName": "durationRequiredBob", "fieldType": "Duration", "fieldValidateRules": ["required"] }, + { "fieldName": "booleanBob", "fieldType": "Boolean" }, + { "fieldName": "booleanRequiredBob", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, + { "fieldName": "enumBob", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, + { + "fieldName": "enumRequiredBob", + "fieldType": "EnumRequiredFieldClass", + "fieldValidateRules": ["required"], + "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" + }, + { "fieldName": "uuidBob", "fieldType": "UUID" }, + { "fieldName": "uuidRequiredBob", "fieldType": "UUID", "fieldValidateRules": ["required"] }, + { "fieldName": "byteImageBob", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, + { "fieldName": "byteImageRequiredBob", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteImageMinbytesBob", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteImageMaxbytesBob", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteAnyBob", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "byteAnyRequiredBob", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteAnyMinbytesBob", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteAnyMaxbytesBob", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteTextBob", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, + { "fieldName": "byteTextRequiredBob", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "pagination": "no", + "relationships": [], + "service": "serviceClass" } diff --git a/test-integration/samples/.jhipster/FieldTestServiceImplEntity.json b/test-integration/samples/.jhipster/FieldTestServiceImplEntity.json index 8680b5427..d91ce248e 100644 --- a/test-integration/samples/.jhipster/FieldTestServiceImplEntity.json +++ b/test-integration/samples/.jhipster/FieldTestServiceImplEntity.json @@ -1,92 +1,107 @@ { - "changelogDate": "20160208184040", - "dto": "no", - "fields": [ - { "fieldName": "stringMika", "fieldType": "String" }, - { "fieldName": "stringRequiredMika", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "stringMinlengthMika", "fieldType": "String", "fieldValidateRules": ["minlength"], "fieldValidateRulesMinlength": 0 }, - { "fieldName": "stringMaxlengthMika", "fieldType": "String", "fieldValidateRules": ["maxlength"], "fieldValidateRulesMaxlength": 20 }, - { - "fieldName": "stringPatternMika", - "fieldType": "String", - "fieldValidateRules": ["pattern"], - "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", - "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" - }, - { "fieldName": "integerMika", "fieldType": "Integer" }, - { "fieldName": "integerRequiredMika", "fieldType": "Integer", "fieldValidateRules": ["required"] }, - { "fieldName": "integerMinMika", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "integerMaxMika", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "longMika", "fieldType": "Long" }, - { "fieldName": "longRequiredMika", "fieldType": "Long", "fieldValidateRules": ["required"] }, - { "fieldName": "longMinMika", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "longMaxMika", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "floatMika", "fieldType": "Float" }, - { "fieldName": "floatRequiredMika", "fieldType": "Float", "fieldValidateRules": ["required"] }, - { "fieldName": "floatMinMika", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "floatMaxMika", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "doubleRequiredMika", "fieldType": "Double", "fieldValidateRules": ["required"] }, - { "fieldName": "doubleMinMika", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "doubleMaxMika", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "bigDecimalRequiredMika", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "bigDecimalMinMika", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, - { "fieldName": "bigDecimalMaxMika", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, - { "fieldName": "localDateMika", "fieldType": "LocalDate" }, - { "fieldName": "localDateRequiredMika", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, - { "fieldName": "instantMika", "fieldType": "Instant" }, - { "fieldName": "instanteRequiredMika", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "zonedDateTimeMika", "fieldType": "ZonedDateTime" }, - { "fieldName": "zonedDateTimeRequiredMika", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, - { "fieldName": "durationMika", "fieldType": "Duration" }, - { "fieldName": "durationRequiredMika", "fieldType": "Duration", "fieldValidateRules": ["required"] }, - { "fieldName": "booleanMika", "fieldType": "Boolean" }, - { "fieldName": "booleanRequiredMika", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, - { "fieldName": "enumMika", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, - { - "fieldName": "enumRequiredMika", - "fieldType": "EnumRequiredFieldClass", - "fieldValidateRules": ["required"], - "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" - }, - { "fieldName": "uuidMika", "fieldType": "UUID" }, - { "fieldName": "uuidRequiredMika", "fieldType": "UUID", "fieldValidateRules": ["required"] }, - { "fieldName": "byteImageMika", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, - { "fieldName": "byteImageRequiredMika", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteImageMinbytesMika", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteImageMaxbytesMika", - "fieldType": "byte[]", - "fieldTypeBlobContent": "image", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteAnyMika", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "byteAnyRequiredMika", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, - { - "fieldName": "byteAnyMinbytesMika", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["minbytes"], - "fieldValidateRulesMinbytes": 0 - }, - { - "fieldName": "byteAnyMaxbytesMika", - "fieldType": "byte[]", - "fieldTypeBlobContent": "any", - "fieldValidateRules": ["maxbytes"], - "fieldValidateRulesMaxbytes": 10000 - }, - { "fieldName": "byteTextMika", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, - { "fieldName": "byteTextRequiredMika", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "pagination": "no", - "relationships": [], - "service": "serviceImpl" + "changelogDate": "20160208184040", + "dto": "no", + "fields": [ + { "fieldName": "stringMika", "fieldType": "String" }, + { "fieldName": "stringRequiredMika", "fieldType": "String", "fieldValidateRules": ["required"] }, + { + "fieldName": "stringMinlengthMika", + "fieldType": "String", + "fieldValidateRules": ["minlength"], + "fieldValidateRulesMinlength": 0 + }, + { + "fieldName": "stringMaxlengthMika", + "fieldType": "String", + "fieldValidateRules": ["maxlength"], + "fieldValidateRulesMaxlength": 20 + }, + { + "fieldName": "stringPatternMika", + "fieldType": "String", + "fieldValidateRules": ["pattern"], + "fieldValidateRulesPattern": "^[a-zA-Z0-9]*$", + "fieldValidateRulesPatternJava": "^[a-zA-Z0-9]*$" + }, + { "fieldName": "integerMika", "fieldType": "Integer" }, + { "fieldName": "integerRequiredMika", "fieldType": "Integer", "fieldValidateRules": ["required"] }, + { "fieldName": "integerMinMika", "fieldType": "Integer", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "integerMaxMika", "fieldType": "Integer", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "longMika", "fieldType": "Long" }, + { "fieldName": "longRequiredMika", "fieldType": "Long", "fieldValidateRules": ["required"] }, + { "fieldName": "longMinMika", "fieldType": "Long", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "longMaxMika", "fieldType": "Long", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "floatMika", "fieldType": "Float" }, + { "fieldName": "floatRequiredMika", "fieldType": "Float", "fieldValidateRules": ["required"] }, + { "fieldName": "floatMinMika", "fieldType": "Float", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "floatMaxMika", "fieldType": "Float", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "doubleRequiredMika", "fieldType": "Double", "fieldValidateRules": ["required"] }, + { "fieldName": "doubleMinMika", "fieldType": "Double", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "doubleMaxMika", "fieldType": "Double", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "bigDecimalRequiredMika", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "bigDecimalMinMika", "fieldType": "BigDecimal", "fieldValidateRules": ["min"], "fieldValidateRulesMin": 0 }, + { "fieldName": "bigDecimalMaxMika", "fieldType": "BigDecimal", "fieldValidateRules": ["max"], "fieldValidateRulesMax": 100 }, + { "fieldName": "localDateMika", "fieldType": "LocalDate" }, + { "fieldName": "localDateRequiredMika", "fieldType": "LocalDate", "fieldValidateRules": ["required"] }, + { "fieldName": "instantMika", "fieldType": "Instant" }, + { "fieldName": "instanteRequiredMika", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "zonedDateTimeMika", "fieldType": "ZonedDateTime" }, + { "fieldName": "zonedDateTimeRequiredMika", "fieldType": "ZonedDateTime", "fieldValidateRules": ["required"] }, + { "fieldName": "durationMika", "fieldType": "Duration" }, + { "fieldName": "durationRequiredMika", "fieldType": "Duration", "fieldValidateRules": ["required"] }, + { "fieldName": "booleanMika", "fieldType": "Boolean" }, + { "fieldName": "booleanRequiredMika", "fieldType": "Boolean", "fieldValidateRules": ["required"] }, + { "fieldName": "enumMika", "fieldType": "EnumFieldClass", "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" }, + { + "fieldName": "enumRequiredMika", + "fieldType": "EnumRequiredFieldClass", + "fieldValidateRules": ["required"], + "fieldValues": "ENUM_VALUE_1,ENUM_VALUE_2,ENUM_VALUE_3" + }, + { "fieldName": "uuidMika", "fieldType": "UUID" }, + { "fieldName": "uuidRequiredMika", "fieldType": "UUID", "fieldValidateRules": ["required"] }, + { "fieldName": "byteImageMika", "fieldType": "byte[]", "fieldTypeBlobContent": "image" }, + { + "fieldName": "byteImageRequiredMika", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["required"] + }, + { + "fieldName": "byteImageMinbytesMika", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteImageMaxbytesMika", + "fieldType": "byte[]", + "fieldTypeBlobContent": "image", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteAnyMika", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "byteAnyRequiredMika", "fieldType": "byte[]", "fieldTypeBlobContent": "any", "fieldValidateRules": ["required"] }, + { + "fieldName": "byteAnyMinbytesMika", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["minbytes"], + "fieldValidateRulesMinbytes": 0 + }, + { + "fieldName": "byteAnyMaxbytesMika", + "fieldType": "byte[]", + "fieldTypeBlobContent": "any", + "fieldValidateRules": ["maxbytes"], + "fieldValidateRulesMaxbytes": 10000 + }, + { "fieldName": "byteTextMika", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }, + { "fieldName": "byteTextRequiredMika", "fieldType": "byte[]", "fieldTypeBlobContent": "text", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "pagination": "no", + "relationships": [], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/Genre.json b/test-integration/samples/.jhipster/Genre.json index 5bf784bea..e6deae689 100644 --- a/test-integration/samples/.jhipster/Genre.json +++ b/test-integration/samples/.jhipster/Genre.json @@ -1,16 +1,16 @@ { - "applications": "*", - "changelogDate": "20200417190823", - "clientRootFolder": "", - "dto": "no", - "embedded": false, - "entityTableName": "genre", - "fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "name": "Genre", - "pagination": "no", - "readOnly": false, - "relationships": [], - "service": "no" + "applications": "*", + "changelogDate": "20200417190823", + "clientRootFolder": "", + "dto": "no", + "embedded": false, + "entityTableName": "genre", + "fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "name": "Genre", + "pagination": "no", + "readOnly": false, + "relationships": [], + "service": "no" } diff --git a/test-integration/samples/.jhipster/JpaFilteringOtherSide.json b/test-integration/samples/.jhipster/JpaFilteringOtherSide.json index 460a3df75..f25d16fc1 100644 --- a/test-integration/samples/.jhipster/JpaFilteringOtherSide.json +++ b/test-integration/samples/.jhipster/JpaFilteringOtherSide.json @@ -1,57 +1,57 @@ { - "applications": ["jhipster"], - "changelogDate": "20200820222459", - "dto": "mapstruct", - "embedded": false, - "entityTableName": "jpa_filtering_other_side", - "fields": [ - { "fieldName": "createdBy", "fieldType": "String" }, - { "fieldName": "createdOn", "fieldType": "Instant" } - ], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "name": "JpaFilteringOtherSide", - "pagination": "pagination", - "readOnly": false, - "relationships": [ - { - "otherEntityName": "jpaFilteringRelationship", - "otherEntityRelationshipName": "requiredOneToOne", - "ownerSide": false, - "relationshipName": "requiredOneToOneOtherSide", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "jpaFilteringRelationship", - "otherEntityRelationshipName": "oneToOne", - "ownerSide": false, - "relationshipName": "oneToOneOtherSide", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringRelationship", - "otherEntityRelationshipName": "oneToMany", - "relationshipName": "oneToManyOtherSide", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringRelationship", - "otherEntityRelationshipName": "requiredManyToMany", - "ownerSide": false, - "relationshipName": "requiredManyToManyOtherSide", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringRelationship", - "otherEntityRelationshipName": "manyToMany", - "ownerSide": false, - "relationshipName": "manyToManyOtherSide", - "relationshipType": "many-to-many" - } - ], - "service": "serviceClass", - "skipUiGrouping": false + "applications": ["jhipster"], + "changelogDate": "20200820222459", + "dto": "mapstruct", + "embedded": false, + "entityTableName": "jpa_filtering_other_side", + "fields": [ + { "fieldName": "createdBy", "fieldType": "String" }, + { "fieldName": "createdOn", "fieldType": "Instant" } + ], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "name": "JpaFilteringOtherSide", + "pagination": "pagination", + "readOnly": false, + "relationships": [ + { + "otherEntityName": "jpaFilteringRelationship", + "otherEntityRelationshipName": "requiredOneToOne", + "ownerSide": false, + "relationshipName": "requiredOneToOneOtherSide", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "jpaFilteringRelationship", + "otherEntityRelationshipName": "oneToOne", + "ownerSide": false, + "relationshipName": "oneToOneOtherSide", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringRelationship", + "otherEntityRelationshipName": "oneToMany", + "relationshipName": "oneToManyOtherSide", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringRelationship", + "otherEntityRelationshipName": "requiredManyToMany", + "ownerSide": false, + "relationshipName": "requiredManyToManyOtherSide", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringRelationship", + "otherEntityRelationshipName": "manyToMany", + "ownerSide": false, + "relationshipName": "manyToManyOtherSide", + "relationshipType": "many-to-many" + } + ], + "service": "serviceClass", + "skipUiGrouping": false } diff --git a/test-integration/samples/.jhipster/JpaFilteringRelationship.json b/test-integration/samples/.jhipster/JpaFilteringRelationship.json index 36b3c4aa2..d06547c90 100644 --- a/test-integration/samples/.jhipster/JpaFilteringRelationship.json +++ b/test-integration/samples/.jhipster/JpaFilteringRelationship.json @@ -1,75 +1,75 @@ { - "applications": ["jhipster"], - "changelogDate": "20200820222306", - "dto": "mapstruct", - "embedded": false, - "entityTableName": "jpa_filtering_relationship", - "fields": [ - { "fieldName": "createdBy", "fieldType": "String" }, - { "fieldName": "createdOn", "fieldType": "Instant" } - ], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "name": "JpaFilteringRelationship", - "pagination": "pagination", - "readOnly": false, - "relationships": [ - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringOtherSide", - "otherEntityRelationshipName": "requiredOneToOneOtherSide", - "ownerSide": true, - "relationshipName": "requiredOneToOne", - "relationshipType": "one-to-one", - "relationshipValidateRules": "required" - }, - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringOtherSide", - "otherEntityRelationshipName": "oneToOneOtherSide", - "ownerSide": true, - "relationshipName": "oneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "jpaFilteringOtherSide", - "otherEntityRelationshipName": "oneToManyOtherSide", - "relationshipName": "oneToMany", - "relationshipType": "one-to-many" - }, - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringOtherSide", - "otherEntityRelationshipName": "jpaFilteringRelationship", - "relationshipName": "requiredManyToOne", - "relationshipType": "many-to-one", - "relationshipValidateRules": "required" - }, - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringOtherSide", - "otherEntityRelationshipName": "jpaFilteringRelationship", - "relationshipName": "manyToOne", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringOtherSide", - "otherEntityRelationshipName": "requiredManyToManyOtherSide", - "ownerSide": true, - "relationshipName": "requiredManyToMany", - "relationshipType": "many-to-many", - "relationshipValidateRules": "required" - }, - { - "otherEntityField": "id", - "otherEntityName": "jpaFilteringOtherSide", - "otherEntityRelationshipName": "manyToManyOtherSide", - "ownerSide": true, - "relationshipName": "manyToMany", - "relationshipType": "many-to-many" - } - ], - "service": "serviceClass", - "skipUiGrouping": false + "applications": ["jhipster"], + "changelogDate": "20200820222306", + "dto": "mapstruct", + "embedded": false, + "entityTableName": "jpa_filtering_relationship", + "fields": [ + { "fieldName": "createdBy", "fieldType": "String" }, + { "fieldName": "createdOn", "fieldType": "Instant" } + ], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "name": "JpaFilteringRelationship", + "pagination": "pagination", + "readOnly": false, + "relationships": [ + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringOtherSide", + "otherEntityRelationshipName": "requiredOneToOneOtherSide", + "ownerSide": true, + "relationshipName": "requiredOneToOne", + "relationshipType": "one-to-one", + "relationshipValidateRules": "required" + }, + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringOtherSide", + "otherEntityRelationshipName": "oneToOneOtherSide", + "ownerSide": true, + "relationshipName": "oneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "jpaFilteringOtherSide", + "otherEntityRelationshipName": "oneToManyOtherSide", + "relationshipName": "oneToMany", + "relationshipType": "one-to-many" + }, + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringOtherSide", + "otherEntityRelationshipName": "jpaFilteringRelationship", + "relationshipName": "requiredManyToOne", + "relationshipType": "many-to-one", + "relationshipValidateRules": "required" + }, + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringOtherSide", + "otherEntityRelationshipName": "jpaFilteringRelationship", + "relationshipName": "manyToOne", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringOtherSide", + "otherEntityRelationshipName": "requiredManyToManyOtherSide", + "ownerSide": true, + "relationshipName": "requiredManyToMany", + "relationshipType": "many-to-many", + "relationshipValidateRules": "required" + }, + { + "otherEntityField": "id", + "otherEntityName": "jpaFilteringOtherSide", + "otherEntityRelationshipName": "manyToManyOtherSide", + "ownerSide": true, + "relationshipName": "manyToMany", + "relationshipType": "many-to-many" + } + ], + "service": "serviceClass", + "skipUiGrouping": false } diff --git a/test-integration/samples/.jhipster/Label.json b/test-integration/samples/.jhipster/Label.json index e3676faff..0ae079eb0 100644 --- a/test-integration/samples/.jhipster/Label.json +++ b/test-integration/samples/.jhipster/Label.json @@ -1,21 +1,26 @@ { - "changelogDate": "20200804163353", - "clientRootFolder": "test-root", - "dto": "no", - "fields": [ - { "fieldName": "labelName", "fieldType": "String", "fieldValidateRules": ["required", "minlength"], "fieldValidateRulesMinlength": "3" } - ], - "fluentMethods": true, - "pagination": "pagination", - "readOnly": true, - "relationships": [ - { - "otherEntityName": "operation", - "otherEntityRelationshipName": "label", - "ownerSide": false, - "relationshipName": "operation", - "relationshipType": "many-to-many" - } - ], - "service": "serviceClass" + "changelogDate": "20200804163353", + "clientRootFolder": "test-root", + "dto": "no", + "fields": [ + { + "fieldName": "labelName", + "fieldType": "String", + "fieldValidateRules": ["required", "minlength"], + "fieldValidateRulesMinlength": "3" + } + ], + "fluentMethods": true, + "pagination": "pagination", + "readOnly": true, + "relationships": [ + { + "otherEntityName": "operation", + "otherEntityRelationshipName": "label", + "ownerSide": false, + "relationshipName": "operation", + "relationshipType": "many-to-many" + } + ], + "service": "serviceClass" } diff --git a/test-integration/samples/.jhipster/MapsIdChildEntityWithDTO.json b/test-integration/samples/.jhipster/MapsIdChildEntityWithDTO.json index 6232067b3..dc50aca3b 100644 --- a/test-integration/samples/.jhipster/MapsIdChildEntityWithDTO.json +++ b/test-integration/samples/.jhipster/MapsIdChildEntityWithDTO.json @@ -1,31 +1,31 @@ { - "changelogDate": "20190117075155", - "clientRootFolder": "", - "databaseType": "sql", - "dto": "mapstruct", - "entityTableName": "maps_id_child_with_dto", - "fields": [{ "fieldName": "date", "fieldType": "Instant" }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "pagination": "no", - "relationships": [ - { - "id": true, - "otherEntityField": "id", - "otherEntityName": "mapsIdParentEntityWithDTO", - "otherEntityRelationshipName": "mapsIdChildEntityWithDTO", - "ownerSide": true, - "relationshipName": "mapsIdParentEntityWithDTO", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "mapsIdGrandchildEntityWithDTO", - "otherEntityRelationshipName": "mapsIdChildEntityWithDTO", - "ownerSide": false, - "relationshipName": "mapsIdGrandchildEntityWithDTO", - "relationshipType": "one-to-one" - } - ], - "searchEngine": false, - "service": "serviceImpl" + "changelogDate": "20190117075155", + "clientRootFolder": "", + "databaseType": "sql", + "dto": "mapstruct", + "entityTableName": "maps_id_child_with_dto", + "fields": [{ "fieldName": "date", "fieldType": "Instant" }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "pagination": "no", + "relationships": [ + { + "id": true, + "otherEntityField": "id", + "otherEntityName": "mapsIdParentEntityWithDTO", + "otherEntityRelationshipName": "mapsIdChildEntityWithDTO", + "ownerSide": true, + "relationshipName": "mapsIdParentEntityWithDTO", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "mapsIdGrandchildEntityWithDTO", + "otherEntityRelationshipName": "mapsIdChildEntityWithDTO", + "ownerSide": false, + "relationshipName": "mapsIdGrandchildEntityWithDTO", + "relationshipType": "one-to-one" + } + ], + "searchEngine": false, + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/MapsIdChildEntityWithoutDTO.json b/test-integration/samples/.jhipster/MapsIdChildEntityWithoutDTO.json index 3a784c321..8f03aa6da 100644 --- a/test-integration/samples/.jhipster/MapsIdChildEntityWithoutDTO.json +++ b/test-integration/samples/.jhipster/MapsIdChildEntityWithoutDTO.json @@ -1,31 +1,31 @@ { - "changelogDate": "20190117074746", - "clientRootFolder": "", - "databaseType": "sql", - "dto": "no", - "entityTableName": "maps_id_child_wo_dto", - "fields": [{ "fieldName": "date", "fieldType": "Instant" }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "pagination": "no", - "relationships": [ - { - "id": true, - "otherEntityField": "id", - "otherEntityName": "mapsIdParentEntityWithoutDTO", - "otherEntityRelationshipName": "mapsIdChildEntityWithoutDTO", - "ownerSide": true, - "relationshipName": "mapsIdParentEntityWithoutDTO", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "mapsIdGrandchildEntityWithoutDTO", - "otherEntityRelationshipName": "mapsIdChildEntityWithoutDTO", - "ownerSide": false, - "relationshipName": "mapsIdGrandchildEntityWithoutDTO", - "relationshipType": "one-to-one" - } - ], - "searchEngine": false, - "service": "no" + "changelogDate": "20190117074746", + "clientRootFolder": "", + "databaseType": "sql", + "dto": "no", + "entityTableName": "maps_id_child_wo_dto", + "fields": [{ "fieldName": "date", "fieldType": "Instant" }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "pagination": "no", + "relationships": [ + { + "id": true, + "otherEntityField": "id", + "otherEntityName": "mapsIdParentEntityWithoutDTO", + "otherEntityRelationshipName": "mapsIdChildEntityWithoutDTO", + "ownerSide": true, + "relationshipName": "mapsIdParentEntityWithoutDTO", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "mapsIdGrandchildEntityWithoutDTO", + "otherEntityRelationshipName": "mapsIdChildEntityWithoutDTO", + "ownerSide": false, + "relationshipName": "mapsIdGrandchildEntityWithoutDTO", + "relationshipType": "one-to-one" + } + ], + "searchEngine": false, + "service": "no" } diff --git a/test-integration/samples/.jhipster/MapsIdGrandchildEntityWithDTO.json b/test-integration/samples/.jhipster/MapsIdGrandchildEntityWithDTO.json index 166a575a2..8b039f9d2 100644 --- a/test-integration/samples/.jhipster/MapsIdGrandchildEntityWithDTO.json +++ b/test-integration/samples/.jhipster/MapsIdGrandchildEntityWithDTO.json @@ -1,24 +1,24 @@ { - "changelogDate": "20220313234025", - "clientRootFolder": "", - "databaseType": "sql", - "dto": "mapstruct", - "entityTableName": "maps_id_grandchild_with_dto", - "fields": [{ "fieldName": "date", "fieldType": "Instant" }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "pagination": "no", - "relationships": [ - { - "id": true, - "otherEntityField": "id", - "otherEntityName": "mapsIdChildEntityWithDTO", - "otherEntityRelationshipName": "mapsIdGrandchildEntityWithDTO", - "ownerSide": true, - "relationshipName": "mapsIdChildEntityWithDTO", - "relationshipType": "one-to-one" - } - ], - "searchEngine": false, - "service": "serviceImpl" + "changelogDate": "20220313234025", + "clientRootFolder": "", + "databaseType": "sql", + "dto": "mapstruct", + "entityTableName": "maps_id_grandchild_with_dto", + "fields": [{ "fieldName": "date", "fieldType": "Instant" }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "pagination": "no", + "relationships": [ + { + "id": true, + "otherEntityField": "id", + "otherEntityName": "mapsIdChildEntityWithDTO", + "otherEntityRelationshipName": "mapsIdGrandchildEntityWithDTO", + "ownerSide": true, + "relationshipName": "mapsIdChildEntityWithDTO", + "relationshipType": "one-to-one" + } + ], + "searchEngine": false, + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/MapsIdGrandchildEntityWithoutDTO.json b/test-integration/samples/.jhipster/MapsIdGrandchildEntityWithoutDTO.json index 44b372c14..3451510d1 100644 --- a/test-integration/samples/.jhipster/MapsIdGrandchildEntityWithoutDTO.json +++ b/test-integration/samples/.jhipster/MapsIdGrandchildEntityWithoutDTO.json @@ -1,24 +1,24 @@ { - "changelogDate": "20220313234416", - "clientRootFolder": "", - "databaseType": "sql", - "dto": "no", - "entityTableName": "maps_id_grandchild_wo_dto", - "fields": [{ "fieldName": "date", "fieldType": "Instant" }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "pagination": "no", - "relationships": [ - { - "id": true, - "otherEntityField": "id", - "otherEntityName": "mapsIdChildEntityWithoutDTO", - "otherEntityRelationshipName": "mapsIdGrandchildEntityWithoutDTO", - "ownerSide": true, - "relationshipName": "mapsIdChildEntityWithoutDTO", - "relationshipType": "one-to-one" - } - ], - "searchEngine": false, - "service": "no" + "changelogDate": "20220313234416", + "clientRootFolder": "", + "databaseType": "sql", + "dto": "no", + "entityTableName": "maps_id_grandchild_wo_dto", + "fields": [{ "fieldName": "date", "fieldType": "Instant" }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "pagination": "no", + "relationships": [ + { + "id": true, + "otherEntityField": "id", + "otherEntityName": "mapsIdChildEntityWithoutDTO", + "otherEntityRelationshipName": "mapsIdGrandchildEntityWithoutDTO", + "ownerSide": true, + "relationshipName": "mapsIdChildEntityWithoutDTO", + "relationshipType": "one-to-one" + } + ], + "searchEngine": false, + "service": "no" } diff --git a/test-integration/samples/.jhipster/MapsIdParentEntityWithDTO.json b/test-integration/samples/.jhipster/MapsIdParentEntityWithDTO.json index d56f201a3..3611cb4d5 100644 --- a/test-integration/samples/.jhipster/MapsIdParentEntityWithDTO.json +++ b/test-integration/samples/.jhipster/MapsIdParentEntityWithDTO.json @@ -1,22 +1,22 @@ { - "changelogDate": "20190117075042", - "clientRootFolder": "", - "databaseType": "sql", - "dto": "mapstruct", - "entityTableName": "maps_id_parent_with_dto", - "fields": [{ "fieldName": "name", "fieldType": "String" }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "mapsIdChildEntityWithDTO", - "otherEntityRelationshipName": "mapsIdParentEntityWithDTO", - "ownerSide": false, - "relationshipName": "mapsIdChildEntityWithDTO", - "relationshipType": "one-to-one" - } - ], - "searchEngine": false, - "service": "serviceImpl" + "changelogDate": "20190117075042", + "clientRootFolder": "", + "databaseType": "sql", + "dto": "mapstruct", + "entityTableName": "maps_id_parent_with_dto", + "fields": [{ "fieldName": "name", "fieldType": "String" }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "mapsIdChildEntityWithDTO", + "otherEntityRelationshipName": "mapsIdParentEntityWithDTO", + "ownerSide": false, + "relationshipName": "mapsIdChildEntityWithDTO", + "relationshipType": "one-to-one" + } + ], + "searchEngine": false, + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/MapsIdParentEntityWithoutDTO.json b/test-integration/samples/.jhipster/MapsIdParentEntityWithoutDTO.json index 78c400ec6..fe91ddb75 100644 --- a/test-integration/samples/.jhipster/MapsIdParentEntityWithoutDTO.json +++ b/test-integration/samples/.jhipster/MapsIdParentEntityWithoutDTO.json @@ -1,22 +1,22 @@ { - "changelogDate": "20190117074315", - "clientRootFolder": "", - "databaseType": "sql", - "dto": "no", - "entityTableName": "maps_id_parent_wo_dto", - "fields": [{ "fieldName": "name", "fieldType": "String" }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "mapsIdChildEntityWithoutDTO", - "otherEntityRelationshipName": "mapsIdParentEntityWithoutDTO", - "ownerSide": false, - "relationshipName": "mapsIdChildEntityWithoutDTO", - "relationshipType": "one-to-one" - } - ], - "searchEngine": false, - "service": "no" + "changelogDate": "20190117074315", + "clientRootFolder": "", + "databaseType": "sql", + "dto": "no", + "entityTableName": "maps_id_parent_wo_dto", + "fields": [{ "fieldName": "name", "fieldType": "String" }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "mapsIdChildEntityWithoutDTO", + "otherEntityRelationshipName": "mapsIdParentEntityWithoutDTO", + "ownerSide": false, + "relationshipName": "mapsIdChildEntityWithoutDTO", + "relationshipType": "one-to-one" + } + ], + "searchEngine": false, + "service": "no" } diff --git a/test-integration/samples/.jhipster/MapsIdUserProfileWithDTO.json b/test-integration/samples/.jhipster/MapsIdUserProfileWithDTO.json index 2c26d97dd..4cba8dd63 100644 --- a/test-integration/samples/.jhipster/MapsIdUserProfileWithDTO.json +++ b/test-integration/samples/.jhipster/MapsIdUserProfileWithDTO.json @@ -1,24 +1,24 @@ { - "changelogDate": "20190117080030", - "clientRootFolder": "", - "databaseType": "sql", - "dto": "mapstruct", - "entityTableName": "maps_id_user_profile_with_dto", - "fields": [{ "fieldName": "dateOfBirth", "fieldType": "Instant" }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "pagination": "no", - "relationships": [ - { - "id": true, - "otherEntityField": "login", - "otherEntityName": "user", - "otherEntityRelationshipName": "mapsIdUserProfileWithDTO", - "ownerSide": true, - "relationshipName": "user", - "relationshipType": "one-to-one" - } - ], - "searchEngine": false, - "service": "serviceImpl" + "changelogDate": "20190117080030", + "clientRootFolder": "", + "databaseType": "sql", + "dto": "mapstruct", + "entityTableName": "maps_id_user_profile_with_dto", + "fields": [{ "fieldName": "dateOfBirth", "fieldType": "Instant" }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "pagination": "no", + "relationships": [ + { + "id": true, + "otherEntityField": "login", + "otherEntityName": "user", + "otherEntityRelationshipName": "mapsIdUserProfileWithDTO", + "ownerSide": true, + "relationshipName": "user", + "relationshipType": "one-to-one" + } + ], + "searchEngine": false, + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/MicroserviceBankAccount.json b/test-integration/samples/.jhipster/MicroserviceBankAccount.json index 033940e17..2536a721f 100644 --- a/test-integration/samples/.jhipster/MicroserviceBankAccount.json +++ b/test-integration/samples/.jhipster/MicroserviceBankAccount.json @@ -1,30 +1,30 @@ { - "changelogDate": "20200804163350", - "dto": "mapstruct", - "fields": [ - { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "bankNumber", "fieldType": "Integer" }, - { "fieldName": "agencyNumber", "fieldType": "Long" }, - { "fieldName": "lastOperationDuration", "fieldType": "Float" }, - { "fieldName": "meanOperationDuration", "fieldType": "Double" }, - { "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, - { "fieldName": "openingDay", "fieldType": "LocalDate" }, - { "fieldName": "lastOperationDate", "fieldType": "Instant" }, - { "fieldName": "active", "fieldType": "Boolean" }, - { "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" }, - { "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, - { "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" } - ], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "microserviceOperation", - "otherEntityRelationshipName": "bankAccount", - "relationshipName": "operation", - "relationshipType": "one-to-many" - } - ], - "service": "serviceImpl" + "changelogDate": "20200804163350", + "dto": "mapstruct", + "fields": [ + { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, + { "fieldName": "bankNumber", "fieldType": "Integer" }, + { "fieldName": "agencyNumber", "fieldType": "Long" }, + { "fieldName": "lastOperationDuration", "fieldType": "Float" }, + { "fieldName": "meanOperationDuration", "fieldType": "Double" }, + { "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }, + { "fieldName": "openingDay", "fieldType": "LocalDate" }, + { "fieldName": "lastOperationDate", "fieldType": "Instant" }, + { "fieldName": "active", "fieldType": "Boolean" }, + { "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" }, + { "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" }, + { "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" } + ], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "microserviceOperation", + "otherEntityRelationshipName": "bankAccount", + "relationshipName": "operation", + "relationshipType": "one-to-many" + } + ], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/MicroserviceLabel.json b/test-integration/samples/.jhipster/MicroserviceLabel.json index df16953ed..1b2b2713d 100644 --- a/test-integration/samples/.jhipster/MicroserviceLabel.json +++ b/test-integration/samples/.jhipster/MicroserviceLabel.json @@ -1,20 +1,20 @@ { - "changelogDate": "20150805124936", - "dto": "no", - "fields": [ - { "fieldName": "label", "fieldType": "String", "fieldValidateRules": ["required", "minlength"], "fieldValidateRulesMinlength": "3" } - ], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "pagination": "pagination", - "relationships": [ - { - "otherEntityName": "microserviceOperation", - "otherEntityRelationshipName": "label", - "ownerSide": false, - "relationshipName": "operation", - "relationshipType": "many-to-many" - } - ], - "service": "serviceClass" + "changelogDate": "20150805124936", + "dto": "no", + "fields": [ + { "fieldName": "label", "fieldType": "String", "fieldValidateRules": ["required", "minlength"], "fieldValidateRulesMinlength": "3" } + ], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "pagination": "pagination", + "relationships": [ + { + "otherEntityName": "microserviceOperation", + "otherEntityRelationshipName": "label", + "ownerSide": false, + "relationshipName": "operation", + "relationshipType": "many-to-many" + } + ], + "service": "serviceClass" } diff --git a/test-integration/samples/.jhipster/MicroserviceOperation.json b/test-integration/samples/.jhipster/MicroserviceOperation.json index 09795915c..d4ed0d034 100644 --- a/test-integration/samples/.jhipster/MicroserviceOperation.json +++ b/test-integration/samples/.jhipster/MicroserviceOperation.json @@ -1,29 +1,29 @@ { - "changelogDate": "20150805125054", - "dto": "no", - "fields": [ - { "fieldName": "date", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "description", "fieldType": "String" }, - { "fieldName": "amount", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "pagination": "infinite-scroll", - "relationships": [ - { - "otherEntityField": "name", - "otherEntityName": "microserviceBankAccount", - "otherEntityRelationshipName": "operation", - "relationshipName": "bankAccount", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "label", - "otherEntityName": "microserviceLabel", - "otherEntityRelationshipName": "operation", - "ownerSide": true, - "relationshipName": "label", - "relationshipType": "many-to-many" - } - ], - "service": "no" + "changelogDate": "20150805125054", + "dto": "no", + "fields": [ + { "fieldName": "date", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "description", "fieldType": "String" }, + { "fieldName": "amount", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "pagination": "infinite-scroll", + "relationships": [ + { + "otherEntityField": "name", + "otherEntityName": "microserviceBankAccount", + "otherEntityRelationshipName": "operation", + "relationshipName": "bankAccount", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "label", + "otherEntityName": "microserviceLabel", + "otherEntityRelationshipName": "operation", + "ownerSide": true, + "relationshipName": "label", + "relationshipType": "many-to-many" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/Operation.json b/test-integration/samples/.jhipster/Operation.json index 32477fab3..5d44e1aba 100644 --- a/test-integration/samples/.jhipster/Operation.json +++ b/test-integration/samples/.jhipster/Operation.json @@ -1,30 +1,30 @@ { - "changelogDate": "20150805125055", - "clientRootFolder": "test-root", - "dto": "no", - "fields": [ - { "fieldName": "date", "fieldType": "Instant", "fieldValidateRules": ["required"] }, - { "fieldName": "description", "fieldType": "String" }, - { "fieldName": "amount", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] } - ], - "fluentMethods": true, - "pagination": "infinite-scroll", - "relationships": [ - { - "otherEntityField": "name", - "otherEntityName": "bankAccount", - "otherEntityRelationshipName": "operation", - "relationshipName": "bankAccount", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "labelName", - "otherEntityName": "label", - "otherEntityRelationshipName": "operation", - "ownerSide": true, - "relationshipName": "label", - "relationshipType": "many-to-many" - } - ], - "service": "no" + "changelogDate": "20150805125055", + "clientRootFolder": "test-root", + "dto": "no", + "fields": [ + { "fieldName": "date", "fieldType": "Instant", "fieldValidateRules": ["required"] }, + { "fieldName": "description", "fieldType": "String" }, + { "fieldName": "amount", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] } + ], + "fluentMethods": true, + "pagination": "infinite-scroll", + "relationships": [ + { + "otherEntityField": "name", + "otherEntityName": "bankAccount", + "otherEntityRelationshipName": "operation", + "relationshipName": "bankAccount", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "labelName", + "otherEntityName": "label", + "otherEntityRelationshipName": "operation", + "ownerSide": true, + "relationshipName": "label", + "relationshipType": "many-to-many" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/Place.json b/test-integration/samples/.jhipster/Place.json index 49d86d32f..a4a9a55e3 100644 --- a/test-integration/samples/.jhipster/Place.json +++ b/test-integration/samples/.jhipster/Place.json @@ -1,34 +1,34 @@ { - "changelogDate": "20170626061521", - "clientRootFolder": "test-root", - "dto": "no", - "entityTableName": "place", - "fields": [ - { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, - { "fieldName": "numberOfSeats", "fieldType": "Long" }, - { "fieldName": "shortName", "fieldType": "String" }, - { "fieldName": "colorBackground", "fieldType": "String" }, - { "fieldName": "colorText", "fieldType": "String" }, - { "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" } - ], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [ - { - "otherEntityField": "name", - "otherEntityName": "division", - "otherEntityRelationshipName": "preferredPlace", - "ownerSide": true, - "relationshipName": "preferredDivision", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "name", - "otherEntityName": "division", - "otherEntityRelationshipName": "divisionsPlace", - "relationshipName": "owner", - "relationshipType": "many-to-one" - } - ], - "service": "no" + "changelogDate": "20170626061521", + "clientRootFolder": "test-root", + "dto": "no", + "entityTableName": "place", + "fields": [ + { "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }, + { "fieldName": "numberOfSeats", "fieldType": "Long" }, + { "fieldName": "shortName", "fieldType": "String" }, + { "fieldName": "colorBackground", "fieldType": "String" }, + { "fieldName": "colorText", "fieldType": "String" }, + { "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" } + ], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [ + { + "otherEntityField": "name", + "otherEntityName": "division", + "otherEntityRelationshipName": "preferredPlace", + "ownerSide": true, + "relationshipName": "preferredDivision", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "name", + "otherEntityName": "division", + "otherEntityRelationshipName": "divisionsPlace", + "relationshipName": "owner", + "relationshipType": "many-to-one" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/SuperMegaLargeTestEntity.json b/test-integration/samples/.jhipster/SuperMegaLargeTestEntity.json index 941035687..27de9cff5 100644 --- a/test-integration/samples/.jhipster/SuperMegaLargeTestEntity.json +++ b/test-integration/samples/.jhipster/SuperMegaLargeTestEntity.json @@ -1,60 +1,60 @@ { - "angularJSSuffix": "mySuffixAlt", - "changelogDate": "20181120190609", - "dto": "no", - "fields": [], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "testManyToOne", - "otherEntityRelationshipName": "superMegaLargeTestEntity", - "relationshipName": "superMegaLargeTestManyToOne", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "testManyToMany", - "otherEntityRelationshipName": "superMegaLargeTestEntity", - "ownerSide": false, - "relationshipName": "superMegaLargeTestManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testOneToOne", - "otherEntityRelationshipName": "superMegaLargeTestEntity", - "ownerSide": false, - "relationshipName": "superMegaLargeTestOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "relationshipName": "superMegaLargeUserOneToMany", - "relationshipType": "many-to-one", - "relationshipValidateRules": "required" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "superMegaLargeUserManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "otherEntityRelationshipName": "parent", - "ownerSide": true, - "relationshipName": "superMegaLargeUserOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "testCustomTableName", - "otherEntityRelationshipName": "superMegaLargeTestEntity", - "relationshipName": "superMegaLargeTestCustomTableName", - "relationshipType": "one-to-many" - } - ], - "service": "no" + "angularJSSuffix": "mySuffixAlt", + "changelogDate": "20181120190609", + "dto": "no", + "fields": [], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "testManyToOne", + "otherEntityRelationshipName": "superMegaLargeTestEntity", + "relationshipName": "superMegaLargeTestManyToOne", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "testManyToMany", + "otherEntityRelationshipName": "superMegaLargeTestEntity", + "ownerSide": false, + "relationshipName": "superMegaLargeTestManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testOneToOne", + "otherEntityRelationshipName": "superMegaLargeTestEntity", + "ownerSide": false, + "relationshipName": "superMegaLargeTestOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "relationshipName": "superMegaLargeUserOneToMany", + "relationshipType": "many-to-one", + "relationshipValidateRules": "required" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "superMegaLargeUserManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "otherEntityRelationshipName": "parent", + "ownerSide": true, + "relationshipName": "superMegaLargeUserOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "testCustomTableName", + "otherEntityRelationshipName": "superMegaLargeTestEntity", + "relationshipName": "superMegaLargeTestCustomTableName", + "relationshipType": "one-to-many" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestCustomTableName.json b/test-integration/samples/.jhipster/TestCustomTableName.json index 14254548e..1447e8f2a 100644 --- a/test-integration/samples/.jhipster/TestCustomTableName.json +++ b/test-integration/samples/.jhipster/TestCustomTableName.json @@ -1,61 +1,61 @@ { - "changelogDate": "20160208210109", - "dto": "no", - "entityTableName": "test_custom_table_name_entity", - "fields": [], - "fluentMethods": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "testManyToOne", - "otherEntityRelationshipName": "testCustomTableName", - "relationshipName": "testManyToOne", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "testManyToMany", - "otherEntityRelationshipName": "testCustomTableName", - "ownerSide": false, - "relationshipName": "testManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testOneToOne", - "otherEntityRelationshipName": "testCustomTableName", - "ownerSide": false, - "relationshipName": "testOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testEntity", - "relationshipName": "testEntity", - "relationshipType": "many-to-one", - "relationshipValidateRules": "required" - }, - { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "userManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "otherEntityRelationshipName": "parent", - "ownerSide": true, - "relationshipName": "userOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "superMegaLargeTestEntity", - "relationshipName": "superMegaLargeTestEntity", - "relationshipType": "many-to-one", - "relationshipValidateRules": "required" - } - ], - "service": "no" + "changelogDate": "20160208210109", + "dto": "no", + "entityTableName": "test_custom_table_name_entity", + "fields": [], + "fluentMethods": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "testManyToOne", + "otherEntityRelationshipName": "testCustomTableName", + "relationshipName": "testManyToOne", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "testManyToMany", + "otherEntityRelationshipName": "testCustomTableName", + "ownerSide": false, + "relationshipName": "testManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testOneToOne", + "otherEntityRelationshipName": "testCustomTableName", + "ownerSide": false, + "relationshipName": "testOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testEntity", + "relationshipName": "testEntity", + "relationshipType": "many-to-one", + "relationshipValidateRules": "required" + }, + { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "userManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "otherEntityRelationshipName": "parent", + "ownerSide": true, + "relationshipName": "userOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "superMegaLargeTestEntity", + "relationshipName": "superMegaLargeTestEntity", + "relationshipType": "many-to-one", + "relationshipValidateRules": "required" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestEntity.json b/test-integration/samples/.jhipster/TestEntity.json index 71d6b26f0..34c390d0d 100644 --- a/test-integration/samples/.jhipster/TestEntity.json +++ b/test-integration/samples/.jhipster/TestEntity.json @@ -1,60 +1,60 @@ { - "angularJSSuffix": "mySuffixAlt", - "changelogDate": "20160208210110", - "dto": "no", - "fields": [], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "testManyToOne", - "otherEntityRelationshipName": "testEntity", - "relationshipName": "testManyToOne", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "testManyToMany", - "otherEntityRelationshipName": "testEntity", - "ownerSide": false, - "relationshipName": "testManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testOneToOne", - "otherEntityRelationshipName": "testEntity", - "ownerSide": false, - "relationshipName": "testOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "relationshipName": "userOneToMany", - "relationshipType": "many-to-one", - "relationshipValidateRules": "required" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "userManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "otherEntityRelationshipName": "parent", - "ownerSide": true, - "relationshipName": "userOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "testCustomTableName", - "otherEntityRelationshipName": "testEntity", - "relationshipName": "testCustomTableName", - "relationshipType": "one-to-many" - } - ], - "service": "no" + "angularJSSuffix": "mySuffixAlt", + "changelogDate": "20160208210110", + "dto": "no", + "fields": [], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "testManyToOne", + "otherEntityRelationshipName": "testEntity", + "relationshipName": "testManyToOne", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "testManyToMany", + "otherEntityRelationshipName": "testEntity", + "ownerSide": false, + "relationshipName": "testManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testOneToOne", + "otherEntityRelationshipName": "testEntity", + "ownerSide": false, + "relationshipName": "testOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "relationshipName": "userOneToMany", + "relationshipType": "many-to-one", + "relationshipValidateRules": "required" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "userManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "otherEntityRelationshipName": "parent", + "ownerSide": true, + "relationshipName": "userOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "testCustomTableName", + "otherEntityRelationshipName": "testEntity", + "relationshipName": "testCustomTableName", + "relationshipType": "one-to-many" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestInfiniteScroll.json b/test-integration/samples/.jhipster/TestInfiniteScroll.json index c63cf8c37..6f5fa2ce0 100644 --- a/test-integration/samples/.jhipster/TestInfiniteScroll.json +++ b/test-integration/samples/.jhipster/TestInfiniteScroll.json @@ -1,46 +1,46 @@ { - "changelogDate": "20160208210111", - "dto": "no", - "fields": [], - "fluentMethods": true, - "pagination": "infinite-scroll", - "relationships": [ - { - "otherEntityName": "testManyToOne", - "otherEntityRelationshipName": "testInfiniteScroll", - "relationshipName": "testManyToOne", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "testManyToMany", - "otherEntityRelationshipName": "testInfiniteScroll", - "ownerSide": false, - "relationshipName": "testManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testOneToOne", - "otherEntityRelationshipName": "testInfiniteScroll", - "ownerSide": false, - "relationshipName": "testOneToOne", - "relationshipType": "one-to-one" - }, - { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "userManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "otherEntityRelationshipName": "parent", - "ownerSide": true, - "relationshipName": "userOneToOne", - "relationshipType": "one-to-one" - } - ], - "service": "no" + "changelogDate": "20160208210111", + "dto": "no", + "fields": [], + "fluentMethods": true, + "pagination": "infinite-scroll", + "relationships": [ + { + "otherEntityName": "testManyToOne", + "otherEntityRelationshipName": "testInfiniteScroll", + "relationshipName": "testManyToOne", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "testManyToMany", + "otherEntityRelationshipName": "testInfiniteScroll", + "ownerSide": false, + "relationshipName": "testManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testOneToOne", + "otherEntityRelationshipName": "testInfiniteScroll", + "ownerSide": false, + "relationshipName": "testOneToOne", + "relationshipType": "one-to-one" + }, + { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "userManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "otherEntityRelationshipName": "parent", + "ownerSide": true, + "relationshipName": "userOneToOne", + "relationshipType": "one-to-one" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestManyRelPaginDTO.json b/test-integration/samples/.jhipster/TestManyRelPaginDTO.json index b605b8804..bdb8afbf6 100644 --- a/test-integration/samples/.jhipster/TestManyRelPaginDTO.json +++ b/test-integration/samples/.jhipster/TestManyRelPaginDTO.json @@ -1,52 +1,52 @@ { - "angularJSSuffix": "mySuffix", - "changelogDate": "20160208210534", - "dto": "mapstruct", - "entityTableName": "test_many_many_pagination_dto", - "fields": [], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [ - { - "otherEntityName": "testMapstruct", - "otherEntityRelationshipName": "testMapstructOwnerOneToOne", - "ownerSide": false, - "relationshipName": "backTestMapstructOwnerOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "testMapstruct", - "otherEntityRelationshipName": "testMapstructOwnerManyToMany", - "ownerSide": false, - "relationshipName": "backTestMapstructOwnerManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testMapstruct", - "otherEntityRelationshipName": "testMapstructOwnerManyToOne", - "relationshipName": "backTestMapstructOwnerManyToOne", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "testMapstruct", - "otherEntityRelationshipName": "testMapstructBackOneToOne", - "ownerSide": true, - "relationshipName": "backTestMapstructBackOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "testMapstruct", - "otherEntityRelationshipName": "testMapstructBackManyToMany", - "ownerSide": true, - "relationshipName": "backTestMapstructBackManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testMapstruct", - "otherEntityRelationshipName": "testMapstructBackManyToOne", - "relationshipName": "backTestMapstructBackManyToOne", - "relationshipType": "many-to-one" - } - ], - "service": "serviceImpl" + "angularJSSuffix": "mySuffix", + "changelogDate": "20160208210534", + "dto": "mapstruct", + "entityTableName": "test_many_many_pagination_dto", + "fields": [], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [ + { + "otherEntityName": "testMapstruct", + "otherEntityRelationshipName": "testMapstructOwnerOneToOne", + "ownerSide": false, + "relationshipName": "backTestMapstructOwnerOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "testMapstruct", + "otherEntityRelationshipName": "testMapstructOwnerManyToMany", + "ownerSide": false, + "relationshipName": "backTestMapstructOwnerManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testMapstruct", + "otherEntityRelationshipName": "testMapstructOwnerManyToOne", + "relationshipName": "backTestMapstructOwnerManyToOne", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "testMapstruct", + "otherEntityRelationshipName": "testMapstructBackOneToOne", + "ownerSide": true, + "relationshipName": "backTestMapstructBackOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "testMapstruct", + "otherEntityRelationshipName": "testMapstructBackManyToMany", + "ownerSide": true, + "relationshipName": "backTestMapstructBackManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testMapstruct", + "otherEntityRelationshipName": "testMapstructBackManyToOne", + "relationshipName": "backTestMapstructBackManyToOne", + "relationshipType": "many-to-one" + } + ], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/TestManyToMany.json b/test-integration/samples/.jhipster/TestManyToMany.json index aee8d4235..a045ff515 100644 --- a/test-integration/samples/.jhipster/TestManyToMany.json +++ b/test-integration/samples/.jhipster/TestManyToMany.json @@ -1,67 +1,67 @@ { - "angularJSSuffix": "mySuffix", - "changelogDate": "20160208210535", - "dto": "no", - "fields": [], - "fluentMethods": true, - "pagination": "no", - "relationships": [ - { - "otherEntityField": "id", - "otherEntityName": "testEntity", - "otherEntityRelationshipName": "testManyToMany", - "ownerSide": true, - "relationshipName": "testEntity", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "id", - "otherEntityName": "testServiceClass", - "otherEntityRelationshipName": "testManyToMany", - "ownerSide": true, - "relationshipName": "testServiceClass", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "id", - "otherEntityName": "testServiceImpl", - "otherEntityRelationshipName": "testManyToMany", - "ownerSide": true, - "relationshipName": "testServiceImpl", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "id", - "otherEntityName": "testInfiniteScroll", - "otherEntityRelationshipName": "testManyToMany", - "ownerSide": true, - "relationshipName": "testInfiniteScroll", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "id", - "otherEntityName": "testPagination", - "otherEntityRelationshipName": "testManyToMany", - "ownerSide": true, - "relationshipName": "testPagination", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "id", - "otherEntityName": "testCustomTableName", - "otherEntityRelationshipName": "testManyToMany", - "ownerSide": true, - "relationshipName": "testCustomTableName", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "id", - "otherEntityName": "superMegaLargeTestEntity", - "otherEntityRelationshipName": "superMegaLargeTestManyToMany", - "ownerSide": true, - "relationshipName": "superMegaLargeTestEntity", - "relationshipType": "many-to-many" - } - ], - "service": "no" + "angularJSSuffix": "mySuffix", + "changelogDate": "20160208210535", + "dto": "no", + "fields": [], + "fluentMethods": true, + "pagination": "no", + "relationships": [ + { + "otherEntityField": "id", + "otherEntityName": "testEntity", + "otherEntityRelationshipName": "testManyToMany", + "ownerSide": true, + "relationshipName": "testEntity", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "id", + "otherEntityName": "testServiceClass", + "otherEntityRelationshipName": "testManyToMany", + "ownerSide": true, + "relationshipName": "testServiceClass", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "id", + "otherEntityName": "testServiceImpl", + "otherEntityRelationshipName": "testManyToMany", + "ownerSide": true, + "relationshipName": "testServiceImpl", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "id", + "otherEntityName": "testInfiniteScroll", + "otherEntityRelationshipName": "testManyToMany", + "ownerSide": true, + "relationshipName": "testInfiniteScroll", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "id", + "otherEntityName": "testPagination", + "otherEntityRelationshipName": "testManyToMany", + "ownerSide": true, + "relationshipName": "testPagination", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "id", + "otherEntityName": "testCustomTableName", + "otherEntityRelationshipName": "testManyToMany", + "ownerSide": true, + "relationshipName": "testCustomTableName", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "id", + "otherEntityName": "superMegaLargeTestEntity", + "otherEntityRelationshipName": "superMegaLargeTestManyToMany", + "ownerSide": true, + "relationshipName": "superMegaLargeTestEntity", + "relationshipType": "many-to-many" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestManyToOne.json b/test-integration/samples/.jhipster/TestManyToOne.json index a69d8274b..00294ef91 100644 --- a/test-integration/samples/.jhipster/TestManyToOne.json +++ b/test-integration/samples/.jhipster/TestManyToOne.json @@ -1,60 +1,60 @@ { - "angularJSSuffix": "mySuffix", - "changelogDate": "20160208211440", - "dto": "no", - "fields": [], - "fluentMethods": true, - "pagination": "no", - "relationships": [ - { - "otherEntityField": "id", - "otherEntityName": "testEntity", - "otherEntityRelationshipName": "testManyToOne", - "relationshipName": "testEntity", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testServiceClass", - "otherEntityRelationshipName": "testManyToOne", - "relationshipName": "testServiceClass", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testServiceImpl", - "otherEntityRelationshipName": "testManyToOne", - "relationshipName": "testServiceImpl", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testInfiniteScroll", - "otherEntityRelationshipName": "testManyToOne", - "relationshipName": "testInfiniteScroll", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testPagination", - "otherEntityRelationshipName": "testManyToOne", - "relationshipName": "testPagination", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testCustomTableName", - "otherEntityRelationshipName": "testManyToOne", - "relationshipName": "testCustomTableName", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "superMegaLargeTestEntity", - "otherEntityRelationshipName": "superMegaLargeTestManyToOne", - "relationshipName": "superMegaLargeTestEntity", - "relationshipType": "many-to-one" - } - ], - "service": "no" + "angularJSSuffix": "mySuffix", + "changelogDate": "20160208211440", + "dto": "no", + "fields": [], + "fluentMethods": true, + "pagination": "no", + "relationships": [ + { + "otherEntityField": "id", + "otherEntityName": "testEntity", + "otherEntityRelationshipName": "testManyToOne", + "relationshipName": "testEntity", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testServiceClass", + "otherEntityRelationshipName": "testManyToOne", + "relationshipName": "testServiceClass", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testServiceImpl", + "otherEntityRelationshipName": "testManyToOne", + "relationshipName": "testServiceImpl", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testInfiniteScroll", + "otherEntityRelationshipName": "testManyToOne", + "relationshipName": "testInfiniteScroll", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testPagination", + "otherEntityRelationshipName": "testManyToOne", + "relationshipName": "testPagination", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testCustomTableName", + "otherEntityRelationshipName": "testManyToOne", + "relationshipName": "testCustomTableName", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "superMegaLargeTestEntity", + "otherEntityRelationshipName": "superMegaLargeTestManyToOne", + "relationshipName": "superMegaLargeTestEntity", + "relationshipType": "many-to-one" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestMapstruct.json b/test-integration/samples/.jhipster/TestMapstruct.json index 9436e3a4c..442b732ac 100644 --- a/test-integration/samples/.jhipster/TestMapstruct.json +++ b/test-integration/samples/.jhipster/TestMapstruct.json @@ -1,65 +1,65 @@ { - "changelogDate": "20160208210112", - "dto": "mapstruct", - "fields": [], - "fluentMethods": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "testManyRelPaginDTO", - "otherEntityRelationshipName": "backTestMapstructOwnerOneToOne", - "ownerSide": true, - "relationshipName": "testMapstructOwnerOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "testManyRelPaginDTO", - "otherEntityRelationshipName": "backTestMapstructOwnerManyToMany", - "ownerSide": true, - "relationshipName": "testMapstructOwnerManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testManyRelPaginDTO", - "otherEntityRelationshipName": "backTestMapstructOwnerManyToOne", - "relationshipName": "testMapstructOwnerManyToOne", - "relationshipType": "many-to-one" - }, - { - "otherEntityName": "testManyRelPaginDTO", - "otherEntityRelationshipName": "backTestMapstructBackOneToOne", - "ownerSide": false, - "relationshipName": "testMapstructBackOneToOne", - "relationshipType": "one-to-one" - }, - { - "otherEntityName": "testManyRelPaginDTO", - "otherEntityRelationshipName": "backTestMapstructBackManyToMany", - "ownerSide": false, - "relationshipName": "testMapstructBackManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testManyRelPaginDTO", - "otherEntityRelationshipName": "backTestMapstructBackManyToOne", - "relationshipName": "testMapstructBackManyToOne", - "relationshipType": "one-to-many" - }, - { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userManyToOne", "relationshipType": "many-to-one" }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "userManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "userOneToOne", - "relationshipType": "one-to-one" - } - ], - "service": "no" + "changelogDate": "20160208210112", + "dto": "mapstruct", + "fields": [], + "fluentMethods": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "testManyRelPaginDTO", + "otherEntityRelationshipName": "backTestMapstructOwnerOneToOne", + "ownerSide": true, + "relationshipName": "testMapstructOwnerOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "testManyRelPaginDTO", + "otherEntityRelationshipName": "backTestMapstructOwnerManyToMany", + "ownerSide": true, + "relationshipName": "testMapstructOwnerManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testManyRelPaginDTO", + "otherEntityRelationshipName": "backTestMapstructOwnerManyToOne", + "relationshipName": "testMapstructOwnerManyToOne", + "relationshipType": "many-to-one" + }, + { + "otherEntityName": "testManyRelPaginDTO", + "otherEntityRelationshipName": "backTestMapstructBackOneToOne", + "ownerSide": false, + "relationshipName": "testMapstructBackOneToOne", + "relationshipType": "one-to-one" + }, + { + "otherEntityName": "testManyRelPaginDTO", + "otherEntityRelationshipName": "backTestMapstructBackManyToMany", + "ownerSide": false, + "relationshipName": "testMapstructBackManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testManyRelPaginDTO", + "otherEntityRelationshipName": "backTestMapstructBackManyToOne", + "relationshipName": "testMapstructBackManyToOne", + "relationshipType": "one-to-many" + }, + { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userManyToOne", "relationshipType": "many-to-one" }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "userManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "userOneToOne", + "relationshipType": "one-to-one" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestOneToOne.json b/test-integration/samples/.jhipster/TestOneToOne.json index 83af31676..8c6244c69 100644 --- a/test-integration/samples/.jhipster/TestOneToOne.json +++ b/test-integration/samples/.jhipster/TestOneToOne.json @@ -1,67 +1,67 @@ { - "angularJSSuffix": "mySuffix", - "changelogDate": "20160208211541", - "dto": "no", - "fields": [], - "fluentMethods": true, - "pagination": "no", - "relationships": [ - { - "otherEntityField": "id", - "otherEntityName": "testEntity", - "otherEntityRelationshipName": "testOneToOne", - "ownerSide": true, - "relationshipName": "testEntity", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testServiceClass", - "otherEntityRelationshipName": "testOneToOne", - "ownerSide": true, - "relationshipName": "testServiceClass", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testServiceImpl", - "otherEntityRelationshipName": "testOneToOne", - "ownerSide": true, - "relationshipName": "testServiceImpl", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testInfiniteScroll", - "otherEntityRelationshipName": "testOneToOne", - "ownerSide": true, - "relationshipName": "testInfiniteScroll", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testPagination", - "otherEntityRelationshipName": "testOneToOne", - "ownerSide": true, - "relationshipName": "testPagination", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testCustomTableName", - "otherEntityRelationshipName": "testOneToOne", - "ownerSide": true, - "relationshipName": "testCustomTableName", - "relationshipType": "one-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "superMegaLargeTestEntity", - "otherEntityRelationshipName": "superMegaLargeTestOneToOne", - "ownerSide": true, - "relationshipName": "superMegaLargeTestEntity", - "relationshipType": "one-to-one" - } - ], - "service": "no" + "angularJSSuffix": "mySuffix", + "changelogDate": "20160208211541", + "dto": "no", + "fields": [], + "fluentMethods": true, + "pagination": "no", + "relationships": [ + { + "otherEntityField": "id", + "otherEntityName": "testEntity", + "otherEntityRelationshipName": "testOneToOne", + "ownerSide": true, + "relationshipName": "testEntity", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testServiceClass", + "otherEntityRelationshipName": "testOneToOne", + "ownerSide": true, + "relationshipName": "testServiceClass", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testServiceImpl", + "otherEntityRelationshipName": "testOneToOne", + "ownerSide": true, + "relationshipName": "testServiceImpl", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testInfiniteScroll", + "otherEntityRelationshipName": "testOneToOne", + "ownerSide": true, + "relationshipName": "testInfiniteScroll", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testPagination", + "otherEntityRelationshipName": "testOneToOne", + "ownerSide": true, + "relationshipName": "testPagination", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testCustomTableName", + "otherEntityRelationshipName": "testOneToOne", + "ownerSide": true, + "relationshipName": "testCustomTableName", + "relationshipType": "one-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "superMegaLargeTestEntity", + "otherEntityRelationshipName": "superMegaLargeTestOneToOne", + "ownerSide": true, + "relationshipName": "superMegaLargeTestEntity", + "relationshipType": "one-to-one" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestPagination.json b/test-integration/samples/.jhipster/TestPagination.json index bd9166206..59eff33e7 100644 --- a/test-integration/samples/.jhipster/TestPagination.json +++ b/test-integration/samples/.jhipster/TestPagination.json @@ -1,46 +1,46 @@ { - "changelogDate": "20160208210113", - "dto": "no", - "fields": [], - "fluentMethods": true, - "pagination": "pagination", - "relationships": [ - { - "otherEntityName": "testManyToOne", - "otherEntityRelationshipName": "testPagination", - "relationshipName": "testManyToOne", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "testManyToMany", - "otherEntityRelationshipName": "testPagination", - "ownerSide": false, - "relationshipName": "testManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testOneToOne", - "otherEntityRelationshipName": "testPagination", - "ownerSide": false, - "relationshipName": "testOneToOne", - "relationshipType": "one-to-one" - }, - { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "userManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "otherEntityRelationshipName": "parent", - "ownerSide": true, - "relationshipName": "userOneToOne", - "relationshipType": "one-to-one" - } - ], - "service": "no" + "changelogDate": "20160208210113", + "dto": "no", + "fields": [], + "fluentMethods": true, + "pagination": "pagination", + "relationships": [ + { + "otherEntityName": "testManyToOne", + "otherEntityRelationshipName": "testPagination", + "relationshipName": "testManyToOne", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "testManyToMany", + "otherEntityRelationshipName": "testPagination", + "ownerSide": false, + "relationshipName": "testManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testOneToOne", + "otherEntityRelationshipName": "testPagination", + "ownerSide": false, + "relationshipName": "testOneToOne", + "relationshipType": "one-to-one" + }, + { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "userManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "otherEntityRelationshipName": "parent", + "ownerSide": true, + "relationshipName": "userOneToOne", + "relationshipType": "one-to-one" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/TestServiceClass.json b/test-integration/samples/.jhipster/TestServiceClass.json index 2edd177d2..565136bd7 100644 --- a/test-integration/samples/.jhipster/TestServiceClass.json +++ b/test-integration/samples/.jhipster/TestServiceClass.json @@ -1,47 +1,47 @@ { - "changelogDate": "20160208210114", - "dto": "no", - "fields": [], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "testManyToOne", - "otherEntityRelationshipName": "testServiceClass", - "relationshipName": "testManyToOne", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "testManyToMany", - "otherEntityRelationshipName": "testServiceClass", - "ownerSide": false, - "relationshipName": "testManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testOneToOne", - "otherEntityRelationshipName": "testServiceClass", - "ownerSide": false, - "relationshipName": "testOneToOne", - "relationshipType": "one-to-one" - }, - { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "userManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "otherEntityRelationshipName": "parent", - "ownerSide": true, - "relationshipName": "userOneToOne", - "relationshipType": "one-to-one" - } - ], - "service": "serviceClass" + "changelogDate": "20160208210114", + "dto": "no", + "fields": [], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "testManyToOne", + "otherEntityRelationshipName": "testServiceClass", + "relationshipName": "testManyToOne", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "testManyToMany", + "otherEntityRelationshipName": "testServiceClass", + "ownerSide": false, + "relationshipName": "testManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testOneToOne", + "otherEntityRelationshipName": "testServiceClass", + "ownerSide": false, + "relationshipName": "testOneToOne", + "relationshipType": "one-to-one" + }, + { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "userManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "otherEntityRelationshipName": "parent", + "ownerSide": true, + "relationshipName": "userOneToOne", + "relationshipType": "one-to-one" + } + ], + "service": "serviceClass" } diff --git a/test-integration/samples/.jhipster/TestServiceImpl.json b/test-integration/samples/.jhipster/TestServiceImpl.json index 0d0abba6e..b7204d90c 100644 --- a/test-integration/samples/.jhipster/TestServiceImpl.json +++ b/test-integration/samples/.jhipster/TestServiceImpl.json @@ -1,47 +1,47 @@ { - "changelogDate": "20160208210115", - "dto": "no", - "fields": [], - "fluentMethods": true, - "jpaMetamodelFiltering": true, - "pagination": "no", - "relationships": [ - { - "otherEntityName": "testManyToOne", - "otherEntityRelationshipName": "testServiceImpl", - "relationshipName": "testManyToOne", - "relationshipType": "one-to-many" - }, - { - "otherEntityName": "testManyToMany", - "otherEntityRelationshipName": "testServiceImpl", - "ownerSide": false, - "relationshipName": "testManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityName": "testOneToOne", - "otherEntityRelationshipName": "testServiceImpl", - "ownerSide": false, - "relationshipName": "testOneToOne", - "relationshipType": "one-to-one" - }, - { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "ownerSide": true, - "relationshipName": "userManyToMany", - "relationshipType": "many-to-many" - }, - { - "otherEntityField": "login", - "otherEntityName": "user", - "otherEntityRelationshipName": "parent", - "ownerSide": true, - "relationshipName": "userOneToOne", - "relationshipType": "one-to-one" - } - ], - "service": "serviceImpl" + "changelogDate": "20160208210115", + "dto": "no", + "fields": [], + "fluentMethods": true, + "jpaMetamodelFiltering": true, + "pagination": "no", + "relationships": [ + { + "otherEntityName": "testManyToOne", + "otherEntityRelationshipName": "testServiceImpl", + "relationshipName": "testManyToOne", + "relationshipType": "one-to-many" + }, + { + "otherEntityName": "testManyToMany", + "otherEntityRelationshipName": "testServiceImpl", + "ownerSide": false, + "relationshipName": "testManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityName": "testOneToOne", + "otherEntityRelationshipName": "testServiceImpl", + "ownerSide": false, + "relationshipName": "testOneToOne", + "relationshipType": "one-to-one" + }, + { "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "userOneToMany", "relationshipType": "many-to-one" }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "ownerSide": true, + "relationshipName": "userManyToMany", + "relationshipType": "many-to-many" + }, + { + "otherEntityField": "login", + "otherEntityName": "user", + "otherEntityRelationshipName": "parent", + "ownerSide": true, + "relationshipName": "userOneToOne", + "relationshipType": "one-to-one" + } + ], + "service": "serviceImpl" } diff --git a/test-integration/samples/.jhipster/TestTwoRelationshipsSameEntity.json b/test-integration/samples/.jhipster/TestTwoRelationshipsSameEntity.json index 2f69cd586..1b9b759c6 100644 --- a/test-integration/samples/.jhipster/TestTwoRelationshipsSameEntity.json +++ b/test-integration/samples/.jhipster/TestTwoRelationshipsSameEntity.json @@ -1,44 +1,44 @@ { - "angularJSSuffix": "mySuffix", - "changelogDate": "20160208210116", - "dto": "no", - "entityTableName": "test_multiple_rel", - "fields": [], - "fluentMethods": true, - "pagination": "no", - "relationships": [ - { - "otherEntityField": "id", - "otherEntityName": "testEntity", - "otherEntityRelationshipName": "firstTestTwoRelationshipsSameEntity", - "relationshipName": "firstRelationship", - "relationshipType": "many-to-one" - }, - { - "otherEntityField": "id", - "otherEntityName": "testEntity", - "otherEntityRelationshipName": "secondTestTwoRelationshipsSameEntity", - "relationshipName": "secondRelationship", - "relationshipType": "many-to-one" - }, - { "otherEntityName": "user", "ownerSide": true, "relationshipName": "userOne", "relationshipType": "one-to-one" }, - { "otherEntityName": "user", "ownerSide": true, "relationshipName": "userTwo", "relationshipType": "one-to-one" }, - { - "otherEntityField": "id", - "otherEntityName": "division", - "otherEntityRelationshipName": "firstTestTwoRelationshipsSameEntity", - "relationshipName": "firstUniqueRequiredRelation", - "relationshipType": "many-to-one", - "relationshipValidateRules": "required" - }, - { - "otherEntityField": "id", - "otherEntityName": "division", - "otherEntityRelationshipName": "secondTestTwoRelationshipsSameEntity", - "relationshipName": "secondUniqueRequiredRelation", - "relationshipType": "many-to-one", - "relationshipValidateRules": "required" - } - ], - "service": "no" + "angularJSSuffix": "mySuffix", + "changelogDate": "20160208210116", + "dto": "no", + "entityTableName": "test_multiple_rel", + "fields": [], + "fluentMethods": true, + "pagination": "no", + "relationships": [ + { + "otherEntityField": "id", + "otherEntityName": "testEntity", + "otherEntityRelationshipName": "firstTestTwoRelationshipsSameEntity", + "relationshipName": "firstRelationship", + "relationshipType": "many-to-one" + }, + { + "otherEntityField": "id", + "otherEntityName": "testEntity", + "otherEntityRelationshipName": "secondTestTwoRelationshipsSameEntity", + "relationshipName": "secondRelationship", + "relationshipType": "many-to-one" + }, + { "otherEntityName": "user", "ownerSide": true, "relationshipName": "userOne", "relationshipType": "one-to-one" }, + { "otherEntityName": "user", "ownerSide": true, "relationshipName": "userTwo", "relationshipType": "one-to-one" }, + { + "otherEntityField": "id", + "otherEntityName": "division", + "otherEntityRelationshipName": "firstTestTwoRelationshipsSameEntity", + "relationshipName": "firstUniqueRequiredRelation", + "relationshipType": "many-to-one", + "relationshipValidateRules": "required" + }, + { + "otherEntityField": "id", + "otherEntityName": "division", + "otherEntityRelationshipName": "secondTestTwoRelationshipsSameEntity", + "relationshipName": "secondUniqueRequiredRelation", + "relationshipType": "many-to-one", + "relationshipValidateRules": "required" + } + ], + "service": "no" } diff --git a/test-integration/samples/.jhipster/Track.json b/test-integration/samples/.jhipster/Track.json index ca662c941..bdb0fb9d3 100644 --- a/test-integration/samples/.jhipster/Track.json +++ b/test-integration/samples/.jhipster/Track.json @@ -1,24 +1,24 @@ { - "applications": "*", - "changelogDate": "20200417190923", - "clientRootFolder": "", - "dto": "no", - "embedded": false, - "entityTableName": "track", - "fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }], - "fluentMethods": true, - "jpaMetamodelFiltering": false, - "name": "Track", - "pagination": "no", - "readOnly": false, - "relationships": [ - { - "otherEntityField": "name", - "otherEntityName": "album", - "otherEntityRelationshipName": "track", - "relationshipName": "album", - "relationshipType": "many-to-one" - } - ], - "service": "no" + "applications": "*", + "changelogDate": "20200417190923", + "clientRootFolder": "", + "dto": "no", + "embedded": false, + "entityTableName": "track", + "fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }], + "fluentMethods": true, + "jpaMetamodelFiltering": false, + "name": "Track", + "pagination": "no", + "readOnly": false, + "relationships": [ + { + "otherEntityField": "name", + "otherEntityName": "album", + "otherEntityRelationshipName": "track", + "relationshipName": "album", + "relationshipType": "many-to-one" + } + ], + "service": "no" }