This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 565f438322 address test flakiness
add a853ddaf6f Retime plugin doWithSpring to run before Spring Boot
auto-configuration
add de3dd940f2 Add BeanRegistrar plugin hook and deprecate the
doWithSpring bean DSL
add 12ffe36cbe Verify application bean overriding and add end-to-end early
plugin phase coverage
add eb798493ec Resolve application classes for early artefact discovery
via classes()
add 0a84ee57d8 Detect web applications without relying on the
dispatcherServlet bean
add e16f609f68 Merge branch '8.0.x' into
feat/plugin-beans-before-autoconfig
add 4a30a7deb5 Merge branch '8.0.x' into
feat/plugin-beans-before-autoconfig
add dd5ac78797 Remove the duplicate annotation handler mapping and adapter
beans
add a1a6a20379 Merge remote-tracking branch 'upstream/8.0.x' into
feat/plugin-beans-before-autoconfig
add c082a42299 Merge branch '8.0.x' into
feat/plugin-beans-before-autoconfig
add 78b225e7e8 Address review feedback on the plugin lifecycle change
add e73705204e Add test coverage for review-audit gaps
add 1af592c933 Replace the mongo OSIV integration test with a unit test of
the shared check
add d054328fe1 test(grails-data-mongodb): add unit-testable Mongo OSIV
coverage
add 193eb458ac Merge remote-tracking branch
'origin/feat/plugin-beans-before-autoconfig' into
feat/plugin-beans-before-autoconfig
add 1dea040f65 Merge remote-tracking branch 'upstream/8.0.x' into
feat/plugin-beans-before-autoconfig
add c1cb74846c Merge branch '8.0.x' into
feat/plugin-beans-before-autoconfig
add c825ffe718 Merge remote-tracking branch
'origin/feat/plugin-beans-before-autoconfig' into
feat/plugin-beans-before-autoconfig
new ef09bcd228 Merge pull request #15934 from
codeconsole/feat/plugin-beans-before-autoconfig
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:
.../web/controllers/ControllersGrailsPlugin.groovy | 10 -
.../src/main/groovy/grails/boot/GrailsApp.groovy | 35 ++
.../boot/config/ApplicationArtefactScanner.groovy | 85 +++++
.../config/GrailsApplicationPostProcessor.groovy | 117 +++++-
.../boot/config/GrailsAutoConfiguration.groovy | 21 +-
...GrailsEarlyPluginRegistrationPostProcessor.java | 301 ++++++++++++++++
.../config/GrailsPluginLifecycleInitializer.java | 40 +++
.../grails/core/DefaultGrailsApplication.java | 17 +
.../grails/core/GrailsApplicationLifeCycle.groovy | 23 +-
.../main/groovy/grails/plugins/GrailsPlugin.java | 15 +
.../src/main/groovy/grails/plugins/Plugin.groovy | 21 ++
.../org/grails/plugins/DefaultGrailsPlugin.java | 10 +
.../src/main/resources/META-INF/spring.factories | 3 +-
.../grails/boot/DevelopmentModeWatchSpec.groovy | 29 +-
.../EarlyPluginRegistrationOrderingSpec.groovy | 396 +++++++++++++++++++++
.../core/DefaultGrailsApplicationSpec.groovy | 51 +++
.../HibernateDatastoreSpringInitializer.groovy | 2 +-
.../HibernateDatastoreSpringInitializer.groovy | 2 +-
grails-data-mongodb/core/build.gradle | 6 +
.../MongoDbDataStoreSpringInitializer.groovy | 2 +-
.../bootstrap/MongoOpenSessionInViewSpec.groovy | 82 +++++
.../bootstrap/AbstractDatastoreInitializer.groovy | 24 +-
...ctDatastoreInitializerWebApplicationSpec.groovy | 65 ++++
grails-doc/src/en/guide/introduction/whatsNew.adoc | 29 ++
.../plugins/hookingIntoRuntimeConfiguration.adoc | 43 ++-
.../src/en/guide/upgrading/upgrading80x.adoc | 70 +++-
.../functionaltests/OpenSessionInViewSpec.groovy} | 43 +--
.../app3/grails-app/init/app3/Application.groovy | 15 +
.../PluginBeansBeforeAutoConfigurationSpec.groovy | 55 +++
.../functionaltests/OpenSessionInViewSpec.groovy} | 43 +--
.../issue10279/ActuatorEnvClosureSpec.groovy | 8 +
.../groovy/loadafter/LoadafterGrailsPlugin.groovy | 25 ++
32 files changed, 1566 insertions(+), 122 deletions(-)
create mode 100644
grails-core/src/main/groovy/grails/boot/config/ApplicationArtefactScanner.groovy
create mode 100644
grails-core/src/main/groovy/grails/boot/config/GrailsEarlyPluginRegistrationPostProcessor.java
create mode 100644
grails-core/src/main/groovy/grails/boot/config/GrailsPluginLifecycleInitializer.java
create mode 100644
grails-core/src/test/groovy/grails/boot/config/EarlyPluginRegistrationOrderingSpec.groovy
create mode 100644
grails-core/src/test/groovy/grails/core/DefaultGrailsApplicationSpec.groovy
create mode 100644
grails-data-mongodb/core/src/test/groovy/grails/mongodb/bootstrap/MongoOpenSessionInViewSpec.groovy
create mode 100644
grails-datamapping-core/src/test/groovy/org/grails/datastore/gorm/bootstrap/AbstractDatastoreInitializerWebApplicationSpec.groovy
copy
grails-test-examples/{mongodb/test-data-service/src/integration-test/groovy/example/TestServiceSpec.groovy
=>
app1/src/integration-test/groovy/functionaltests/OpenSessionInViewSpec.groovy}
(58%)
create mode 100644
grails-test-examples/app3/src/integration-test/groovy/app3/PluginBeansBeforeAutoConfigurationSpec.groovy
copy
grails-test-examples/{mongodb/test-data-service/src/integration-test/groovy/example/TestServiceSpec.groovy
=>
hibernate7/app1/src/integration-test/groovy/functionaltests/OpenSessionInViewSpec.groovy}
(58%)