This is an automated email from the ASF dual-hosted git repository.
ningjiang pushed a change to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git.
from f877fc7 SCB-249 avoided hibernate and replaced JSON with TEXT due to
limited postgres & jpa support
new 4b89639 SCB-218 replaced in memory compensation store with persistent
repo to make alpha stateless
new 6f27eac SCB-218 polling in background for events to compensate
new 9a40171 SCB-218 updated schemas accordingly due to change of ORM tech
new ebf8851 SCB-218 excluded duplicate events during command persistence
new 7aafab8 SCB-218 updated command status to pending when compensating
new fff8435 SCB-218 polling events into commands in the background
new da2ef46 SCB-218 added event id to check for command uniqueness
new f075bd5 SCB-218 locked commands to avoid duplicate compensation
callback
new ffaa350 SCB-218 made sure saga ended event is always the last event
new 28d8afa SCB-218 removed missing column
new 311efc7 SCB-218 address out of order compensation later
new bd1277b SCB-218 included alpha core for coverage report
The 12 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:
alpha/alpha-core/pom.xml | 15 ++
.../saga/alpha/core/{TxEvent.java => Command.java} | 100 ++++++++-----
...EventRepository.java => CommandRepository.java} | 11 +-
.../{OmegaCallback.java => CommandStatus.java} | 9 +-
.../servicecomb/saga/alpha/core/EventScanner.java | 160 +++++++++++++++++++++
.../saga/alpha/core/TxConsistentService.java | 79 +---------
.../servicecomb/saga/alpha/core/TxEvent.java | 47 ++++++
.../saga/alpha/core/TxEventRepository.java | 7 +-
.../saga/alpha/core/TxConsistentServiceTest.java | 147 +++----------------
alpha/alpha-server/pom.xml | 4 +-
.../servicecomb/saga/alpha/server/AlphaConfig.java | 25 +++-
.../saga/alpha/server/CommandEntityRepository.java | 56 ++++++++
.../saga/alpha/server/SpringCommandRepository.java | 96 +++++++++++++
.../saga/alpha/server/SpringTxEventRepository.java | 15 +-
.../alpha/server/TxEventEnvelopeRepository.java | 45 ++++--
.../src/main/resources/schema-postgresql.sql | 20 ++-
.../saga/alpha/server/AlphaIntegrationTest.java | 96 ++++++++++++-
alpha/alpha-server/src/test/resources/schema.sql | 41 ++++--
integration-tests/coverage-aggregate/pom.xml | 4 +
.../saga/omega/transaction/TransactionAspect.java | 1 +
20 files changed, 693 insertions(+), 285 deletions(-)
copy
alpha/alpha-core/src/main/java/org/apache/servicecomb/saga/alpha/core/{TxEvent.java
=> Command.java} (60%)
copy
alpha/alpha-core/src/main/java/org/apache/servicecomb/saga/alpha/core/{TxEventRepository.java
=> CommandRepository.java} (76%)
copy
alpha/alpha-core/src/main/java/org/apache/servicecomb/saga/alpha/core/{OmegaCallback.java
=> CommandStatus.java} (89%)
create mode 100644
alpha/alpha-core/src/main/java/org/apache/servicecomb/saga/alpha/core/EventScanner.java
create mode 100644
alpha/alpha-server/src/main/java/org/apache/servicecomb/saga/alpha/server/CommandEntityRepository.java
create mode 100644
alpha/alpha-server/src/main/java/org/apache/servicecomb/saga/alpha/server/SpringCommandRepository.java
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].