[hibernate/hibernate-ogm] b9cb2a: OGM-1495 Remove duplicated Infinispan counter log
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-ogm
Commit: b9cb2a610d37dc33b6e86069a24c4a5b0a79b456
https://github.com/hibernate/hibernate-ogm/commit/b9cb2a610d37dc33b6e8606...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2018-06-12 (Tue, 12 Jun 2018)
Changed paths:
M infinispan-embedded/src/main/java/org/hibernate/ogm/datastore/infinispan/persistencestrategy/counter/ClusteredCounterHandler.java
Log Message:
-----------
OGM-1495 Remove duplicated Infinispan counter log
Commit: 38ba1ea263fd1e03b578a7f244c835af83ce17c7
https://github.com/hibernate/hibernate-ogm/commit/38ba1ea263fd1e03b578a7f...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M infinispan-remote/infinispan-server-testconfig/wildfly-trimmed-config.xml
M integrationtest/infinispan-server-testconfig/wildfly-trimmed-config.xml
Log Message:
-----------
OGM-1495 Put back global-state tag in test configs
File wildfly-trimmed-config.xml is a subset of cluster.xml configuration.
The global state is present in all Infinispan server provided configurations
(standalone.xml, clustered.xml, domain profiles) and it is necessary to allow
the server to store persistent counters data.
Commit: 43d7c798ea0a00b64514f5757bc799b039866e9e
https://github.com/hibernate/hibernate-ogm/commit/43d7c798ea0a00b64514f57...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M infinispan-remote/src/main/java/org/hibernate/ogm/datastore/infinispanremote/impl/InfinispanRemoteDatastoreProvider.java
M infinispan-remote/src/main/java/org/hibernate/ogm/datastore/infinispanremote/impl/ProtobufSchemaInitializer.java
A infinispan-remote/src/main/java/org/hibernate/ogm/datastore/infinispanremote/impl/counter/CounterHandler.java
A infinispan-remote/src/main/java/org/hibernate/ogm/datastore/infinispanremote/impl/counter/HotRodSequenceCounterHandler.java
Log Message:
-----------
OGM-1494 Implement @SequenceGenerator as counter
Commit: 86a5d5d7cb788806739c04f7adfaffc4b23cf48e
https://github.com/hibernate/hibernate-ogm/commit/86a5d5d7cb788806739c04f...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M infinispan-remote/src/main/java/org/hibernate/ogm/datastore/infinispanremote/InfinispanRemoteDialect.java
M infinispan-remote/src/test/java/org/hibernate/ogm/datastore/infinispanremote/utils/InfinispanRemoteTestHelper.java
M infinispan-remote/src/test/resources/protoschema-expectations/sequenceTableGenerationTest.protobuf
Log Message:
-----------
OGM-1494 Support @SequenceGenerator tests
Commit: c26d1a50c300c86ec2e1d1ded9b230861fd1698b
https://github.com/hibernate/hibernate-ogm/commit/c26d1a50c300c86ec2e1d1d...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M infinispan-remote/src/test/resources/protoschema-userdefined/sequence-gen-schema.proto
Log Message:
-----------
OGM-1494 Remove hibernate_sequences from sequence tests
Commit: 5564bbc38f2c505b593662a832c8d31007c8c5a8
https://github.com/hibernate/hibernate-ogm/commit/5564bbc38f2c505b593662a...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2018-06-13 (Wed, 13 Jun 2018)
Changed paths:
M infinispan-remote/src/test/java/org/hibernate/ogm/datastore/infinispanremote/test/protobuf/ProtoBufSchemaTest.java
A infinispan-remote/src/test/resources/protoschema-expectations/tableGenerationTest.protobuf
Log Message:
-----------
OGM-1494 Add table generator schema test
Compare: https://github.com/hibernate/hibernate-ogm/compare/c7dfb1c6b304...5564bbc...
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 5 months
[hibernate/hibernate-validator] c2b943: HV-1623 Extract class-level metadata from property...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: c2b9432c6d91865d603ef8da3f7615ae86dbf616
https://github.com/hibernate/hibernate-validator/commit/c2b9432c6d91865d6...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ClassMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ClassDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
Log Message:
-----------
HV-1623 Extract class-level metadata from property metadata case
Commit: 2714267e248917b930c5659b041d2abf4eb453a3
https://github.com/hibernate/hibernate-validator/commit/2714267e248917b93...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldPropertyConstraintMappingContextImpl.java
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterPropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1623 Create different programmatic mapping contexts for getter and field
- create different implementations of PropertyConstraintMappingContextImpl
for getter and field to separate the logic.
Commit: 088294218ef2059fc9a8c1e063a04ac13f177da5
https://github.com/hibernate/hibernate-validator/commit/088294218ef2059fc...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConstructorConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/MethodConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
Log Message:
-----------
HV-1623 Make parameters more specific in programmatic API executable mapping contexts
Commit: e6c9e485d5b93e6324575a1bd11feea8fb0be20f
https://github.com/hibernate/hibernate-validator/commit/e6c9e485d5b93e632...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/cfg/context/PropertyTarget.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
Log Message:
-----------
HV-1623 Deprecate property() in programmatic API and introduce field() and getter() instead
- add two new methods field() and getter() to replace deprecated property()
- update property constraint mapping implementations to use generics and get rid of casting objects
Commit: ba56ab3da36dc98ec10cab8564a4f8b484b8cc6d
https://github.com/hibernate/hibernate-validator/commit/ba56ab3da36dc98ec...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/util/Contracts.java
Log Message:
-----------
HV-1623 Replace empty check in Contracts with null and empty check at the same time
- based on our usage of not empty check passed parameters should not be null as well hence the implementation of the check can use StringHelper.isNullOrEmptyString utility method.
Commit: aa490b1fb96dacc2d1e5e15208f2f61db0360ccb
https://github.com/hibernate/hibernate-validator/commit/aa490b1fb96dacc2d...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/testutils/ConstraintValidatorInitializationHelper.java
Log Message:
-----------
HV-1623 Introduce getter as a constraint location kind
Commit: af0bb7b0f74843009357d9dfec7099910bc2a47b
https://github.com/hibernate/hibernate-validator/commit/af0bb7b0f74843009...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedElement.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
Log Message:
-----------
HV-1623 Introduce ConstrainedElementKind.GETTER
Commit: 7740b9a4cf263271f823d098e18f0bd45d05c934
https://github.com/hibernate/hibernate-validator/commit/7740b9a4cf263271f...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldConstraintMappingContextImpl.java
R engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldPropertyConstraintMappingContextImpl.java
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterConstraintMappingContextImpl.java
R engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterPropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldPropertyConstraintLocation.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
Log Message:
-----------
HV-1623 Stop the propagation of JavaBeanField/Getter
We don't need the elements to be typed so let's be looser to open the
gate for JSON properties (which will probably simply be treated as
fields).
Commit: 34af9db3d15ebd804086516697b217cd9bac27d5
https://github.com/hibernate/hibernate-validator/commit/34af9db3d15ebd804...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/AbstractPropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterConstraintMappingContextImpl.java
R engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
Log Message:
-----------
HV-1623 Rename a couple of classes to Abstract*
Commit: 1355dceb2d024c962c2553c1c425ed73e0083c02
https://github.com/hibernate/hibernate-validator/commit/1355dceb2d024c962...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/AbstractPropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Constrainable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Field.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Getter.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTestBase.java
Log Message:
-----------
HV-1623 Introduce Field and Getter as subclasses of Property
Commit: 70f52adb38250083264a40863ea45a278659f415
https://github.com/hibernate/hibernate-validator/commit/70f52adb382500832...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1623 Throw exception in case of unexpected constrainedElement class in property metadata
- need to throw an exception rather than just create it
- removed the usage of Optional as it isn't needed anymore
Commit: 8130f3923201cc73bff7fcf093cf7de54ba5737c
https://github.com/hibernate/hibernate-validator/commit/8130f3923201cc73b...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Property.java
A engine/src/main/java/org/hibernate/validator/internal/properties/PropertyAccessor.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
Log Message:
-----------
HV-1623 Make the fields/getters accessible lazily
Commit: c0bc36ad88407a0c617935942e17f4a18e3fde2d
https://github.com/hibernate/hibernate-validator/commit/c0bc36ad88407a0c6...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanParameter.java
Log Message:
-----------
HV-1623 Reduce the memory footprint of the new reflection abstraction
Commit: 20a8b1b1f8372c29a49f0bacfbdf672b1aed30ab
https://github.com/hibernate/hibernate-validator/commit/20a8b1b1f8372c29a...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/AnnotationProcessingOptionsImpl.java
Log Message:
-----------
HV-1631 Avoid doing two lookups in the read methods of AnnotationProcessingOptionsImpl
Commit: 2bf7f6373786805250d849b87c5741fae18826dd
https://github.com/hibernate/hibernate-validator/commit/2bf7f637378680525...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanConstructor.java
Log Message:
-----------
HV-1623 Remove a useless usage of getDeclaringClass()
Compare: https://github.com/hibernate/hibernate-validator/compare/e42c4d94c41c...2...
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 5 months
[hibernate/hibernate-validator] 1f3d1c: HV-1623 Build abstraction over reflection in Const...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: 1f3d1c6fc6ac67f5162a972112a76e6ae4e97a01
https://github.com/hibernate/hibernate-validator/commit/1f3d1c6fc6ac67f51...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConstraintMappingContextImplBase.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConstructorConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/CrossParameterConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ExecutableConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/MethodConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ParameterConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ReturnValueConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ConstraintViolationImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/MetaDataBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ParameterMetaData.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/MethodConfigurationRule.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/OverridingMethodMustNotAlterParameterConstraints.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/ParallelMethodsMustNotDefineParameterConstraints.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/ReturnValueMayOnlyBeMarkedOnceAsCascadedPerHierarchyLine.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/VoidMethodsMustNotBeReturnValueConstrained.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/AnnotationProcessingOptions.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/AnnotationProcessingOptionsImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/BeanConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/TypeArgumentConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedField.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedParameter.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Constrainable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/ConstrainableType.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Property.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBean.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/package-info.java
M engine/src/main/java/org/hibernate/validator/internal/util/ExecutableHelper.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
A engine/src/main/java/org/hibernate/validator/internal/util/logging/formatter/ConstrainableFormatter.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedConstructorStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedFieldStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedMethodStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedParameterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstraintTypeStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/failfast/FailFastTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/core/MetaConstraintTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/location/ConstraintLocationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTestBase.java
M test-utils/src/main/java/org/hibernate/validator/testutil/ConstraintViolationAssert.java
Log Message:
-----------
HV-1623 Build abstraction over reflection in ConstraintLocation and related code
Commit: b44547d2ce315c7a7eb2e1c4150a7d9185d82396
https://github.com/hibernate/hibernate-validator/commit/b44547d2ce315c7a7...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldPropertyConstraintLocation.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedFieldStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/location/ConstraintLocationTest.java
Log Message:
-----------
HV-1623 Reintroduce field and getter constraint locations
Commit: 8a80bcd3354730ffdc7f3db591fd498fb67b6d74
https://github.com/hibernate/hibernate-validator/commit/8a80bcd3354730ffd...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
A engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
Log Message:
-----------
HV-1623 Clean ups around cascadable properties in PropertyMetaData
Commit: 4a6500f510fc0ef43688a8cc67613ae37c7558d5
https://github.com/hibernate/hibernate-validator/commit/4a6500f510fc0ef43...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
Log Message:
-----------
HV-1623 Remove redundant check in ConfiguredConstraint
- based on the usage of the method we cannot receive methods into it,
hence the check can be removed. And also the method can be named more
specific to represent what it is really should be doing.
Commit: a9c4de8eac60818e07457972aa6dd89f3b60722b
https://github.com/hibernate/hibernate-validator/commit/a9c4de8eac60818e0...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
Log Message:
-----------
HV-1623 Clean up property metadata
- changed Constrainable to Property to better represent the intended objects
to be processed by the builder
- removed unused parameters, fields and methods
Commit: e409264da8bb06be253325f07729e8b64d88d648
https://github.com/hibernate/hibernate-validator/commit/e409264da8bb06be2...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1623 Add additional checks before casting
Commit: 7356867ec9f530372960542aaeb4c1f927b079e0
https://github.com/hibernate/hibernate-validator/commit/7356867ec9f530372...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
R engine/src/main/java/org/hibernate/validator/internal/util/logging/formatter/ConstrainableFormatter.java
Log Message:
-----------
HV-1623 Remove ConstrainableFormatter and push the logic to toString implementations
Commit: 99e73809f3a5fecffae02d6b7b71f5be73d32328
https://github.com/hibernate/hibernate-validator/commit/99e73809f3a5fecff...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConstraintMappingContextImplBase.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/MetaDataBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/MetaConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ElementDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ClassConstraintTypeStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedFieldStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedParameterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstraintTypeStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ContainerElementTypeStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ExpressionLanguageMessageInterpolationTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ResourceBundleMessageInterpolatorTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/core/MetaConstraintTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTest.java
Log Message:
-----------
HV-1623 Wrap ElementType with ConstraintLocationKind
Commit: 7ef6fcbabd79c1301d9ac93e9eb9956fc363f58e
https://github.com/hibernate/hibernate-validator/commit/7ef6fcbabd79c1301...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ExecutableConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ParameterConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanAnnotatedConstrainable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanAnnotatedElement.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanConstructor.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanMethod.java
A engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanParameter.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedConstructorStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedMethodStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedParameterStaxBuilder.java
Log Message:
-----------
HV-1623 More abstraction work around executables
Commit: b0beaafd3bbc8e7aa15db22f091981fb2710b3a8
https://github.com/hibernate/hibernate-validator/commit/b0beaafd3bbc8e7aa...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/ConstraintViolationImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValueContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/BeanValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ParameterExecutableValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ReturnValueExecutableValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ParameterMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ReturnValueMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/MetaConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/facets/Cascadable.java
Log Message:
-----------
HV-1623 Propagate ConstraintLocationKind as far as possible
Commit: 8d96d9bd81c7c2cf249d2d9f7af8e2a5b64f25c4
https://github.com/hibernate/hibernate-validator/commit/8d96d9bd81c7c2cf2...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConstraintMappingContextImplBase.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/BeanConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/TypeArgumentConstraintLocation.java
Log Message:
-----------
HV-1623 Encapsulate ConstraintLocationKind inside ConstraintLocation
Commit: 76fc93e39332ab0d05024fa53603bbe29e88780f
https://github.com/hibernate/hibernate-validator/commit/76fc93e39332ab0d0...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ClassMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ClassDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
Log Message:
-----------
HV-1623 Extract class-level metadata from property metadata case
Commit: 42fe6d005a19a7c70fe5bae2f0cc62c65a3d319f
https://github.com/hibernate/hibernate-validator/commit/42fe6d005a19a7c70...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldPropertyConstraintMappingContextImpl.java
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterPropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1623 Create different programmatic mapping contexts for getter and field
- create different implementations of PropertyConstraintMappingContextImpl
for getter and field to separate the logic.
Commit: 9290ed99298e6b79f60858056c48146a31ef0c5a
https://github.com/hibernate/hibernate-validator/commit/9290ed99298e6b79f...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConstructorConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/MethodConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
Log Message:
-----------
HV-1623 Make parameters more specific in programmatic API executable mapping contexts
Commit: 45487f9c8f96c2df79fdf9036e4fb5f9153d2ab2
https://github.com/hibernate/hibernate-validator/commit/45487f9c8f96c2df7...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/cfg/context/PropertyTarget.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
Log Message:
-----------
HV-1623 Deprecate property() in programmatic API and introduce field() and getter() instead
- add two new methods field() and getter() to replace deprecated property()
- update property constraint mapping implementations to use generics and get rid of casting objects
Commit: 7453dec7ab5079c7a8e7b2ea4aa092a75400d5cf
https://github.com/hibernate/hibernate-validator/commit/7453dec7ab5079c7a...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/util/Contracts.java
Log Message:
-----------
HV-1623 Replace empty check in Contracts with null and empty check at the same time
- based on our usage of not empty check passed parameters should not be null as well hence the implementation of the check can use StringHelper.isNullOrEmptyString utility method.
Commit: 657fa9627efdc07ac6f687974445340b64921aee
https://github.com/hibernate/hibernate-validator/commit/657fa9627efdc07ac...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/testutils/ConstraintValidatorInitializationHelper.java
Log Message:
-----------
HV-1623 Introduce getter as a constraint location kind
Commit: 49ca317da9c18346db17425f51703a040d0fdcbf
https://github.com/hibernate/hibernate-validator/commit/49ca317da9c18346d...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedElement.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
Log Message:
-----------
HV-1623 Introduce ConstrainedElementKind.GETTER
Commit: 3b423198325b3006580c036d1e2def3449635321
https://github.com/hibernate/hibernate-validator/commit/3b423198325b30065...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldConstraintMappingContextImpl.java
R engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldPropertyConstraintMappingContextImpl.java
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterConstraintMappingContextImpl.java
R engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterPropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldPropertyConstraintLocation.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
Log Message:
-----------
HV-1623 Stop the propagation of JavaBeanField/Getter
We don't need the elements to be typed so let's be looser to open the
gate for JSON properties (which will probably simply be treated as
fields).
Commit: 67a5d3c727237c323270455263bddcc64b6b55a4
https://github.com/hibernate/hibernate-validator/commit/67a5d3c727237c323...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
A engine/src/main/java/org/hibernate/validator/internal/cfg/context/AbstractPropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterConstraintMappingContextImpl.java
R engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
A engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
R engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
Log Message:
-----------
HV-1623 Rename a couple of classes to Abstract*
Commit: e54063a4c2368f150cc167d405f568bf6fa0a09d
https://github.com/hibernate/hibernate-validator/commit/e54063a4c2368f150...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/AbstractPropertyConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Constrainable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Field.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Getter.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTestBase.java
Log Message:
-----------
HV-1623 Introduce Field and Getter as subclasses of Property
Commit: be04ce8d781c60643eaf0748335ffd3e3b0bc585
https://github.com/hibernate/hibernate-validator/commit/be04ce8d781c60643...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1623 Throw exception in case of unexpected constrainedElement class in property metadata
- need to throw an exception rather than just create it
- removed the usage of Optional as it isn't needed anymore
Commit: 856d86448c5390250e499b7e7d500eced851bb60
https://github.com/hibernate/hibernate-validator/commit/856d86448c5390250...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Property.java
A engine/src/main/java/org/hibernate/validator/internal/properties/PropertyAccessor.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
Log Message:
-----------
HV-1623 Make the fields/getters accessible lazily
Commit: bf09b02794beddb2481ec904f271ef37891c329b
https://github.com/hibernate/hibernate-validator/commit/bf09b02794beddb24...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanParameter.java
Log Message:
-----------
HV-1623 Reduce the memory footprint of the new reflection abstraction
Commit: f5b8470374f71d7c0d533ca88d88523f81ce001a
https://github.com/hibernate/hibernate-validator/commit/f5b8470374f71d7c0...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ClassMetaData.java
Log Message:
-----------
fixup! HV-1623 Extract class-level metadata from property metadata case
Commit: 429968bdf8b3660a84e7d972f49623ea3dfeb07b
https://github.com/hibernate/hibernate-validator/commit/429968bdf8b3660a8...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/AnnotationProcessingOptionsImpl.java
Log Message:
-----------
HV-1631 Avoid doing two lookups in the read methods of AnnotationProcessingOptionsImpl
Commit: e42c4d94c41c62591c122aa196c4084a4e086b37
https://github.com/hibernate/hibernate-validator/commit/e42c4d94c41c62591...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanConstructor.java
Log Message:
-----------
HV-1623 Remove a useless usage of getDeclaringClass()
Compare: https://github.com/hibernate/hibernate-validator/compare/47e91bf1abe6...e...
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
6 years, 5 months