polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [22/50] polygene-java git commit: Merge branch 'develop' into es-jooq
Date Mon, 10 Jul 2017 06:53:24 GMT
Merge branch 'develop' into es-jooq


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/b9d03dc2
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/b9d03dc2
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/b9d03dc2

Branch: refs/heads/es-jooq
Commit: b9d03dc25dddd1a0db18575cef9ac0b5e8021322
Parents: 80a19d7 17a2079
Author: niclas <niclas@hedhman.org>
Authored: Sun Jun 25 10:18:37 2017 +0800
Committer: niclas <niclas@hedhman.org>
Committed: Sun Jun 25 10:18:37 2017 +0800

----------------------------------------------------------------------
 .../reports/AggregatedJacocoReportTask.groovy   |   2 +-
 .../tests/PerformanceTestsPlugin.groovy         |   2 +-
 .../api/association/ManyAssociation.java        |  41 +-
 .../api/association/NamedAssociation.java       |  13 +-
 .../api/composite/NoSuchCompositeException.java |  56 --
 .../composite/NoSuchCompositeTypeException.java | 143 +++++
 .../api/composite/NoSuchTransientException.java |  45 --
 .../composite/NoSuchTransientTypeException.java |  43 ++
 .../api/composite/TransientBuilderFactory.java  |   8 +-
 .../api/constraint/ConstraintViolation.java     |  56 --
 .../ConstraintViolationException.java           | 314 ++++++-----
 .../constraint/ValueConstraintViolation.java    |  79 +++
 .../polygene/api/entity/EntityReference.java    |   2 +-
 .../polygene/api/identity/StringIdentity.java   |   4 +-
 .../api/identity/UuidGeneratorMixin.java        |   2 +-
 .../api/object/NoSuchObjectException.java       |  57 --
 .../api/object/NoSuchObjectTypeException.java   |  57 ++
 .../polygene/api/object/ObjectFactory.java      |   4 +-
 .../api/service/NoSuchServiceException.java     |  58 --
 .../api/service/NoSuchServiceTypeException.java |  48 ++
 .../polygene/api/service/ServiceFinder.java     |   8 +-
 .../polygene/api/structure/LayerDescriptor.java |   3 +-
 .../unitofwork/NoSuchEntityTypeException.java   |  25 +-
 .../polygene/api/unitofwork/UnitOfWork.java     |   2 -
 .../api/value/NoSuchValueException.java         |  46 --
 .../api/value/NoSuchValueTypeException.java     |  45 ++
 .../polygene/api/value/ValueBuilderFactory.java |  14 +-
 .../org/apache/polygene/api/OperatorsTest.java  |   2 +-
 .../polygene/api/type/ValueTypeFactoryTest.java |   2 +-
 .../polygene/api/unitofwork/RemovalTest.java    |   6 +-
 .../api/unitofwork/ToEntityConversionTest.java  |   2 +-
 .../api/unitofwork/ToValueConversionTest.java   |  12 +-
 .../bootstrap/AssemblyReportException.java      |   5 +-
 .../association/AbstractAssociationModel.java   |  10 +-
 .../association/NamedAssociationInstance.java   |   9 +-
 .../bootstrap/CompositeAssemblyImpl.java        | 117 ++--
 .../bootstrap/ImportedServiceAssemblyImpl.java  |   6 +-
 .../runtime/bootstrap/ModuleAssemblyImpl.java   |   6 +-
 .../bootstrap/ServiceDeclarationImpl.java       |   2 +-
 .../runtime/composite/CompositeModel.java       |  11 +-
 .../runtime/composite/ConstraintsInstance.java  |  24 +-
 .../composite/FragmentInvocationHandler.java    |  15 +-
 .../runtime/composite/TransientModel.java       |  15 +-
 .../runtime/composite/UsesInstance.java         |  12 +-
 .../composite/ValueConstraintsInstance.java     |  33 +-
 .../composite/ValueConstraintsModel.java        |  14 +-
 .../polygene/runtime/entity/EntityInstance.java |  13 +-
 .../polygene/runtime/entity/EntityModel.java    |   6 +
 .../ServiceInjectionProviderFactory.java        |   4 +-
 .../provider/UsesInjectionProviderFactory.java  |   8 +-
 .../runtime/property/PropertyModel.java         |   9 +-
 .../runtime/query/QueryBuilderFactoryImpl.java  |   4 +-
 .../polygene/runtime/structure/LayerModel.java  |   5 +-
 .../runtime/structure/ModuleInstance.java       |  52 +-
 .../runtime/unitofwork/ModuleUnitOfWork.java    |   8 +-
 .../runtime/unitofwork/UnitOfWorkInstance.java  |   2 +-
 .../runtime/value/ValueBuilderInstance.java     |   4 +-
 .../polygene/runtime/value/ValueModel.java      | 100 +++-
 .../apache/polygene/api/common/RemovalTest.java |   6 +-
 .../constraints/PropertyConstraintTest.java     |   4 +-
 .../qi377/SetAssociationInSideEffectTest.java   |   8 +-
 ...alueCollisionWithRelatedReturnTypesTest.java |  10 +-
 .../polygene/regression/qi382/Qi382Test.java    |   4 +-
 .../polygene/regression/qi383/Qi383Test.java    |   6 +-
 .../ImportedServiceActivationTest.java          |   2 +-
 .../composite/CompositeFactoryImplTest.java     |   5 +-
 .../composite/InterfaceDefaultMethodsTest.java  |   7 +-
 .../runtime/composite/IsCompositeTest.java      |  55 --
 .../runtime/composite/UseCompositeTest.java     |  84 +++
 .../runtime/constraints/ConstraintsTest.java    |   6 +-
 .../polygene/runtime/entity/EntityTypeTest.java |  12 +-
 .../runtime/entity/EntityVisibilityTest.java    |   2 +-
 .../runtime/injection/ServiceInjectionTest.java |   2 +-
 .../injection/UnitOfWorkInjectionTest.java      |   6 +-
 .../runtime/mixin/AssemblyMixinTest.java        |  10 +-
 .../runtime/mixin/AssemblyRoleTest.java         |   8 +-
 .../polygene/runtime/mixin/JDKMixinTest.java    |   4 +-
 .../objects/ObjectBuilderFactoryTest.java       |   4 +-
 .../runtime/objects/ObjectVisibilityTest.java   |  64 +--
 .../runtime/query/IterableQuerySourceTest.java  |   2 +-
 .../apache/polygene/runtime/query/Network.java  |   4 +-
 .../runtime/service/ServiceVisibilityTest.java  |  64 +--
 .../runtime/structure/MixinVisibilityTest.java  |   4 +-
 .../NoSuchEntityTypeExceptionTest.java          |  95 ++++
 .../PrivateCompositeVisibilityTest.java         |   4 +-
 .../transients/TransientBuilderFactoryTest.java |   4 +-
 .../transients/TransientVisibilityTest.java     |  64 +--
 .../unitofwork/PrivateEntityUnitOfWorkTest.java |   2 +-
 .../runtime/unitofwork/RemovalTest.java         |   8 +-
 .../runtime/value/AssociationToValueTest.java   |   4 +-
 .../value/ValueSerializationRegressionTest.java |   2 +-
 .../runtime/value/ValueVisibilityTest.java      |  64 +--
 .../runtime/value/ValueWithAssociationTest.java |   6 +-
 .../visibility/VisibilityInUnitOfWorkTest.java  |   4 +-
 .../importer/ServiceInstanceImporterTest.java   |  10 +-
 .../helpers/DefaultManyAssociationState.java    |   5 -
 .../helpers/DefaultNamedAssociationState.java   |   6 +-
 .../helpers/JSONMapEntityStoreMixin.java        |   4 +-
 .../helpers/MapEntityStoreMixin.java            |   4 +-
 .../spi/serialization/BuiltInConverters.java    |   2 +-
 .../spi/entitystore/Polygene142Test.java        |   4 +-
 .../test/cache/AbstractCachePoolTest.java       |  11 +-
 .../test/entity/AbstractEntityStoreTest.java    |   1 -
 ...stractPolygeneMultiLayeredTestWithModel.java | 161 ++++++
 .../test/entity/model/EntityStoreTestSuite.java | 543 +++++++++++++++++++
 .../test/entity/model/legal/LegalService.java   | 142 +++++
 .../polygene/test/entity/model/legal/Will.java  |  40 ++
 .../test/entity/model/legal/WillAmount.java     |  29 +
 .../test/entity/model/legal/WillBenefit.java    |  37 ++
 .../test/entity/model/legal/WillItem.java       |  30 +
 .../test/entity/model/legal/WillPercentage.java |  27 +
 .../entity/model/monetary/CheckBookSlip.java    |  58 ++
 .../test/entity/model/monetary/Currency.java    |  60 ++
 .../test/entity/model/people/Address.java       |  37 ++
 .../polygene/test/entity/model/people/City.java |  28 +
 .../test/entity/model/people/Country.java       |  28 +
 .../entity/model/people/PeopleRepository.java   | 183 +++++++
 .../test/entity/model/people/Person.java        |  89 +++
 .../test/entity/model/people/PhoneNumber.java   |  55 ++
 .../polygene/test/entity/model/people/Rent.java |  53 ++
 .../test/indexing/AbstractQueryTest.java        |   6 +-
 .../apache/polygene/test/indexing/TestData.java |   8 +-
 .../metrics/AbstractPolygeneMetricsTest.java    |   4 +-
 ...AbstractValueCompositeSerializationTest.java |   8 +-
 .../polygene/test/cache/MemoryCacheTest.java    |   3 +-
 dependencies.gradle                             |   2 +-
 .../cassandra/CassandraEntityStoreMixin.java    |   4 +-
 .../CassandraEntityStoreTestSuite.java          |  80 +++
 .../file/FileEntityStoreTestSuite.java          |  50 ++
 .../geode/GeodeEntityStoreTestSuite.java        |  38 ++
 .../HazelcastEntityStoreTestSuite.java          |  48 ++
 .../jclouds/JCloudsFilesystemTestSuite.java     |  52 ++
 .../entitystore/jclouds/JCloudsS3TestSuite.java |  53 ++
 .../jclouds/JCloudsTransientTestSuite.java      |  39 ++
 .../jdbm/JdbmEntityStoreTestSuite.java          |  47 ++
 .../JavaLevelDBEntityStoreTestSuite.java        |  52 ++
 .../leveldb/JniLevelDBEntityStoreTest.java      |  21 +-
 .../memory/MemoryEntityStoreTestSuite.java      |  37 ++
 .../EmbedMongoDBMapEntityStoreTestSuite.java    |  84 +++
 .../mongodb/MongoDBEntityStoreTestSuite.java    |  77 +++
 .../PreferencesEntityStoreMixin.java            |   2 +-
 .../PreferencesEntityStoreAssembler.java        |   9 +-
 .../PreferencesEntityStoreTestSuite.java        |  56 ++
 .../redis/RedisEntityStoreTestSuite.java        |  74 +++
 .../riak/RiakEntityStoreTestSuite.java          |  70 +++
 .../AbstractSQLEntityStoreAssembler.java        |   2 +-
 .../sql/DerbySQLEntityStoreTestSuite.java       |  94 ++++
 .../sql/H2SQLEntityStoreTestSuite.java          |  56 ++
 .../sql/MySQLEntityStoreTestSuite.java          | 122 +++++
 .../sql/PostgreSQLEntityStoreTest.java          |  34 --
 .../sql/PostgreSQLEntityStoreTestSuite.java     | 111 ++++
 .../sql/SQLiteEntityStoreTestSuite.java         |  65 +++
 .../polygene/index/rdf/RDFPerformanceTest.java  |   4 +-
 .../AbstractSQLIndexQueryAssembler.java         |   2 +-
 gradle/wrapper/gradle-wrapper.jar               | Bin 54416 -> 54706 bytes
 gradle/wrapper/gradle-wrapper.properties        |   2 +-
 .../apache/polygene/test/docker/DockerRule.java |   2 +-
 .../polygene/library/alarm/AlarmSystem.java     |   2 +-
 .../polygene/library/alarm/AlarmProxyTest.java  |   6 +-
 .../library/constraints/ConstraintTest.java     |   3 +-
 libraries/http/build.gradle                     |   2 +-
 .../jmx/ConfigurationManagerService.java        |   2 +-
 .../rdf/entity/EntitySerializerTest.java        |   4 +-
 .../rdf/entity/EntityTypeSerializerTest.java    |  19 +-
 .../rest/server/api/ContextResource.java        |   4 +-
 .../restlet/ConstraintViolationMessages.java    |   4 +-
 .../restlet/InteractionConstraintsService.java  |   6 +-
 .../server/restlet/RequestReaderDelegator.java  |   2 +-
 .../server/restlet/ResponseWriterDelegator.java |   2 +-
 .../requestreader/DefaultRequestReader.java     |   4 +-
 .../library/rest/admin/EntityResource.java      |   3 +-
 .../library/rest/admin/DummyDataService.java    |   8 +-
 .../polygene/library/rest/admin/RestTest.java   |   8 +-
 .../library/restlet/crud/EntityResource.java    |   4 +-
 .../restlet/identity/IdentityManager.java       |   4 +-
 .../restlet/resource/EntryPointResource.java    |   6 +-
 .../restlet/resource/ResourceBuilder.java       |   2 +-
 .../sql/assembly/DataSourceAssembler.java       |   2 +-
 .../assembly/ExternalDataSourceAssembler.java   |   2 +-
 .../DataSourceConfigurationManagerService.java  |   2 +-
 .../ParameterViolationConcern.java              |   4 +-
 .../PhoneNumberParameterViolationConcern.java   |   6 +-
 .../moneytransfer/context/PayBillsContext.java  |   4 +-
 .../moneytransfer/context/PayBillsContext2.java |   4 +-
 .../dci/moneytransfer/test/AccountIds.java      |   8 +-
 .../sample/forum/data/entity/Forums.java        |   4 +-
 .../sample/forum/data/entity/Users.java         |   2 +-
 .../rest/resource/forum/BoardResource.java      |   2 +-
 .../rest/resource/forum/ForumResource.java      |   2 +-
 .../rest/resource/forum/ForumsResource.java     |   2 +-
 .../sample/rental/domain/dev/InitialData.java   |   2 +-
 .../polygene/sample/rental/web/BookingPage.java |   4 +-
 .../polygene/sample/rental/web/MainPage.java    |   2 +-
 .../AbstractEntityStorePerformanceTest.java     |   4 +-
 .../initialdata/SamplePersonInitialData.java    |   2 +-
 .../templates/RestAPIApplication/bootstrap.tmpl |   1 +
 .../templates/buildtool/gradle-bootstrap.tmpl   |   7 +
 tools/generator-polygene/test/generator_test.js |  39 +-
 .../polygene/tutorials/hello/HelloTest4.java    |   2 +-
 199 files changed, 4431 insertions(+), 1171 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/b9d03dc2/core/runtime/src/main/java/org/apache/polygene/runtime/composite/FragmentInvocationHandler.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/b9d03dc2/core/testsupport/src/main/java/org/apache/polygene/test/entity/AbstractEntityStoreTest.java
----------------------------------------------------------------------


Mime
View raw message