This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 8472bb3b69 Merge pull request #15398 from
jamesfredley/fix/gsp-declaration-block-error
add 55b443443b fix: route auto-implemented save/delete/get through
connection-aware API
add 07fb4937af fix: route FindAndDeleteImplementer through
connection-aware API + add tests
add 6524784893 test: add DataServiceMultiDataSourceSpec and functional
test app for connection routing
add 1b5c7c1589 test: add logback.xml to functional test app
add cad5796a38 refactor: harmonize newMethodNode usage and add interface
Data Service TCK tests
add 3e742f6aab Merge branch '7.0.x' into
fix/data-service-connection-routing
add 647ffd41bb test: clean up some tests and improve readability
add 7cfae2f071 fix: use abstractMethodNode for findConnectionId to resolve
class-level @Transactional annotations
add 66fcfb85e5 test: clean up and improve readability
new 0202ae682b Merge pull request #15395 from
jamesfredley/fix/data-service-connection-routing
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:
.../DataServiceMultiDataSourceSpec.groovy | 365 ++++++++++++++++++++
.../gorm/tests/MultipleDataSourceSpec.groovy | 67 ++--
...stractDetachedCriteriaServiceImplementor.groovy | 13 +-
.../implementers/AbstractSaveImplementer.groovy | 6 +-
.../services/implementers/DeleteImplementer.groovy | 11 +-
.../implementers/FindAndDeleteImplementer.groovy | 32 +-
.../services/implementers/SaveImplementer.groovy | 19 +-
.../implementers/UpdateOneImplementer.groovy | 2 +-
.../ConnectionRoutingServiceTransformSpec.groovy | 380 +++++++++++++++++++++
.../build.gradle | 0
.../grails-app/conf/application.yml | 4 -
.../grails-app/conf/logback.xml | 0
.../grails-app/domain/example/Product.groovy} | 19 +-
.../grails-app/init/example}/Application.groovy | 2 +-
.../services/example/ProductService.groovy} | 34 +-
.../DataServiceMultiDataSourceSpec.groovy | 134 ++++++++
settings.gradle | 3 +
17 files changed, 1016 insertions(+), 75 deletions(-)
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/DataServiceMultiDataSourceSpec.groovy
create mode 100644
grails-datamapping-core/src/test/groovy/grails/gorm/services/ConnectionRoutingServiceTransformSpec.groovy
copy grails-test-examples/hibernate5/{grails-multitenant-multi-datasource =>
grails-data-service-multi-datasource}/build.gradle (100%)
copy grails-test-examples/hibernate5/{grails-multitenant-multi-datasource =>
grails-data-service-multi-datasource}/grails-app/conf/application.yml (91%)
copy grails-test-examples/hibernate5/{grails-multitenant-multi-datasource =>
grails-data-service-multi-datasource}/grails-app/conf/logback.xml (100%)
copy
grails-test-examples/hibernate5/{grails-multiple-datasources/grails-app/domain/ds2/Book.groovy
=>
grails-data-service-multi-datasource/grails-app/domain/example/Product.groovy}
(74%)
copy
grails-test-examples/hibernate5/{grails-hibernate-groovy-proxy/grails-app/init/datasources
=>
grails-data-service-multi-datasource/grails-app/init/example}/Application.groovy
(98%)
copy
grails-test-examples/hibernate5/{grails-data-service/grails-app/services/example/StudentService.groovy
=>
grails-data-service-multi-datasource/grails-app/services/example/ProductService.groovy}
(58%)
create mode 100644
grails-test-examples/hibernate5/grails-data-service-multi-datasource/src/integration-test/groovy/functionaltests/DataServiceMultiDataSourceSpec.groovy