This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git
from c638d193cb CAUSEWAY-3404: removes unused import in prev. commit
add 4e63787388 CAUSEWAY-3676: adds support for retrieving blob bytes via
rest controller;
add f69ed4d8a9 CAUSEWAY-3676: adds test to download from URL
add 9a2276ea4a CAUSEWAY-3676: scrubs bookmarks for repeatability; removes
the ugly 'gqlv_' part of the default prefixes
add 8b42a17e24 CAUSEWAY-3676: use addChildFieldFor where possible; removes
'grid' from test; adds clob controller
add 70e30a4e95 CAUSEWAY-3676: reorg imports is all
add 411b81cb00 CAUSEWAY-3676: fixes integ test, adds clob as url, speeds
up interpolation
add 74bcab882d CAUSEWAY-3676: further removal of unnecessary work
add 61dbe87fef CAUSEWAY-3676: experiment if can add multiple fields of
different types; seemingly not.
add 0229968343 Merge pull request #2215 from apache/CAUSEWAY-3676
No new revisions were added by this update.
Summary of changes:
.../core/config/CausewayConfiguration.java | 4 +-
.../viewer/graphql/model/context/Context.java | 14 +-
.../viewer/graphql/model/domain/GqlvAbstract.java | 5 +-
.../graphql/model/domain/GqlvAbstractCustom.java | 19 +-
.../viewer/graphql/model/domain/GqlvAction.java | 65 +++--
.../graphql/model/domain/GqlvActionInvoke.java | 2 +-
.../graphql/model/domain/GqlvActionParam.java | 48 ++--
.../model/domain/GqlvActionParamAutoComplete.java | 2 +-
.../model/domain/GqlvActionParamChoices.java | 2 +-
.../model/domain/GqlvActionParamDisabled.java | 4 +-
.../model/domain/GqlvActionParamHidden.java | 4 +-
.../model/domain/GqlvActionParamValidate.java | 4 +-
.../graphql/model/domain/GqlvActionParams.java | 14 +-
.../graphql/model/domain/GqlvActionValidity.java | 2 +-
.../model/domain/GqlvAssociationDatatype.java | 5 +-
.../graphql/model/domain/GqlvAssociationGet.java | 4 +-
.../graphql/model/domain/GqlvCollection.java | 25 +-
.../graphql/model/domain/GqlvDomainObject.java | 36 ++-
.../graphql/model/domain/GqlvDomainService.java | 10 +-
.../viewer/graphql/model/domain/GqlvMember.java | 4 +-
.../graphql/model/domain/GqlvMemberDisabled.java | 2 +-
.../graphql/model/domain/GqlvMemberHidden.java | 2 +-
.../viewer/graphql/model/domain/GqlvMeta.java | 60 ++--
.../graphql/model/domain/GqlvMetaCssClass.java | 6 +-
.../viewer/graphql/model/domain/GqlvMetaGrid.java | 6 +-
.../graphql/model/domain/GqlvMetaIconName.java | 6 +-
.../viewer/graphql/model/domain/GqlvMetaId.java | 6 +-
.../graphql/model/domain/GqlvMetaLayout.java | 6 +-
.../graphql/model/domain/GqlvMetaSaveAs.java | 16 +-
.../graphql/model/domain/GqlvMetaVersion.java | 6 +-
.../viewer/graphql/model/domain/GqlvProperty.java | 100 ++++---
.../graphql/model/domain/GqlvPropertyGetBlob.java | 102 +++++++
...onGet.java => GqlvPropertyGetBlobAbstract.java} | 59 ++--
...Datatype.java => GqlvPropertyGetBlobBytes.java} | 31 +-
...aGrid.java => GqlvPropertyGetBlobMimeType.java} | 18 +-
...vMetaGrid.java => GqlvPropertyGetBlobName.java} | 20 +-
.../graphql/model/domain/GqlvPropertyGetClob.java | 100 +++++++
...onGet.java => GqlvPropertyGetClobAbstract.java} | 59 ++--
...Datatype.java => GqlvPropertyGetClobChars.java} | 31 +-
...aGrid.java => GqlvPropertyGetClobMimeType.java} | 18 +-
...vMetaGrid.java => GqlvPropertyGetClobName.java} | 20 +-
.../graphql/model/domain/GqlvPropertySet.java | 9 +-
.../graphql/model/domain/GqlvPropertyValidate.java | 4 +-
.../viewer/graphql/model/domain/GqlvScenario.java | 11 +-
.../graphql/model/domain/GqlvScenarioName.java | 5 +-
.../graphql/model/domain/GqlvScenarioStep.java | 14 +-
.../viewer/graphql/model/domain/TypeNames.java | 4 +
.../marshallers/ScalarMarshallerBigDecimal.java | 10 +-
.../marshallers/ScalarMarshallerBigInteger.java | 10 +-
.../ScalarMarshallerBooleanPrimitive.java | 10 +-
.../ScalarMarshallerBooleanWrapper.java | 10 +-
.../marshallers/ScalarMarshallerBytePrimitive.java | 3 +-
.../marshallers/ScalarMarshallerByteWrapper.java | 9 +-
.../marshallers/ScalarMarshallerCharPrimitive.java | 9 +-
.../ScalarMarshallerCharacterWrapper.java | 3 +-
.../ScalarMarshallerDoublePrimitive.java | 10 +-
.../marshallers/ScalarMarshallerDoubleWrapper.java | 10 +-
.../ScalarMarshallerFloatPrimitive.java | 10 +-
.../marshallers/ScalarMarshallerFloatWrapper.java | 6 +-
.../marshallers/ScalarMarshallerIntPrimitive.java | 10 +-
.../ScalarMarshallerIntegerWrapper.java | 10 +-
.../marshallers/ScalarMarshallerJdk8LocalDate.java | 10 +-
.../ScalarMarshallerJdk8ZonedDateTime.java | 9 +-
.../marshallers/ScalarMarshallerJodaDateTime.java | 11 +-
.../marshallers/ScalarMarshallerJodaLocalDate.java | 12 +-
.../marshallers/ScalarMarshallerLongPrimitive.java | 10 +-
.../marshallers/ScalarMarshallerLongWrapper.java | 10 +-
.../model/marshallers/ScalarMarshallerObject.java | 4 +-
.../ScalarMarshallerShortPrimitive.java | 10 +-
.../marshallers/ScalarMarshallerShortWrapper.java | 10 +-
.../model/marshallers/ScalarMarshallerString.java | 10 +-
.../marshallers/ScalarMarshallerVoidPrimitive.java | 9 +-
.../marshallers/ScalarMarshallerVoidWrapper.java | 3 +-
.../model/registry/GraphQLTypeRegistry.java | 18 +-
.../model/toplevel/GqlvTopLevelMutation.java | 13 +-
.../graphql/model/toplevel/GqlvTopLevelQuery.java | 13 +-
.../viewer/graphql/model/types/ScalarMapper.java | 2 +-
.../types/ScalarMapperUsingScalarMarshallers.java | 10 +-
.../viewer/graphql/model/types/TypeMapper.java | 8 +-
.../graphql/model/types/TypeMapperDefault.java | 17 +-
...ayViewerGraphqlTestModuleIntegTestAbstract.java | 16 +-
.../e2e/queryandmutations/Admin_IntegTest.java | 1 +
.../queryandmutations/Calculator_IntegTest.java | 1 +
.../DepartmentMutating_IntegTest.java | 1 +
...Department_IntegTest.find_all_departments._.gql | 2 +-
...nt_IntegTest.find_all_departments.approved.json | 12 +-
...d_department_and_add_staff_member_choices._.gql | 33 +++
...ment_and_add_staff_member_choices.approved.json | 49 ++++
..._department_and_add_staff_members._.choices.gql | 22 --
...est.find_department_and_add_staff_members._.gql | 69 +++++
...d_department_and_add_staff_members._.invoke.gql | 27 --
..._department_and_add_staff_members.approved.json | 94 +++++-
.../queryandmutations/Department_IntegTest.java | 37 +--
...Mutating_IntegTest.change_department_name._.gql | 2 +-
.../DeptHeadMutating_IntegTest.java | 1 +
.../e2e/queryandmutations/DeptHead_IntegTest.java | 3 +-
.../queryandmutations/StaffMutating_IntegTest.java | 1 +
...Mutating_IntegTest.staff_member_edit_name._.gql | 2 +-
...gTest.create_staff_member_with_department._.gql | 5 +-
...eate_staff_member_with_department.approved.json | 7 +-
..._staff_member_by_name_and_download_photo._.gql} | 9 +-
...member_by_name_and_download_photo.approved.json | 18 ++
.../e2e/queryandmutations/Staff_IntegTest.java | 54 +++-
.../Staff_IntegTest.list_all_staff_members._.gql | 6 +-
..._IntegTest.list_all_staff_members.approved.json | 30 +-
.../test/e2e/scenario/Calculator_IntegTest.java | 1 +
...IntegTest.find_department_and_change_name._.gql | 2 +-
...t.find_department_and_change_name.approved.json | 2 +-
.../test/e2e/scenario/Department_IntegTest.java | 1 +
.../schema/GqlSchemaQuery_print_IntegTest.java | 30 --
...tegTest.java => GqlSchema_print_IntegTest.java} | 4 +-
viewers/graphql/test/src/test/resources/schema.gql | 320 +++++++++++----------
viewers/graphql/viewer/pom.xml | 4 +
.../graphql/viewer/src/main/java/module-info.java | 2 +
.../viewer/CausewayModuleViewerGraphqlViewer.java | 6 +-
.../viewer/auth/UserMementoProviderDefault.java | 6 +-
.../viewer/controller/ResourceController.java | 106 +++++++
...xecutionStrategyResolvingWithinInteraction.java | 10 +-
.../integration/GraphQlSourceForCauseway.java | 7 +-
119 files changed, 1443 insertions(+), 863 deletions(-)
create mode 100644
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/GqlvPropertyGetBlob.java
copy
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvAssociationGet.java
=> GqlvPropertyGetBlobAbstract.java} (55%)
copy
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvActionParamDatatype.java
=> GqlvPropertyGetBlobBytes.java} (61%)
copy
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvMetaGrid.java
=> GqlvPropertyGetBlobMimeType.java} (70%)
copy
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvMetaGrid.java
=> GqlvPropertyGetBlobName.java} (70%)
create mode 100644
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/GqlvPropertyGetClob.java
copy
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvAssociationGet.java
=> GqlvPropertyGetClobAbstract.java} (55%)
copy
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvActionParamDatatype.java
=> GqlvPropertyGetClobChars.java} (61%)
copy
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvMetaGrid.java
=> GqlvPropertyGetClobMimeType.java} (70%)
copy
viewers/graphql/model/src/main/java/org/apache/causeway/viewer/graphql/model/domain/{GqlvMetaGrid.java
=> GqlvPropertyGetClobName.java} (70%)
create mode 100644
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/queryandmutations/Department_IntegTest.find_department_and_add_staff_member_choices._.gql
create mode 100644
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/queryandmutations/Department_IntegTest.find_department_and_add_staff_member_choices.approved.json
delete mode 100644
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/queryandmutations/Department_IntegTest.find_department_and_add_staff_members._.choices.gql
create mode 100644
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/queryandmutations/Department_IntegTest.find_department_and_add_staff_members._.gql
delete mode 100644
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/queryandmutations/Department_IntegTest.find_department_and_add_staff_members._.invoke.gql
copy
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/queryandmutations/{Staff_IntegTest.staff_member_name_edit_invalid._.gql
=> Staff_IntegTest.find_staff_member_by_name_and_download_photo._.gql} (64%)
create mode 100644
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/e2e/queryandmutations/Staff_IntegTest.find_staff_member_by_name_and_download_photo.approved.json
delete mode 100644
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/schema/GqlSchemaQuery_print_IntegTest.java
rename
viewers/graphql/test/src/test/java/org/apache/causeway/viewer/graphql/viewer/test/schema/{AbstractGqlSchema_print_IntegTest.java
=> GqlSchema_print_IntegTest.java} (94%)
create mode 100644
viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/controller/ResourceController.java