This is an automated email from the ASF dual-hosted git repository.
borinquenkid pushed a change to branch
fix/hibernate5-many-to-many-warning-circular-map-7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 5fddfb85fa fix(hibernate5): skip Map-valued many-to-manys in the
no-owner warning, keep skipping circular ones
add ef9fec7929 [skip tests] ci: run the MongoDB functional tests on
ubuntu-22.04 until the runner kernel stops tripping MongoDB 8.0's startup guard
new 67f27d1d70 Merge remote-tracking branch 'origin/7.0.x' into
fix/hibernate5-many-to-many-warning-circular-map-7.0.x
add 1978dab17d Restrict lookups by id to the current tenant
add 13304e6789 Convert ids and initialize withoutId proxies as the lookup
by key does
add 9d47b98435 Cover lookups by id of an entity mapped with a composite id
add 34c879e803 Return held instances of the current tenant from lookups by
id
add b36c2205f5 Stop SchemaBasedMultiTenancySpec from dropping the config
database
add e8d235330a Use the 8.0.x cleanup of SchemaBasedMultiTenancySpec
add 70743888e0 Tell withoutId apart from the tenant id DEFAULT
add 14eaf0ce23 Run without a tenant only inside Tenants.withoutId
add d1db00ec21 Merge pull request #16703 from
apache/fix/gorm-without-tenant-marker-7.0.x
add 89208a56bf Merge branch '7.0.x' into fix/multi-tenant-get-by-id
add 860f5dba9d Drop the isWithoutId feature that
PartitionedMultiTenancyWithoutIdSpec covers
add 0a22d3033f Merge pull request #16515 from
apache/fix/multi-tenant-get-by-id
add b9423fb2d1 Gate CI through one policy: draft and "no ci" pull
requests, and tests by branch and commit marker
add 74db23c3e0 Merge pull request #16673 from
apache/ci/conserve-actions-minutes
add 2ecd9284bb Read the generated build's stderr in the Forge command specs
add 5777f65fb0 Merge pull request #16697 from
jdaugherty/fix/forge-command-spec-stderr
add a474a77242 Carry null through the RxJava 3 promise factory
add 592e8d95fc Run each promise once when the RxJava 3 factory combines a
list, and complete chained promises
add 662ce4eabe Merge 7.0.x into fix/async-rxjava3-null-promise
add 1ccc1a8ec8 Feedback: - The bound branch of values() now emits
Observable.fromCallable { RxPromise.wrap(p.get()) }, so a stored failure errors
the list and a successful null is still wrapped. The javadoc says so. - Two
regressions in RxPromiseListSpec, each with a failed bound promise placed after
a task: list onError receives the failure and the aggregate get() throws it,
and list onComplete never runs its callback and its get() throws it. Both fail
against the old helper and pas [...]
add 2497f4de9c Name the factories whose list handling values() matches
add bdf3812026 Merge pull request #16690 from
jdaugherty/fix/async-rxjava3-null-promise
new db941ec102 Merge remote-tracking branch 'origin/7.0.x' into
fix/hibernate5-many-to-many-warning-circular-map-7.0.x
The 2 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:
.github/workflows/build-health.yml | 15 +
.github/workflows/ci-policy.yml | 142 ++++++++
.github/workflows/codeql.yml | 7 +
.github/workflows/codestyle.yml | 15 +
.github/workflows/gradle.yml | 108 ++++--
.github/workflows/groovy-joint-workflow.yml | 25 +-
.github/workflows/rat.yml | 7 +
.github/workflows/vulnerability-scan.yml | 6 +-
AGENTS.md | 12 +
CONTRIBUTING.md | 19 ++
RELEASE.md | 8 +
.../grails/async/factory/rxjava3/RxPromise.groovy | 47 ++-
.../async/factory/rxjava3/RxPromiseFactory.groovy | 39 ++-
.../async/factory/rxjava3/RxPromiseListSpec.groovy | 76 +++++
.../async/factory/rxjava3/RxPromiseNullSpec.groovy | 98 ++++++
.../async/factory/rxjava3/RxPromiseSpec.groovy | 16 +-
.../orm/hibernate/AbstractHibernateDatastore.java | 103 +++++-
.../AbstractHibernateGormStaticApi.groovy | 5 +
.../grails/orm/hibernate/HibernateDatastore.java | 17 +
.../orm/hibernate/cfg/GrailsDomainBinder.java | 10 +-
.../MultiTenantCollectionEventListener.java | 60 ++++
.../multitenancy/MultiTenantEventListener.java | 15 +-
.../query/AbstractHibernateCriteriaBuilder.java | 8 +-
.../PartitionedMultiTenancyFilterSpec.groovy | 322 ++++++++++++++++++
...PartitionedMultiTenancyResolverQuerySpec.groovy | 180 ++++++++++
.../PartitionedMultiTenancyWithoutIdSpec.groovy | 230 +++++++++++++
.../multiTenancy/discriminatorMultiTenancy.adoc | 17 +
.../connections/SchemaBasedMultiTenancySpec.groovy | 15 +-
.../MongoLookupByIdMultiTenancySpec.groovy | 348 +++++++++++++++++++
.../asciidoc/multiTenancy/multiTenancyModes.adoc | 12 +
.../PartitionedMultiTenancyNullTenantSpec.groovy | 100 ++++++
.../partitioned/PartitionedLookupByIdSpec.groovy | 367 +++++++++++++++++++++
.../PartitionedMultiTenancyWithoutIdSpec.groovy | 189 +++++++++++
.../groovy/grails/gorm/multitenancy/Tenants.groovy | 173 ++++++----
.../org/grails/datastore/gorm/GormStaticApi.groovy | 255 +++++++++++++-
.../multitenancy/MultiTenantEventListener.java | 3 +-
.../gorm/services/DefaultTenantService.groovy | 2 +-
.../src/en/guide/upgrading/upgrading60x.adoc | 22 ++
.../groovy/org/grails/forge/cli/CommandSpec.groovy | 8 +
.../forge/cli/CommandSpecBuildFailureSpec.groovy | 60 ++++
40 files changed, 3012 insertions(+), 149 deletions(-)
create mode 100644 .github/workflows/ci-policy.yml
create mode 100644
grails-async/rxjava3/src/test/groovy/org/grails/async/factory/rxjava3/RxPromiseNullSpec.groovy
create mode 100644
grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/multitenancy/MultiTenantCollectionEventListener.java
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyFilterSpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyResolverQuerySpec.groovy
create mode 100644
grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/PartitionedMultiTenancyWithoutIdSpec.groovy
create mode 100644
grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/multitenancy/MongoLookupByIdMultiTenancySpec.groovy
create mode 100644
grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/nulltenant/PartitionedMultiTenancyNullTenantSpec.groovy
create mode 100644
grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/partitioned/PartitionedLookupByIdSpec.groovy
create mode 100644
grails-datamapping-core-test/src/test/groovy/grails/gorm/multitenancy/withoutid/PartitionedMultiTenancyWithoutIdSpec.groovy
create mode 100644
grails-forge/grails-forge-cli/src/test/groovy/org/grails/forge/cli/CommandSpecBuildFailureSpec.groovy