You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/08/21 21:51:06 UTC
(grails-core) branch more-url-cleanup-2 created (now 916b9595f6)
This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a change to branch more-url-cleanup-2
in repository https://gitbox.apache.org/repos/asf/grails-core.git
at 916b9595f6 Update documentation and links to new GitHub and docs URLs
This branch includes the following new commits:
new 916b9595f6 Update documentation and links to new GitHub and docs URLs
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.
(grails-core) 01/01: Update documentation and links to new GitHub and docs URLs
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch more-url-cleanup-2
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 916b9595f69678bf2cfebbffec9d496cc817446d
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Thu Aug 21 17:50:49 2025 -0400
Update documentation and links to new GitHub and docs URLs
Updated various documentation files, code comments, and plugin metadata to reference the new Apache GitHub repository and the latest Grails documentation URLs. This includes replacing old grails/grails-data-mapping and gorm.grails.org links with apache/grails-core and docs.grails.org equivalents, as well as updating references in test comments and plugin descriptors.
---
CONTRIBUTING.md | 8 ++++----
.../src/main/resources/index.html | 8 ++++----
.../src/main/docs/gettingStarted.adoc | 20 ++++++++----------
.../guide-developer/src/main/docs/stepByStep.adoc | 4 ++--
.../src/main/docs/gettingStarted/CRUD.adoc | 2 +-
.../guide-rx/src/main/docs/introduction.adoc | 2 +-
.../src/main/docs/querying/dynamicFinders.adoc | 2 +-
.../guide-rx/src/main/docs/querying/index.adoc | 8 ++++----
.../src/main/docs/querying/whereQueries.adoc | 2 +-
.../guide-whats-new/src/main/docs/index.adoc | 2 +-
.../guide/customizations/responseHandlers.adoc | 4 ++--
.../docs/src/main/docs/guide/gettingStarted.adoc | 6 +++---
.../grails/test/app/TagIntegrationSpec.groovy | 2 +-
grails-data-graphql/gradle.properties | 2 +-
.../graphql/plugin/GormGraphqlGrailsPlugin.groovy | 6 +++---
grails-data-hibernate5/README.md | 12 +++++------
.../CascadeToBidirectionalAsssociationSpec.groovy | 2 +-
.../CompositeIdWithManyToOneAndSequenceSpec.groovy | 2 +-
.../gorm/tests/CountByWithEmbeddedSpec.groovy | 2 +-
.../grails/gorm/tests/DeleteAllWhereSpec.groovy | 2 +-
.../DetachedCriteriaProjectionAliasSpec.groovy | 4 ++--
.../tests/DetachedCriteriaProjectionSpec.groovy | 2 +-
.../tests/MultiColumnUniqueConstraintSpec.groovy | 2 +-
.../grails/gorm/tests/NullableAndLengthSpec.groovy | 2 +-
.../SaveWithExistingValidationErrorSpec.groovy | 2 +-
.../groovy/grails/gorm/tests/SchemaNameSpec.groovy | 2 +-
.../grails/gorm/tests/SizeConstraintSpec.groovy | 2 +-
.../SubclassMultipleListCollectionSpec.groovy | 2 +-
.../tests/UniqueWithMultipleDataSourcesSpec.groovy | 2 +-
.../tests/WhereQueryWithAssociationSortSpec.groovy | 2 +-
...WithNewSessionAndExistingTransactionSpec.groovy | 4 ++--
.../tests/compositeid/CompositeIdCriteria.groovy | 4 ++--
.../CompositeIdWithDeepOneToManyMappingSpec.groovy | 2 +-
.../GlobalConstraintWithCompositeIdSpec.groovy | 4 ++--
.../HibernateDirtyCheckingSpec.groovy | 2 +-
.../tests/dirtychecking/PropertyFieldSpec.groovy | 2 +-
.../tests/hasmany/HasManyWithInQuerySpec.groovy | 2 +-
.../hasmany/TwoUnidirectionalHasManySpec.groovy | 4 ++--
.../TablePerConcreteClassAndDateCreatedSpec.groovy | 2 +-
.../TablePerConcreteClassImportedSpec.groovy | 2 +-
.../tests/mappedby/MultipleOneToOneSpec.groovy | 2 +-
.../MultiTenancyBidirectionalManyToManySpec.groovy | 2 +-
.../MultiTenancyUnidirectionalOneToManySpec.groovy | 2 +-
.../gorm/tests/services/DataServiceSpec.groovy | 2 +-
.../gorm/tests/traits/InterfacePropertySpec.groovy | 2 +-
.../gorm/tests/txs/CustomIsolationLevelSpec.groovy | 2 +-
.../tests/txs/TransactionPropagationSpec.groovy | 2 +-
.../grails/gorm/tests/uuid/UuidInsertSpec.groovy | 2 +-
.../tests/validation/CascadeValidationSpec.groovy | 2 +-
.../tests/validation/DeepValidationSpec.groovy | 2 +-
.../EmbeddedWithValidationExceptionSpec.groovy | 2 +-
.../validation/SaveWithInvalidEntitySpec.groovy | 4 ++--
.../validation/UniqueFalseConstraintSpec.groovy | 2 +-
.../tests/validation/UniqueInheritanceSpec.groovy | 2 +-
.../tests/validation/UniqueWithHasOneSpec.groovy | 2 +-
.../tests/validation/UniqueWithinGroupSpec.groovy | 2 +-
.../orm/hibernate/DefaultConstraintsSpec.groovy | 2 +-
.../MultipleDataSourcesWithEventsSpec.groovy | 2 +-
.../DatabaseMigrationGrailsPlugin.groovy | 4 ++--
.../docs/src/docs/asciidoc/introduction.adoc | 2 +-
.../docs/asciidoc/introduction/releaseHistory.adoc | 2 +-
.../docs/src/docs/asciidoc/learningMore.adoc | 2 +-
.../asciidoc/multiTenancy/databasePerTenant.adoc | 2 +-
.../plugin/hibernate/HibernateGrailsPlugin.groovy | 6 +++---
grails-data-mongodb/README.md | 15 +++++---------
.../CircularBidirectionalOneToManySpec.groovy | 2 +-
.../gorm/mongo/CircularOneToManySpec.groovy | 2 +-
.../datastore/gorm/mongo/CustomIdProxySpec.groovy | 2 +-
.../datastore/gorm/mongo/EmbeddedMapSpec.groovy | 2 +-
.../datastore/gorm/mongo/EmbeddedUnsetSpec.groovy | 2 +-
.../mongo/EventsWithAbstractInheritanceSpec.groovy | 2 +-
.../datastore/gorm/mongo/InListQuerySpec.groovy | 2 +-
.../datastore/gorm/mongo/SetRetrievalSpec.groovy | 2 +-
.../datastore/gorm/mongo/WriteConcernSpec.groovy | 2 +-
.../mongo/java/MongoResultListJavaForEachTest.java | 2 +-
.../docs/asciidoc/introduction/compatibility.adoc | 2 +-
.../src/docs/asciidoc/querying/queryingBasics.adoc | 2 +-
.../plugins/mongodb/MongodbGrailsPlugin.groovy | 8 ++++----
grails-data-neo4j/README.md | 2 +-
grails-data-neo4j/build.gradle | 6 +++---
.../grails-app/views/layouts/main.gsp | 2 +-
.../grails-app/views/layouts/main.gsp | 2 +-
.../grails/gorm/tests/LabelStrategySpec.groovy | 2 +-
.../grails/gorm/tests/OneToManyUpdateSpec.groovy | 4 ++--
.../grails/gorm/tests/OrphanDeleteSpec.groovy | 2 +-
.../groovy/grails/gorm/tests/SchemalessSpec.groovy | 2 +-
.../groovy/grails/gorm/tests/TransientsSpec.groovy | 2 +-
.../grails/gorm/tests/UniqueConstraintSpec.groovy | 2 +-
.../datastore/gorm/neo4j/Neo4jGrailsPlugin.groovy | 6 +++---
.../grails/gorm/services/ServiceImplSpec.groovy | 2 +-
.../grails/gorm/tests/CircularCascadeSpec.groovy | 4 ++--
.../DetachedCriteriaAssociationQuerySpec.groovy | 2 +-
.../grails/gorm/tests/SingleResultSpec.groovy | 2 +-
.../grails/gorm/tests/WhereMethodSpec.groovy | 2 +-
...hNoEntityAndGlobalNullableConstraintSpec.groovy | 2 +-
.../datastore/gorm/FindByDomainInListSpec.groovy | 2 +-
.../datastore/gorm/GormDirtyCheckingSpec.groovy | 2 +-
.../gorm/InOperatorWithAssociationsSpec.groovy | 2 +-
.../grails/datastore/gorm/MappedByNoneSpec.groovy | 2 +-
.../transactions/TransactionalTransformSpec.groovy | 6 +++---
.../checking/DirtyCheckTransformationSpec.groovy | 10 ++++-----
.../gorm/validation/constraints/UrlConstraint.java | 2 +-
.../PersistentEntityValidatorSpec.groovy | 14 ++++++-------
.../cascade/NoDuplicateCascadeSpec.groovy | 2 +-
.../dirty/checking/DirtyCheckableSpec.groovy | 2 +-
grails-doc/src/en/guide/cache/cacheUsage.adoc | 2 +-
.../plugins/artefactApi/queryingArtefacts.adoc | 2 +-
grails-doc/src/en/guide/profiles.adoc | 2 +-
grails-doc/src/en/ref/Tags - Fields/display.adoc | 2 +-
grails-doc/src/en/ref/Tags - Fields/table.adoc | 2 +-
.../plugin/formfields/FormFieldsTagLib.groovy | 4 ++--
.../formfields/AssociationTypeTemplatesSpec.groovy | 2 +-
.../formfields/CommandPropertyAccessorSpec.groovy | 4 ++--
.../DefaultInputRenderingPersistentSpec.groovy | 14 ++++++-------
.../formfields/DefaultInputRenderingSpec.groovy | 14 ++++++-------
.../plugin/formfields/DerivedPropertySpec.groovy | 2 +-
.../DomainClassPropertyAccessorSpec.groovy | 10 ++++-----
.../FormFieldsTemplateServiceSpec.groovy | 24 +++++++++++-----------
.../formfields/TemplateLookupCachingSpec.groovy | 2 +-
.../plugin/formfields/TransientPropertySpec.groovy | 2 +-
.../plugin/formfields/taglib/AllTagSpec.groovy | 6 +++---
...ributesOfWithAndAllTagsArePropagatedSpec.groovy | 2 +-
.../plugin/formfields/taglib/DisplayTagSpec.groovy | 10 ++++-----
.../taglib/EmbeddedPropertiesSpec.groovy | 2 +-
.../formfields/taglib/ExtraAttributesSpec.groovy | 6 +++---
.../formfields/taglib/FieldNamePrefixSpec.groovy | 2 +-
.../formfields/taglib/FieldTagWithBodySpec.groovy | 6 +++---
.../taglib/FieldTagWithoutBeanSpec.groovy | 2 +-
.../plugin/formfields/taglib/TableSpec.groovy | 20 +++++++++---------
.../formfields/taglib/TemplateModelSpec.groovy | 18 ++++++++--------
.../plugin/formfields/taglib/WithTagSpec.groovy | 2 +-
.../grails/forge/feature/database/MongoGorm.java | 2 +-
.../forge/feature/grails/GrailsWebConsole.java | 2 +-
.../org/grails/forge/feature/view/Scaffolding.java | 4 ++--
.../forge/template/api/grailsForgeApi.rocker.raw | 2 +-
grails-geb/README.md | 2 +-
.../src/main/resources/grails/doc/doc.properties | 6 +++---
grails-gsp/core/README.md | 4 ++--
.../gsp/GroovyPagesTemplateEngineTests.groovy | 2 +-
.../gsp/jsp/GroovyPageWithJSPTagsTests.groovy | 6 +++---
.../org/grails/web/taglib/FormatTagLibTests.groovy | 2 +-
grails-gsp/spring-boot/README.md | 2 +-
...ls.codegen.projectClassName@GrailsPlugin.groovy | 2 +-
grails-profiles/plugin/templates/Plugin.groovy | 2 +-
...ls.codegen.projectClassName@GrailsPlugin.groovy | 2 +-
.../rest/render/DefaultRendererRegistrySpec.groovy | 12 +++++------
.../scaffolding/ScaffoldingGrailsPlugin.groovy | 2 +-
.../app1/grails-app/views/layouts/main.gsp | 2 +-
.../app2/grails-app/views/layouts/main.gsp | 2 +-
.../app3/grails-app/views/layouts/main.gsp | 2 +-
.../groovy/com/demo/MaxCapacityCacheSpec.groovy | 2 +-
.../groovy/example/ServiceInjectionSpec.groovy | 2 +-
.../grails-app/views/layouts/main.gsp | 2 +-
.../grails-app/views/layouts/main.gsp | 2 +-
.../grails-app/views/layouts/main.gsp | 2 +-
.../grails-app/views/layouts/main.gsp | 2 +-
.../hyphenated/grails-app/views/layouts/main.gsp | 2 +-
.../mongodb/base/grails-app/views/layouts/main.gsp | 2 +-
.../grails-app/views/layouts/main.gsp | 2 +-
.../grails-app/views/layouts/main.gsp | 2 +-
.../hibernate5/grails-app/views/layouts/main.gsp | 2 +-
.../namespaces/grails-app/views/layouts/main.gsp | 2 +-
.../issue11005/Issue11005GrailsPlugin.groovy | 2 +-
.../loadfirst/grails-app/views/layouts/main.gsp | 2 +-
.../groovy/loadfirst/LoadfirstGrailsPlugin.groovy | 2 +-
.../loadsecond/grails-app/views/layouts/main.gsp | 2 +-
.../loadsecond/LoadsecondGrailsPlugin.groovy | 2 +-
...esViewsFunctionalTestsPluginGrailsPlugin.groovy | 2 +-
.../grails-app/views/layouts/main.gsp | 2 +-
.../groovy/functional/tests/BulletinSpec.groovy | 2 +-
.../groovy/functional/tests/EmbeddedSpec.groovy | 4 ++--
.../functional/tests/PersonInheritanceSpec.groovy | 2 +-
.../functional/tests/TestControllerSpec.groovy | 2 +-
.../functional/tests/api/NamespacedBookSpec.groovy | 2 +-
.../plugin/json/view/JsonViewGrailsPlugin.groovy | 6 +++---
.../json/view/EmbeddedAssociationsSpec.groovy | 4 ++--
.../json/view/JsonViewTemplateResolverSpec.groovy | 2 +-
.../plugin/json/view/PogoDeepRenderingSpec.groovy | 2 +-
.../markup/view/MarkupViewGrailsPlugin.groovy | 6 +++---
179 files changed, 312 insertions(+), 323 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d148220531..502f79f769 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -136,7 +136,7 @@ Enhancement suggestions are tracked as [GitHub issues](https://github.com/apache
#### Environment Setup
##### 1. Forking the Code
-One of the benefits of [GitHub](http://github.com) is the way that you can easily contribute to a project by [forking the repository](https://help.github.com/articles/fork-a-repo/) and [sending pull requests](https://help.github.com/articles/creating-a-pull-request/) with your changes. Please see GitHub's guides on how to create a fork and submit that fork. For easier illustration, the remainder of this document will use the `grails` repositories, but when working locally you should us [...]
+One of the benefits of [GitHub](https://github.com) is the way that you can easily contribute to a project by [forking the repository](https://help.github.com/articles/fork-a-repo/) and [sending pull requests](https://help.github.com/articles/creating-a-pull-request/) with your changes. Please see GitHub's guides on how to create a fork and submit that fork. For easier illustration, the remainder of this document will use the `grails` repositories, but when working locally you should u [...]
##### 2. Tool Setup
@@ -148,10 +148,10 @@ If you're interested in contributing fixes and features to any part of grails, y
* A container runtime
Once you have the pre-requisite packages installed, the next step is to download the Apache Grails source code, which is
-hosted at [GitHub](http://github.com/apache/grails-core). This is a simple case of cloning the repository you're
+hosted at [GitHub](https://github.com/apache/grails-core). This is a simple case of cloning the repository you're
interested in. For example, to get the core framework run:
- git clone http://github.com/apache/grails-core.git
+ git clone https://github.com/apache/grails-core.git
This will create a `grails-core` directory in your current working directory containing all the project source files.
The next step is setting up the JDK to use. Grails makes use of [SDKMAN!](https://sdkman.io/) for easy JDK setup. Each
@@ -202,7 +202,7 @@ There are many aspects to [Grail's documentation](https://docs.grails.org/)
<!-- omit in toc -->
#### <u>Improving the User Guide</u>
-The user guide is written using [Asciidoctor](http://asciidoctor.org/docs/user-manual/). The simplest way to contribute fixes is to simply click on the "Improve this doc" link that is to the right of each section of the documentation.
+The user guide is written using [Asciidoctor](https://asciidoctor.org/docs/user-manual/). The simplest way to contribute fixes is to simply click on the "Improve this doc" link that is to the right of each section of the documentation.
This will link to the GitHub edit screen where you can make changes, preview them and create a pull request.
diff --git a/grails-data-docs/data-mapping-website/src/main/resources/index.html b/grails-data-docs/data-mapping-website/src/main/resources/index.html
index 9f72f5ad7a..ac26b53d02 100644
--- a/grails-data-docs/data-mapping-website/src/main/resources/index.html
+++ b/grails-data-docs/data-mapping-website/src/main/resources/index.html
@@ -67,7 +67,7 @@
<a href='hibernate5/manual/index.html'>Documentation</a>
</li>
<li>
- <a href='hibernate5/api/index.html'>API</a>
+ <a href='../api/'>API</a>
</li>
<li>
<a href='https://github.com/apache/grails-core'>Source</a>
@@ -89,7 +89,7 @@
<a href='mongodb/manual/index.html'>Documentation</a>
</li>
<li>
- <a href='mongodb/api/index.html'>API</a>
+ <a href='../api/'>API</a>
</li>
<li>
<a href='https://github.com/apache/grails-core'>Source</a>
@@ -139,10 +139,10 @@
<nav class='partnersnav'>
<ul>
<li>GORM's sources are available at
- <a href='https://github.com/grails/grails-core'>Github</a>
+ <a href='https://github.com/apache/grails-core'>Github</a>
</li>
<li>GORM's repositories are hosted by
- <a href='http://artifactoryonline.com/'>Artifactory</a>
+ <a href='https://central.sonatype.com/'>Maven Central</a>
</li>
<li>GORM is Open Source
<a href='https://www.apache.org/licenses/LICENSE-2.0.html'>Apache 2 License</a>
diff --git a/grails-data-docs/guide-developer/src/main/docs/gettingStarted.adoc b/grails-data-docs/guide-developer/src/main/docs/gettingStarted.adoc
index d481daa477..8b57c9eab5 100644
--- a/grails-data-docs/guide-developer/src/main/docs/gettingStarted.adoc
+++ b/grails-data-docs/guide-developer/src/main/docs/gettingStarted.adoc
@@ -21,13 +21,13 @@ under the License.
=== Checking out and Building
-The project is https://github.com/grails/grails-data-mapping[hosted on GitHub].
+The project is https://github.com/apache/grails-core[hosted on GitHub].
You are free to fork the project from there or clone it anonymously using git:
----
-git clone https://github.com/grails/grails-data-mapping.git
-cd grails-data-mapping
+git clone https://github.com/apache/grails-core.git
+cd grails-core
----
The project has a https://gradle.org[Gradle] build.
@@ -41,7 +41,7 @@ To build the project you can run the `assemble` task:
To install the jar files for the various subprojects into your local Maven repository you can run:
----
-cd grails-gradle && ./gradlew publishToMavenLocal && cd - && ./gradlew publishToMavenLocal
+./gradlew publishToMavenLocal
----
=== Project Structure
@@ -56,11 +56,7 @@ The project is essentially a multi-project Gradle build. There is a core API and
In addition to this, there are separate projects of GORM implementations for various datastores:
-* https://github.com/grails/gorm-hibernate4[GORM for Hibernate 4]
-* https://github.com/grails/gorm-hibernate5[GORM for Hibernate 5]
-* https://github.com/grails/gorm-mongodb[GORM for MongoDB]
-* https://github.com/grails/gorm-neo4j[GORM for Neo4j]
-* https://github.com/grails/gorm-redis[GORM for Redis]
-* https://github.com/grails/gorm-cassandra[GORM for Cassandra]
-
-
+* https://github.com/apache/grails-core/tree/HEAD/grails-data-hibernate5[GORM for Hibernate 5]
+* https://github.com/apache/grails-core/tree/HEAD/grails-data-mongodb[GORM for MongoDB]
+* https://github.com/apache/grails-core/tree/HEAD/grails-data-neo4j[GORM for Neo4j]
+* https://github.com/apache/grails-core/tree/HEAD/grails-data-graphql[GORM for GraphQL]
diff --git a/grails-data-docs/guide-developer/src/main/docs/stepByStep.adoc b/grails-data-docs/guide-developer/src/main/docs/stepByStep.adoc
index 0366c41882..38902dc483 100644
--- a/grails-data-docs/guide-developer/src/main/docs/stepByStep.adoc
+++ b/grails-data-docs/guide-developer/src/main/docs/stepByStep.adoc
@@ -27,8 +27,8 @@ To get started with a new GORM implementation, the following steps are required:
----
-git clone https://github.com/grails/grails-data-mapping.git
-cd grails-data-mapping
+git clone https://github.com/apache/grails-core
+cd grails-core
mkdir grails-datastore-gorm-xyz
----
diff --git a/grails-data-docs/guide-rx/src/main/docs/gettingStarted/CRUD.adoc b/grails-data-docs/guide-rx/src/main/docs/gettingStarted/CRUD.adoc
index 34191cb10a..fd30cd65cf 100644
--- a/grails-data-docs/guide-rx/src/main/docs/gettingStarted/CRUD.adoc
+++ b/grails-data-docs/guide-rx/src/main/docs/gettingStarted/CRUD.adoc
@@ -79,7 +79,7 @@ Book.get(id)
}
----
-The `switchMap` transforms an `Observable` and converts the result into another `Observable`. However, this is not the most efficient way to perform updates as you can use https://gorm.grails.org/latest/hibernate5/manual/index.html#whereQueries[where queries] to update an instance without retrieving it:
+The `switchMap` transforms an `Observable` and converts the result into another `Observable`. However, this is not the most efficient way to perform updates as you can use https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#whereQueries[where queries] to update an instance without retrieving it:
[source,groovy]
diff --git a/grails-data-docs/guide-rx/src/main/docs/introduction.adoc b/grails-data-docs/guide-rx/src/main/docs/introduction.adoc
index 6b26e820ce..58f1b1a919 100644
--- a/grails-data-docs/guide-rx/src/main/docs/introduction.adoc
+++ b/grails-data-docs/guide-rx/src/main/docs/introduction.adoc
@@ -19,7 +19,7 @@ under the License.
== Introduction
-https://gorm.grails.org[GORM], the object mapping technology built into the Grails framework, has traditionally been a primarily blocking API.
+https://docs.grails.org/lastest/grails-data/[GORM], the object mapping technology built into the Grails framework, has traditionally been a primarily blocking API.
Async features were added in GORM 4, however these are merely a way to isolate your blocking operations onto a different thread and not a truly non-blocking implementation.
diff --git a/grails-data-docs/guide-rx/src/main/docs/querying/dynamicFinders.adoc b/grails-data-docs/guide-rx/src/main/docs/querying/dynamicFinders.adoc
index 7fd63bc281..f69cff8530 100644
--- a/grails-data-docs/guide-rx/src/main/docs/querying/dynamicFinders.adoc
+++ b/grails-data-docs/guide-rx/src/main/docs/querying/dynamicFinders.adoc
@@ -18,7 +18,7 @@ under the License.
////
=== Dynamic Finders
-Although _Where queries_ are preferred, _Dynamic finders_ are another option for simple queries and are also very expressive. The https://gorm.grails.org/latest/hibernate5/manual/index.html#finders[syntax for Dynamic finders is described in the GORM user guide]. The major difference in RxGORM is that all dynamic finders return an `rx.Observable`:
+Although _Where queries_ are preferred, _Dynamic finders_ are another option for simple queries and are also very expressive. The https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#finders[syntax for Dynamic finders is described in the GORM user guide]. The major difference in RxGORM is that all dynamic finders return an `rx.Observable`:
[source,groovy]
----
diff --git a/grails-data-docs/guide-rx/src/main/docs/querying/index.adoc b/grails-data-docs/guide-rx/src/main/docs/querying/index.adoc
index b837f5e4ce..c60b2f18df 100644
--- a/grails-data-docs/guide-rx/src/main/docs/querying/index.adoc
+++ b/grails-data-docs/guide-rx/src/main/docs/querying/index.adoc
@@ -20,10 +20,10 @@ under the License.
== Querying
RxGORM supports all the typical ways of querying that you are used to with GORM including:
-* https://gorm.grails.org/latest/hibernate5/manual/index.html#finders[Dynamic finders]
-* https://gorm.grails.org/latest/hibernate5/manual/index.html#whereQueries[Where queries]
-* https://gorm.grails.org/latest/hibernate5/manual/index.html#detachedCriteria[Detached Criteria]
-* https://gorm.grails.org/latest/hibernate5/manual/index.html#criteria[Criteria queries]
+* https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#finders[Dynamic finders]
+* https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#whereQueries[Where queries]
+* https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#detachedCriteria[Detached Criteria]
+* https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#criteria[Criteria queries]
The major difference is that all query operations return an `Observable`. In this section we will go through the various ways you can query for GORM objects.
diff --git a/grails-data-docs/guide-rx/src/main/docs/querying/whereQueries.adoc b/grails-data-docs/guide-rx/src/main/docs/querying/whereQueries.adoc
index 77defd164d..9a3cb5cec2 100644
--- a/grails-data-docs/guide-rx/src/main/docs/querying/whereQueries.adoc
+++ b/grails-data-docs/guide-rx/src/main/docs/querying/whereQueries.adoc
@@ -56,4 +56,4 @@ Book.where { title == 'The Stand' }
}
----
-For more information on the syntax of where queries see the https://gorm.grails.org/latest/hibernate5/manual/index.html#whereQueries[relevant section in the GORM documentation].
+For more information on the syntax of where queries see the https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#whereQueries[relevant section in the GORM documentation].
diff --git a/grails-data-docs/guide-whats-new/src/main/docs/index.adoc b/grails-data-docs/guide-whats-new/src/main/docs/index.adoc
index 223954b6d6..18312e30cd 100644
--- a/grails-data-docs/guide-whats-new/src/main/docs/index.adoc
+++ b/grails-data-docs/guide-whats-new/src/main/docs/index.adoc
@@ -57,4 +57,4 @@ GORM 8 addresses known issues from previous versions, providing a more reliable
GORM 8 offers a powerful ORM solution for Java-based applications. Leverage the latest Java, Gradle, Hibernate, MongoDB, Neo4J, and Spring versions to build robust data-centric applications. GORM 8 provides a unified API for simplified data access and management, supporting traditional SQL databases, NoSQL data stores like MongoDB, and graph databases like Neo4J.
-For comprehensive changes and in-depth information about GORM 8, explore the official GitHub repository and release notes. Get started with GORM 8 and explore its full capabilities in the https://gorm.grails.org/latest/documentation.html[GORM 8 Documentation].
\ No newline at end of file
+For comprehensive changes and in-depth information about GORM 8, explore the official GitHub repository and release notes. Get started with GORM 8 and explore its full capabilities in the https://docs.grails.org/latest/grails-data/[GORM Documentation].
\ No newline at end of file
diff --git a/grails-data-graphql/docs/src/main/docs/guide/customizations/responseHandlers.adoc b/grails-data-graphql/docs/src/main/docs/guide/customizations/responseHandlers.adoc
index 91298899c9..aa3ae738e5 100644
--- a/grails-data-graphql/docs/src/main/docs/guide/customizations/responseHandlers.adoc
+++ b/grails-data-graphql/docs/src/main/docs/guide/customizations/responseHandlers.adoc
@@ -23,7 +23,7 @@ The way the provided operations respond after deleting a GORM entity instance an
Delete responses are handled by a link:{api}/org/grails/gorm/graphql/response/delete/GraphQLDeleteResponseHandler.html[GraphQLDeleteResponseHandler]. The default implementation responds with an object that has a single property, `success`. You can register your own handler to override the default.
-For reference, see the link:https://github.com/grails/gorm-graphql/blob/master/core/src/main/groovy/org/grails/gorm/graphql/response/delete/DefaultGraphQLDeleteResponseHandler.groovy[default handler].
+For reference, see the link:https://github.com/apache/grails-core/blob/HEAD/grails-data-graphql/core/src/main/groovy/org/grails/gorm/graphql/response/delete/DefaultGraphQLDeleteResponseHandler.groovy[default handler].
=== Standalone
@@ -51,7 +51,7 @@ graphQLDeleteResponseHandler(MyDeleteResponseHandler)
Validation error responses are handled by a link:{api}/org/grails/gorm/graphql/response/errors/GraphQLErrorsResponseHandler.html[GraphQLErrorsResponseHandler].
-For reference, see the link:https://github.com/grails/gorm-graphql/blob/master/core/src/main/groovy/org/grails/gorm/graphql/response/errors/DefaultGraphQLErrorsResponseHandler.groovy[default handler].
+For reference, see the link:https://github.com/apache/grails-core/blob/HEAD/grails-data-graphql/core/src/main/groovy/org/grails/gorm/graphql/response/errors/DefaultGraphQLErrorsResponseHandler.groovy[default handler].
If you plan to extend the default handler, a message source is required.
diff --git a/grails-data-graphql/docs/src/main/docs/guide/gettingStarted.adoc b/grails-data-graphql/docs/src/main/docs/guide/gettingStarted.adoc
index 6af6a313cf..c93363f999 100644
--- a/grails-data-graphql/docs/src/main/docs/guide/gettingStarted.adoc
+++ b/grails-data-graphql/docs/src/main/docs/guide/gettingStarted.adoc
@@ -19,7 +19,7 @@ under the License.
== Standalone Projects
-For standalone projects, it is up to the developer how and when the schema gets created. A mapping context is required to create a schema. The mapping context is available on all link:{gormapi}/org/grails/datastore/mapping/core/Datastore.html#getMappingContext()[datastore implementations]. See the link:http://gorm.grails.org/latest/hibernate/manual/index.html#outsideGrails[GORM documentation] for information on creating a datastore.
+For standalone projects, it is up to the developer how and when the schema gets created. A mapping context is required to create a schema. The mapping context is available on all link:{gormapi}/org/grails/datastore/mapping/core/Datastore.html#getMappingContext()[datastore implementations]. See the link:https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#outsideGrails#outsideGrails[GORM documentation] for information on creating a datastore.
The example below is the simplest way possible to generate a schema.
@@ -66,7 +66,7 @@ Just by adding the `graphql = true` property on your domain, full CRUD capabilit
Imagine you are building an API for a Conference. A talk can be presented
by a single speaker. A speaker can have many talks within the conference.
-A typical one-to-many relationship which in http://gorm.grails.org[GORM]
+A typical one-to-many relationship which in https://docs.grails.org/latest/grails-data/[GORM]
could be expressed with:
[source, groovy]
@@ -84,4 +84,4 @@ include::{sourcedir}/examples/grails-docs-app/grails-app/domain/demo/Talk.groovy
----
-TIP: GORM GraphQL plugin supports http://gorm.grails.org/latest/hibernate/manual/index.html#derivedProperties[Derived Properties] as illustrated in the previous example; `name` is derived property which concatenates `firstName` and `lastName`
+TIP: GORM GraphQL plugin supports https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#outsideGrails#derivedProperties[Derived Properties] as illustrated in the previous example; `name` is derived property which concatenates `firstName` and `lastName`
diff --git a/grails-data-graphql/examples/grails-test-app/src/integration-test/groovy/grails/test/app/TagIntegrationSpec.groovy b/grails-data-graphql/examples/grails-test-app/src/integration-test/groovy/grails/test/app/TagIntegrationSpec.groovy
index 36c516b62a..04a3b1bb6f 100644
--- a/grails-data-graphql/examples/grails-test-app/src/integration-test/groovy/grails/test/app/TagIntegrationSpec.groovy
+++ b/grails-data-graphql/examples/grails-test-app/src/integration-test/groovy/grails/test/app/TagIntegrationSpec.groovy
@@ -144,7 +144,7 @@ class TagIntegrationSpec extends Specification implements GraphQLSpec {
Map obj = resp.body().data.tag
then:
- //queries.size() == 2 ignored due to GORM issue https://github.com/grails/grails-data-mapping/issues/989
+ //queries.size() == 2 ignored due to GORM issue https://github.com/apache/grails-data-mapping/issues/989
queries[0] ==~ 'Hibernate: select this_.id as id[0-9]+_[0-9]+_[0-9]+_, this_.version as version[0-9]+_[0-9]+_[0-9]+_, this_.name as name[0-9]+_[0-9]+_[0-9]+_ from tag this_ where this_.id=\\? limit \\?\n'
queries[1] ==~ 'Hibernate: select this_.id as id[0-9]+_[0-9]+_[0-9]+_, this_.version as version[0-9]+_[0-9]+_[0-9]+_, this_.title as title[0-9]+_[0-9]+_[0-9]+_, this_.date_created as date_cre[0-9]+_[0-9]+_[0-9]+_, this_.last_updated as last_upd[0-9]+_[0-9]+_[0-9]+_, tags3_.post_tags_id as post_tag[0-9]+_[0-9]+_, tags_alias1_.id as tag_id[0-9]+_[0-9]+_, tags_alias1_.id as id[0-9]+_[0-9]+_[0-9]+_, tags_alias1_.version as version[0-9]+_[0-9]+_[0-9]+_, tags_alias1_.name as name[0-9]+ [...]
diff --git a/grails-data-graphql/gradle.properties b/grails-data-graphql/gradle.properties
index da3818dd2e..1689eea0e3 100644
--- a/grails-data-graphql/gradle.properties
+++ b/grails-data-graphql/gradle.properties
@@ -17,7 +17,7 @@ title=GORM GraphQL
authors=James Kleeh
projectVersion=4.0.0-SNAPSHOT
projectDesc=Generates a GraphQL schema based on entities in GORM
-projectUrl=https://github.com/grails/gorm-graphql
+projectUrl=https://github.com/apache/grails-core/tree/HEAD/grails-data-graphql
githubSlug=grails/gorm-graphql
githubBranch=2.0.x
developers=James Kleeh
diff --git a/grails-data-graphql/plugin/src/main/groovy/org/grails/gorm/graphql/plugin/GormGraphqlGrailsPlugin.groovy b/grails-data-graphql/plugin/src/main/groovy/org/grails/gorm/graphql/plugin/GormGraphqlGrailsPlugin.groovy
index 98c8835042..339b548d35 100644
--- a/grails-data-graphql/plugin/src/main/groovy/org/grails/gorm/graphql/plugin/GormGraphqlGrailsPlugin.groovy
+++ b/grails-data-graphql/plugin/src/main/groovy/org/grails/gorm/graphql/plugin/GormGraphqlGrailsPlugin.groovy
@@ -43,11 +43,11 @@ class GormGraphqlGrailsPlugin extends Plugin {
def author = "James Kleeh"
def authorEmail = "james.kleeh@gmail.com"
def profiles = ['web']
- def documentation = "https://plugins.grails.org/plugin/gorm-graphql"
+ def documentation = "https://grails.github.io/grails-data-graphql/3.0.x/hibernate/guide/index.html"
def license = "APACHE"
def developers = [ [ name: "Puneet Behl", email: "behlp@objectcomputing.com" ]]
- def issueManagement = [ system: "GitHub", url: "https://github.com/grails/gorm-graphql/issues" ]
- def scm = [ url: "https://github.com/grails/gorm-graphql/" ]
+ def issueManagement = [ system: "GitHub", url: "https://github.com/apache/grails-core/issues" ]
+ def scm = [ url: "https://github.com/apache/grails-core/" ]
public static MimeType GRAPHQL_MIME = new MimeType('application/graphql')
diff --git a/grails-data-hibernate5/README.md b/grails-data-hibernate5/README.md
index 0f724ff189..1d53806e74 100644
--- a/grails-data-hibernate5/README.md
+++ b/grails-data-hibernate5/README.md
@@ -15,16 +15,14 @@ limitations under the License.
-->
# GORM for Hibernate 5
-[](https://central.sonatype.com/artifact/org.grails/grails-datastore-gorm-hibernate5) [](https://github.com/grails/gorm-hibernate5/actions/workflows/gradle.yml)
-
-This project implements [GORM](https://gorm.grails.org) for the Hibernate 5.
+This project implements [GORM](https://docs.grails.org/latest/grails-data/) for the Hibernate 5.
For more information see the following links:
-* [Documentation](https://gorm.grails.org/latest/hibernate/manual)
-* [API Reference](https://gorm.grails.org/latest/hibernate/api)
+* [Documentation](https://docs.grails.org/latest/grails-data/hibernate5/manual)
+* [API Reference](https://docs.grails.org/latest/api)
For the current development version see the following links:
-* [Development Snapshot Documentation](https://gorm.grails.org/snapshot/hibernate/manual)
-* [Development Snapshot API Reference](https://gorm.grails.org/snapshot/hibernate/api)
\ No newline at end of file
+* [Development Snapshot Documentation](https://docs.grails.org/snapshot/grails-data/hibernate5/manual)
+* [Development Snapshot API Reference](https://docs.grails.org/snapshot/api)
\ No newline at end of file
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CascadeToBidirectionalAsssociationSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CascadeToBidirectionalAsssociationSpec.groovy
index 904a6b5cb8..b1f6ad1320 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CascadeToBidirectionalAsssociationSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CascadeToBidirectionalAsssociationSpec.groovy
@@ -26,7 +26,7 @@ import spock.lang.Issue
/**
* Created by graemerocher on 01/02/16.
*/
-@Issue('https://github.com/grails/grails-core/issues/9290')
+@Issue('https://github.com/apache/grails-core/issues/9290')
class CascadeToBidirectionalAsssociationSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckManager> {
void setupSpec() {
manager.domainClasses.addAll([Club, Team, Player, Contract])
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CompositeIdWithManyToOneAndSequenceSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CompositeIdWithManyToOneAndSequenceSpec.groovy
index 65e07c9c37..7d7890fbbe 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CompositeIdWithManyToOneAndSequenceSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CompositeIdWithManyToOneAndSequenceSpec.groovy
@@ -37,7 +37,7 @@ class CompositeIdWithManyToOneAndSequenceSpec extends Specification {
@Shared PlatformTransactionManager transactionManager = datastore.transactionManager
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/835')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/835')
void "Test composite id many to one and sequence"() {
when:"a many to one association is created"
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CountByWithEmbeddedSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CountByWithEmbeddedSpec.groovy
index 8b1112fed6..cbf4ca8d4a 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CountByWithEmbeddedSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/CountByWithEmbeddedSpec.groovy
@@ -32,7 +32,7 @@ class CountByWithEmbeddedSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckM
manager.domainClasses.addAll([CountByPerson])
}
- @Issue('https://github.com/grails/grails-core/issues/9846')
+ @Issue('https://github.com/apache/grails-core/issues/9846')
void "Test countBy query with embedded entity"() {
given:
new CountByPerson(name: "Fred", bornInCountry: new CountByCountry(name: "England")).save(flush: true)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DeleteAllWhereSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DeleteAllWhereSpec.groovy
index e7ebd57692..677a0b7d64 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DeleteAllWhereSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DeleteAllWhereSpec.groovy
@@ -31,7 +31,7 @@ class DeleteAllWhereSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckManage
manager.domainClasses.addAll([Club])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/969')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/969')
void "test delete all type conversion"() {
given:
new Club(name: "Manchester United").save()
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DetachedCriteriaProjectionAliasSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DetachedCriteriaProjectionAliasSpec.groovy
index 4c79a3a592..d3e86c6455 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DetachedCriteriaProjectionAliasSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DetachedCriteriaProjectionAliasSpec.groovy
@@ -47,7 +47,7 @@ class DetachedCriteriaProjectionAliasSpec extends Specification {
}
@Rollback
- @Issue('https://github.com/grails/gorm-hibernate5/issues/598')
+ @Issue('https://github.com/grails/grails-data-hibernate5/issues/598')
def 'test projection in detached criteria subquery with aliased join and restriction referencing join'() {
setup:
final detachedCriteria = new DetachedCriteria(Entity1).build {
@@ -67,7 +67,7 @@ class DetachedCriteriaProjectionAliasSpec extends Specification {
@Rollback
- @Issue('https://github.com/grails/gorm-hibernate5/issues/598')
+ @Issue('https://github.com/grails/grails-data-hibernate5/issues/598')
def 'test aliased projection in detached criteria subquery'() {
setup:
final detachedCriteria = new DetachedCriteria(Entity2).build {
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DetachedCriteriaProjectionSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DetachedCriteriaProjectionSpec.groovy
index 1f85374913..6a39c87c59 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DetachedCriteriaProjectionSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/DetachedCriteriaProjectionSpec.groovy
@@ -49,7 +49,7 @@ class DetachedCriteriaProjectionSpec extends Specification {
}
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/792')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/792')
def 'closure projection fails'() {
setup:
final detachedCriteria = new DetachedCriteria(DetachedEntity).build {
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/MultiColumnUniqueConstraintSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/MultiColumnUniqueConstraintSpec.groovy
index f4a0312cc6..18217552cd 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/MultiColumnUniqueConstraintSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/MultiColumnUniqueConstraintSpec.groovy
@@ -24,7 +24,7 @@ import org.apache.grails.data.testing.tck.base.GrailsDataTckSpec
import org.springframework.dao.DataIntegrityViolationException
import spock.lang.Issue
-@Issue('https://github.com/grails/grails-data-mapping/issues/617')
+@Issue('https://github.com/apache/grails-data-mapping/issues/617')
class MultiColumnUniqueConstraintSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckManager> {
void setupSpec() {
manager.domainClasses.addAll([DomainOne, Task1, TaskLink])
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/NullableAndLengthSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/NullableAndLengthSpec.groovy
index b74d3a06d9..67c276e055 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/NullableAndLengthSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/NullableAndLengthSpec.groovy
@@ -37,7 +37,7 @@ class NullableAndLengthSpec extends Specification {
@Shared PlatformTransactionManager transactionManager = datastore.getTransactionManager()
@Rollback
- @Issue('https://github.com/grails/grails-core/issues/10107')
+ @Issue('https://github.com/apache/grails-core/issues/10107')
void "Test nullable and length mapping"() {
when:"An object is persisted that violates the length mapping"
new Node(label: "AAAAAAAAAAAA").save(flush:true)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SaveWithExistingValidationErrorSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SaveWithExistingValidationErrorSpec.groovy
index d271b00967..a7bf77b480 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SaveWithExistingValidationErrorSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SaveWithExistingValidationErrorSpec.groovy
@@ -36,7 +36,7 @@ class SaveWithExistingValidationErrorSpec extends Specification {
@Shared PlatformTransactionManager transactionManager = datastore.getTransactionManager()
@Rollback
- @Issue('https://github.com/grails/grails-core/issues/9820')
+ @Issue('https://github.com/apache/grails-core/issues/9820')
void "test saving an object with another invalid object"() {
when:"An object with a validation error is assigned"
def testB = new ObjectB()
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SchemaNameSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SchemaNameSpec.groovy
index 3582961073..c581080c11 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SchemaNameSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SchemaNameSpec.groovy
@@ -37,7 +37,7 @@ class SchemaNameSpec extends Specification {
@Shared PlatformTransactionManager transactionManager = datastore.getTransactionManager()
@Rollback
- @Issue('https://github.com/grails/grails-core/issues/10083')
+ @Issue('https://github.com/apache/grails-core/issues/10083')
void 'test schema name alteration with h2'() {
when:"An object with a custom schema is saved"
new CustomSchema(name: "Test").save(flush:true)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SizeConstraintSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SizeConstraintSpec.groovy
index f1c4ecb61c..83cbd16e6a 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SizeConstraintSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SizeConstraintSpec.groovy
@@ -33,7 +33,7 @@ class SizeConstraintSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckManage
manager.domainClasses.addAll([SizeConstrainedUser])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/846')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/846')
void "test size constraint is used in schema"() {
when:"A constraint is violated"
new SizeConstrainedUser(username:"blah", columnAa:"123456", columnBb:"123456").save(flush:true, validate:false)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SubclassMultipleListCollectionSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SubclassMultipleListCollectionSpec.groovy
index eed1b3d36b..e7a2f71086 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SubclassMultipleListCollectionSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/SubclassMultipleListCollectionSpec.groovy
@@ -43,7 +43,7 @@ class SubclassMultipleListCollectionSpec extends Specification {
@Ignore // not yet implemented
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/882')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/882')
void "test inheritance with multiple list collections"() {
when:
Iteration iter = new Iteration()
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/UniqueWithMultipleDataSourcesSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/UniqueWithMultipleDataSourcesSpec.groovy
index 84103180d2..09862a5fab 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/UniqueWithMultipleDataSourcesSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/UniqueWithMultipleDataSourcesSpec.groovy
@@ -53,7 +53,7 @@ class UniqueWithMultipleDataSourcesSpec extends Specification {
@Rollback
@Ignore
- @Issue('https://github.com/grails/grails-core/issues/10481')
+ @Issue('https://github.com/apache/grails-core/issues/10481')
void "test multiple data sources and unique constraint"() {
when:
Abc abc = new Abc(temp: "testing")
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WhereQueryWithAssociationSortSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WhereQueryWithAssociationSortSpec.groovy
index 1b4a3e3688..803a3489d4 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WhereQueryWithAssociationSortSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WhereQueryWithAssociationSortSpec.groovy
@@ -31,7 +31,7 @@ class WhereQueryWithAssociationSortSpec extends GrailsDataTckSpec<GrailsDataHibe
manager.domainClasses.addAll([Club, Team])
}
- @Issue('https://github.com/grails/grails-core/issues/9860')
+ @Issue('https://github.com/apache/grails-core/issues/9860')
void "Test sort with where query that queries association"() {
given:"some test data"
def c = new Club(name: "Manchester United").save()
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WithNewSessionAndExistingTransactionSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WithNewSessionAndExistingTransactionSpec.groovy
index c253d78412..dd4c8c3c70 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WithNewSessionAndExistingTransactionSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/WithNewSessionAndExistingTransactionSpec.groovy
@@ -68,7 +68,7 @@ class WithNewSessionAndExistingTransactionSpec extends GrailsDataTckSpec<GrailsD
manager.hibernateSession.isOpen()
}
- @Issue('https://github.com/grails/grails-core/issues/10426')
+ @Issue('https://github.com/apache/grails-core/issues/10426')
void "Test with withNewSession with nested transaction"() {
when:"An existing transaction not to pick up the current session"
manager.sessionFactory.currentSession
@@ -103,7 +103,7 @@ class WithNewSessionAndExistingTransactionSpec extends GrailsDataTckSpec<GrailsD
manager.hibernateSession.isOpen()
}
- @Issue('https://github.com/grails/grails-core/issues/10448')
+ @Issue('https://github.com/apache/grails-core/issues/10448')
void "Test with withNewSession with existing transaction"() {
when:"the connection pool is obtained"
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/CompositeIdCriteria.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/CompositeIdCriteria.groovy
index 0731ee69dc..73bb0f8fb3 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/CompositeIdCriteria.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/CompositeIdCriteria.groovy
@@ -35,7 +35,7 @@ class CompositeIdCriteria extends Specification {
@AutoCleanup
HibernateDatastore datastore = new HibernateDatastore(CompositeIdToMany, CompositeIdSimple, Author, Book)
- @Issue("https://github.com/grails/gorm-hibernate5/issues/234")
+ @Issue("https://github.com/grails/grails-data-hibernate5/issues/234")
def "test that composite to-many properties can be queried using JPA"() {
Author _author = new Author(name:"Author").save()
Book _book = new Book(title:"Book").save()
@@ -66,7 +66,7 @@ class CompositeIdCriteria extends Specification {
query.list() == [compositeIdSimple]
}
- @Issue("https://github.com/grails/grails-data-mapping/issues/1351")
+ @Issue("https://github.com/apache/grails-data-mapping/issues/1351")
def "test that composite to-many can be used in criteria"() {
Author _author = new Author(name:"Author").save()
Book _book = new Book(title:"Book").save()
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/CompositeIdWithDeepOneToManyMappingSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/CompositeIdWithDeepOneToManyMappingSpec.groovy
index 60edba2a0a..0aadde525d 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/CompositeIdWithDeepOneToManyMappingSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/CompositeIdWithDeepOneToManyMappingSpec.groovy
@@ -38,7 +38,7 @@ class CompositeIdWithDeepOneToManyMappingSpec extends Specification {
@Shared PlatformTransactionManager transactionManager = datastore.transactionManager
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/660')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/660')
void 'test composite id with nested one-to-many mappings'() {
when:
def grandParent = new GrandParent(luckyNumber: 7, name: "Fred")
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/GlobalConstraintWithCompositeIdSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/GlobalConstraintWithCompositeIdSpec.groovy
index 197daf8230..6a3cf26b9d 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/GlobalConstraintWithCompositeIdSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/compositeid/GlobalConstraintWithCompositeIdSpec.groovy
@@ -51,7 +51,7 @@ class GlobalConstraintWithCompositeIdSpec extends Specification {
@Shared PlatformTransactionManager transactionManager = hibernateDatastore.transactionManager
@Rollback
- @Issue('https://github.com/grails/grails-core/issues/10457')
+ @Issue('https://github.com/apache/grails-core/issues/10457')
void "test global constraints with composite id"() {
when:
ParentB parent = new ParentB(code:"AAA", desc: "BBB")
@@ -64,7 +64,7 @@ class GlobalConstraintWithCompositeIdSpec extends Specification {
}
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/877')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/877')
void "test global constraints with unique constraint"() {
given:
PersistentEntity entity = hibernateDatastore.mappingContext.getPersistentEntity(DomainB.name)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/dirtychecking/HibernateDirtyCheckingSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/dirtychecking/HibernateDirtyCheckingSpec.groovy
index 42f5a9a73b..11813a361f 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/dirtychecking/HibernateDirtyCheckingSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/dirtychecking/HibernateDirtyCheckingSpec.groovy
@@ -35,7 +35,7 @@ class HibernateDirtyCheckingSpec extends Specification {
@Shared @AutoCleanup HibernateDatastore hibernateDatastore = new HibernateDatastore(Person)
@Rollback
- @Issue('https://github.com/grails/grails-core/issues/10613')
+ @Issue('https://github.com/apache/grails-core/issues/10613')
void "Test that presence of beforeInsert doesn't impact dirty properties"() {
given: 'a new person'
def person = new Person(name: 'John', occupation: 'Grails developer').save(flush:true)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/dirtychecking/PropertyFieldSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/dirtychecking/PropertyFieldSpec.groovy
index 4289b2b9b9..4d55b1d1ca 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/dirtychecking/PropertyFieldSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/dirtychecking/PropertyFieldSpec.groovy
@@ -34,7 +34,7 @@ class PropertyFieldSpec extends Specification {
@Shared @AutoCleanup HibernateDatastore hibernateDatastore = new HibernateDatastore(getClass().getPackage())
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/934')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/934')
void "test domain class with property named 'property'"() {
expect:
Book book = new Book(title: 'book', property: new Property(name: 'p1'))
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/hasmany/HasManyWithInQuerySpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/hasmany/HasManyWithInQuerySpec.groovy
index 3afafc807f..8387d4cfed 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/hasmany/HasManyWithInQuerySpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/hasmany/HasManyWithInQuerySpec.groovy
@@ -29,7 +29,7 @@ import spock.lang.Issue
import spock.lang.Shared
import spock.lang.Specification
-@Issue('https://github.com/grails/gorm-hibernate5/issues/78')
+@Issue('https://github.com/grails/grails-data-hibernate5/issues/78')
@Rollback
class HasManyWithInQuerySpec extends Specification {
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/hasmany/TwoUnidirectionalHasManySpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/hasmany/TwoUnidirectionalHasManySpec.groovy
index e6d4e0a6e3..f27bc46a1b 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/hasmany/TwoUnidirectionalHasManySpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/hasmany/TwoUnidirectionalHasManySpec.groovy
@@ -44,7 +44,7 @@ class TwoUnidirectionalHasManySpec extends Specification {
@Rollback
- @Issue('https://github.com/grails/grails-core/issues/10811')
+ @Issue('https://github.com/apache/grails-core/issues/10811')
@Ignore
void "test two undirectional one to many references"() {
when:
@@ -63,7 +63,7 @@ class TwoUnidirectionalHasManySpec extends Specification {
}
@Rollback
- @Issue('https://github.com/grails/grails-core/issues/10811')
+ @Issue('https://github.com/apache/grails-core/issues/10811')
@Ignore
void "test two JPA undirectional one to many references"() {
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/inheritance/TablePerConcreteClassAndDateCreatedSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/inheritance/TablePerConcreteClassAndDateCreatedSpec.groovy
index 9eb48530ad..6d0f6c84d7 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/inheritance/TablePerConcreteClassAndDateCreatedSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/inheritance/TablePerConcreteClassAndDateCreatedSpec.groovy
@@ -26,7 +26,7 @@ import spock.lang.Issue
/**
* Created by graemerocher on 29/05/2017.
*/
-@Issue('https://github.com/grails/grails-data-mapping/issues/937')
+@Issue('https://github.com/apache/grails-data-mapping/issues/937')
class TablePerConcreteClassAndDateCreatedSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckManager> {
void setupSpec() {
manager.domainClasses.addAll([Vehicle, Spaceship])
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/inheritance/TablePerConcreteClassImportedSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/inheritance/TablePerConcreteClassImportedSpec.groovy
index 9cc4017784..749e23c53e 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/inheritance/TablePerConcreteClassImportedSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/inheritance/TablePerConcreteClassImportedSpec.groovy
@@ -22,7 +22,7 @@ import org.apache.grails.data.hibernate5.core.GrailsDataHibernate5TckManager
import org.apache.grails.data.testing.tck.base.GrailsDataTckSpec
import spock.lang.Issue
-@Issue('https://github.com/grails/gorm-hibernate5/issues/151')
+@Issue('https://github.com/grails/grails-data-hibernate5/issues/151')
class TablePerConcreteClassImportedSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckManager> {
void setupSpec() {
manager.domainClasses.addAll([Vehicle, Spaceship])
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/mappedby/MultipleOneToOneSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/mappedby/MultipleOneToOneSpec.groovy
index a7752f3330..a60d36c14f 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/mappedby/MultipleOneToOneSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/mappedby/MultipleOneToOneSpec.groovy
@@ -31,7 +31,7 @@ class MultipleOneToOneSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckMana
manager.domainClasses.addAll([Org, OrgMember])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/950')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/950')
void "test mappedBy with multiple many-to-one and a single one-to-one"() {
given:
Org branch = new Org(id: 1, name: "branch a").save()
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/multitenancy/MultiTenancyBidirectionalManyToManySpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/multitenancy/MultiTenancyBidirectionalManyToManySpec.groovy
index d830ba9414..d5169786c3 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/multitenancy/MultiTenancyBidirectionalManyToManySpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/multitenancy/MultiTenancyBidirectionalManyToManySpec.groovy
@@ -65,7 +65,7 @@ class MultiTenancyBidirectionalManyToManySpec extends Specification {
}
@Rollback
- @Issue("https://github.com/grails/gorm-hibernate5/issues/58")
+ @Issue("https://github.com/grails/grails-data-hibernate5/issues/58")
void "test hasMany and 'in' query with multi-tenancy" () {
given:
createSomeUsers()
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/multitenancy/MultiTenancyUnidirectionalOneToManySpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/multitenancy/MultiTenancyUnidirectionalOneToManySpec.groovy
index e07cd19dd3..72d5faf0b6 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/multitenancy/MultiTenancyUnidirectionalOneToManySpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/multitenancy/MultiTenancyUnidirectionalOneToManySpec.groovy
@@ -33,7 +33,7 @@ import spock.lang.Specification
*/
class MultiTenancyUnidirectionalOneToManySpec extends Specification {
- @Issue('https://github.com/grails/grails-data-mapping/issues/954')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/954')
void "test multi-tenancy with unidirectional one-to-many"() {
given: "A configuration for schema based multi-tenancy"
System.setProperty(SystemPropertyTenantResolver.PROPERTY_NAME, "")
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/services/DataServiceSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/services/DataServiceSpec.groovy
index f2d7e127e2..a6024f8318 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/services/DataServiceSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/services/DataServiceSpec.groovy
@@ -379,7 +379,7 @@ class DataServiceSpec extends Specification {
products[0].name == "Apple"
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/960')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/960')
void "test findBy dynamic finder with @Join doesn't return proxies"() {
given:
ProductService productService = datastore.getService(ProductService)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/traits/InterfacePropertySpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/traits/InterfacePropertySpec.groovy
index 05bab8b5ac..20fe01d7e0 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/traits/InterfacePropertySpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/traits/InterfacePropertySpec.groovy
@@ -31,7 +31,7 @@ class InterfacePropertySpec extends GrailsDataTckSpec<GrailsDataHibernate5TckMan
manager.domainClasses.addAll([TestDomain])
}
- @Issue('https://github.com/grails/gorm-hibernate5/issues/38')
+ @Issue('https://github.com/grails/grails-data-hibernate5/issues/38')
void "test interface that exposes id"() {
when:
TestDomain td = new TestDomain(name: "Fred").save(flush: true)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/txs/CustomIsolationLevelSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/txs/CustomIsolationLevelSpec.groovy
index ece70f70be..6e74e89b98 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/txs/CustomIsolationLevelSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/txs/CustomIsolationLevelSpec.groovy
@@ -36,7 +36,7 @@ class CustomIsolationLevelSpec extends Specification {
@AutoCleanup @Shared HibernateDatastore hibernateDatastore = new HibernateDatastore(Product, Attribute)
- @Issue('https://github.com/grails/grails-data-mapping/issues/952')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/952')
void "test custom isolation level"() {
expect:
new ProductService().listProducts().size() == 0
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/txs/TransactionPropagationSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/txs/TransactionPropagationSpec.groovy
index 8ea7d8d03c..d29e001687 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/txs/TransactionPropagationSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/txs/TransactionPropagationSpec.groovy
@@ -36,7 +36,7 @@ class TransactionPropagationSpec extends Specification {
@AutoCleanup @Shared HibernateDatastore hibernateDatastore = new HibernateDatastore(Book)
- @Issue('https://github.com/grails/grails-core/issues/10801')
+ @Issue('https://github.com/apache/grails-core/issues/10801')
void "test transaction propagation settings"() {
when:
TransactionalService service = new TransactionalService()
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/uuid/UuidInsertSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/uuid/UuidInsertSpec.groovy
index 9385ce7f57..fb1f76dafb 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/uuid/UuidInsertSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/uuid/UuidInsertSpec.groovy
@@ -35,7 +35,7 @@ class UuidInsertSpec extends Specification {
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/902')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/902')
void "Test UUID insert"() {
when:"A UUID is used"
Person p = new Person(name: "test").save(flush:true)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/CascadeValidationSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/CascadeValidationSpec.groovy
index 07622b653c..2ed99ac94a 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/CascadeValidationSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/CascadeValidationSpec.groovy
@@ -36,7 +36,7 @@ class CascadeValidationSpec extends Specification {
@Shared @AutoCleanup HibernateDatastore hibernateDatastore = new HibernateDatastore(Business, Person, Employee)
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/926')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/926')
void "validation cascades correctly"() {
given: "an invalid business"
Business b = new Business(name: null)
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/DeepValidationSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/DeepValidationSpec.groovy
index d13e558c9d..c24451d495 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/DeepValidationSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/DeepValidationSpec.groovy
@@ -34,7 +34,7 @@ class DeepValidationSpec extends GrailsDataTckSpec<GrailsDataHibernate5TckManage
}
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/1033')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1033')
void "performs deep validation correctly"() {
when: "save market with failing custom validator on child"
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/EmbeddedWithValidationExceptionSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/EmbeddedWithValidationExceptionSpec.groovy
index d2cddae6ee..c46c1fd288 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/EmbeddedWithValidationExceptionSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/EmbeddedWithValidationExceptionSpec.groovy
@@ -31,7 +31,7 @@ class EmbeddedWithValidationExceptionSpec extends Specification {
@Shared @AutoCleanup HibernateDatastore hibernateDatastore = new HibernateDatastore(DomainWithEmbedded)
@Rollback
- @Issue("https://github.com/grails/gorm-hibernate5/issues/110")
+ @Issue("https://github.com/grails/grails-data-hibernate5/issues/110")
void "test validation exception with embedded in domain"() {
when:
new DomainWithEmbedded(
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/SaveWithInvalidEntitySpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/SaveWithInvalidEntitySpec.groovy
index bf6a6cebe3..dacc15cf81 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/SaveWithInvalidEntitySpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/SaveWithInvalidEntitySpec.groovy
@@ -35,11 +35,11 @@ class SaveWithInvalidEntitySpec extends Specification {
@Shared @AutoCleanup HibernateDatastore hibernateDatastore = new HibernateDatastore(A, B)
/**
- * This currently fails with a NPE. See explanation https://github.com/grails/grails-core/issues/10604#issuecomment-298943022
+ * This currently fails with a NPE. See explanation https://github.com/apache/grails-core/issues/14616#issuecomment-298943022
*/
@Rollback
@Ignore
- @Issue('https://github.com/grails/grails-core/issues/10604')
+ @Issue('https://github.com/apache/grails-core/issues/10604')
void "test save with an invalid entity"() {
when:
hibernateDatastore.currentSession.persist(new A(b:new B(field2: "test")))
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueFalseConstraintSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueFalseConstraintSpec.groovy
index 2daffe50a4..6b4655b0ef 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueFalseConstraintSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueFalseConstraintSpec.groovy
@@ -31,7 +31,7 @@ class UniqueFalseConstraintSpec extends Specification {
@Shared @AutoCleanup HibernateDatastore hibernateDatastore = new HibernateDatastore(User)
- @Issue('https://github.com/grails/grails-data-mapping/issues/1059')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1059')
void 'unique:false constraint is ignored and does not behave as unique:true'() {
given: 'a user'
def user1 = new User(name: 'John')
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueInheritanceSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueInheritanceSpec.groovy
index 1c66a00ff5..0cd6450a30 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueInheritanceSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueInheritanceSpec.groovy
@@ -62,7 +62,7 @@ class UniqueInheritanceSpec extends Specification {
!i.hasErrors() // item.product.name is not unique
}
- @Issue('https://github.com/grails/gorm-hibernate5/issues/32')
+ @Issue('https://github.com/grails/grails-data-hibernate5/issues/32')
void "test save multiple book instances with unique constraint applied"() {
when:
def book1=new Book(title: "one")
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueWithHasOneSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueWithHasOneSpec.groovy
index ce52ce057b..ac4dd977ea 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueWithHasOneSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueWithHasOneSpec.groovy
@@ -32,7 +32,7 @@ import spock.lang.Specification
* @author Graeme Rocher
* @since 1.0
*/
-@Issue('https://github.com/grails/grails-data-mapping/issues/1004')
+@Issue('https://github.com/apache/grails-data-mapping/issues/1004')
class UniqueWithHasOneSpec extends Specification {
@AutoCleanup @Shared HibernateDatastore hibernateDatastore = new HibernateDatastore(getClass().getPackage())
diff --git a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueWithinGroupSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueWithinGroupSpec.groovy
index 5adb67de16..19b39ab0c3 100644
--- a/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueWithinGroupSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/grails/gorm/tests/validation/UniqueWithinGroupSpec.groovy
@@ -32,7 +32,7 @@ import spock.lang.Specification
/**
* Created by graemerocher on 29/05/2017.
*/
-@Issue('https://github.com/grails/gorm-hibernate5/issues/36')
+@Issue('https://github.com/grails/grails-data-hibernate5/issues/36')
class UniqueWithinGroupSpec extends Specification {
@AutoCleanup
diff --git a/grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/DefaultConstraintsSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/DefaultConstraintsSpec.groovy
index 215df4ce4d..44bc1c66b2 100644
--- a/grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/DefaultConstraintsSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/DefaultConstraintsSpec.groovy
@@ -45,7 +45,7 @@ class DefaultConstraintsSpec extends Specification {
@Shared PlatformTransactionManager transactionManager = hibernateDatastore.getTransactionManager()
@Rollback
- @Issue('https://github.com/grails/grails-data-mapping/issues/746')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/746')
void "Test that when constraints are nullable true by default, they can be altered to nullable false"() {
when:"An object is validated"
Book book = new Book()
diff --git a/grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/MultipleDataSourcesWithEventsSpec.groovy b/grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/MultipleDataSourcesWithEventsSpec.groovy
index f1337dc783..2ff65b7a65 100644
--- a/grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/MultipleDataSourcesWithEventsSpec.groovy
+++ b/grails-data-hibernate5/core/src/test/groovy/org/grails/orm/hibernate/connections/MultipleDataSourcesWithEventsSpec.groovy
@@ -31,7 +31,7 @@ import spock.lang.Specification
*/
class MultipleDataSourcesWithEventsSpec extends Specification {
- @Issue('https://github.com/grails/grails-core/issues/10451')
+ @Issue('https://github.com/apache/grails-core/issues/10451')
void "Test multiple data sources register the correct events"() {
given:"A configuration for multiple data sources"
Map config = [
diff --git a/grails-data-hibernate5/dbmigration/src/main/groovy/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.groovy b/grails-data-hibernate5/dbmigration/src/main/groovy/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.groovy
index 771ed86765..2b016999e4 100644
--- a/grails-data-hibernate5/dbmigration/src/main/groovy/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.groovy
+++ b/grails-data-hibernate5/dbmigration/src/main/groovy/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.groovy
@@ -42,9 +42,9 @@ class DatabaseMigrationGrailsPlugin extends Plugin {
def author = "Kazuki YAMAMOTO"
def authorEmail = ""
def description = 'Grails Database Migration Plugin'
- def documentation = "http://grails.org/plugin/database-migration"
+ def documentation = "https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#databaseMigration"
def license = "APACHE"
- def scm = [url: "https://github.com/grails-plugins/grails-database-migration"]
+ def scm = [url: "https://github.com/apache/grails-core"]
@Override
Closure doWithSpring() {
diff --git a/grails-data-hibernate5/docs/src/docs/asciidoc/introduction.adoc b/grails-data-hibernate5/docs/src/docs/asciidoc/introduction.adoc
index a4c921e5e6..2a26746fa5 100644
--- a/grails-data-hibernate5/docs/src/docs/asciidoc/introduction.adoc
+++ b/grails-data-hibernate5/docs/src/docs/asciidoc/introduction.adoc
@@ -21,7 +21,7 @@ GORM is a data access framework with multiple backend implementations that allow
There are currently several implementations of GORM. This documentation covers the original implementation of GORM which is based on the Hibernate ORM. Below you can find links to the other implementations:
-* https://gorm.grails.org/latest/mongodb/manual[GORM for MongoDB]
+* https://docs.grails.org/latest/grails-data/mongodb/manual/[GORM for MongoDB]
* https://gorm.grails.org/latest/neo4j/manual[GORM for Neo4j]
* https://gorm.grails.org/latest/cassandra/manual[GORM for Cassandra]
* https://gorm.grails.org/latest/rx/manual[RxGORM for MongoDB]
diff --git a/grails-data-hibernate5/docs/src/docs/asciidoc/introduction/releaseHistory.adoc b/grails-data-hibernate5/docs/src/docs/asciidoc/introduction/releaseHistory.adoc
index ced39e47b9..3c7a8fdd09 100644
--- a/grails-data-hibernate5/docs/src/docs/asciidoc/introduction/releaseHistory.adoc
+++ b/grails-data-hibernate5/docs/src/docs/asciidoc/introduction/releaseHistory.adoc
@@ -93,4 +93,4 @@ These AST transformations relied on the Grails 2.x compiler infrastructure and h
The first version of GORM was a series of meta-programming functions that built on the capabilities of Groovy's https://groovy-lang.org/metaprogramming.html#metaprogramming_emc[ExpandoMetaClass].
-It was purely dynamic and integrated into the https://grails.org[Grails framework] and not usable without Grails and hence no actual distribution exists for this version and it is only available as part of Grails.
+It was purely dynamic and integrated into the https://grails.apache.org[Grails framework] and not usable without Grails and hence no actual distribution exists for this version and it is only available as part of Grails.
diff --git a/grails-data-hibernate5/docs/src/docs/asciidoc/learningMore.adoc b/grails-data-hibernate5/docs/src/docs/asciidoc/learningMore.adoc
index fe53b27f7e..26e393bdae 100644
--- a/grails-data-hibernate5/docs/src/docs/asciidoc/learningMore.adoc
+++ b/grails-data-hibernate5/docs/src/docs/asciidoc/learningMore.adoc
@@ -17,4 +17,4 @@ specific language governing permissions and limitations
under the License.
////
-The full documentation for GORM for Hibernate can be found in the https://grails.org/doc/latest/guide/GORM.html[Grails User Guide], this documentation serves to explain how to get started with GORM for Hibernate with or without Grails and to document release notes.
\ No newline at end of file
+The full documentation for GORM for Hibernate can be found in the https://docs.grails.org/latest/grails-data/[Grails User Guide], this documentation serves to explain how to get started with GORM for Hibernate with or without Grails and to document release notes.
\ No newline at end of file
diff --git a/grails-data-hibernate5/docs/src/docs/asciidoc/multiTenancy/databasePerTenant.adoc b/grails-data-hibernate5/docs/src/docs/asciidoc/multiTenancy/databasePerTenant.adoc
index d4a81672c4..16d547f018 100644
--- a/grails-data-hibernate5/docs/src/docs/asciidoc/multiTenancy/databasePerTenant.adoc
+++ b/grails-data-hibernate5/docs/src/docs/asciidoc/multiTenancy/databasePerTenant.adoc
@@ -129,4 +129,4 @@ grails:
The implementation could read the connection sources at startup from another database table and implement logic by overriding the `addConnectionSource` method to provision a new databases at runtime.
-TIP: If you are interested in more examples, an https://github.com/grails/grails-data-mapping/blob/{version}/grails-data-mongodb/gorm/src/main/groovy/org/grails/datastore/mapping/mongo/connections/MongoConnectionSources.groovy[implementation exists for MongoDB] that reads connection sources from a MongoDB collection. However, it doesn't implement support for provision MongoDB instances at runtime.
+TIP: If you are interested in more examples, an https://github.com/apache/grails-core/blob/{version}/grails-data-mongodb/core/src/main/groovy/org/grails/datastore/mapping/mongo/connections/MongoConnectionSources.groovy[implementation exists for MongoDB] that reads connection sources from a MongoDB collection. However, it doesn't implement support for provision MongoDB instances at runtime.
diff --git a/grails-data-hibernate5/grails-plugin/src/main/groovy/grails/plugin/hibernate/HibernateGrailsPlugin.groovy b/grails-data-hibernate5/grails-plugin/src/main/groovy/grails/plugin/hibernate/HibernateGrailsPlugin.groovy
index b622256a3a..285fd64dd1 100644
--- a/grails-data-hibernate5/grails-plugin/src/main/groovy/grails/plugin/hibernate/HibernateGrailsPlugin.groovy
+++ b/grails-data-hibernate5/grails-plugin/src/main/groovy/grails/plugin/hibernate/HibernateGrailsPlugin.groovy
@@ -58,9 +58,9 @@ class HibernateGrailsPlugin extends Plugin {
def pluginExcludes = ['src/templates/**']
def license = 'APACHE'
- def organization = [name: 'Grails', url: 'https://grails.org']
- def issueManagement = [system: 'Github', url: 'https://github.com/grails/grails-data-mapping/issues']
- def scm = [url: 'https://github.com/grails/grails-data-mapping']
+ def organization = [name: 'Grails', url: 'https://grails.apache.org']
+ def issueManagement = [system: 'Github', url: 'https://github.com/apache/grails-core/issues']
+ def scm = [url: 'https://github.com/apache/grails-core']
Set<String> dataSourceNames
diff --git a/grails-data-mongodb/README.md b/grails-data-mongodb/README.md
index 225714e99b..7f5c266b08 100644
--- a/grails-data-mongodb/README.md
+++ b/grails-data-mongodb/README.md
@@ -15,20 +15,15 @@ limitations under the License.
-->
# GORM for MongoDB
-[](https://central.sonatype.com/artifact/org.grails/grails-datastore-gorm-mongodb)
-
-This project implements [GORM](https://gorm.grails.org) for the MongoDB Document Database.
-
->[!NOTE]
->The source code in this repository is version 6.x and above. For previous versions, see the [relevant branch](https://github.com/grails/grails-data-mapping/tree/5.x/grails-datastore-gorm-mongodb) on the [Grails Data Mapping project](https://github.com/grails/grails-data-mapping).
+This project implements [GORM](https://docs.grails.org/latest/grails-data/) for the MongoDB Document Database.
For more information see the following links:
-* [Documentation](https://gorm.grails.org/latest/mongodb/manual)
-* [API](https://gorm.grails.org/latest/mongodb/api)
+* [Documentation](https://docs.grails.org/latest/grails-data/mongodb/manual/)
+* [API](https://docs.grails.org/latest/api)
For the current development version see the following links:
-* [Snapshot Documentation](https://gorm.grails.org/snapshot/mongodb/manual)
-* [Snapshot API](https://gorm.grails.org/snapshot/mongodb/api)
+* [Snapshot Documentation](https://docs.grails.org/snapshot/grails-data/mongodb/manual/)
+* [Snapshot API](https://docs.grails.org/snapshot/api)
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CircularBidirectionalOneToManySpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CircularBidirectionalOneToManySpec.groovy
index b84d4badb8..f8e29a944d 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CircularBidirectionalOneToManySpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CircularBidirectionalOneToManySpec.groovy
@@ -52,7 +52,7 @@ class CircularBidirectionalOneToManySpec extends GrailsDataTckSpec<GrailsDataMon
}
- @Issue('https://github.com/grails/gorm-mongodb/issues/7')
+ @Issue('https://github.com/grails/grails-data-mongodb/issues/7')
void "Test that deleting a child doesn't not delete the parent in a circular association"() {
given: "A circular one-to-many"
new Comment(text: "Hello")
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CircularOneToManySpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CircularOneToManySpec.groovy
index 7bf9f390b0..c6e5690f7f 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CircularOneToManySpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CircularOneToManySpec.groovy
@@ -52,7 +52,7 @@ class CircularOneToManySpec extends GrailsDataTckSpec<GrailsDataMongoTckManager>
}
- @Issue('https://github.com/grails/gorm-mongodb/issues/7')
+ @Issue('https://github.com/grails/grails-data-mongodb/issues/7')
void "Test that deleting a child doesn't not delete the parent in a circular association"() {
given: "A circular one-to-many"
new Profile(name: "Fred")
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CustomIdProxySpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CustomIdProxySpec.groovy
index 0ea19684c9..410cf63d47 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CustomIdProxySpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CustomIdProxySpec.groovy
@@ -32,7 +32,7 @@ class CustomIdProxySpec extends GrailsDataTckSpec<GrailsDataMongoTckManager> {
manager.domainClasses.addAll([CustomIdCompany, CustomIdTeam])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/813')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/813')
void "Test custom id with proxies"() {
when:
CustomIdCompany c = new CustomIdCompany([slug: 'mycompany']).insert()
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EmbeddedMapSpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EmbeddedMapSpec.groovy
index 70b677de46..0970f68965 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EmbeddedMapSpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EmbeddedMapSpec.groovy
@@ -32,7 +32,7 @@ class EmbeddedMapSpec extends GrailsDataTckSpec<GrailsDataMongoTckManager> {
manager.domainClasses.addAll([EmbeddedMapPerson])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/691')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/691')
void "Test that persisting and loading an embedded map works as expected"() {
when: "An entity with a map is persisted"
new EmbeddedMapPerson(name: "John Doe",
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EmbeddedUnsetSpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EmbeddedUnsetSpec.groovy
index cc001d1ea6..cdd1a87a59 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EmbeddedUnsetSpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EmbeddedUnsetSpec.groovy
@@ -29,7 +29,7 @@ class EmbeddedUnsetSpec extends GrailsDataTckSpec<GrailsDataMongoTckManager> {
manager.domainClasses.addAll([EmbeddedPetOwner, EmbeddedPet])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/718')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/718')
void "Test unset value from embedded collection"() {
given:
EmbeddedPetOwner o = new EmbeddedPetOwner(name: "bob", pets: [new EmbeddedPet(name: "fido")])
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EventsWithAbstractInheritanceSpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EventsWithAbstractInheritanceSpec.groovy
index dd8b0ccb0b..f56b1df9c2 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EventsWithAbstractInheritanceSpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/EventsWithAbstractInheritanceSpec.groovy
@@ -31,7 +31,7 @@ class EventsWithAbstractInheritanceSpec extends GrailsDataTckSpec<GrailsDataMong
manager.domainClasses.addAll([ConcreteEventDomain])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/701')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/701')
def 'Test that events work with abstract inheritance'() {
when: "An entity is saved"
ConcreteEventDomain ced = new ConcreteEventDomain(name: "Bob").save(flush: true)
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/InListQuerySpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/InListQuerySpec.groovy
index 023005e38c..a0d7a9068f 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/InListQuerySpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/InListQuerySpec.groovy
@@ -32,7 +32,7 @@ class InListQuerySpec extends GrailsDataTckSpec<GrailsDataMongoTckManager> {
manager.domainClasses += [Pet, Person, PetType]
}
- @Issue('https://github.com/grails/gorm-mongodb/issues/11')
+ @Issue('https://github.com/grails/grails-data-mongodb/issues/11')
void "Test that in list works for where queries and single-ended associations"() {
given: "Some test data"
createPets()
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/SetRetrievalSpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/SetRetrievalSpec.groovy
index d1306c7f10..e82bad6571 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/SetRetrievalSpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/SetRetrievalSpec.groovy
@@ -36,7 +36,7 @@ class SetRetrievalSpec extends GrailsDataTckSpec<GrailsDataMongoTckManager> {
manager.domainClasses.addAll([Team, Player])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/675')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/675')
void "Test retrieve an existing set"() {
when:"a set is retrieved"
MongoDatabase db = Team.DB
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/WriteConcernSpec.groovy b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/WriteConcernSpec.groovy
index 29eaf7ecef..982580951c 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/WriteConcernSpec.groovy
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/WriteConcernSpec.groovy
@@ -44,7 +44,7 @@ class WriteConcernSpec extends GrailsDataTckSpec<GrailsDataMongoTckManager> {
sw != null
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/600')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/600')
void "Test unacknowledged write concern"() {
when: "An object is saved"
def sw = new UnacknowledgedWrite(name: "Bob")
diff --git a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/java/MongoResultListJavaForEachTest.java b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/java/MongoResultListJavaForEachTest.java
index ad1672c139..df92bc7c6d 100644
--- a/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/java/MongoResultListJavaForEachTest.java
+++ b/grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/java/MongoResultListJavaForEachTest.java
@@ -58,7 +58,7 @@ public class MongoResultListJavaForEachTest {
}
}
- // Test for issue https://github.com/grails/gorm-mongodb/issues/45
+ // Test for issue https://github.com/grails/grails-data-mongodb/issues/45
@Test
public void testForEachWithMongoResultList() {
PersistentEntity entity = datastore.getMappingContext().getPersistentEntity(Book.class.getName());
diff --git a/grails-data-mongodb/docs/src/docs/asciidoc/introduction/compatibility.adoc b/grails-data-mongodb/docs/src/docs/asciidoc/introduction/compatibility.adoc
index 3f9d4d31b5..95a24299ac 100644
--- a/grails-data-mongodb/docs/src/docs/asciidoc/introduction/compatibility.adoc
+++ b/grails-data-mongodb/docs/src/docs/asciidoc/introduction/compatibility.adoc
@@ -18,7 +18,7 @@ under the License.
////
=== Compatibility with GORM for Hibernate
-This implementation tries to be as compatible as possible with GORM for Hibernate. In general you can refer to the https://grails.org/doc/latest/guide/5.%20Object%20Relational%20Mapping%20(GORM).html[GORM documentation] and the "Domain Classes" section of the https://grails.org/doc/latest/[reference guide] (see the right nav) for usage information.
+This implementation tries to be as compatible as possible with GORM for Hibernate. In general you can refer to the https://docs.grails.org/latest/grails-data/[GORM documentation] and the "Domain Classes" section of the https://docs.grails.org/latest/[reference guide] (see the right nav) for usage information.
The following key features are supported by GORM for Mongo:
diff --git a/grails-data-mongodb/docs/src/docs/asciidoc/querying/queryingBasics.adoc b/grails-data-mongodb/docs/src/docs/asciidoc/querying/queryingBasics.adoc
index a36debccc4..b130cf1843 100644
--- a/grails-data-mongodb/docs/src/docs/asciidoc/querying/queryingBasics.adoc
+++ b/grails-data-mongodb/docs/src/docs/asciidoc/querying/queryingBasics.adoc
@@ -18,7 +18,7 @@ under the License.
////
=== Basic Querying
-GORM for MongoDB supports all of the https://gorm.grails.org/latest/hibernate/manual/index.html#querying[regular methods] for executing GORM queries apart from HQL, which is a Hibernate specific query language more appropriate for SQL databases.
+GORM for MongoDB supports all of the https://docs.grails.org/latest/grails-data/hibernate5/manual/index.html#querying[regular methods] for executing GORM queries apart from HQL, which is a Hibernate specific query language more appropriate for SQL databases.
If you wish to execute a native MongoDB query you can use the `find` method that takes a https://api.mongodb.com/java/current/org/bson/conversions/Bson.html[Bson] argument. For example:
diff --git a/grails-data-mongodb/grails-plugin/src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy b/grails-data-mongodb/grails-plugin/src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy
index 8484ac385d..f46c8bcbb5 100644
--- a/grails-data-mongodb/grails-plugin/src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy
+++ b/grails-data-mongodb/grails-plugin/src/main/groovy/grails/plugins/mongodb/MongodbGrailsPlugin.groovy
@@ -35,15 +35,15 @@ import org.springframework.transaction.PlatformTransactionManager
class MongodbGrailsPlugin extends Plugin {
def license = 'Apache 2.0 License'
- def organization = [name: 'Grails', url: 'https://grails.org/']
- def issueManagement = [system: 'Github', url: 'https://github.com/grails/gorm-mongodb']
- def scm = [url: 'https://github.com/grails/gorm-mongodb']
+ def organization = [name: 'Grails', url: 'https://grails.apache.org/']
+ def issueManagement = [system: 'Github', url: 'https://github.com/apache/grails-core/issues']
+ def scm = [url: 'https://github.com/apache/grails-core']
def grailsVersion = '7.0.0 > *'
def observe = ['services', 'domainClass']
def loadAfter = ['domainClass', 'hibernate', 'hibernate5', 'hibernate6', 'services']
def title = 'GORM MongoDB'
def description = 'A plugin that integrates the MongoDB document datastore into the Grails framework, providing a GORM API onto it'
- def documentation = 'https://gorm.grails.org/latest/mongodb/manual'
+ def documentation = 'https://docs.grails.org/latest/grails-data/mongodb/manual/'
@Override
@CompileStatic
diff --git a/grails-data-neo4j/README.md b/grails-data-neo4j/README.md
index 07e8dfd79d..86cb8a0002 100644
--- a/grails-data-neo4j/README.md
+++ b/grails-data-neo4j/README.md
@@ -18,7 +18,7 @@ limitations under the License.
This project has not been updated for Grails 7 yet and is not included in the build.
-This project implements [GORM](https://gorm.grails.org) for the Neo4j 3.x Graph Database using the Bolt Java Driver.
+This project implements [GORM](https://docs.grails.org/latest/grails-data/) for the Neo4j 3.x Graph Database using the Bolt Java Driver.
For more information see the following links:
diff --git a/grails-data-neo4j/build.gradle b/grails-data-neo4j/build.gradle
index d9b4fa1dd8..f2bd3608d0 100644
--- a/grails-data-neo4j/build.gradle
+++ b/grails-data-neo4j/build.gradle
@@ -358,9 +358,9 @@ class PublishingConvention {
String projectArtifactId
String projectName = 'GORM for Neo4j'
String projectDescription = 'Provides a GORM Object Mapping implementation for the Neo4j Graph Database'
- String projectURL = 'https://gorm.grails.org/latest/neo4j'
- String projectIssueTrackerUrl = 'https://github.com/grails/gorm-neo4j/issues'
- String projectVcsUrl = 'https://github.com/grails/gorm-neo4j'
+ String projectURL = 'https://github.com/apache/grails-core/tree/HEAD/grails-data-neo4j'
+ String projectIssueTrackerUrl = 'https://github.com/apache/grails-core/issues'
+ String projectVcsUrl = 'https://github.com/apache/grails-core'
PublishingConvention(Project project) {
this.project = project
diff --git a/grails-data-neo4j/examples/grails3-neo4j-hibernate/grails-app/views/layouts/main.gsp b/grails-data-neo4j/examples/grails3-neo4j-hibernate/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-data-neo4j/examples/grails3-neo4j-hibernate/grails-app/views/layouts/main.gsp
+++ b/grails-data-neo4j/examples/grails3-neo4j-hibernate/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-data-neo4j/examples/grails3-neo4j/grails-app/views/layouts/main.gsp b/grails-data-neo4j/examples/grails3-neo4j/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-data-neo4j/examples/grails3-neo4j/grails-app/views/layouts/main.gsp
+++ b/grails-data-neo4j/examples/grails3-neo4j/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/LabelStrategySpec.groovy b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/LabelStrategySpec.groovy
index 8cc43ae367..93cc9b363c 100644
--- a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/LabelStrategySpec.groovy
+++ b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/LabelStrategySpec.groovy
@@ -190,7 +190,7 @@ class LabelStrategySpec extends GormDatastoreSpec {
verifyLabelsForId(finalSubclassInstance.id, ['FinalSubClass', 'SubClass'])
}
- @Issue('https://github.com/grails/gorm-neo4j/issues/98')
+ @Issue('https://github.com/grails/grails-data-neo4j/issues/98')
void 'test abstract classes can contribute to labels'() {
when:
def subclassInstance = new LabeledSub(name: 'parent name', profession: 'foo').save(flush: true)
diff --git a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/OneToManyUpdateSpec.groovy b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/OneToManyUpdateSpec.groovy
index bd8f075f25..54267022f3 100644
--- a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/OneToManyUpdateSpec.groovy
+++ b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/OneToManyUpdateSpec.groovy
@@ -28,7 +28,7 @@ import spock.lang.Issue
class OneToManyUpdateSpec extends GormDatastoreSpec {
- @Issue('https://github.com/grails/grails-data-mapping/issues/575')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/575')
void "Test updates to one to many don't create duplicate relationships"() {
given:" a one to many relationship"
Club club = new Club(name:"Manchester United")
@@ -91,7 +91,7 @@ class OneToManyUpdateSpec extends GormDatastoreSpec {
}
- @Issue('https://github.com/grails/gorm-neo4j/issues/26')
+ @Issue('https://github.com/grails/grails-data-neo4j/issues/26')
void "test that setting an association to null clears the relationship"() {
given:
Club c = new Club(name: "Manchester United").save(validate:false)
diff --git a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/OrphanDeleteSpec.groovy b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/OrphanDeleteSpec.groovy
index da84004f06..d1aabc0f59 100644
--- a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/OrphanDeleteSpec.groovy
+++ b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/OrphanDeleteSpec.groovy
@@ -28,7 +28,7 @@ import spock.lang.Issue
class OrphanDeleteSpec extends GormDatastoreSpec {
- @Issue('https://github.com/grails/gorm-neo4j/issues/6')
+ @Issue('https://github.com/grails/grails-data-neo4j/issues/6')
void "test cascade delete orphan results in removing orphaned nodes"() {
when:
new Contact()
diff --git a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/SchemalessSpec.groovy b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/SchemalessSpec.groovy
index df99a57c12..6a65db6a65 100644
--- a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/SchemalessSpec.groovy
+++ b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/SchemalessSpec.groovy
@@ -235,7 +235,7 @@ class SchemalessSpec extends GormDatastoreSpec {
}
- @Issue('https://github.com/grails/gorm-neo4j/issues/18')
+ @Issue('https://github.com/grails/grails-data-neo4j/issues/18')
def "test clear dynamic collection association"() {
setup:
def cosima = new Pet(name: 'Cosima')
diff --git a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/TransientsSpec.groovy b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/TransientsSpec.groovy
index 3ea88757bd..edd6c33ae3 100644
--- a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/TransientsSpec.groovy
+++ b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/TransientsSpec.groovy
@@ -27,7 +27,7 @@ import spock.lang.Issue
*/
class TransientsSpec extends GormDatastoreSpec {
- @Issue('https://github.com/grails/grails-data-mapping/issues/574')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/574')
void "Test transients are actually transient"() {
when:
TransientChild child = new TransientChild(name:"Bob", transientProperty: "blah")
diff --git a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/UniqueConstraintSpec.groovy b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/UniqueConstraintSpec.groovy
index 26cf2c0fba..ef5c831ab0 100644
--- a/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/UniqueConstraintSpec.groovy
+++ b/grails-data-neo4j/grails-datastore-gorm-neo4j/src/test/groovy/grails/gorm/tests/UniqueConstraintSpec.groovy
@@ -42,7 +42,7 @@ import javax.persistence.FlushModeType
*/
class UniqueConstraintSpec extends GormDatastoreSpec {
- @Issue('https://github.com/grails/grails-core/issues/9596')
+ @Issue('https://github.com/apache/grails-core/issues/9596')
void "Test update secondary property when using unique constraint"() {
when:"An object with a unique constraint is saved"
UniqueGroup o = new UniqueGroup(name: "foo", desc: "foo description").save(flush: true)
diff --git a/grails-data-neo4j/grails-plugin/src/main/groovy/org/grails/datastore/gorm/neo4j/Neo4jGrailsPlugin.groovy b/grails-data-neo4j/grails-plugin/src/main/groovy/org/grails/datastore/gorm/neo4j/Neo4jGrailsPlugin.groovy
index 1b19938fa0..fd0d7b5908 100644
--- a/grails-data-neo4j/grails-plugin/src/main/groovy/org/grails/datastore/gorm/neo4j/Neo4jGrailsPlugin.groovy
+++ b/grails-data-neo4j/grails-plugin/src/main/groovy/org/grails/datastore/gorm/neo4j/Neo4jGrailsPlugin.groovy
@@ -34,12 +34,12 @@ import org.springframework.core.env.PropertyResolver
class Neo4jGrailsPlugin extends Plugin {
def license = "Apache 2.0 License"
- def organization = [ name: "Grails", url: "http://grails.org/" ]
+ def organization = [ name: "Grails", url: "https://grails.apache.org/" ]
def developers = [
[ name: "Graeme Rocher", email: "graeme@grails.org"],
[ name: "Stefan Armbruster", email: "stefan@armbruster-it.de" ] ]
- def issueManagement = [ system: "JIRA", url: "https://github.com/grails/grails-data-mapping/issues" ]
- def scm = [ url: "https://github.com/grails/grails-data-mapping" ]
+ def issueManagement = [ system: "JIRA", url: "https://github.com/apache/grails-core/issues" ]
+ def scm = [ url: "https://github.com/apache/grails-core" ]
def grailsVersion = "3.3.0 > *"
def loadAfter = ['domainClass', 'hibernate', 'services', 'converters']
diff --git a/grails-datamapping-core-test/src/test/groovy/grails/gorm/services/ServiceImplSpec.groovy b/grails-datamapping-core-test/src/test/groovy/grails/gorm/services/ServiceImplSpec.groovy
index 09d7a72cb5..2c5f5bd345 100644
--- a/grails-datamapping-core-test/src/test/groovy/grails/gorm/services/ServiceImplSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/grails/gorm/services/ServiceImplSpec.groovy
@@ -366,7 +366,7 @@ class ServiceImplSpec extends Specification {
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/968')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/968')
void "Test @where with association query"() {
given:
ProductService productService = datastore.getService(ProductService)
diff --git a/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/CircularCascadeSpec.groovy b/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/CircularCascadeSpec.groovy
index b5f4dc2df0..ffaab4b7a0 100644
--- a/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/CircularCascadeSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/CircularCascadeSpec.groovy
@@ -37,7 +37,7 @@ class CircularCascadeSpec extends GrailsDataTckSpec<GrailsDataCoreTckManager> {
manager.domainClasses.addAll([SchoolPerson, ActivityValidate, SportValidate, TeamValidate, ArenaValidate])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/967')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/967')
void "test circular cascade does not stackoverflow with persistent entity validator"() {
given:
SchoolPerson splinter = new SchoolPerson(name: 'Master Splinter')
@@ -75,7 +75,7 @@ class CircularCascadeSpec extends GrailsDataTckSpec<GrailsDataCoreTckManager> {
}
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/1006')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1006')
void "test multiple child associations are validated"() {
given:
addValidator(ActivityValidate, SportValidate, TeamValidate, ArenaValidate)
diff --git a/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/DetachedCriteriaAssociationQuerySpec.groovy b/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/DetachedCriteriaAssociationQuerySpec.groovy
index 5676937c7b..b4e323d7c4 100644
--- a/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/DetachedCriteriaAssociationQuerySpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/DetachedCriteriaAssociationQuerySpec.groovy
@@ -34,7 +34,7 @@ class DetachedCriteriaAssociationQuerySpec extends GrailsDataTckSpec<GrailsDataC
manager.domainClasses.addAll([BookA, Genre])
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/776')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/776')
void "test that detached nested criteria work for association queries"() {
when: "an object is queried with a detached association query"
new BookA(genre: new Genre(description: "horror").save()).save(flush: true)
diff --git a/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/SingleResultSpec.groovy b/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/SingleResultSpec.groovy
index 1efe2f3c99..adfcc4fddb 100644
--- a/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/SingleResultSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/SingleResultSpec.groovy
@@ -28,7 +28,7 @@ import spock.lang.Issue
*/
class SingleResultSpec extends GrailsDataTckSpec<GrailsDataCoreTckManager> {
- @Issue('https://github.com/grails/grails-data-mapping/issues/872')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/872')
void "test single result state"() {
when:
def query = manager.session.createQuery(TestEntity)
diff --git a/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/WhereMethodSpec.groovy b/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/WhereMethodSpec.groovy
index 62a49b43ae..a1d0ba5533 100644
--- a/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/WhereMethodSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/grails/gorm/tests/WhereMethodSpec.groovy
@@ -129,7 +129,7 @@ class Project {
people.size() == 2
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/982')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/982')
def "test transform method that operates on returned query"() {
given: "A bunch of people"
createPeople()
diff --git a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/EmbeddedAssociationWithNoEntityAndGlobalNullableConstraintSpec.groovy b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/EmbeddedAssociationWithNoEntityAndGlobalNullableConstraintSpec.groovy
index 1faa9b1736..73116e694c 100755
--- a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/EmbeddedAssociationWithNoEntityAndGlobalNullableConstraintSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/EmbeddedAssociationWithNoEntityAndGlobalNullableConstraintSpec.groovy
@@ -38,7 +38,7 @@ class EmbeddedAssociationWithNoEntityAndGlobalNullableConstraintSpec extends Spe
)
@Transactional
- @Issue('https://github.com/grails/grails-core/issues/10867')
+ @Issue('https://github.com/apache/grails-core/issues/10867')
void "global constraints are applied to embedded properties defined as POGO"() {
given: 'a user with only a few properties set'
def user = new User2()
diff --git a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/FindByDomainInListSpec.groovy b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/FindByDomainInListSpec.groovy
index b901696660..648791cec4 100644
--- a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/FindByDomainInListSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/FindByDomainInListSpec.groovy
@@ -27,7 +27,7 @@ import spock.lang.Issue
/**
* @author graemerocher
*/
-@Issue('https://github.com/grails/grails-core/issues/2674')
+@Issue('https://github.com/apache/grails-core/issues/2674')
class FindByDomainInListSpec extends GrailsDataTckSpec<GrailsDataCoreTckManager> {
void setupSpec() {
manager.domainClasses.addAll([BookAuthor, AuthorBook])
diff --git a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/GormDirtyCheckingSpec.groovy b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/GormDirtyCheckingSpec.groovy
index 9738edf013..ffb72a7e8d 100644
--- a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/GormDirtyCheckingSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/GormDirtyCheckingSpec.groovy
@@ -36,7 +36,7 @@ class GormDirtyCheckingSpec extends GrailsDataTckSpec<GrailsDataCoreTckManager>
student.isDirty()
}
- @Issue('https://github.com/grails/grails-core/issues/12453')
+ @Issue('https://github.com/apache/grails-core/issues/12453')
void "test Boolean property getters"() {
when:
diff --git a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/InOperatorWithAssociationsSpec.groovy b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/InOperatorWithAssociationsSpec.groovy
index 24a396b5af..736b226b77 100644
--- a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/InOperatorWithAssociationsSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/InOperatorWithAssociationsSpec.groovy
@@ -31,7 +31,7 @@ class InOperatorWithAssociationsSpec extends GrailsDataTckSpec<GrailsDataCoreTck
manager.domainClasses.addAll([InAuthor, InBook])
}
- @Issue('https://github.com/grails/grails-core/issues/9279')
+ @Issue('https://github.com/apache/grails-core/issues/9279')
void "Test query association using in operator in where query"() {
setup: "Creating authors and books."
InAuthor adams = new InAuthor(name: "Douglas Adams").save(failOnError: 'true')
diff --git a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/MappedByNoneSpec.groovy b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/MappedByNoneSpec.groovy
index a22010e180..311cf15b42 100644
--- a/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/MappedByNoneSpec.groovy
+++ b/grails-datamapping-core-test/src/test/groovy/org/grails/datastore/gorm/MappedByNoneSpec.groovy
@@ -27,7 +27,7 @@ import spock.lang.Issue
/**
* @author graemerocher
*/
-@Issue('https://github.com/grails/grails-core/issues/669')
+@Issue('https://github.com/apache/grails-core/issues/669')
class MappedByNoneSpec extends GrailsDataTckSpec<GrailsDataCoreTckManager> {
void setupSpec() {
manager.domainClasses.addAll([Player, SoftballTeamPreference])
diff --git a/grails-datamapping-core/src/test/groovy/grails/gorm/annotation/transactions/TransactionalTransformSpec.groovy b/grails-datamapping-core/src/test/groovy/grails/gorm/annotation/transactions/TransactionalTransformSpec.groovy
index fa5f3d3400..78a17c3d22 100644
--- a/grails-datamapping-core/src/test/groovy/grails/gorm/annotation/transactions/TransactionalTransformSpec.groovy
+++ b/grails-datamapping-core/src/test/groovy/grails/gorm/annotation/transactions/TransactionalTransformSpec.groovy
@@ -130,7 +130,7 @@ import grails.gorm.transactions.Transactional
instance.targetDatastore == mockDatastore
}
- @Issue('https://github.com/grails/grails-core/issues/9989')
+ @Issue('https://github.com/apache/grails-core/issues/9989')
void "Test transactional transform when applied to inheritance"() {
when: "A subclass subclasses a transactional service"
Class dogService = new GroovyShell().evaluate('''
@@ -171,7 +171,7 @@ import grails.gorm.transactions.Transactional
}
- @Issue('https://github.com/grails/grails-core/issues/9837')
+ @Issue('https://github.com/apache/grails-core/issues/9837')
void "Test @Rollback when applied to Spock specifications with closures combined with where queries"() {
when: "A new instance of a class with a @Transactional method is created that subclasses another transactional class"
Class mySpec = new GroovyShell().evaluate('''
@@ -203,7 +203,7 @@ import grails.gorm.transactions.Transactional
}
- @Issue('https://github.com/grails/grails-core/issues/9646')
+ @Issue('https://github.com/apache/grails-core/issues/9646')
void "Test @Rollback when applied to Spock specifications with closures in then blocks"() {
when: "A new instance of a class with a @Transactional method is created that subclasses another transactional class"
Class mySpec = new GroovyShell().evaluate('''
diff --git a/grails-datamapping-core/src/test/groovy/org/grails/datastore/gorm/dirty/checking/DirtyCheckTransformationSpec.groovy b/grails-datamapping-core/src/test/groovy/org/grails/datastore/gorm/dirty/checking/DirtyCheckTransformationSpec.groovy
index b0f52d330f..839f73f853 100644
--- a/grails-datamapping-core/src/test/groovy/org/grails/datastore/gorm/dirty/checking/DirtyCheckTransformationSpec.groovy
+++ b/grails-datamapping-core/src/test/groovy/org/grails/datastore/gorm/dirty/checking/DirtyCheckTransformationSpec.groovy
@@ -29,7 +29,7 @@ import spock.lang.Issue
* @author Graeme Rocher
*/
class DirtyCheckTransformationSpec extends Specification {
- @Issue('https://github.com/grails/grails-data-mapping/issues/894')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/894')
void "Test transform doesn't make getters require static compilation"() {
when:"A Dirty checkable class with generic types is parsed"
def gcl = new GroovyClassLoader()
@@ -163,7 +163,7 @@ abstract class AbstractContent {
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/917')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/917')
void "Test dirty check with with custom setter"() {
when:"A Dirty checkable class with generic types is parsed"
def gcl = new GroovyClassLoader()
@@ -192,7 +192,7 @@ class Author {
child.name == "Stephen King"
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/917')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/917')
void "Test dirty check with with custom getter"() {
when:"A Dirty checkable class with generic types is parsed"
def gcl = new GroovyClassLoader()
@@ -327,7 +327,7 @@ class FundProduct {
book.getOriginalValue('title') == null
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/629')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/629')
void "Test that dirty checking does not mark the object of dirty if a setter is called with the same value"() {
when: "A new book is created"
def book = new Book(title: "The Stand")
@@ -394,7 +394,7 @@ class FundProduct {
b.hasChanged("age")
}
- @Issue("https://github.com/grails/grails-data-mapping/issues/744")
+ @Issue("https://github.com/apache/grails-data-mapping/issues/744")
void "Test that listDirtyPropertyNames does not include the entity name"() {
when: "A new book is created"
def book = new Book(title: "Book Title", releaseDate: new Date())
diff --git a/grails-datamapping-validation/src/main/groovy/org/grails/datastore/gorm/validation/constraints/UrlConstraint.java b/grails-datamapping-validation/src/main/groovy/org/grails/datastore/gorm/validation/constraints/UrlConstraint.java
index bb0081b4a6..750b58b72a 100644
--- a/grails-datamapping-validation/src/main/groovy/org/grails/datastore/gorm/validation/constraints/UrlConstraint.java
+++ b/grails-datamapping-validation/src/main/groovy/org/grails/datastore/gorm/validation/constraints/UrlConstraint.java
@@ -55,7 +55,7 @@ public class UrlConstraint extends AbstractConstraint {
RegexValidator domainValidator;
if (constraintParameter instanceof Boolean || constraintParameter instanceof UrlValidator) {
- // See https://github.com/grails/grails-core/issues/10993
+ // See https://github.com/apache/grails-core/issues/10993
// When using "importFrom" the constraintParameter is the UrlValidator even if it was defined as
// url: true, so we want the same behavior.
domainValidator = null;
diff --git a/grails-datamapping-validation/src/test/groovy/grails/gorm/validation/PersistentEntityValidatorSpec.groovy b/grails-datamapping-validation/src/test/groovy/grails/gorm/validation/PersistentEntityValidatorSpec.groovy
index f896aaaa3e..e8d9aeefa5 100644
--- a/grails-datamapping-validation/src/test/groovy/grails/gorm/validation/PersistentEntityValidatorSpec.groovy
+++ b/grails-datamapping-validation/src/test/groovy/grails/gorm/validation/PersistentEntityValidatorSpec.groovy
@@ -54,7 +54,7 @@ class PersistentEntityValidatorSpec extends Specification {
}
// beforeValidate on the initial save is part of the GormValidationApi doValidate() call
- @Issue('https://github.com/grails/grails-data-mapping/issues/1102')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1102')
def "validation of root object does NOT trigger beforeValidate here"() {
Author author = new Author()
Errors errors = new ValidationErrors(author)
@@ -67,7 +67,7 @@ class PersistentEntityValidatorSpec extends Specification {
errors.getFieldErrors('name')
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/1102')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1102')
def "cascading validation triggers beforeValidate callback on to-many association"() {
Author author = new Author(name: 'Author', books: [new Book()])
Errors errors = new ValidationErrors(author)
@@ -81,7 +81,7 @@ class PersistentEntityValidatorSpec extends Specification {
author.books.first().name == "name"
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/1102')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1102')
def "cascading validation triggers beforeValidate callback on to-one association"() {
Author author = new Author(name: 'Author', publisher: new Publisher())
Errors errors = new ValidationErrors(author)
@@ -94,7 +94,7 @@ class PersistentEntityValidatorSpec extends Specification {
author.publisher.name == "name"
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/1106')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1106')
def "validation cascades by default if association is owned or has cascade options of PERSIST or MERGE"() {
Author author = new Author(name: 'Author', publisher: new Publisher())
Errors errors = new ValidationErrors(author)
@@ -106,7 +106,7 @@ class PersistentEntityValidatorSpec extends Specification {
author.publisher.validateCalled
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/1106')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1106')
def "toMany validation cascades when isOwningSide is true if cascadeValidate option is set to owned or default"() {
Author author = new Author(name: 'Author', books: [new Book()], defaultBooks: [new Book()], noneBooks: [new Book()])
Errors errors = new ValidationErrors(author)
@@ -128,7 +128,7 @@ class PersistentEntityValidatorSpec extends Specification {
author.noneBooks.first().name == null
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/1106')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1106')
def "toMany validation does not cascade when cascadeValidate option is set to none"() {
Author author = new Author(name: 'Author', noneBooks: [new Book()])
Errors errors = new ValidationErrors(author)
@@ -142,7 +142,7 @@ class PersistentEntityValidatorSpec extends Specification {
author.noneBooks.first().name == null
}
- @Issue('https://github.com/grails/grails-data-mapping/issues/1106')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1106')
def "toOne validation does not cascade if cascadeValidate option is none"() {
Author author = new Author(name: 'Author', nonePublisher: new Publisher())
Errors errors = new ValidationErrors(author)
diff --git a/grails-datamapping-validation/src/test/groovy/grails/gorm/validation/cascade/NoDuplicateCascadeSpec.groovy b/grails-datamapping-validation/src/test/groovy/grails/gorm/validation/cascade/NoDuplicateCascadeSpec.groovy
index 92866f439f..f9e61d413a 100644
--- a/grails-datamapping-validation/src/test/groovy/grails/gorm/validation/cascade/NoDuplicateCascadeSpec.groovy
+++ b/grails-datamapping-validation/src/test/groovy/grails/gorm/validation/cascade/NoDuplicateCascadeSpec.groovy
@@ -52,7 +52,7 @@ class NoDuplicateCascadeSpec extends Specification {
validator = registry.getValidator(chapterEntity)
}
- @Issue("https://github.com/grails/grails-data-mapping/issues/1064")
+ @Issue("https://github.com/apache/grails-data-mapping/issues/1064")
def "cascading validation should not validate objects more than once"() {
Author a1 = new Author()
diff --git a/grails-datastore-core/src/test/groovy/org/grails/datastore/mapping/dirty/checking/DirtyCheckableSpec.groovy b/grails-datastore-core/src/test/groovy/org/grails/datastore/mapping/dirty/checking/DirtyCheckableSpec.groovy
index 7852ce708d..b577e2bbb0 100644
--- a/grails-datastore-core/src/test/groovy/org/grails/datastore/mapping/dirty/checking/DirtyCheckableSpec.groovy
+++ b/grails-datastore-core/src/test/groovy/org/grails/datastore/mapping/dirty/checking/DirtyCheckableSpec.groovy
@@ -25,7 +25,7 @@ import spock.lang.Specification
class DirtyCheckableSpec extends Specification {
- @Issue('https://github.com/grails/grails-data-mapping/issues/1231')
+ @Issue('https://github.com/apache/grails-data-mapping/issues/1231')
def 'setting a field that implements Comparable dirty checks properly'() {
given: 'a person'
def person = new Person(name: 'John Doe')
diff --git a/grails-doc/src/en/guide/cache/cacheUsage.adoc b/grails-doc/src/en/guide/cache/cacheUsage.adoc
index c147790766..fd4930518f 100644
--- a/grails-doc/src/en/guide/cache/cacheUsage.adoc
+++ b/grails-doc/src/en/guide/cache/cacheUsage.adoc
@@ -47,4 +47,4 @@ cache manager are backed by a thread-safe `java.util.concurrent.ConcurrentMap`.
This is fine for testing and possibly for low-traffic sites, but you should
consider using one of the extension plugins if you need clustering, disk
storage, persistence between restarts, and more configurability of features like
-time-to-live, maximum cache size, etc. Currently, the only extension plugin available for Grails 3 is https://github.com/grails-plugins/grails-cache-ehcache[cache-ehcache].
+time-to-live, maximum cache size, etc. Currently, the only extension plugin available for Grails is https://github.com/grails-plugins/grails-cache-ehcache[cache-ehcache].
diff --git a/grails-doc/src/en/guide/plugins/artefactApi/queryingArtefacts.adoc b/grails-doc/src/en/guide/plugins/artefactApi/queryingArtefacts.adoc
index fe6b2d7521..1136ffe379 100644
--- a/grails-doc/src/en/guide/plugins/artefactApi/queryingArtefacts.adoc
+++ b/grails-doc/src/en/guide/plugins/artefactApi/queryingArtefacts.adoc
@@ -17,7 +17,7 @@ specific language governing permissions and limitations
under the License.
////
-As a plugin developer, it can be important for you to find out about what domain classes, controllers, or other types of artefact are available in an application. For example, the https://github.com/grails/grails-elasticsearch[Elasticsearch plugin] needs to know what domain classes exist so it can check them for any `searchable` properties and index the appropriate ones. So how does it do it? The answer lies with the `grailsApplication` object, and instance of link:{api}grails/core/Grail [...]
+As a plugin developer, it can be important for you to find out about what domain classes, controllers, or other types of artefact are available in an application. For example, the https://github.com/grails-plugins/grails-elasticsearch[Elasticsearch plugin] needs to know what domain classes exist so it can check them for any `searchable` properties and index the appropriate ones. So how does it do it? The answer lies with the `grailsApplication` object, and instance of link:{api}grails/co [...]
The `grailsApplication` object has several important properties and methods for querying artefacts. Probably the most common is the one that gives you all the classes of a particular artefact type:
diff --git a/grails-doc/src/en/guide/profiles.adoc b/grails-doc/src/en/guide/profiles.adoc
index b2184d3d58..fe30a8f3c3 100644
--- a/grails-doc/src/en/guide/profiles.adoc
+++ b/grails-doc/src/en/guide/profiles.adoc
@@ -31,7 +31,7 @@ You can specify a different profile with the `--profile` argument:
$ grails create-app myapp --profile=rest-api
----
-Profiles encapsulate the project commands, templates, and plugins that are designed to work for a given profile. The source for the profiles can be found https://github.com/grails-profiles[on GitHub], and the profiles themselves are published as JAR files to the Grails central repository.
+Profiles encapsulate the project commands, templates, and plugins that are designed to work for a given profile. The source for the profiles can be found https://github.com/apache/grails-core/tree/HEAD/grails-profiles[on GitHub], and the profiles themselves are published as JAR files to the Grails central repository.
To find out what profiles are available, use the link:{commandLineRef}list-profiles.html[list-profiles] command:
diff --git a/grails-doc/src/en/ref/Tags - Fields/display.adoc b/grails-doc/src/en/ref/Tags - Fields/display.adoc
index 6752c5997b..6114aa9130 100644
--- a/grails-doc/src/en/ref/Tags - Fields/display.adoc
+++ b/grails-doc/src/en/ref/Tags - Fields/display.adoc
@@ -122,4 +122,4 @@ Any additional attributes are passed to the rendered template.
==== Special case for rendering all properties of a bean
-When `f:display` is used without a `property` then all bean properties are rendered. This is done with the `grails-app/views/templates/_fields/_list.gsp` template. The default template can be found link:https://github.com/grails-fields-plugin/grails-fields/blob/master/grails-app/views/templates/_fields/_list.gsp[on GitHub]
\ No newline at end of file
+When `f:display` is used without a `property` then all bean properties are rendered. This is done with the `grails-app/views/templates/_fields/_list.gsp` template. The default template can be found link:https://github.com/apache/grails-core/blob/HEAD/grails-fields/grails-app/views/templates/_fields/_list.gsp[on GitHub]
diff --git a/grails-doc/src/en/ref/Tags - Fields/table.adoc b/grails-doc/src/en/ref/Tags - Fields/table.adoc
index af6943ab68..b660f8a623 100644
--- a/grails-doc/src/en/ref/Tags - Fields/table.adoc
+++ b/grails-doc/src/en/ref/Tags - Fields/table.adoc
@@ -88,7 +88,7 @@ When *theme* is specified, the _\_display_ template will be searched first in *t
To make you own version of a `f:table` template, the file should be located in `grails-app/views/templates/_fields/_table.gsp`
unless a different location is specified with the template property.
-You can find a starting point for a new file link:https://github.com/grails-fields-plugin/grails-fields/blob/master/grails-app/views/templates/_fields/_table.gsp[on GitHub]
+You can find a starting point for a new file link:https://github.com/apache/grails-core/blob/HEAD/grails-fields/grails-app/views/templates/_fields/_table.gsp[on GitHub]
====== Model in the template
diff --git a/grails-fields/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy b/grails-fields/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy
index bafd61130b..09372fb7a8 100644
--- a/grails-fields/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy
+++ b/grails-fields/grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy
@@ -560,7 +560,7 @@ class FormFieldsTagLib {
def innerAttributes = attributes.clone()
innerAttributes.remove('bean')
innerAttributes.remove('prefix')
- //'except' is a reserved word for the 'all' tag: https://github.com/grails-fields-plugin/grails-fields/issues/12
+ //'except' is a reserved word for the 'all' tag
innerAttributes.remove('except')
new BeanAndPrefix(bean: bean, prefix: prefix, innerAttributes: innerAttributes)
}
@@ -715,7 +715,7 @@ class FormFieldsTagLib {
}
}
- // TODO: https://github.com/gpc/fields/issues/392
+ // TODO: https://github.com/apache/grails-core/issues/14198
boolean datePicker = model.type in [Date, Calendar, java.sql.Date, java.sql.Time, LocalDate, LocalDateTime]
if (!datePicker) {
attrs.remove('selectDateClass')
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/AssociationTypeTemplatesSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/AssociationTypeTemplatesSpec.groovy
index acf912eb58..639ba580a3 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/AssociationTypeTemplatesSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/AssociationTypeTemplatesSpec.groovy
@@ -23,7 +23,7 @@ import grails.plugin.formfields.mock.*
import grails.testing.services.ServiceUnitTest
import spock.lang.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/issues/39')
+@Issue('https://github.com/grails/fields/issues/39')
class AssociationTypeTemplatesSpec extends BuildsAccessorFactory implements ServiceUnitTest<FormFieldsTemplateService> {
Author authorInstance
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/CommandPropertyAccessorSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/CommandPropertyAccessorSpec.groovy
index 51a359a728..ef2d26b8b7 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/CommandPropertyAccessorSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/CommandPropertyAccessorSpec.groovy
@@ -233,7 +233,7 @@ class CommandPropertyAccessorSpec extends BuildsAccessorFactory {
propertyAccessor.propertyType == String
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/37')
+ @Issue('https://github.com/grails/fields/issues/37')
void "resolves constraints of the '#property' property even when the intervening object is null"() {
given:
TestCommand command = new TestCommand()
@@ -279,7 +279,7 @@ class CommandPropertyAccessorSpec extends BuildsAccessorFactory {
propertyAccessor.constraints.blank
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/218')
+ @Issue('https://github.com/grails/fields/issues/218')
void 'respect defaultNullable() when evaluating constraints of a Validateable'() {
given:
ValidateableCommand command = new ValidateableCommand()
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/DefaultInputRenderingPersistentSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/DefaultInputRenderingPersistentSpec.groovy
index 3597a96a74..6e270727ce 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/DefaultInputRenderingPersistentSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/DefaultInputRenderingPersistentSpec.groovy
@@ -156,10 +156,10 @@ class DefaultInputRenderingPersistentSpec extends AbstractFormFieldsTagLibSpec i
boolean | true | /checked="checked"/
int | 1337 | /value="1337"/
Integer | new Integer(1337) | /value="1337"/
- URL | "http://grails.org/" | /value="http:\/\/grails.org\/"/
+ URL | "http://grails.apache.org/" | /value="http:\/\/grails.apache.org\/"/
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/60')
+ @Issue('https://github.com/grails/fields/issues/60')
void "input for a property with a password constraint does not include the value"() {
given:
def cp = new DefaultConstrainedProperty(Object, "prop", String, constraintRegistry)
@@ -573,7 +573,7 @@ class DefaultInputRenderingPersistentSpec extends AbstractFormFieldsTagLibSpec i
output.contains("""<a href="/person/create?person.id=1337">Add Person</a>""")
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/56')
+ @Issue('https://github.com/grails/fields/issues/56')
def 'an enum with a toString method uses name instead of toString for the keys'() {
given:
def model = [type: EnumWithToString, property: "prop", constraints: null, persistentProperty: basicProperty]
@@ -588,7 +588,7 @@ class DefaultInputRenderingPersistentSpec extends AbstractFormFieldsTagLibSpec i
}
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/56')
+ @Issue('https://github.com/grails/fields/issues/56')
def "enum with toString select and #type value has correct selected option"() {
when:
def model = [type: EnumWithToString, property: "prop", constraints: null, persistentProperty: basicProperty, value: value]
@@ -603,7 +603,7 @@ class DefaultInputRenderingPersistentSpec extends AbstractFormFieldsTagLibSpec i
"Enum" | "FIRST"
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/93')
+ @Issue('https://github.com/grails/fields/issues/93')
def "enum select should respect constraint inList"() {
given:
def model = [type: EnumWithToString, property: "prop", constraints: buildConstraints([inList: inListConstraint]), persistentProperty: basicProperty]
@@ -626,7 +626,7 @@ class DefaultInputRenderingPersistentSpec extends AbstractFormFieldsTagLibSpec i
[EnumWithToString.FIRST] | [EnumWithToString.THIRD, EnumWithToString.SECOND ]
}
- @Issue("https://github.com/grails-fields-plugin/grails-fields/issues/50")
+ @Issue("https://github.com/grails/fields/issues/50")
def "string property with a widget type of textarea is rendered as a textArea"() {
given:
def model = [type: String, property: "prop", constraints: buildConstraints([widget:'textarea']), persistentProperty: basicProperty]
@@ -635,7 +635,7 @@ class DefaultInputRenderingPersistentSpec extends AbstractFormFieldsTagLibSpec i
tagLib.renderDefaultInput(model) =~ /textarea name="prop"/
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/43')
+ @Issue('https://github.com/grails/fields/issues/43')
void 'input type can be overridden by supplying input-type parameter'() {
given:
def model = [type: propertyType, property: "prop", constraints: null, persistentProperty: basicProperty]
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/DefaultInputRenderingSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/DefaultInputRenderingSpec.groovy
index 83223e6bca..d13ed91255 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/DefaultInputRenderingSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/DefaultInputRenderingSpec.groovy
@@ -193,10 +193,10 @@ class DefaultInputRenderingSpec extends AbstractFormFieldsTagLibSpec implements
boolean | true | /checked="checked"/
int | 1337 | /value="1337"/
Integer | new Integer(1337) | /value="1337"/
- URL | "http://grails.org/" | /value="http:\/\/grails.org\/"/
+ URL | "http://grails.apache.org/" | /value="http:\/\/grails.apache.org\/"/
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/60')
+ @Issue('https://github.com/grails/fields/issues/60')
void "input for a property with a password constraint does not include the value"() {
given:
def cp = new DefaultConstrainedProperty(Object, "prop", String, constraintRegistry)
@@ -621,7 +621,7 @@ class DefaultInputRenderingSpec extends AbstractFormFieldsTagLibSpec implements
output.contains("""<a href="/person/create?thing.id=1337">Add Person</a>""")
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/56')
+ @Issue('https://github.com/grails/fields/issues/56')
def 'an enum with a toString method uses name instead of toString for the keys'() {
given:
def model = [type: EnumWithToString, property: "prop", constraints: null, persistentProperty: basicProperty]
@@ -636,7 +636,7 @@ class DefaultInputRenderingSpec extends AbstractFormFieldsTagLibSpec implements
}
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/56')
+ @Issue('https://github.com/grails/fields/issues/56')
def "enum with toString select and #type value has correct selected option"() {
when:
def model = [type: EnumWithToString, property: "prop", constraints: null, persistentProperty: basicProperty, value: value]
@@ -651,7 +651,7 @@ class DefaultInputRenderingSpec extends AbstractFormFieldsTagLibSpec implements
"Enum" | "FIRST"
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/93')
+ @Issue('https://github.com/grails/fields/issues/93')
def "enum select should respect constraint inList"() {
given:
def model = [type: EnumWithToString, property: "prop", constraints: buildConstraints([inList: inListConstraint]), persistentProperty: basicProperty]
@@ -674,7 +674,7 @@ class DefaultInputRenderingSpec extends AbstractFormFieldsTagLibSpec implements
[EnumWithToString.FIRST] | [EnumWithToString.THIRD, EnumWithToString.SECOND ]
}
- @Issue("https://github.com/grails-fields-plugin/grails-fields/issues/50")
+ @Issue("https://github.com/grails/fields/issues/50")
def "string property with a widget type of textarea is rendered as a textArea"() {
given:
def model = [type: String, property: "prop", constraints: buildConstraints([widget:'textarea']), persistentProperty: basicProperty]
@@ -683,7 +683,7 @@ class DefaultInputRenderingSpec extends AbstractFormFieldsTagLibSpec implements
tagLib.renderDefaultInput(model) =~ /textarea name="prop"/
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/43')
+ @Issue('https://github.com/grails/fields/issues/43')
void 'input type can be overridden by supplying input-type parameter'() {
given:
def model = [type: propertyType, property: "prop", constraints: null, persistentProperty: basicProperty]
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/DerivedPropertySpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/DerivedPropertySpec.groovy
index 83f5acc2e9..fe8c880d43 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/DerivedPropertySpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/DerivedPropertySpec.groovy
@@ -24,7 +24,7 @@ import grails.testing.web.taglib.TagLibUnitTest
import org.grails.datastore.mapping.model.MappingContext
import spock.lang.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/issues/85')
+@Issue('https://github.com/grails/fields/issues/85')
class DerivedPropertySpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
FormFieldsTemplateService mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/DomainClassPropertyAccessorSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/DomainClassPropertyAccessorSpec.groovy
index 37b61e2131..ea0281c692 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/DomainClassPropertyAccessorSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/DomainClassPropertyAccessorSpec.groovy
@@ -176,7 +176,7 @@ class DomainClassPropertyAccessorSpec extends BuildsAccessorFactory {
propertyAccessor.domainProperty == null
}
- @Issue('https://github.com/gpc/fields/issues/37')
+ @Issue('https://github.com/grails/fields/issues/37')
void "resolves constraints of the '#property' property when the intervening path is null"() {
given:
def book = new Book()
@@ -232,7 +232,7 @@ class DomainClassPropertyAccessorSpec extends BuildsAccessorFactory {
propertyAccessor.constraints.inList == ["USA", "UK", "Canada"]
}
- @Issue('https://github.com/gpc/fields/issues/38')
+ @Issue('https://github.com/grails/fields/issues/38')
void "label keys for '#property' are '#labels'"() {
given:
def bean = beanType.list().find { it.class == beanType }
@@ -250,7 +250,7 @@ class DomainClassPropertyAccessorSpec extends BuildsAccessorFactory {
Author | 'books[0].title' | ['author.books.title.label', 'book.title.label']
}
- @Issue('https://github.com/gpc/fields/issues/340')
+ @Issue('https://github.com/grails/fields/issues/340')
void "label keys for '#property' are '#labels' when addPathFromRoot == true"() {
given:
config.setAt('grails.plugin.fields.i18n.addPathFromRoot', true)
@@ -329,7 +329,7 @@ class DomainClassPropertyAccessorSpec extends BuildsAccessorFactory {
propertyAccessor.invalid
}
- @Issue('https://github.com/gpc/fields/issues/160')
+ @Issue('https://github.com/grails/fields/issues/160')
void "resolves transient property"() {
given:
def propertyAccessor = factory.accessorFor(person, "transientText")
@@ -346,7 +346,7 @@ class DomainClassPropertyAccessorSpec extends BuildsAccessorFactory {
propertyAccessor.constraints.nullable
}
- @Issue('https://github.com/gpc/fields/issues/160')
+ @Issue('https://github.com/grails/fields/issues/160')
void "resolves id property that has no constraints"() {
given:
def propertyAccessor = factory.accessorFor(person, "id")
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/FormFieldsTemplateServiceSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/FormFieldsTemplateServiceSpec.groovy
index 57fcc5d944..a83d943d42 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/FormFieldsTemplateServiceSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/FormFieldsTemplateServiceSpec.groovy
@@ -377,7 +377,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
render(template: template.path) == 'THEME CLASS AND PROPERTY TEMPLATE'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/88')
+ @Issue('https://github.com/grails/fields/issues/88')
void "resolves template from controller views directory"() {
given:
setupCommonTemplates()
@@ -444,7 +444,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/39')
+ @Issue('https://github.com/grails/fields/issues/39')
void "resolves template by property type from controller views directory"() {
given:
setupCommonTemplates()
@@ -509,7 +509,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/88')
+ @Issue('https://github.com/grails/fields/issues/88')
void "resolves template by from controller and action views directory"() {
given:
setupCommonTemplates()
@@ -545,7 +545,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/39')
+ @Issue('https://github.com/grails/fields/issues/39')
void "resolves template by property type from controller and action views directory"() {
given:
setupCommonTemplates()
@@ -583,7 +583,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/33')
+ @Issue('https://github.com/grails/fields/issues/33')
void "resolves template by property name from controller and action views directory"() {
given:
setupCommonTemplates()
@@ -747,7 +747,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
render(template: template.path) == 'GENERIC ENUM TEMPLATE'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/19')
+ @Issue('https://github.com/grails/fields/issues/19')
def "property template gets resolved by the property's interface"() {
given:
views["/_fields/default/_wrapper.gsp"] = 'DEFAULT FIELD TEMPLATE'
@@ -838,7 +838,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/pull/16')
+ @Issue('https://github.com/grails/fields/pull/16')
void 'resolves template without a bean just based on property path'() {
given:
views["/_fields/default/_wrapper.gsp"] = 'DEFAULT FIELD TEMPLATE'
@@ -865,7 +865,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/pull/16')
+ @Issue('https://github.com/grails/fields/pull/16')
void 'resolves controller template without a bean just based on property path'() {
given:
views["/_fields/default/_wrapper.gsp"] = 'DEFAULT FIELD TEMPLATE'
@@ -894,7 +894,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
render(template: template.path) == 'THEME CONTROLLER FIELD TEMPLATE'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/pull/33')
+ @Issue('https://github.com/grails/fields/pull/33')
void 'resolves controller action template without a bean just based on property path'() {
given:
views["/_fields/default/_wrapper.gsp"] = 'DEFAULT FIELD TEMPLATE'
@@ -925,7 +925,7 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
render(template: template.path) == 'THEME ACTION FIELD TEMPLATE'
}
- @Issue('https://github.com/gpc/grails-fields/issues/144')
+ @Issue('https://github.com/grails/fields/issues/144')
void "resolves template for property type object Byte array"() {
given:
views["/_fields/default/_wrapper.gsp"] = 'DEFAULT FIELD TEMPLATE'
@@ -957,13 +957,13 @@ class FormFieldsTemplateServiceSpec extends BuildsAccessorFactory implements Ser
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/pull/164')
+ @Issue('https://github.com/grails/fields/pull/164')
void "does not fail if constrained property is null"() {
expect:
null == service.getWidget(null, Object)
}
- @Issue('https://github.com/gpc/grails-fields/issues/183')
+ @Issue('https://github.com/grails/fields/issues/183')
void "resolves template for property type simple type byte array"() {
given:
views["/_fields/default/_wrapper.gsp"] = 'DEFAULT FIELD TEMPLATE'
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/TemplateLookupCachingSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/TemplateLookupCachingSpec.groovy
index 6964af098b..de5f689c5d 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/TemplateLookupCachingSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/TemplateLookupCachingSpec.groovy
@@ -26,7 +26,7 @@ import org.grails.gsp.io.GroovyPageResourceScriptSource
import org.springframework.core.io.ByteArrayResource
import spock.lang.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/issues/5')
+@Issue('https://github.com/grails/fields/issues/5')
class TemplateLookupCachingSpec extends BuildsAccessorFactory implements ServiceUnitTest<FormFieldsTemplateService> {
GrailsConventionGroovyPageLocator mockGroovyPageLocator = Mock()
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/TransientPropertySpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/TransientPropertySpec.groovy
index 341926c0c0..c1edd90b02 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/TransientPropertySpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/TransientPropertySpec.groovy
@@ -23,7 +23,7 @@ import grails.testing.web.taglib.TagLibUnitTest
import spock.lang.Issue
import grails.plugin.formfields.mock.User
-@Issue('https://github.com/grails-fields-plugin/grails-fields/issues/87')
+@Issue('https://github.com/grails/fields/issues/87')
class TransientPropertySpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
FormFieldsTemplateService mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/AllTagSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/AllTagSpec.groovy
index 7de4697374..693b92b4a4 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/AllTagSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/AllTagSpec.groovy
@@ -60,7 +60,7 @@ class AllTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<
output =~ /\bminor\b/
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/21')
+ @Issue('https://github.com/grails/fields/issues/21')
void 'all tag skips #excluded property and includes #included property'() {
given:
views["/_fields/default/_field.gsp"] = '${property} '
@@ -96,7 +96,7 @@ class AllTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<
included << ['salutation', 'name', 'password', 'gender', 'dateOfBirth', 'address.street', 'minor']
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/12')
+ @Issue('https://github.com/grails/fields/issues/12')
void 'all tag skips properties listed with the except attribute'() {
given:
views["/_fields/default/_field.gsp"] = '${property} '
@@ -124,7 +124,7 @@ class AllTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<
}
- @Issue('https://github.com/gpc/fields/issues/347')
+ @Issue('https://github.com/grails/fields/issues/347')
void 'allow order and except attributes'() {
given:
views["/_fields/default/_field.gsp"] = '|${property}|'
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/AttributesOfWithAndAllTagsArePropagatedSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/AttributesOfWithAndAllTagsArePropagatedSpec.groovy
index 726fd7911a..914c09fca9 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/AttributesOfWithAndAllTagsArePropagatedSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/AttributesOfWithAndAllTagsArePropagatedSpec.groovy
@@ -29,7 +29,7 @@ import spock.lang.Unroll
@Unroll
-@Issue('https://github.com/grails-fields-plugin/grails-fields/issues/210')
+@Issue('https://github.com/grails/fields/issues/210')
class AttributesOfWithAndAllTagsArePropagatedSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
FormFieldsTemplateService mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/DisplayTagSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/DisplayTagSpec.groovy
index 8cfeb2bcf6..3ed9322324 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/DisplayTagSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/DisplayTagSpec.groovy
@@ -28,7 +28,7 @@ import grails.plugin.formfields.mock.Product
import grails.testing.web.taglib.TagLibUnitTest
import spock.lang.Issue
-@Issue('https://github.com/grails-fields-plugin/grails-fields/issues/45')
+@Issue('https://github.com/grails/fields/issues/45')
class DisplayTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
FormFieldsTemplateService mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
@@ -148,7 +148,7 @@ class DisplayTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitT
applyTemplate('<f:display bean="personInstance" property="name" displayStyle="custom" theme="test"/>', [personInstance: personInstance]) == 'theme Custom: Bart Simpson'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/88')
+ @Issue('https://github.com/grails/fields/issues/88')
void 'display tag will use body for rendering value'() {
given:
views["/_fields/default/_displayWrapper.gsp"] = '<dt>${label}</dt><dd>${value}</dd>'
@@ -160,7 +160,7 @@ class DisplayTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitT
applyTemplate('<f:display bean="personInstance" property="name">${value.reverse()}</f:display>', [personInstance: personInstance]) == '<dt>Name</dt><dd>nospmiS traB</dd>'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/192')
+ @Issue('https://github.com/grails/fields/issues/192')
void 'display tag will use body for rendering value2'() {
given:
views["/_fields/default/_displayWrapper.gsp"] = '<dt>${label}</dt><dd>${value}</dd>'
@@ -172,7 +172,7 @@ class DisplayTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitT
applyTemplate('<f:display bean="personInstance" property="gender">${value.name()}</f:display>', [personInstance: personInstance]) == '<dt>Gender</dt><dd>Male</dd>'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/135')
+ @Issue('https://github.com/grails/fields/issues/135')
void 'numeric properties are not converted to Strings in display template'() {
given:
views["/_fields/default/_displayWrapper.gsp"] = '<dt>${label}</dt><dd>${value}</dd>'
@@ -191,7 +191,7 @@ class DisplayTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitT
applyTemplate('<f:with bean="personInstance"><f:display property="name"/></f:with>', [personInstance: personInstance]) == personInstance.name
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/160')
+ @Issue('https://github.com/grails/fields/issues/160')
void 'renders transients using g:fieldValue'() {
expect:
applyTemplate('<f:display bean="personInstance" property="transientText"/>', [personInstance: personInstance]) == personInstance.transientText
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/EmbeddedPropertiesSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/EmbeddedPropertiesSpec.groovy
index 2e3915e2df..9277fa8464 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/EmbeddedPropertiesSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/EmbeddedPropertiesSpec.groovy
@@ -23,7 +23,7 @@ import grails.testing.web.taglib.TagLibUnitTest
import spock.lang.Issue
import grails.plugin.formfields.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/issues/30')
+@Issue('https://github.com/grails/fields/issues/30')
class EmbeddedPropertiesSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
def mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/ExtraAttributesSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/ExtraAttributesSpec.groovy
index a109343f00..716dc1e774 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/ExtraAttributesSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/ExtraAttributesSpec.groovy
@@ -23,7 +23,7 @@ import grails.testing.web.taglib.TagLibUnitTest
import spock.lang.Issue
import grails.plugin.formfields.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/pull/17')
+@Issue('https://github.com/grails/fields/pull/17')
class ExtraAttributesSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
def mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
@@ -172,7 +172,7 @@ class ExtraAttributesSpec extends AbstractFormFieldsTagLibSpec implements TagLib
applyTemplate('<f:input bean="personInstance" property="name" foo="bar"/>', [personInstance: personInstance]) == '<input type="text" foo="bar" name="name" value="Bart Simpson" required="" id="name" />'
}
- @Issue("https://github.com/grails-fields-plugin/grails-fields/pull/49")
+ @Issue("https://github.com/grails/fields/pull/49")
void 'arbitrary attributes prefixed with input- are not passed to the field template'() {
given:
views["/_fields/default/_wrapper.gsp"] = '<foo>${foo}</foo>'
@@ -257,7 +257,7 @@ class ExtraAttributesSpec extends AbstractFormFieldsTagLibSpec implements TagLib
applyTemplate('<f:display bean="personInstance" property="name" input-foo="bar"/>', [personInstance: personInstance]) == '<span>bar</span>'
}
- @Issue("https://github.com/grails-fields-plugin/grails-fields/pull/49")
+ @Issue("https://github.com/grails/fields/pull/49")
void 'arbitrary attributes prefixed with input- on f:field are passed to the default input'() {
given:
views["/_fields/default/_wrapper.gsp"] = '${widget}'
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldNamePrefixSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldNamePrefixSpec.groovy
index 67cd884589..291a9691b1 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldNamePrefixSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldNamePrefixSpec.groovy
@@ -23,7 +23,7 @@ import grails.testing.web.taglib.TagLibUnitTest
import spock.lang.Issue
import grails.plugin.formfields.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/pull/51')
+@Issue('https://github.com/grails/fields/pull/51')
class FieldNamePrefixSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
def mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldTagWithBodySpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldTagWithBodySpec.groovy
index 4574103c28..d96da04c1b 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldTagWithBodySpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldTagWithBodySpec.groovy
@@ -27,7 +27,7 @@ import org.springframework.context.support.StaticMessageSource
import spock.lang.Issue
import grails.plugin.formfields.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/pull/16')
+@Issue('https://github.com/grails/fields/pull/16')
class FieldTagWithBodySpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
def mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
@@ -62,7 +62,7 @@ class FieldTagWithBodySpec extends AbstractFormFieldsTagLibSpec implements TagLi
applyTemplate('<f:field bean="personInstance" property="name">bean: ${bean.getClass().simpleName}, property: ${property}, type: ${type.simpleName}, label: ${label}, value: ${value}</f:field>', [personInstance: personInstance]) == 'bean: Person, property: name, type: String, label: Name, value: Bart Simpson'
}
- @Issue("https://github.com/grails-fields-plugin/grails-fields/pull/49")
+ @Issue("https://github.com/grails/fields/pull/49")
void 'extra attributes prefixed with input- are passed to the tag body for backward compatibility'() {
given:
views['/_fields/default/_wrapper.gsp'] = '${widget}'
@@ -79,7 +79,7 @@ class FieldTagWithBodySpec extends AbstractFormFieldsTagLibSpec implements TagLi
applyTemplate('<f:field bean="personInstance" property="name" input-foo="bar">${attrs.foo}</f:field>', [personInstance: personInstance]) == 'bar'
}
- @Issue("https://github.com/grails-fields-plugin/grails-fields/issues/323")
+ @Issue("https://github.com/grails/fields/issues/323")
void 'validation defaultMessage strings are escaped'() {
given:
views['/_fields/default/_wrapper.gsp'] = '${widget}'
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldTagWithoutBeanSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldTagWithoutBeanSpec.groovy
index 284953cc21..f1167dd774 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldTagWithoutBeanSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/FieldTagWithoutBeanSpec.groovy
@@ -22,7 +22,7 @@ import grails.testing.web.taglib.TagLibUnitTest
import spock.lang.Issue
import grails.plugin.formfields.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/pull/16')
+@Issue('https://github.com/grails/fields/pull/16')
class FieldTagWithoutBeanSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
def mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/TableSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/TableSpec.groovy
index 03f9259f67..c948f16ebf 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/TableSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/TableSpec.groovy
@@ -59,7 +59,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
alternativeTable.delete()
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/231')
+ @Issue('https://github.com/grails/fields/issues/231')
void "table tag renders columns set by '<f:table collection=\"collection\" maxProperties=\"#maxProperties\"/>'"() {
when:
def table = XML.parse(applyTemplate('<f:table collection="collection" maxProperties="' + maxProperties + '"/>', [collection: personList]))
@@ -81,7 +81,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
-9 | ['Salutation', 'Name', 'Date Of Birth']
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/231')
+ @Issue('https://github.com/grails/fields/issues/231')
void "table tag renders all columns '<f:table collection=\"collection\" maxProperties=\"#maxProperties\"/>'"() {
when:
def table = XML.parse(applyTemplate('<f:table collection="collection" maxProperties="' + maxProperties + '"/>', [collection: personList]))
@@ -97,7 +97,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
1000 | ['Salutation', 'Name', 'Date Of Birth', 'Address', 'Grails Developer', 'Picture', 'Another Picture', 'Password', 'Biography', 'Minor', 'Gender', 'Emails']
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/231')
+ @Issue('https://github.com/grails/fields/issues/231')
void "table tag renders all columns when no maxProperties attribute is set"() {
when:
def table = XML.parse(applyTemplate('<f:table collection="collection"/>', [collection: personList]))
@@ -136,7 +136,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
table.tbody.tr.collect { it.td[0].text() } == ['Male', 'Female']
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/231')
+ @Issue('https://github.com/grails/fields/issues/231')
void "table tag renders columns for properties until maxProperties is reached, ordered by the domain class constraints"() {
when:
def output = applyTemplate('<f:table collection="collection" maxProperties="5"/>', [collection: personList])
@@ -158,7 +158,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
table.tbody.tr.collect { it.td[1].text() } == ['Male', 'Female']
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/257')
+ @Issue('https://github.com/grails/fields/issues/257')
void "table tag allows to specify the except"() {
when:
def output = applyTemplate('<f:table collection="collection" except="${except}" maxProperties="0"/>', [collection: personList, except: except])
@@ -175,7 +175,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
]
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/257')
+ @Issue('https://github.com/grails/fields/issues/257')
void "table tag allows to specify the except as empty will render id and lastUpdated"() {
when:
def output = applyTemplate('<f:table collection="collection" except="${except}" maxProperties="0"/>', [collection: personList, except: except])
@@ -191,7 +191,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
except << ['', [], null]
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/264')
+ @Issue('https://github.com/grails/fields/issues/264')
void "table tag renders transient columns set by '<f:table collection=\"collection\" properties=\"['transient']\"/>'"() {
given:
List expectedTableColumns = ['Name', 'Transient Text']
@@ -205,7 +205,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
renderedTableColumns.containsAll(expectedTableColumns)
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/269')
+ @Issue('https://github.com/grails/fields/issues/269')
void "table tag renders reference columns set by '<f:table collection=\"collection\" properties=\"['transient']\"/>'"() {
given:
List expectedTableColumns = ['Name', 'Street']
@@ -219,7 +219,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
renderedTableColumns.containsAll(expectedTableColumns)
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/325')
+ @Issue('https://github.com/grails/fields/issues/325')
void "table tag renders transient columns when using the order attribute '<f:table collection=\"collection\" order=\"['transient']\"/>'"(String order, List expectedTableColumns) {
when:
def table = XML.parse(applyTemplate(
@@ -313,7 +313,7 @@ class TableSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<F
table.thead.tr.th.collect { it.text().trim() } == columns
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/286')
+ @Issue('https://github.com/grails/fields/issues/286')
void "table should pass extra properties to template"() {
given:
views["/templates/_fields/_table.gsp"] = '<table>${foo}</table>'
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/TemplateModelSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/TemplateModelSpec.groovy
index 9f2c5f2eba..aac30c91f6 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/TemplateModelSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/TemplateModelSpec.groovy
@@ -68,7 +68,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
applyTemplate('<f:field bean="personInstance" property="name"/>', [personInstance: personInstance]) == "<label>Name of person</label>"
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/38')
+ @Issue('https://github.com/grails/fields/issues/38')
void "label is resolved by property path before property type and passed to template"() {
given:
views["/_fields/default/_wrapper.gsp"] = '<label>${label}</label>'
@@ -81,7 +81,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
applyTemplate('<f:field bean="personInstance" property="address.city"/>', [personInstance: personInstance]) == "<label>Label for property path</label>"
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/76')
+ @Issue('https://github.com/grails/fields/issues/76')
void "label is resolved by property type when property path message code does not exist"() {
given:
views["/_fields/default/_wrapper.gsp"] = '<label>${label}</label>'
@@ -93,7 +93,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
applyTemplate('<f:field bean="personInstance" property="address.city"/>', [personInstance: personInstance]) == "<label>Label for property type</label>"
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/76')
+ @Issue('https://github.com/grails/fields/issues/76')
void "label is not resolved by property type when property path label same as default label"() {
given:
views["/_fields/default/_wrapper.gsp"] = '<label>${label}</label>'
@@ -142,7 +142,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
applyTemplate('<f:field bean="personInstance" property="dateOfBirth"/>', [personInstance: personInstance]) == "1987-04-19"
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/55')
+ @Issue('https://github.com/grails/fields/issues/55')
void "numeric value of zero is not overridden by default"() {
given:
views["/_fields/default/_wrapper.gsp"] = '<span>${value}</span>'
@@ -162,7 +162,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
applyTemplate('<f:field bean="personInstance" property="name" value="Bartholomew J. Simpson"/>', [personInstance: personInstance]) == "Bartholomew J. Simpson"
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/46')
+ @Issue('https://github.com/grails/fields/issues/46')
void "value is overridden by #{value == null ? 'null' : 'empty'} value attribute"() {
given:
views["/_fields/default/_wrapper.gsp"] = '<em>${value}</em>'
@@ -196,7 +196,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
applyTemplate('<f:field bean="personInstance" property="name" default="A. N. Other"/>', [personInstance: personInstance]) == "Bart Simpson"
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/46')
+ @Issue('https://github.com/grails/fields/issues/46')
void "default attribute is ignored if a non-null value override is specified"() {
given:
views["/_fields/default/_wrapper.gsp"] = '${value}'
@@ -205,7 +205,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
applyTemplate('<f:field bean="personInstance" property="name" value="Bartholomew J. Simpson" default="A. N. Other"/>', [personInstance: personInstance]) == 'Bartholomew J. Simpson'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/46')
+ @Issue('https://github.com/grails/fields/issues/46')
void "default attribute is ignored if a value override of '#value' is specified"() {
given:
views["/_fields/default/_wrapper.gsp"] = '${value}'
@@ -299,7 +299,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
applyTemplate('<f:field bean="personInstance" property="name"/>', [personInstance: personInstance]) == '<input type="text" name="name" value="Bart Simpson" required="" id="name" />'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/80')
+ @Issue('https://github.com/grails/fields/issues/80')
def "correct value for Boolean"() {
given:
views["/_fields/default/_wrapper.gsp"] = 'value=${value}'
@@ -315,7 +315,7 @@ class TemplateModelSpec extends AbstractFormFieldsTagLibSpec implements TagLibUn
true | 'value=true'
}
- @Issue('https://github.com/grails-fields-plugin/grails-fields/issues/80')
+ @Issue('https://github.com/grails/fields/issues/80')
def "correct value for boolean"() {
given:
views["/_fields/default/_wrapper.gsp"] = 'value=${value}'
diff --git a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/WithTagSpec.groovy b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/WithTagSpec.groovy
index dcc2e494c4..57188cd4bb 100644
--- a/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/WithTagSpec.groovy
+++ b/grails-fields/src/test/groovy/grails/plugin/formfields/taglib/WithTagSpec.groovy
@@ -23,7 +23,7 @@ import grails.testing.web.taglib.TagLibUnitTest
import spock.lang.Issue
import grails.plugin.formfields.*
-@Issue('https://github.com/grails-fields-plugin/grails-fields/issues/13')
+@Issue('https://github.com/grails/fields/issues/13')
class WithTagSpec extends AbstractFormFieldsTagLibSpec implements TagLibUnitTest<FormFieldsTagLib> {
def mockFormFieldsTemplateService = Mock(FormFieldsTemplateService)
diff --git a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/database/MongoGorm.java b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/database/MongoGorm.java
index c57b1e9d14..6fb811c78a 100644
--- a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/database/MongoGorm.java
+++ b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/database/MongoGorm.java
@@ -82,6 +82,6 @@ public class MongoGorm extends GormOneOfFeature {
@Nullable
@Override
public String getThirdPartyDocumentation() {
- return "https://gorm.grails.org/latest/mongodb/manual/";
+ return "https://docs.grails.org/latest/grails-data/mongodb/manual/";
}
}
diff --git a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/grails/GrailsWebConsole.java b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/grails/GrailsWebConsole.java
index 2dac305c84..e78c7a114a 100644
--- a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/grails/GrailsWebConsole.java
+++ b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/grails/GrailsWebConsole.java
@@ -69,6 +69,6 @@ public class GrailsWebConsole implements Feature {
@Override
public String getDocumentation() {
- return "https://plugins.grails.org/plugin/sheehan/console";
+ return "https://github.com/grails-plugins/grails-web-console";
}
}
diff --git a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/view/Scaffolding.java b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/view/Scaffolding.java
index 869786ffd4..83e671a707 100644
--- a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/view/Scaffolding.java
+++ b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/view/Scaffolding.java
@@ -61,12 +61,12 @@ public class Scaffolding implements DefaultFeature {
@Override
public String getDocumentation() {
- return "https://docs.grails.org/" + VersionInfo.getGrailsVersion() + "/guide/scaffolding.html";
+ return "https://docs.grails.org/latest/guide/scaffolding.html";
}
@Override
public String getThirdPartyDocumentation() {
- return "https://github.com/gpc/fields#readme";
+ return "https://docs.grails.org/latest/guide/scaffolding.html";
}
@Override
diff --git a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/template/api/grailsForgeApi.rocker.raw b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/template/api/grailsForgeApi.rocker.raw
index 1b0b7bee8c..c81323bf55 100644
--- a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/template/api/grailsForgeApi.rocker.raw
+++ b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/template/api/grailsForgeApi.rocker.raw
@@ -27,7 +27,7 @@ under the License.
=== Grails Forge @grailsVersion (@serverURL)
-Grails Forge generates example project for the GrailsĀ® framework (https://grails.org).
+Grails Forge generates example project for the GrailsĀ® framework (https://grails.apache.org).
The API is defined by the OpenAPI 3 specification @serverURL/swagger/views/swagger-ui/index.html
diff --git a/grails-geb/README.md b/grails-geb/README.md
index be2d909217..29fe8c48bd 100644
--- a/grails-geb/README.md
+++ b/grails-geb/README.md
@@ -26,7 +26,7 @@ This plugin integrates [Geb](https://groovy.apache.org/geb/) with [Grails](https
If you are looking for examples on how to write Geb tests, check:
-[Geb/Grails example project](https://github.com/grails-samples/geb-example-grails) or [Grails functional test suite](https://github.com/grails/grails-functional-tests) where Geb tests are used extensively.
+[Geb/Grails example project](https://github.com/grails-samples/geb-example-grails) or [Grails functional test suite](https://github.com/apache/grails-core/tree/HEAD/grails-test-examples) where Geb tests are used extensively.
For further reference please see the [Geb documentation](https://groovy.apache.org/geb/).
## Usage
diff --git a/grails-gradle/docs-core/src/main/resources/grails/doc/doc.properties b/grails-gradle/docs-core/src/main/resources/grails/doc/doc.properties
index 183d37b601..7a3debefde 100644
--- a/grails-gradle/docs-core/src/main/resources/grails/doc/doc.properties
+++ b/grails-gradle/docs-core/src/main/resources/grails/doc/doc.properties
@@ -15,8 +15,8 @@
# javadoc alias used to link to external javadocs in the form [HttpServletRequest|api:javax.servlet.http.HttpServletRequest]
api.org.hibernate=http://docs.jboss.org/hibernate/orm/4.3/javadocs/
-api.org.grails=http://grails.org/doc/latest/api
-api.org.codehaus.groovy.grails=http://grails.org/doc/latest/api
+api.org.grails=https://docs.grails.org/lastest/api/
+api.org.codehaus.groovy.grails=https://docs.grails.org/lastest/api/
api.org.springframework=http://docs.spring.io/spring/docs/current/javadoc-api/
api.javax.servlet=http://docs.oracle.com/javaee/6/api/
api.java.=http://docs.oracle.com/javase/7/docs/api/
@@ -25,4 +25,4 @@ api.java.=http://docs.oracle.com/javase/7/docs/api/
source.tag.regex=/\s*?def\s+?[a-zA-Z]+?\s*?=\s*?\{\s*?attrs\s*?,{0,1}\s*?body{0,1}\s*?->.+?/
# logos
-logo=<a href="http://grails.org" target="_blank"><img alt="The Grails Framework" src="../img/grails-cupsonly-logo-white.svg" border="0"/></a>
+logo=<a href="https://grails.apache.org" target="_blank"><img alt="The Grails Framework" src="../img/grails-cupsonly-logo-white.svg" border="0"/></a>
diff --git a/grails-gsp/core/README.md b/grails-gsp/core/README.md
index 645a69483f..c59b9f3f07 100644
--- a/grails-gsp/core/README.md
+++ b/grails-gsp/core/README.md
@@ -16,7 +16,7 @@ limitations under the License.
## Grails GSP
-This subproject is required for all Grails applications and plugins that require GSP processing. If your project includes GSPs you should add the following to your `build.gradle` which is provided by the [Grails Gradle Plugin](https://github.com/grails/grails-core/tree/master/grails-gradle-plugin).
+This subproject is required for all Grails applications and plugins that require GSP processing. If your project includes GSPs you should add the following to your `build.gradle` which is provided by the [Grails Gradle Plugin](https://github.com/apache/grails-core/tree/HEAD/grails-gradle).
``` gradle
apply plugin: "org.apache.grails.gradle.grails-gsp"
@@ -31,4 +31,4 @@ apply plugin: "org.apache.grails.gradle.grails-gsp"
Dependencies
-----
-To see what additional subprojects will be included with this, you can view this project's [build.gradle](https://github.com/grails/grails-core/blob/master/grails-gsp/build.gradle)
+To see what additional subprojects will be included with this, you can view this project's [build.gradle](https://github.com/apache/grails-core/blob/HEAD/grails-gsp/plugin/build.gradle)
diff --git a/grails-gsp/core/src/test/groovy/org/grails/gsp/GroovyPagesTemplateEngineTests.groovy b/grails-gsp/core/src/test/groovy/org/grails/gsp/GroovyPagesTemplateEngineTests.groovy
index ffaf2c9059..94635ecd92 100644
--- a/grails-gsp/core/src/test/groovy/org/grails/gsp/GroovyPagesTemplateEngineTests.groovy
+++ b/grails-gsp/core/src/test/groovy/org/grails/gsp/GroovyPagesTemplateEngineTests.groovy
@@ -86,7 +86,7 @@ class GroovyPagesTemplateEngineTests {
@Test
void testEstablishNameForResource() {
- def res = new UrlResource("http://grails.org/some.path/foo.gsp")
+ def res = new UrlResource("https://grails.apache.org/some.path/foo.gsp")
def gpte = new GroovyPagesTemplateEngine()
gpte.afterPropertiesSet()
diff --git a/grails-gsp/plugin/src/test/groovy/org/grails/gsp/jsp/GroovyPageWithJSPTagsTests.groovy b/grails-gsp/plugin/src/test/groovy/org/grails/gsp/jsp/GroovyPageWithJSPTagsTests.groovy
index ac95636953..431d23d3f3 100644
--- a/grails-gsp/plugin/src/test/groovy/org/grails/gsp/jsp/GroovyPageWithJSPTagsTests.groovy
+++ b/grails-gsp/plugin/src/test/groovy/org/grails/gsp/jsp/GroovyPageWithJSPTagsTests.groovy
@@ -72,7 +72,7 @@ class GroovyPageWithJSPTagsTests extends Specification implements TagLibUnitTest
GroovySystem.metaClassRegistry.removeMetaClass(TagLibraryResolverImpl)
}
- @Issue(['GRAILS-4573', 'https://github.com/grails/grails-core/issues/3926'])
+ @Issue(['GRAILS-4573', 'https://github.com/apache/grails-core/issues/3926'])
def testIterativeTags() {
given:
def template = '''
@@ -91,7 +91,7 @@ class GroovyPageWithJSPTagsTests extends Specification implements TagLibUnitTest
output.contains('1 . 1<br/>2 . 2<br/>3 . 3<br/>')
}
- @Issue(['GRAILS-3797', 'https://github.com/grails/grails-core/issues/1537'])
+ @Issue(['GRAILS-3797', 'https://github.com/apache/grails-core/issues/1537'])
@PendingFeature(reason = 'until we upgrade to next version of test support')
def testGRAILS3797() {
given:
@@ -135,7 +135,7 @@ class GroovyPageWithJSPTagsTests extends Specification implements TagLibUnitTest
output.contains('grails="rocks"')
}
- @Issue(['GRAILS-3845', 'https://github.com/grails/grails-core/issues/8830'])
+ @Issue(['GRAILS-3845', 'https://github.com/apache/grails-core/issues/8830'])
def testNestedJSPTags() {
given:
def template = '''
diff --git a/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormatTagLibTests.groovy b/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormatTagLibTests.groovy
index 56f4929ac3..9c97cc609a 100644
--- a/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormatTagLibTests.groovy
+++ b/grails-gsp/plugin/src/test/groovy/org/grails/web/taglib/FormatTagLibTests.groovy
@@ -61,7 +61,7 @@ class FormatTagLibTests extends AbstractGrailsTagTests {
assertOutputEquals 'X', template, [somebool: false]
}
- @Issue('https://github.com/grails/grails-core/issues/9159')
+ @Issue('https://github.com/apache/grails-core/issues/9159')
@Test
void testFormatDateWithStreamCharBufferFormat() {
def calender = new GregorianCalendar(1980,1,3)
diff --git a/grails-gsp/spring-boot/README.md b/grails-gsp/spring-boot/README.md
index 6071548653..8de256340f 100644
--- a/grails-gsp/spring-boot/README.md
+++ b/grails-gsp/spring-boot/README.md
@@ -19,7 +19,7 @@ grails-boot
Grails integrations with Spring Boot
-GORM Spring Boot plugins have been moved to [boot-plugins](https://github.com/grails/grails-data-mapping/tree/6.1.x/boot-plugins)
+GORM Spring Boot plugins have been moved to [hibernate5](https://github.com/apache/grails-core/tree/HEAD/grails-data-hibernate5) & [mongodb](https://github.com/apache/grails-core/tree/HEAD/grails-data-mongodb)
To run Spring Boot App
```shell
diff --git a/grails-profiles/plugin/skeleton/src/main/groovy/@grails.codegen.defaultPackage.path@/@grails.codegen.projectClassName@GrailsPlugin.groovy b/grails-profiles/plugin/skeleton/src/main/groovy/@grails.codegen.defaultPackage.path@/@grails.codegen.projectClassName@GrailsPlugin.groovy
index 5cadc03dba..dff97acfaf 100644
--- a/grails-profiles/plugin/skeleton/src/main/groovy/@grails.codegen.defaultPackage.path@/@grails.codegen.projectClassName@GrailsPlugin.groovy
+++ b/grails-profiles/plugin/skeleton/src/main/groovy/@grails.codegen.defaultPackage.path@/@grails.codegen.projectClassName@GrailsPlugin.groovy
@@ -20,7 +20,7 @@ Brief summary/description of the plugin.
'''
// URL to the plugin's documentation
- def documentation = "http://grails.org/plugin/@grails.codegen.projectName@"
+ def documentation = "https://grails-plugins.github.io/@grails.codegen.projectName@"
// Extra (optional) plugin metadata
diff --git a/grails-profiles/plugin/templates/Plugin.groovy b/grails-profiles/plugin/templates/Plugin.groovy
index c6aba9e6e6..538e828c3f 100644
--- a/grails-profiles/plugin/templates/Plugin.groovy
+++ b/grails-profiles/plugin/templates/Plugin.groovy
@@ -20,7 +20,7 @@ Brief summary/description of the plugin.
'''
// URL to the plugin's documentation
- def documentation = "http://grails.org/plugin/@plugin.short.name@"
+ def documentation = "https://grails-plugins.github.io/@plugin.short.name@"
// Extra (optional) plugin metadata
diff --git a/grails-profiles/web-plugin/skeleton/src/main/groovy/@grails.codegen.defaultPackage.path@/@grails.codegen.projectClassName@GrailsPlugin.groovy b/grails-profiles/web-plugin/skeleton/src/main/groovy/@grails.codegen.defaultPackage.path@/@grails.codegen.projectClassName@GrailsPlugin.groovy
index 49dd65f1e2..11230d7378 100644
--- a/grails-profiles/web-plugin/skeleton/src/main/groovy/@grails.codegen.defaultPackage.path@/@grails.codegen.projectClassName@GrailsPlugin.groovy
+++ b/grails-profiles/web-plugin/skeleton/src/main/groovy/@grails.codegen.defaultPackage.path@/@grails.codegen.projectClassName@GrailsPlugin.groovy
@@ -21,7 +21,7 @@ Brief summary/description of the plugin.
def profiles = ['web']
// URL to the plugin's documentation
- def documentation = "http://grails.org/plugin/@grails.codegen.projectName@"
+ def documentation = "https://grails-plugins.github.io/@grails.codegen.projectName@"
// Extra (optional) plugin metadata
diff --git a/grails-rest-transforms/src/test/groovy/org/grails/plugins/web/rest/render/DefaultRendererRegistrySpec.groovy b/grails-rest-transforms/src/test/groovy/org/grails/plugins/web/rest/render/DefaultRendererRegistrySpec.groovy
index 350c18346e..e2de20784c 100644
--- a/grails-rest-transforms/src/test/groovy/org/grails/plugins/web/rest/render/DefaultRendererRegistrySpec.groovy
+++ b/grails-rest-transforms/src/test/groovy/org/grails/plugins/web/rest/render/DefaultRendererRegistrySpec.groovy
@@ -35,7 +35,7 @@ class DefaultRendererRegistrySpec extends Specification {
when:"A HAL collection renderer is specified"
registry.addRenderer(new HalJsonCollectionRenderer(URL))
def list = new LinkedList()
- list << new URL("https://grails.org")
+ list << new URL("https://grails.apache.org")
then:"The renderer is available"
registry.findContainerRenderer(MimeType.HAL_JSON, LinkedList, list) != null
@@ -49,7 +49,7 @@ class DefaultRendererRegistrySpec extends Specification {
then:"An errors renderer can be found"
registry.findContainerRenderer(MimeType.XML, Errors, new BeanPropertyBindingResult("foo", "bar"))
- !registry.findContainerRenderer(MimeType.XML, List, new URL("https://grails.org"))
+ !registry.findContainerRenderer(MimeType.XML, List, new URL("https://grails.apache.org"))
when:"A collection renderer is specified"
registry.addContainerRenderer(URL, new AbstractRenderer(List, MimeType.XML) {
@@ -58,10 +58,10 @@ class DefaultRendererRegistrySpec extends Specification {
//To change body of implemented methods use File | Settings | File Templates.
}
})
- List<URL> list = [new URL("https://grails.org")]
+ List<URL> list = [new URL("https://grails.apache.org")]
then:"A renderer is found"
- registry.findContainerRenderer(MimeType.XML, List, new URL("https://grails.org"))
+ registry.findContainerRenderer(MimeType.XML, List, new URL("https://grails.apache.org"))
registry.findContainerRenderer(MimeType.XML, List, list)
}
@@ -80,8 +80,8 @@ class DefaultRendererRegistrySpec extends Specification {
expect:"A renderer is found"
registry.findRenderer(mimeType, URL)
registry.findRenderer(mimeType, URL).mimeTypes.contains mimeType
- registry.findRenderer(mimeType, new URL("https://grails.org"))
- registry.findRenderer(mimeType, new URL("https://grails.org")).mimeTypes.contains mimeType
+ registry.findRenderer(mimeType, new URL("https://grails.apache.org"))
+ registry.findRenderer(mimeType, new URL("https://grails.apache.org")).mimeTypes.contains mimeType
}
void "Test that registry returns appropriate renderer for subclass"() {
diff --git a/grails-scaffolding/src/main/groovy/grails/plugin/scaffolding/ScaffoldingGrailsPlugin.groovy b/grails-scaffolding/src/main/groovy/grails/plugin/scaffolding/ScaffoldingGrailsPlugin.groovy
index e8cf73a282..72b2cde687 100644
--- a/grails-scaffolding/src/main/groovy/grails/plugin/scaffolding/ScaffoldingGrailsPlugin.groovy
+++ b/grails-scaffolding/src/main/groovy/grails/plugin/scaffolding/ScaffoldingGrailsPlugin.groovy
@@ -40,7 +40,7 @@ Plugin that generates scaffolded controllers and views for a Grails application.
'''
// URL to the plugin's documentation
- def documentation = "http://grails.org/plugin/scaffolding"
+ def documentation = "https://docs.grails.org/latest/guide/scaffolding.html"
// Extra (optional) plugin metadata
diff --git a/grails-test-examples/app1/grails-app/views/layouts/main.gsp b/grails-test-examples/app1/grails-app/views/layouts/main.gsp
index 419d758c9c..e7c042fe29 100644
--- a/grails-test-examples/app1/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/app1/grails-app/views/layouts/main.gsp
@@ -33,7 +33,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/app2/grails-app/views/layouts/main.gsp b/grails-test-examples/app2/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/app2/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/app2/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/app3/grails-app/views/layouts/main.gsp b/grails-test-examples/app3/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/app3/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/app3/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/cache/src/integration-test/groovy/com/demo/MaxCapacityCacheSpec.groovy b/grails-test-examples/cache/src/integration-test/groovy/com/demo/MaxCapacityCacheSpec.groovy
index a2a6e3c609..ce6eeba00a 100644
--- a/grails-test-examples/cache/src/integration-test/groovy/com/demo/MaxCapacityCacheSpec.groovy
+++ b/grails-test-examples/cache/src/integration-test/groovy/com/demo/MaxCapacityCacheSpec.groovy
@@ -27,7 +27,7 @@ import spock.lang.Unroll
/**
* This test case validates the documented cache configuration behavior and fix for
- * issue https://github.com/grails-plugins/grails-cache/issues/62
+ * issue https://github.com/apache/grails-cache/issues/62
*/
@Integration
class MaxCapacityCacheSpec extends Specification {
diff --git a/grails-test-examples/hibernate5/grails-data-service/src/integration-test/groovy/example/ServiceInjectionSpec.groovy b/grails-test-examples/hibernate5/grails-data-service/src/integration-test/groovy/example/ServiceInjectionSpec.groovy
index 59cf0f623a..088b2f14ce 100644
--- a/grails-test-examples/hibernate5/grails-data-service/src/integration-test/groovy/example/ServiceInjectionSpec.groovy
+++ b/grails-test-examples/hibernate5/grails-data-service/src/integration-test/groovy/example/ServiceInjectionSpec.groovy
@@ -28,7 +28,7 @@ class ServiceInjectionSpec extends Specification {
ClassUsingAService classUsingAService
- @Issue('https://github.com/grails/gorm-hibernate5/issues/202')
+ @Issue('https://github.com/grails/grails-data-hibernate5/issues/202')
void 'data-service is injected correctly'() {
when:
classUsingAService.doSomethingWithTheService()
diff --git a/grails-test-examples/hibernate5/grails-database-per-tenant/grails-app/views/layouts/main.gsp b/grails-test-examples/hibernate5/grails-database-per-tenant/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/hibernate5/grails-database-per-tenant/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/hibernate5/grails-database-per-tenant/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/hibernate5/grails-hibernate/grails-app/views/layouts/main.gsp b/grails-test-examples/hibernate5/grails-hibernate/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/hibernate5/grails-hibernate/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/hibernate5/grails-hibernate/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/hibernate5/grails-partitioned-multi-tenancy/grails-app/views/layouts/main.gsp b/grails-test-examples/hibernate5/grails-partitioned-multi-tenancy/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/hibernate5/grails-partitioned-multi-tenancy/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/hibernate5/grails-partitioned-multi-tenancy/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/hibernate5/grails-schema-per-tenant/grails-app/views/layouts/main.gsp b/grails-test-examples/hibernate5/grails-schema-per-tenant/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/hibernate5/grails-schema-per-tenant/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/hibernate5/grails-schema-per-tenant/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/hyphenated/grails-app/views/layouts/main.gsp b/grails-test-examples/hyphenated/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/hyphenated/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/hyphenated/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/mongodb/base/grails-app/views/layouts/main.gsp b/grails-test-examples/mongodb/base/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/mongodb/base/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/mongodb/base/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/mongodb/database-per-tenant/grails-app/views/layouts/main.gsp b/grails-test-examples/mongodb/database-per-tenant/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/mongodb/database-per-tenant/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/mongodb/database-per-tenant/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/mongodb/gson-templates/grails-app/views/layouts/main.gsp b/grails-test-examples/mongodb/gson-templates/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/mongodb/gson-templates/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/mongodb/gson-templates/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/mongodb/hibernate5/grails-app/views/layouts/main.gsp b/grails-test-examples/mongodb/hibernate5/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/mongodb/hibernate5/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/mongodb/hibernate5/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/namespaces/grails-app/views/layouts/main.gsp b/grails-test-examples/namespaces/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/namespaces/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/namespaces/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/plugins/issue11005/src/main/groovy/issue11005/Issue11005GrailsPlugin.groovy b/grails-test-examples/plugins/issue11005/src/main/groovy/issue11005/Issue11005GrailsPlugin.groovy
index 89e1b8a384..0f443f1e49 100644
--- a/grails-test-examples/plugins/issue11005/src/main/groovy/issue11005/Issue11005GrailsPlugin.groovy
+++ b/grails-test-examples/plugins/issue11005/src/main/groovy/issue11005/Issue11005GrailsPlugin.groovy
@@ -40,7 +40,7 @@ Brief summary/description of the plugin.
def profiles = ['web']
// URL to the plugin's documentation
- def documentation = "http://grails.org/plugin/issue11005"
+ def documentation = "https://grails.apache.org/plugins.html"
// Extra (optional) plugin metadata
diff --git a/grails-test-examples/plugins/loadfirst/grails-app/views/layouts/main.gsp b/grails-test-examples/plugins/loadfirst/grails-app/views/layouts/main.gsp
index 77037fee32..5519c9ed02 100644
--- a/grails-test-examples/plugins/loadfirst/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/plugins/loadfirst/grails-app/views/layouts/main.gsp
@@ -33,7 +33,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/plugins/loadfirst/src/main/groovy/loadfirst/LoadfirstGrailsPlugin.groovy b/grails-test-examples/plugins/loadfirst/src/main/groovy/loadfirst/LoadfirstGrailsPlugin.groovy
index c259f87c8f..4f1ae6013f 100644
--- a/grails-test-examples/plugins/loadfirst/src/main/groovy/loadfirst/LoadfirstGrailsPlugin.groovy
+++ b/grails-test-examples/plugins/loadfirst/src/main/groovy/loadfirst/LoadfirstGrailsPlugin.groovy
@@ -40,5 +40,5 @@ This plugin should be loaded before the loadsecond plugin because loadsecond exp
def profiles = ['web']
// URL to the plugin's documentation
- def documentation = "http://grails.org/plugin/loadfirst"
+ def documentation = "https://grails.apache.org/plugins.html"
}
diff --git a/grails-test-examples/plugins/loadsecond/grails-app/views/layouts/main.gsp b/grails-test-examples/plugins/loadsecond/grails-app/views/layouts/main.gsp
index 77037fee32..5519c9ed02 100644
--- a/grails-test-examples/plugins/loadsecond/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/plugins/loadsecond/grails-app/views/layouts/main.gsp
@@ -33,7 +33,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/plugins/loadsecond/src/main/groovy/loadsecond/LoadsecondGrailsPlugin.groovy b/grails-test-examples/plugins/loadsecond/src/main/groovy/loadsecond/LoadsecondGrailsPlugin.groovy
index 2dce052fb0..ad3d579bef 100644
--- a/grails-test-examples/plugins/loadsecond/src/main/groovy/loadsecond/LoadsecondGrailsPlugin.groovy
+++ b/grails-test-examples/plugins/loadsecond/src/main/groovy/loadsecond/LoadsecondGrailsPlugin.groovy
@@ -40,7 +40,7 @@ This plugin should be loaded after the loadfirst plugin.
def profiles = ['web']
// URL to the plugin's documentation
- def documentation = "http://grails.org/plugin/loadsecond"
+ def documentation = "https://grails.apache.org/plugins.html"
def loadAfter = ['loadfirst']
}
diff --git a/grails-test-examples/views-functional-tests-plugin/src/main/groovy/functional/tests/plugin/GrailsTestExamplesViewsFunctionalTestsPluginGrailsPlugin.groovy b/grails-test-examples/views-functional-tests-plugin/src/main/groovy/functional/tests/plugin/GrailsTestExamplesViewsFunctionalTestsPluginGrailsPlugin.groovy
index 08765d54b1..a8481895a6 100644
--- a/grails-test-examples/views-functional-tests-plugin/src/main/groovy/functional/tests/plugin/GrailsTestExamplesViewsFunctionalTestsPluginGrailsPlugin.groovy
+++ b/grails-test-examples/views-functional-tests-plugin/src/main/groovy/functional/tests/plugin/GrailsTestExamplesViewsFunctionalTestsPluginGrailsPlugin.groovy
@@ -38,6 +38,6 @@ class GrailsTestExamplesViewsFunctionalTestsPluginGrailsPlugin extends Plugin {
Brief summary/description of the plugin.
'''
def profiles = ['web']
- def documentation = "https://grails.org/plugin/examples-functional-tests-plugin"
+ def documentation = "https://grails.apache.org/plugins.html"
def license = "APACHE"
}
diff --git a/grails-test-examples/views-functional-tests/grails-app/views/layouts/main.gsp b/grails-test-examples/views-functional-tests/grails-app/views/layouts/main.gsp
index 5293e2df82..c07042c39e 100644
--- a/grails-test-examples/views-functional-tests/grails-app/views/layouts/main.gsp
+++ b/grails-test-examples/views-functional-tests/grails-app/views/layouts/main.gsp
@@ -29,7 +29,7 @@
<g:layoutHead/>
</head>
<body>
- <div id="grailsLogo" role="banner"><a href="http://grails.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
+ <div id="grailsLogo" role="banner"><a href="https://grails.apache.org"><asset:image src="grails_logo.png" alt="Grails"/></a></div>
<g:layoutBody/>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading…"/></div>
diff --git a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/BulletinSpec.groovy b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/BulletinSpec.groovy
index 955e53a578..531f0b7eda 100644
--- a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/BulletinSpec.groovy
+++ b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/BulletinSpec.groovy
@@ -36,7 +36,7 @@ class BulletinSpec extends HttpClientSpec {
super.init()
}
- @Issue('https://github.com/grails/grails-views/issues/175')
+ @Issue('https://github.com/apache/grails-views/issues/175')
void 'test render collections with same objects'() {
when: 'a GET is issued'
HttpRequest request = HttpRequest.GET("/bulletin")
diff --git a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/EmbeddedSpec.groovy b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/EmbeddedSpec.groovy
index 43040b0d72..5c2f368725 100644
--- a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/EmbeddedSpec.groovy
+++ b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/EmbeddedSpec.groovy
@@ -101,7 +101,7 @@ class EmbeddedSpec extends HttpClientSpec {
''')
}
- @Issue('https://github.com/grails/grails-views/issues/171')
+ @Issue('https://github.com/apache/grails-views/issues/171')
void 'test render can handle a domain with an embedded and includes src/groovy class'() {
when:
HttpRequest request = HttpRequest.GET('/embedded/embeddedWithIncludes')
@@ -120,7 +120,7 @@ class EmbeddedSpec extends HttpClientSpec {
''')
}
- @Issue('https://github.com/grails/grails-views/issues/171')
+ @Issue('https://github.com/apache/grails-views/issues/171')
void 'Test jsonapi render can handle a domain with an embedded and includes src/groovy class'() {
when:
HttpRequest request = HttpRequest.GET('/embedded/embeddedWithIncludesJsonapi')
diff --git a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/PersonInheritanceSpec.groovy b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/PersonInheritanceSpec.groovy
index 3b80a10230..5e09cd6c50 100644
--- a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/PersonInheritanceSpec.groovy
+++ b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/PersonInheritanceSpec.groovy
@@ -46,7 +46,7 @@ class PersonInheritanceSpec extends HttpClientSpec {
rsp.body() == '{"dob":"01/01/1970","lastName":"Doe","firstName":"John"}'
}
- @Issue("https://github.com/grails/grails-views/issues/234")
+ @Issue("https://github.com/apache/grails-views/issues/234")
void 'test template inheritance does not produce NPE when model variable is null'() {
when:
HttpRequest request = HttpRequest.GET('/person-inheritance/npe')
diff --git a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/TestControllerSpec.groovy b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/TestControllerSpec.groovy
index 2dbcb3633f..8aea9874d8 100644
--- a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/TestControllerSpec.groovy
+++ b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/TestControllerSpec.groovy
@@ -38,7 +38,7 @@ class TestControllerSpec extends HttpClientSpec {
super.init()
}
- @Issue('https://github.com/grails/grails-core/issues/10582')
+ @Issue('https://github.com/apache/grails-core/issues/10582')
void 'test responding after an action triggered by a HTTP 401 response is possible'() {
when:
HttpRequest request = HttpRequest.GET("/test/triggerUnauthorized")
diff --git a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/api/NamespacedBookSpec.groovy b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/api/NamespacedBookSpec.groovy
index 924e7b53ee..cd86d278c5 100644
--- a/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/api/NamespacedBookSpec.groovy
+++ b/grails-test-examples/views-functional-tests/src/integration-test/groovy/functional/tests/api/NamespacedBookSpec.groovy
@@ -142,7 +142,7 @@ class NamespacedBookSpec extends HttpClientSpec {
rsp.body().title == 'API - The Shining'
}
- @Issue('https://github.com/grails/grails-views/issues/186')
+ @Issue('https://github.com/apache/grails-views/issues/186')
void 'test view rendering with a namespace from a map'() {
when: 'A request is sent to a controller with a namespace'
HttpRequest request = HttpRequest.GET('/api/book/message')
diff --git a/grails-views-gson/src/main/groovy/grails/plugin/json/view/JsonViewGrailsPlugin.groovy b/grails-views-gson/src/main/groovy/grails/plugin/json/view/JsonViewGrailsPlugin.groovy
index 7d4e533d4a..d7fe042662 100644
--- a/grails-views-gson/src/main/groovy/grails/plugin/json/view/JsonViewGrailsPlugin.groovy
+++ b/grails-views-gson/src/main/groovy/grails/plugin/json/view/JsonViewGrailsPlugin.groovy
@@ -46,16 +46,16 @@ class JsonViewGrailsPlugin extends Plugin {
def license = "APACHE"
// Details of company behind the plugin (if there is one)
- def organization = [name: 'Grails', url: 'https://grails.org']
+ def organization = [name: 'Grails', url: 'https://grails.apache.org']
// Any additional developers beyond the author specified above.
def developers = [ [ name: "Graeme Rocher", email: "graeme.rocher@gmail.com" ]]
// Location of the plugin's issue tracker.
- def issueManagement = [ system: "Github", url: "https://github.com/grails/grails-views/issues" ]
+ def issueManagement = [ system: "Github", url: "https://github.com/apache/grails-core/issues" ]
// Online location of the plugin's browseable source code.
- def scm = [ url: "https://github.com/grails/grails-views" ]
+ def scm = [ url: "https://github.com/apache/grails-core" ]
Closure doWithSpring() { {->
jsonApiIdRenderStrategy(DefaultJsonApiIdRenderer)
diff --git a/grails-views-gson/src/test/groovy/grails/plugin/json/view/EmbeddedAssociationsSpec.groovy b/grails-views-gson/src/test/groovy/grails/plugin/json/view/EmbeddedAssociationsSpec.groovy
index f21e78ea6b..de6085607c 100644
--- a/grails-views-gson/src/test/groovy/grails/plugin/json/view/EmbeddedAssociationsSpec.groovy
+++ b/grails-views-gson/src/test/groovy/grails/plugin/json/view/EmbeddedAssociationsSpec.groovy
@@ -108,7 +108,7 @@ class EmbeddedAssociationsSpec extends Specification implements JsonViewTest, Gr
''')
}
- @Issue('https://github.com/grails/grails-views/issues/171')
+ @Issue('https://github.com/apache/grails-views/issues/171')
void 'test render domain object with embedded associations and include'() {
given: 'a domain class with embedded associations'
mappingContext.addPersistentEntities(Person)
@@ -136,7 +136,7 @@ class EmbeddedAssociationsSpec extends Specification implements JsonViewTest, Gr
''')
}
- @Issue('https://github.com/grails/grails-views/issues/171')
+ @Issue('https://github.com/apache/grails-views/issues/171')
void 'test render domain object with embedded associations and include in json api'() {
given: 'a domain class with embedded associations'
mappingContext.addPersistentEntities(Person)
diff --git a/grails-views-gson/src/test/groovy/grails/plugin/json/view/JsonViewTemplateResolverSpec.groovy b/grails-views-gson/src/test/groovy/grails/plugin/json/view/JsonViewTemplateResolverSpec.groovy
index cd54eedd83..8e2074407a 100644
--- a/grails-views-gson/src/test/groovy/grails/plugin/json/view/JsonViewTemplateResolverSpec.groovy
+++ b/grails-views-gson/src/test/groovy/grails/plugin/json/view/JsonViewTemplateResolverSpec.groovy
@@ -166,7 +166,7 @@ class JsonViewTemplateResolverSpec extends Specification {
RequestContextHolder.setRequestAttributes(null)
}
- @Issue('https://github.com/grails/grails-core/issues/10582')
+ @Issue('https://github.com/apache/grails-core/issues/10582')
void 'Test that the template resolver works for a Request URI'() {
given: 'a viewResolver with a mock template resolver'
def smartResolver = new JsonViewResolver()
diff --git a/grails-views-gson/src/test/groovy/grails/plugin/json/view/PogoDeepRenderingSpec.groovy b/grails-views-gson/src/test/groovy/grails/plugin/json/view/PogoDeepRenderingSpec.groovy
index 48c747dc68..3adab8f724 100644
--- a/grails-views-gson/src/test/groovy/grails/plugin/json/view/PogoDeepRenderingSpec.groovy
+++ b/grails-views-gson/src/test/groovy/grails/plugin/json/view/PogoDeepRenderingSpec.groovy
@@ -28,7 +28,7 @@ import spock.lang.Specification
*/
class PogoDeepRenderingSpec extends Specification implements JsonViewTest {
- @Issue('https://github.com/grails/grails-views/issues/18')
+ @Issue('https://github.com/apache/grails-views/issues/18')
void "Test deep rendering a POGO produces the correct json"() {
given:"A deep graph of POGOs"
def child = new Child2(name: "child")
diff --git a/grails-views-markup/src/main/groovy/grails/plugin/markup/view/MarkupViewGrailsPlugin.groovy b/grails-views-markup/src/main/groovy/grails/plugin/markup/view/MarkupViewGrailsPlugin.groovy
index c0ae2a4419..b2bb12e9cc 100644
--- a/grails-views-markup/src/main/groovy/grails/plugin/markup/view/MarkupViewGrailsPlugin.groovy
+++ b/grails-views-markup/src/main/groovy/grails/plugin/markup/view/MarkupViewGrailsPlugin.groovy
@@ -50,16 +50,16 @@ class MarkupViewGrailsPlugin extends Plugin {
def license = "APACHE"
// Details of company behind the plugin (if there is one)
- def organization = [name: 'Grails', url: 'https://grails.org']
+ def organization = [name: 'Grails', url: 'https://grails.apache.org']
// Any additional developers beyond the author specified above.
def developers = [ [ name: "Graeme Rocher", email: "graeme.rocher@gmail.com" ]]
// Location of the plugin's issue tracker.
- def issueManagement = [ system: "Github", url: "https://github.com/grails/grails-views/issues" ]
+ def issueManagement = [ system: "Github", url: "https://github.com/apache/grails-core/issues" ]
// Online location of the plugin's browseable source code.
- def scm = [ url: "https://github.com/grails/grails-views" ]
+ def scm = [ url: "https://github.com/apache/grails-core" ]
Closure doWithSpring() { {->
markupViewConfiguration(MarkupViewConfiguration)