This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch feat/forge-grails-composite
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from acb868664a Poll status before failing the start in the hidden-details
spec
add 1b259afe51 Restore Forge compatibility after the Grails conversion
add c8979d5cdc Poll status before failing the start in the hidden-details
spec
add cb1f659bd0 Hibernate 7: support sqlProjection and sqlGroupProjection
in criteria queries
add b166f57ef8 Address review feedback on Hibernate 7 SQL projections
add bfef86ab26 Address second review on Hibernate 7 SQL projections
add dcd19bc8a0 Match backquoted and bracketed group by aliases regardless
of case
add 0e8fd03e56 Merge pull request #16548 from
gustavoharff/feat/hibernate7-sql-projection
add c8498b2740 Merge branch '8.0.x' into 8.1.x
add 73c234f26e Keep StartupProgressSpec off ports held on the loopback
address
add bfa709384d Hibernate 7: name nested composite foreign key columns in
the referenced key's order (#16539)
add c424313499 Hibernate 7: unique groups on enum and collection
properties (#16533)
add 57582ce032 Use the Grails Develocity access key for the remote build
cache
add 4b9a585205 Merge pull request #16613 from
clayburn/ci/develocity-cache-access-key
add 92cb18fd46 Cache the Gradle User Home through setup-gradle instead of
actions/cache
add 5a6bf2a9ad Merge pull request #16618 from
apache/ci/gradle-enhanced-cache
add 7f2c45a767 Merge branch '8.0.x' into 8.1.x
add 36d314efca Give StartupProgressSpec requests the time a slow CI runner
needs
add 8237828397 Build with Gradle 9.8.1
add 093d11297e Merge pull request #16623 from jdaugherty/deps/gradle-9.8.1
add e57bd1359a fix: preserve configuration snapshots when merging profile
metadata
add 0aa7bf735f fix: support YAML profile expressions and multiple active
profiles
add d6fd8ac1ee fix: handle blank YAML selectors and clarify Groovy profile
semantics
add a643247dd2 fix: evaluate sequence-valued YAML profile selectors
add b92b61d8df fix: remove selected YAML profile selectors before Boot
evaluates them
add 3ec69de7a2 Merge pull request #16547 from
jdaugherty/fix/15840-config-merge-7.0.x
add c965fc4baa Build with Gradle 8.14.6
add dd59549883 Merge pull request #16622 from jdaugherty/deps/gradle-8.14.6
add 84f222b74d Merge branch '7.0.x' into 7.1.x
add 93bc170840 Merge branch '7.1.x' into 7.2.x
add b281fe6abf Merge branch '7.2.x' into 8.0.x
add 9fc21da6b2 Merge branch '8.0.x' into 8.1.x
add 967cb319c5 Merge branch '8.1.x' into feat/forge-grails-composite
No new revisions were added by this update.
Summary of changes:
.agents/skills/gradle-developer/SKILL.md | 22 +-
.../groovy-snapshot-canary-build.init.gradle | 3 +-
.github/workflows/benchmark.yml | 10 +-
.github/workflows/build-health.yml | 15 +-
.github/workflows/codeanalysis.yml | 10 +-
.github/workflows/codestyle.yml | 15 +-
.github/workflows/coverage.yml | 10 +-
.github/workflows/end-to-end.yml | 17 +-
.github/workflows/forge-deploy-aws.yml | 4 +-
.github/workflows/gradle.yml | 385 +++------------
.github/workflows/groovy-snapshot-canary.yml | 37 +-
.github/workflows/rat.yml | 5 +-
.github/workflows/release-publish-docs.yml | 5 +-
.github/workflows/release.yml | 12 +-
.github/workflows/sitemesh2.yml | 10 +-
.github/workflows/validate-actions.yml | 5 +-
.github/workflows/vulnerability-scan.yml | 8 +-
.sdkmanrc | 2 +-
RELEASE.md | 6 +-
build-logic/gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
.../gradle/wrapper/gradle-wrapper.properties | 2 +-
.../grails/buildsrc/GrailsCodeStylePlugin.groovy | 2 +-
.../buildsrc/WriteGrailsVersionInfoTask.groovy | 10 +-
.../GrailsGroovyExtensionTransformer.groovy | 13 +-
.../GrailsGroovyExtensionTransformerSpec.groovy | 125 +++++
build-logic/settings.gradle | 4 +-
end-to-end/README.md | 2 +-
end-to-end/gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
.../gradle/wrapper/gradle-wrapper.properties | 2 +-
end-to-end/legacy-g7-command-plugin/.sdkmanrc | 4 +-
.../gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
.../gradle/wrapper/gradle-wrapper.properties | 2 +-
.../legacy-g7-command-plugin/settings.gradle | 4 +-
end-to-end/settings.gradle | 4 +-
gradle.properties | 2 +-
gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
gradle/wrapper/gradle-wrapper.properties | 2 +-
.../groovy/org/grails/config/NavigableMap.groovy | 49 --
.../groovy/grails/config/NavigableMapSpec.groovy | 21 +
.../grails/config/SpringProfileExcludeSpec.groovy | 173 -------
.../config/yaml/YamlPropertySourceLoader.java | 66 ++-
.../grails/boot/GrailsAppYamlProfileSpec.groovy | 100 ++++
.../config/PropertySourcesConfigReloadSpec.groovy | 220 +++++++++
.../config/YamlPropertySourceLoaderSpec.groovy | 23 +
.../org/grails/config/YamlSpringProfileSpec.groovy | 463 +++++++++++++++++++
.../GroovyConfigPropertySourceLoaderSpec.groovy | 50 ++
.../grails/orm/HibernateCriteriaBuilder.java | 113 +++++
.../CompositeIdentifierToManyToOneBinder.java | 95 +++-
.../cfg/domainbinding/binder/EnumTypeBinder.java | 20 +
.../domainbinding/binder/GrailsDomainBinder.java | 1 +
.../domainbinding/binder/GrailsPropertyBinder.java | 5 +-
.../hibernate/GrailsHibernatePersistentEntity.java | 59 ++-
.../hibernate/HibernateToManyProperty.java | 15 +
.../secondpass/BidirectionalOneToManyLinker.java | 11 +-
.../secondpass/CompositeForeignKeySecondPass.java | 67 +++
.../cfg/domainbinding/util/CreateKeyForProps.java | 8 +
.../util/PropertyFromValueCreator.java | 18 +-
.../query/GrailsSqlProjectionFunction.java | 99 ++++
...=> GrailsSqlProjectionFunctionContributor.java} | 10 +-
.../query/GrailsSqlRestrictionFunction.java | 2 +-
.../hibernate/query/JpaCriteriaQueryCreator.java | 53 ++-
.../orm/hibernate/query/JpaProjectionAdapter.java | 11 +-
.../hibernate/query/JpaProjectionTranslator.java | 73 +++
.../orm/hibernate/query/JpaQueryContext.java | 24 +
.../orm/hibernate/query/PredicateGenerator.java | 21 +-
.../orm/hibernate/query/SqlGroupProjection.java | 65 +++
.../grails/orm/hibernate/query/SqlProjection.java | 275 +++++++++++
.../grails/orm/hibernate/query/SqlRestriction.java | 4 +-
.../org.hibernate.boot.model.FunctionContributor | 1 +
.../gorm/tests/SqlProjectionHibernate7Spec.groovy | 214 +++++++++
.../tests/UniqueGroupEnumAndCollectionSpec.groovy | 302 ++++++++++++
.../JpaCriteriaQueryCreatorSpec.groovy | 94 ++++
.../JpaProjectionTranslatorSpec.groovy | 67 +++
...ibernateCriteriaBuilderSqlProjectionSpec.groovy | 514 +++++++++++++++++++++
.../cfg/domainbinding/CollectionBinderSpec.groovy | 2 +-
...CompositeIdentifierToManyToOneBinderSpec.groovy | 86 +++-
.../cfg/domainbinding/CreateKeyForPropsSpec.groovy | 77 +++
.../cfg/domainbinding/EnumTypeBinderSpec.groovy | 20 +
.../domainbinding/GrailsPropertyBinderSpec.groovy | 1 +
.../PropertyFromValueCreatorSpec.groovy | 32 ++
.../CompositeForeignKeyColumnTypesSpec.groovy | 422 +++++++++++++++++
...CompositeForeignKeyRegistrationOrderSpec.groovy | 225 +++++++++
.../domainbinding/binder/ForeignKeyPairs.groovy | 55 +++
...verseHasManyCompositeIdentifierOrderSpec.groovy | 109 +++++
.../BidirectionalOneToManyLinkerSpec.groovy | 4 +
.../secondpass/CollectionKeyBinderSpec.groovy | 2 +-
.../secondpass/ListSecondPassBinderSpec.groovy | 2 +-
.../secondpass/MapSecondPassBinderSpec.groovy | 2 +-
.../query/JpaProjectionAdapterSpec.groovy | 39 ++
.../orm/hibernate/query/JpaQueryContextSpec.groovy | 26 ++
.../orm/hibernate/query/SqlProjectionSpec.groovy | 118 +++++
.../docs/src/docs/asciidoc/querying/criteria.adoc | 64 +++
grails-doc/src/en/guide/conf/config.adoc | 31 ++
.../theWebLayer/gsp/GSPBasics/pageDirectives.adoc | 19 +-
grails-doc/src/en/guide/toc.yml | 1 +
.../src/en/guide/upgrading/upgrading81x.adoc | 34 ++
grails-forge/README.md | 5 +-
grails-forge/gradle.properties | 1 -
grails-forge/gradle/test-config.gradle | 2 +-
grails-forge/gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
.../gradle/wrapper/gradle-wrapper.properties | 2 +-
grails-forge/grails-forge-cli/build.gradle | 1 -
.../init/org/grails/forge/cli/Application.groovy | 1 +
.../org/grails/forge/cli/ApplicationSpec.groovy | 54 ++-
.../org/grails/forge/cli/ForgeCliSpec.groovy | 25 +-
.../forge/cli/command/CodeGenCommandSpec.groovy | 7 +-
.../gradle/templates/gradleWrapperProperties.gsp | 2 +-
.../views/forge/template/api/grailsForgeApi.gsp | 3 +
.../grails/forge/application/ContextFactory.groovy | 21 +-
.../grails/forge/feature/database/MongoSync.groovy | 14 +-
.../org/grails/forge/template/ForgePages.groovy | 5 +-
.../org/grails/forge/ForgeGrailsPluginSpec.groovy | 18 +
.../forge/feature/database/MongoSyncSpec.groovy | 16 +
.../grails-app/conf/application.yml | 3 +
.../org/grails/forge/web/DiffController.groovy | 78 ++--
.../forge/web/ForgeApplicationController.groovy | 22 +-
.../org/grails/forge/web/PreviewController.groovy | 12 +-
.../forge/web/SelectOptionsController.groovy | 2 +-
.../grails/forge/web/ZipCreateController.groovy | 32 +-
.../forge/web/ForgeApiIntegrationSpec.groovy | 260 ++++++++++-
.../resources/api-test-messages_fr.properties} | 9 +-
.../org/grails/forge/api/FeatureService.groovy | 22 +-
.../forge/api/GrailsForgeConfiguration.groovy | 13 +
.../grails/forge/web/ForgeRequestSupport.groovy | 24 +-
.../forge/web/ForgeRequestSupportSpec.groovy | 30 +-
.../forge/web/GrailsForgeConfigurationSpec.groovy | 22 +
grails-forge/settings.gradle | 4 +-
grails-gradle/gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
.../gradle/wrapper/gradle-wrapper.properties | 2 +-
grails-gradle/settings.gradle | 4 +-
.../org/grails/gsp/compiler/GroovyPageParser.java | 20 +-
.../org/grails/gsp/compiler/LogicLineTrimmer.java | 7 +-
.../org/grails/gsp/GspTrimLogicLinesSpec.groovy | 72 +++
.../skeleton/gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
.../gradle/wrapper/gradle-wrapper.properties | 2 +-
.../skeleton/gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
.../gradle/wrapper/gradle-wrapper.properties | 2 +-
.../gradle/wrapper/gradle-wrapper.jar | Bin 47623 -> 48749 bytes
.../gradle/wrapper/gradle-wrapper.properties | 2 +-
.../skills/grails-8-upgrade/SKILL.md | 2 +-
.../grails/startup/StartupProgressSpec.groovy | 40 +-
.../externalconfig/ExternalConfigSpec.groovy | 31 ++
settings.gradle | 4 +-
143 files changed, 5539 insertions(+), 895 deletions(-)
create mode 100644
build-logic/plugins/src/test/groovy/org/apache/grails/forge/buildlogic/shadowjar/GrailsGroovyExtensionTransformerSpec.groovy
delete mode 100644
grails-bootstrap/src/test/groovy/grails/config/SpringProfileExcludeSpec.groovy
create mode 100644
grails-core/src/test/groovy/grails/boot/GrailsAppYamlProfileSpec.groovy
create mode 100644
grails-core/src/test/groovy/org/grails/config/PropertySourcesConfigReloadSpec.groovy
create mode 100644
grails-core/src/test/groovy/org/grails/config/YamlSpringProfileSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/secondpass/CompositeForeignKeySecondPass.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/GrailsSqlProjectionFunction.java
copy
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/{GrailsSqlRestrictionFunctionContributor.java
=> GrailsSqlProjectionFunctionContributor.java} (79%)
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/SqlGroupProjection.java
create mode 100644
grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/query/SqlProjection.java
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/SqlProjectionHibernate7Spec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/gorm/tests/UniqueGroupEnumAndCollectionSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/grails/orm/HibernateCriteriaBuilderSqlProjectionSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/CompositeForeignKeyColumnTypesSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/CompositeForeignKeyRegistrationOrderSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/ForeignKeyPairs.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/InverseHasManyCompositeIdentifierOrderSpec.groovy
create mode 100644
grails-data-hibernate7/core/src/test/groovy/org/grails/orm/hibernate/query/SqlProjectionSpec.groovy
create mode 100644 grails-doc/src/en/guide/upgrading/upgrading81x.adoc
copy grails-forge/grails-forge-web/{aws/.platform/nginx/conf.d/proxy.conf =>
src/integration-test/resources/api-test-messages_fr.properties} (79%)