This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from f81c133219 Merge branch '7.1.x' into 8.0.x
add 19e8479367 feat: auto-inherit datasource from domain class in @Service
data services
add c0abe45b4f Merge remote-tracking branch 'origin/7.1.x' into
feat/data-service-datasource-inheritance
add 3a664223b0 fix: address review feedback for datasource inheritance
feature
add 2c44846a76 docs: add cross-reference for datasource inheritance in
transactions guide
add a7367da5fc Merge branch '7.1.x' into
feat/data-service-datasource-inheritance
add 19205e6657 fix: generate connection-aware getTransactionManager() in
ServiceTransformation for inherited datasource services
add 38e1cd3467 Merge branch '7.1.x' into
feat/data-service-datasource-inheritance
add 1f2d09d4d3 test: isolate MongoDbDataStoreSpringInitializerSpec from
data service classpath pollution
add f8419731d4 Use Inventory.warehouse namespace syntax instead of
GormEnhancer internal API in test
add 719add4742 Merge remote-tracking branch 'origin/7.1.x' into
feat/data-service-datasource-inheritance
add 5274f5c9da fix: typo
add 6329452302 style: groovy and dry
add a847edc85d style: codenarc issues
add 5565e9a952 Merge pull request #15433 from
apache/feat/data-service-datasource-inheritance
new 175203af4e Merge pull request #15472 from apache/7.1.x
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:
.../DataServiceDatasourceInheritanceSpec.groovy | 239 +++++++++++++++++++++
.../transform/ServiceTransformation.groovy | 164 ++++++++++++++
.../ConnectionRoutingServiceTransformSpec.groovy | 216 +++++++++++++++++++
...atastoreServiceMethodInvokingFactoryBean.groovy | 84 +++++++-
.../guide/conf/dataSource/multipleDatasources.adoc | 50 ++++-
.../transactionsMultiDataSource.adoc | 2 +
.../example/InheritedProductService.groovy | 20 +-
.../DataServiceDatasourceInheritanceSpec.groovy | 112 ++++++++++
8 files changed, 870 insertions(+), 17 deletions(-)
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/DataServiceDatasourceInheritanceSpec.groovy
copy
grails-data-neo4j/examples/test-data-service/grails-app/services/example/StudentService.groovy
=>
grails-test-examples/hibernate5/grails-data-service-multi-datasource/grails-app/services/example/InheritedProductService.groovy
(73%)
create mode 100644
grails-test-examples/hibernate5/grails-data-service-multi-datasource/src/integration-test/groovy/functionaltests/DataServiceDatasourceInheritanceSpec.groovy