cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject [cayenne] branch master updated (74ebe54 -> cbb96b1)
Date Wed, 24 Apr 2019 14:53:57 GMT
This is an automated email from the ASF dual-hosted git repository.

ntimofeev pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git.


    from 74ebe54  Merge PR #379
     new f55efff  CAY-2571 DataDomainFlushAction redesign initial version and db operations
API
     new 99175f9  CAY-2571 DataDomainFlushAction redesign tests
     new d0b4244  CAY-2571 DataDomainFlushAction redesign switch data domain to new Flush
action implementation
     new 1e2d9bf  CAY-2571 DataDomainFlushAction redesign tests
     new c43a3bd  Merge PR #377
     new cbb96b1  CAY-2571 DataDomainFlushAction redesign cleanup

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../dbsync/reverse/configuration/ToolsModule.java  |   8 +-
 .../event/JavaGroupsBridgeProviderTest.java        |   6 +
 .../cayenne/event/JMSBridgeProviderTest.java       |   6 +
 .../java/org/apache/cayenne/access/DataDomain.java |  12 +-
 .../cayenne/access/DataDomainDBDiffBuilder.java    |   2 +
 .../cayenne/access/DataDomainDeleteBucket.java     |   4 +-
 .../cayenne/access/DataDomainFlattenedBucket.java  |   6 +-
 .../cayenne/access/DataDomainFlushObserver.java    |   2 +
 .../access/DataDomainIndirectDiffBuilder.java      |   7 +-
 .../cayenne/access/DataDomainInsertBucket.java     |   7 +-
 .../cayenne/access/DataDomainSyncBucket.java       |   6 +-
 .../cayenne/access/DataDomainUpdateBucket.java     |   4 +-
 .../access/DataNodeSyncQualifierDescriptor.java    |   2 +
 .../java/org/apache/cayenne/access/DbArcId.java    |   2 +
 .../cayenne/access/DbEntityClassDescriptor.java    |   2 +
 .../org/apache/cayenne/access/FlattenedArcKey.java |   2 +
 ...ction.java => LegacyDataDomainFlushAction.java} |  11 +-
 .../LegacyDataDomainFlushActionFactory.java}       |  46 ++--
 .../java/org/apache/cayenne/access/ObjectDiff.java |  22 +-
 .../org/apache/cayenne/access/ObjectResolver.java  |   4 +-
 .../org/apache/cayenne/access/ObjectStore.java     |  38 ++-
 .../cayenne/access/ObjectStoreGraphDiff.java       |   4 +-
 .../apache/cayenne/access/OperationObserver.java   |   4 +-
 .../org/apache/cayenne/access/flush/ArcTarget.java |  87 +++++++
 .../access/flush/ArcValuesCreationHandler.java     | 275 +++++++++++++++++++++
 .../flush/DataDomainFlushAction.java}              |  38 +--
 .../flush/DataDomainFlushActionFactory.java}       |  33 +--
 .../flush/DataDomainIndirectDiffBuilder.java       | 108 ++++++++
 .../cayenne/access/flush/DbRowOpFactory.java       | 138 +++++++++++
 .../access/flush/DefaultDataDomainFlushAction.java | 210 ++++++++++++++++
 .../DefaultDataDomainFlushActionFactory.java}      |  43 ++--
 .../apache/cayenne/access/flush/EffectiveOpId.java |  64 +++++
 .../FlushObserver.java}                            |  35 +--
 .../access/flush/ObjectIdValueSupplier.java        |  82 ++++++
 .../flush/OptimisticLockQualifierBuilder.java      |  85 +++++++
 .../access/flush/PermanentObjectIdVisitor.java     | 139 +++++++++++
 .../cayenne/access/flush/PostprocessVisitor.java   | 143 +++++++++++
 .../cayenne/access/flush/QueryCreatorVisitor.java  | 121 +++++++++
 .../cayenne/access/flush/ReplacementIdVisitor.java | 106 ++++++++
 .../cayenne/access/flush/RootRowOpProcessor.java   |  82 ++++++
 .../access/flush/ValuesCreationHandler.java        |  77 ++++++
 .../access/flush/operation/BaseDbRowOp.java        |  77 ++++++
 .../flush/operation/DbRowOp.java}                  |  40 ++-
 .../access/flush/operation/DbRowOpMerger.java      |  82 ++++++
 .../flush/operation/DbRowOpSorter.java}            |  34 +--
 .../flush/operation/DbRowOpType.java}              |  49 ++--
 .../flush/operation/DbRowOpVisitor.java}           |  39 +--
 .../flush/operation/DbRowOpWithQualifier.java}     |  32 +--
 .../flush/operation/DbRowOpWithValues.java}        |  32 +--
 .../flush/operation/DefaultDbRowOpSorter.java      | 150 +++++++++++
 .../access/flush/operation/DeleteDbRowOp.java      |  72 ++++++
 .../flush/operation/DeleteInsertDbRowOp.java}      |  48 ++--
 .../access/flush/operation/InsertDbRowOp.java      |  71 ++++++
 .../cayenne/access/flush/operation/Qualifier.java  | 147 +++++++++++
 .../access/flush/operation/UpdateDbRowOp.java      |  74 ++++++
 .../cayenne/access/flush/operation/Values.java     | 151 +++++++++++
 .../cayenne/ashwood/AshwoodEntitySorter.java       | 140 ++++++-----
 .../cayenne/configuration/server/ServerModule.java |  13 +-
 .../main/java/org/apache/cayenne/map/DbEntity.java |   7 +-
 .../java/org/apache/cayenne/map/EntitySorter.java  |  21 ++
 .../org/apache/cayenne/query/DeleteBatchQuery.java |   7 +-
 .../DataContextEntityWithMeaningfulPKIT.java       |  15 ++
 .../access/DataContextFlattenedAttributesIT.java   |  50 ++++
 .../access/DefaultDataRowStoreFactoryIT.java       |   6 +
 .../cayenne/access/VerticalInheritanceIT.java      |  19 +-
 .../access/flush/ArcValuesCreationHandlerTest.java | 210 ++++++++++++++++
 .../flush/DefaultDataDomainFlushActionTest.java    | 158 ++++++++++++
 .../access/flush/DefaultDbRowOpSorterTest.java     | 215 ++++++++++++++++
 .../access/flush/operation/BaseDbRowOpTest.java    | 125 ++++++++++
 .../access/flush/operation/DbRowOpMergerTest.java  | 177 +++++++++++++
 .../access/flush/operation/QualifierTest.java      | 171 +++++++++++++
 .../cayenne/access/flush/operation/ValuesTest.java | 109 ++++++++
 .../server/DataContextFactoryTest.java             |  12 +
 .../test/resources/inheritance-vertical.map.xml    |   4 +-
 cayenne-server/src/test/resources/testmap.map.xml  |   4 +-
 .../cayenne/event/XMPPBridgeProviderTest.java      |   6 +
 76 files changed, 4204 insertions(+), 436 deletions(-)
 rename cayenne-server/src/main/java/org/apache/cayenne/access/{DataDomainFlushAction.java
=> LegacyDataDomainFlushAction.java} (95%)
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/LegacyDataDomainFlushActionFactory.java}
(53%)
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/ArcTarget.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/ArcValuesCreationHandler.java
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/DataDomainFlushAction.java}
(53%)
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/DataDomainFlushActionFactory.java}
(53%)
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/DataDomainIndirectDiffBuilder.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/DbRowOpFactory.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/DefaultDataDomainFlushAction.java
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/DefaultDataDomainFlushActionFactory.java}
(53%)
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/EffectiveOpId.java
 copy cayenne-server/src/main/java/org/apache/cayenne/access/{DataDomainFlushObserver.java
=> flush/FlushObserver.java} (82%)
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/ObjectIdValueSupplier.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/OptimisticLockQualifierBuilder.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/PermanentObjectIdVisitor.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/PostprocessVisitor.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/QueryCreatorVisitor.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/ReplacementIdVisitor.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/RootRowOpProcessor.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/ValuesCreationHandler.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/operation/BaseDbRowOp.java
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/operation/DbRowOp.java}
(54%)
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/operation/DbRowOpMerger.java
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/operation/DbRowOpSorter.java}
(55%)
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/operation/DbRowOpType.java}
(53%)
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/operation/DbRowOpVisitor.java}
(53%)
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/operation/DbRowOpWithQualifier.java}
(53%)
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/operation/DbRowOpWithValues.java}
(53%)
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/operation/DefaultDbRowOpSorter.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/operation/DeleteDbRowOp.java
 copy cayenne-server/src/main/java/org/apache/cayenne/{map/EntitySorter.java => access/flush/operation/DeleteInsertDbRowOp.java}
(53%)
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/operation/InsertDbRowOp.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/operation/Qualifier.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/operation/UpdateDbRowOp.java
 create mode 100644 cayenne-server/src/main/java/org/apache/cayenne/access/flush/operation/Values.java
 create mode 100644 cayenne-server/src/test/java/org/apache/cayenne/access/flush/ArcValuesCreationHandlerTest.java
 create mode 100644 cayenne-server/src/test/java/org/apache/cayenne/access/flush/DefaultDataDomainFlushActionTest.java
 create mode 100644 cayenne-server/src/test/java/org/apache/cayenne/access/flush/DefaultDbRowOpSorterTest.java
 create mode 100644 cayenne-server/src/test/java/org/apache/cayenne/access/flush/operation/BaseDbRowOpTest.java
 create mode 100644 cayenne-server/src/test/java/org/apache/cayenne/access/flush/operation/DbRowOpMergerTest.java
 create mode 100644 cayenne-server/src/test/java/org/apache/cayenne/access/flush/operation/QualifierTest.java
 create mode 100644 cayenne-server/src/test/java/org/apache/cayenne/access/flush/operation/ValuesTest.java


Mime
View raw message