This is an automated email from the ASF dual-hosted git repository.
borinquenkid pushed a change to branch feat/enable-datamapping-rx
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 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
No new revisions were added by this update.
Summary of changes:
grails-datamapping-core-test/build.gradle | 3 +-
.../grails/gorm/services/RxServiceImplSpec.groovy | 394 ++++++++++-----------
.../groovy/grails/gorm/rx/CriteriaBuilder.groovy | 1 -
.../groovy/grails/gorm/rx/DetachedCriteria.groovy | 1 -
.../main/groovy/grails/gorm/rx/MultiTenant.groovy | 1 -
.../grails/gorm/rx/PersistentObservable.java | 1 -
.../src/main/groovy/grails/gorm/rx/RxEntity.groovy | 1 -
.../grails/gorm/rx/api/RxGormAllOperations.groovy | 1 -
.../gorm/rx/api/RxGormInstanceOperations.groovy | 1 -
.../grails/gorm/rx/api/RxGormOperations.groovy | 1 -
.../gorm/rx/api/RxGormStaticOperations.groovy | 1 -
.../gorm/rx/collection/ObservableCollection.java | 1 -
.../gorm/rx/collection/RxPersistentCollection.java | 1 -
.../rx/collection/RxUnidirectionalCollection.java | 1 -
.../grails/gorm/rx/multitenancy/Tenants.groovy | 1 -
.../grails/gorm/rx/proxy/ObservableProxy.java | 1 -
.../groovy/grails/gorm/rx/services/RxSchedule.java | 1 -
.../datastore/rx/AbstractRxDatastoreClient.groovy | 1 -
.../grails/datastore/rx/RxDatastoreClient.groovy | 1 -
.../datastore/rx/RxDatastoreClientAware.groovy | 1 -
.../datastore/rx/batch/BatchOperation.groovy | 1 -
.../datastore/rx/collection/RxCollection.groovy | 1 -
.../rx/collection/RxCollectionUtils.groovy | 1 -
.../rx/collection/RxPersistentList.groovy | 1 -
.../datastore/rx/collection/RxPersistentSet.groovy | 1 -
.../rx/collection/RxPersistentSortedSet.groovy | 1 -
.../exceptions/BlockingOperationException.groovy | 1 -
.../internal/RxDatastoreClientImplementor.groovy | 1 -
.../AbstractObservableProxyMethodHandler.java | 1 -
.../proxy/IdQueryObservableProxyMethodHandler.java | 1 -
.../IdentifierObservableProxyMethodHandler.java | 1 -
.../grails/datastore/rx/proxy/ProxyFactory.java | 1 -
.../proxy/QueryObservableProxyMethodHandler.java | 1 -
.../rx/proxy/RxJavassistProxyFactory.java | 1 -
.../grails/datastore/rx/query/QueryState.groovy | 12 +-
.../org/grails/datastore/rx/query/RxQuery.groovy | 1 -
.../grails/datastore/rx/query/RxQueryUtils.groovy | 1 -
.../datastore/rx/query/event/PostQueryEvent.groovy | 1 -
.../org/grails/gorm/rx/api/RxGormEnhancer.groovy | 5 +-
.../grails/gorm/rx/api/RxGormInstanceApi.groovy | 1 -
.../org/grails/gorm/rx/api/RxGormStaticApi.groovy | 1 -
.../grails/gorm/rx/api/RxGormValidationApi.groovy | 1 -
.../TenantDelegatingRxGormOperations.groovy | 1 -
.../org/grails/gorm/rx/config/Settings.groovy | 1 -
.../rx/events/AutoTimestampEventListener.groovy | 1 -
.../gorm/rx/events/DomainEventListener.groovy | 1 -
.../gorm/rx/events/MultiTenantEventListener.groovy | 3 +-
.../gorm/rx/events/ValidationEventListener.groovy | 1 -
.../grails/gorm/rx/finders/CountByFinder.groovy | 1 -
.../grails/gorm/rx/finders/FindAllByFinder.groovy | 1 -
.../org/grails/gorm/rx/finders/FindByFinder.groovy | 1 -
.../gorm/rx/finders/FindOrCreateByFinder.groovy | 4 +-
.../implementers/ObservableResultAdapter.groovy | 15 +-
.../ObservableServiceImplementerAdapter.groovy | 1 -
.../implementers/SingleResultAdapter.groovy | 15 +-
.../rx/services/support/RxServiceSupport.groovy | 1 -
.../org/grails/gorm/rx/transform/RxAstUtils.groovy | 1 -
.../rx/transform/RxScheduleIOTransformation.groovy | 31 +-
.../datastore/rx/query/QueryStateSpec.groovy | 30 ++
.../grails/gorm/rx/api/RxGormEnhancerSpec.groovy | 29 ++
.../rx/events/MultiTenantEventListenerSpec.groovy | 1 +
.../rx/finders/FindOrCreateByFinderSpec.groovy | 25 +-
.../ObservableResultAdapterSpec.groovy | 46 +++
.../implementers/SingleResultAdapterSpec.groovy | 46 +++
.../rx/transform/RxScheduleTransformSpec.groovy | 24 ++
settings.gradle | 5 +-
66 files changed, 450 insertions(+), 287 deletions(-)