This is an automated email from the ASF dual-hosted git repository.
borinquenkid pushed a change to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 4b7c10da0f Merge branch '8.0.x' into 8.1.x
add 131b7694ad Re-enable grails-datamapping-rx module
add 2632f6fc6c Add unit test coverage for grails-datamapping-rx (98.7%
line coverage), fix 10 latent bugs found along the way
add 1d8f3e7ceb Address PR review feedback on grails-datamapping-rx
re-enablement
add 9eb7887b9a Fix RX service Single/Observable cast bug via
wrapped-return-type restore
add 10516d794c Fix RX Observable multi-result cast bug in the delegating
closure body
add 770448e475 Fix mis-targeted assertion in RxServiceImplSpec's
string-query test
add 9a276e66c7 Un-pend RxServiceImplSpec's property projection test - the
2017 blocker is stale
add 506228bd92 Fix concurrency races and a message typo flagged in
Copilot's first review
new 0613772b36 Merge pull request #16135 from
apache/feat/enable-datamapping-rx
The 1 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:
gradle/publish-root-config.gradle | 2 +-
grails-datamapping-core-test/build.gradle | 3 +-
.../grails/gorm/services/RxServiceImplSpec.groovy | 394 +++----
.../groovy/grails/gorm/rx/CriteriaBuilder.groovy | 22 +-
.../groovy/grails/gorm/rx/DetachedCriteria.groovy | 70 +-
.../main/groovy/grails/gorm/rx/MultiTenant.groovy | 3 +-
.../grails/gorm/rx/PersistentObservable.java | 1 -
.../src/main/groovy/grails/gorm/rx/RxEntity.groovy | 34 +-
.../grails/gorm/rx/api/RxGormAllOperations.groovy | 2 +-
.../gorm/rx/api/RxGormInstanceOperations.groovy | 4 +-
.../grails/gorm/rx/api/RxGormOperations.groovy | 5 +-
.../gorm/rx/api/RxGormStaticOperations.groovy | 10 +-
.../gorm/rx/collection/ObservableCollection.java | 6 +-
.../gorm/rx/collection/RxPersistentCollection.java | 4 -
.../rx/collection/RxUnidirectionalCollection.java | 1 -
.../grails/gorm/rx/multitenancy/Tenants.groovy | 9 +-
.../grails/gorm/rx/proxy/ObservableProxy.java | 1 -
.../groovy/grails/gorm/rx/services/RxSchedule.java | 20 +-
.../datastore/rx/AbstractRxDatastoreClient.groovy | 82 +-
.../grails/datastore/rx/RxDatastoreClient.groovy | 6 +-
.../datastore/rx/RxDatastoreClientAware.groovy | 4 +-
.../datastore/rx/batch/BatchOperation.groovy | 2 +-
.../datastore/rx/collection/RxCollection.groovy | 3 +-
.../rx/collection/RxCollectionUtils.groovy | 5 +-
.../rx/collection/RxPersistentList.groovy | 24 +-
.../datastore/rx/collection/RxPersistentSet.groovy | 24 +-
.../rx/collection/RxPersistentSortedSet.groovy | 25 +-
.../exceptions/BlockingOperationException.groovy | 1 -
.../internal/RxDatastoreClientImplementor.groovy | 3 +-
.../AbstractObservableProxyMethodHandler.java | 27 +-
.../proxy/IdQueryObservableProxyMethodHandler.java | 30 +-
.../IdentifierObservableProxyMethodHandler.java | 26 +-
.../grails/datastore/rx/proxy/ProxyFactory.java | 5 +-
.../proxy/QueryObservableProxyMethodHandler.java | 22 +-
.../rx/proxy/RxJavassistProxyFactory.java | 46 +-
.../grails/datastore/rx/query/QueryState.groovy | 17 +-
.../org/grails/datastore/rx/query/RxQuery.groovy | 2 -
.../grails/datastore/rx/query/RxQueryUtils.groovy | 32 +-
.../datastore/rx/query/event/PostQueryEvent.groovy | 1 -
.../org/grails/gorm/rx/api/RxGormEnhancer.groovy | 39 +-
.../grails/gorm/rx/api/RxGormInstanceApi.groovy | 2 -
.../org/grails/gorm/rx/api/RxGormStaticApi.groovy | 45 +-
.../grails/gorm/rx/api/RxGormValidationApi.groovy | 6 +-
.../TenantDelegatingRxGormOperations.groovy | 4 +-
.../org/grails/gorm/rx/config/Settings.groovy | 3 +-
.../rx/events/AutoTimestampEventListener.groovy | 7 +-
.../gorm/rx/events/DomainEventListener.groovy | 5 +-
.../gorm/rx/events/MultiTenantEventListener.groovy | 33 +-
.../gorm/rx/events/ValidationEventListener.groovy | 11 +-
.../grails/gorm/rx/finders/CountByFinder.groovy | 3 +-
.../gorm/rx/finders/FindAllByBooleanFinder.groovy | 5 +-
.../grails/gorm/rx/finders/FindAllByFinder.groovy | 7 +-
.../gorm/rx/finders/FindByBooleanFinder.groovy | 5 +-
.../org/grails/gorm/rx/finders/FindByFinder.groovy | 7 +-
.../gorm/rx/finders/FindOrCreateByFinder.groovy | 32 +-
.../gorm/rx/finders/FindOrSaveByFinder.groovy | 3 +-
.../implementers/ObservableResultAdapter.groovy | 41 +-
.../ObservableServiceImplementerAdapter.groovy | 7 +-
.../implementers/SingleResultAdapter.groovy | 35 +-
.../rx/services/support/RxServiceSupport.groovy | 2 -
.../org/grails/gorm/rx/transform/RxAstUtils.groovy | 28 +-
.../rx/transform/RxScheduleIOTransformation.groovy | 65 +-
.../grails/gorm/rx/CriteriaBuilderSpec.groovy | 267 +++++
.../grails/gorm/rx/DetachedCriteriaSpec.groovy | 618 ++++++++++
.../test/groovy/grails/gorm/rx/RxEntitySpec.groovy | 81 ++
.../grails/gorm/rx/multitenancy/TenantsSpec.groovy | 209 ++++
.../rx/AbstractRxDatastoreClientSpec.groovy | 1087 +++++++++++++++++
.../datastore/rx/batch/BatchOperationSpec.groovy | 169 +++
.../rx/collection/RxCollectionUtilsSpec.groovy | 122 ++
.../rx/collection/RxPersistentListSpec.groovy | 158 +++
.../rx/collection/RxPersistentSetSpec.groovy | 176 +++
.../rx/collection/RxPersistentSortedSetSpec.groovy | 204 ++++
.../BlockingOperationExceptionSpec.groovy | 20 +-
...AbstractObservableProxyMethodHandlerSpec.groovy | 279 +++++
.../IdQueryObservableProxyMethodHandlerSpec.groovy | 153 +++
...entifierObservableProxyMethodHandlerSpec.groovy | 122 ++
.../QueryObservableProxyMethodHandlerSpec.groovy | 129 +++
.../rx/proxy/RxJavassistProxyFactorySpec.groovy | 184 +++
.../datastore/rx/query/QueryStateSpec.groovy | 121 ++
.../datastore/rx/query/RxQueryUtilsSpec.groovy | 439 +++++++
.../rx/query/event/PostQueryEventSpec.groovy} | 38 +-
.../grails/gorm/rx/api/RxGormEnhancerSpec.groovy | 252 ++++
.../gorm/rx/api/RxGormInstanceApiSpec.groovy | 139 +++
.../grails/gorm/rx/api/RxGormStaticApiSpec.groovy | 1221 ++++++++++++++++++++
.../gorm/rx/api/RxGormValidationApiSpec.groovy | 91 ++
.../TenantDelegatingRxGormOperationsSpec.groovy | 654 +++++++++++
.../events/AutoTimestampEventListenerSpec.groovy | 147 +++
.../gorm/rx/events/DomainEventListenerSpec.groovy | 129 +++
.../rx/events/MultiTenantEventListenerSpec.groovy | 356 ++++++
.../rx/events/ValidationEventListenerSpec.groovy | 133 +++
.../gorm/rx/finders/CountByFinderSpec.groovy | 133 +++
.../rx/finders/FindAllByBooleanFinderSpec.groovy | 96 ++
.../gorm/rx/finders/FindAllByFinderSpec.groovy | 146 +++
.../gorm/rx/finders/FindByBooleanFinderSpec.groovy | 86 ++
.../grails/gorm/rx/finders/FindByFinderSpec.groovy | 133 +++
.../rx/finders/FindOrCreateByFinderSpec.groovy | 185 +++
.../gorm/rx/finders/FindOrSaveByFinderSpec.groovy | 114 ++
.../ObservableResultAdapterSpec.groovy | 415 +++++++
.../implementers/SingleResultAdapterSpec.groovy | 357 ++++++
.../services/support/RxServiceSupportSpec.groovy | 118 ++
.../grails/gorm/rx/transform/RxAstUtilsSpec.groovy | 111 ++
.../rx/transform/RxScheduleTransformSpec.groovy | 178 +++
settings.gradle | 8 +-
103 files changed, 10431 insertions(+), 720 deletions(-)
create mode 100644
grails-datamapping-rx/src/test/groovy/grails/gorm/rx/CriteriaBuilderSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/grails/gorm/rx/DetachedCriteriaSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/grails/gorm/rx/RxEntitySpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/grails/gorm/rx/multitenancy/TenantsSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/AbstractRxDatastoreClientSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/batch/BatchOperationSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/collection/RxCollectionUtilsSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/collection/RxPersistentListSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/collection/RxPersistentSetSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/collection/RxPersistentSortedSetSpec.groovy
copy
grails-test-examples/demo33/src/test/groovy/demo/DemoUrlMappingsSpec.groovy =>
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/exceptions/BlockingOperationExceptionSpec.groovy
(66%)
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/proxy/AbstractObservableProxyMethodHandlerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/proxy/IdQueryObservableProxyMethodHandlerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/proxy/IdentifierObservableProxyMethodHandlerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/proxy/QueryObservableProxyMethodHandlerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/proxy/RxJavassistProxyFactorySpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/query/QueryStateSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/datastore/rx/query/RxQueryUtilsSpec.groovy
copy
grails-datamapping-rx/src/{main/groovy/org/grails/datastore/rx/query/event/PostQueryEvent.groovy
=> test/groovy/org/grails/datastore/rx/query/event/PostQueryEventSpec.groovy}
(59%)
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/api/RxGormEnhancerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/api/RxGormInstanceApiSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/api/RxGormStaticApiSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/api/RxGormValidationApiSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/api/multitenancy/TenantDelegatingRxGormOperationsSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/events/AutoTimestampEventListenerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/events/DomainEventListenerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/events/MultiTenantEventListenerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/events/ValidationEventListenerSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/finders/CountByFinderSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/finders/FindAllByBooleanFinderSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/finders/FindAllByFinderSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/finders/FindByBooleanFinderSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/finders/FindByFinderSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/finders/FindOrCreateByFinderSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/finders/FindOrSaveByFinderSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/services/implementers/ObservableResultAdapterSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/services/implementers/SingleResultAdapterSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/services/support/RxServiceSupportSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/transform/RxAstUtilsSpec.groovy
create mode 100644
grails-datamapping-rx/src/test/groovy/org/grails/gorm/rx/transform/RxScheduleTransformSpec.groovy