You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2019/12/18 07:52:38 UTC
[isis] 16/25: ISIS-2062: renames persistence-jdo to pjdo
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 8427a4349f078e5446215d5f59b2925e69738335
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Dec 16 16:55:46 2019 +0000
ISIS-2062: renames persistence-jdo to pjdo
---
antora/components/toc/modules/ROOT/pages/about.adoc | 2 +-
antora/components/toc/modules/ROOT/pages/components.adoc | 2 +-
antora/components/toc/modules/ROOT/partials/module-nav.adoc | 2 +-
antora/components/userguide/modules/ROOT/pages/about.adoc | 2 +-
.../modules/btb/pages/deployment/externalized-configuration.adoc | 2 +-
.../modules/fun/pages/programming-model/domain-entities.adoc | 2 +-
antora/playbooks/{site-odn.yml => site-pjdo.yml} | 4 ++--
core/persistence/jdo/src/main/doc/antora.yml | 2 +-
.../jdo/src/main/doc/modules/ROOT/pages/configuring/properties.adoc | 4 ++--
core/persistence/jdo/src/main/doc/modules/ROOT/pages/db-schemas.adoc | 2 +-
.../doc/modules/ROOT/pages/hints-and-tips/diagnosing-n-plus-1.adoc | 2 +-
.../ROOT/pages/hints-and-tips/typesafe-queries-and-fetchgroups.adoc | 2 +-
.../pages/presentation-layer/ContentNegotiationService.adoc | 2 +-
site.yml | 2 +-
14 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/antora/components/toc/modules/ROOT/pages/about.adoc b/antora/components/toc/modules/ROOT/pages/about.adoc
index d7c29c7..13b8e05 100644
--- a/antora/components/toc/modules/ROOT/pages/about.adoc
+++ b/antora/components/toc/modules/ROOT/pages/about.adoc
@@ -49,7 +49,7 @@ include::_attributes.adoc[]
* xref:vw:ROOT:about.adoc[Wicket UI]
* xref:vro:ROOT:about.adoc[Restful Objects (REST API)]
-* xref:odn:ROOT:about.adoc[DataNucleus Object Store]
+* xref:pjdo:ROOT:about.adoc[DataNucleus Object Store]
diff --git a/antora/components/toc/modules/ROOT/pages/components.adoc b/antora/components/toc/modules/ROOT/pages/components.adoc
index 2ec43fc..db0769f 100644
--- a/antora/components/toc/modules/ROOT/pages/components.adoc
+++ b/antora/components/toc/modules/ROOT/pages/components.adoc
@@ -13,5 +13,5 @@ This page provides user/config guides for each of the main components of the fra
== Persistence
-* xref:odn:ROOT:about.adoc[DataNucleus Object Store]
+* xref:pjdo:ROOT:about.adoc[DataNucleus Object Store]
diff --git a/antora/components/toc/modules/ROOT/partials/module-nav.adoc b/antora/components/toc/modules/ROOT/partials/module-nav.adoc
index 4cc59a3..da62376 100644
--- a/antora/components/toc/modules/ROOT/partials/module-nav.adoc
+++ b/antora/components/toc/modules/ROOT/partials/module-nav.adoc
@@ -28,7 +28,7 @@
** xref:vw:ROOT:about.adoc[Wicket UI]
** xref:vro:ROOT:about.adoc[Restful Objects (REST API)]
-** xref:odn:ROOT:about.adoc[DataNucleus Object Store]
+** xref:pjdo:ROOT:about.adoc[DataNucleus Object Store]
* Catalogs
diff --git a/antora/components/userguide/modules/ROOT/pages/about.adoc b/antora/components/userguide/modules/ROOT/pages/about.adoc
index ed9ccb3..9429a69 100644
--- a/antora/components/userguide/modules/ROOT/pages/about.adoc
+++ b/antora/components/userguide/modules/ROOT/pages/about.adoc
@@ -18,7 +18,7 @@ There are a number of other guides:
* xref:vw:ROOT:about.adoc[Wicket viewer]
* xref:vro:ROOT:about.adoc[Restful Objects viewer]
-* xref:odn:ROOT:about.adoc[DataNucleus object store]
+* xref:pjdo:ROOT:about.adoc[DataNucleus object store]
diff --git a/antora/components/userguide/modules/btb/pages/deployment/externalized-configuration.adoc b/antora/components/userguide/modules/btb/pages/deployment/externalized-configuration.adoc
index 0ac4ecd..1a2d8c8 100644
--- a/antora/components/userguide/modules/btb/pages/deployment/externalized-configuration.adoc
+++ b/antora/components/userguide/modules/btb/pages/deployment/externalized-configuration.adoc
@@ -256,4 +256,4 @@ The cost of these proxies can be mitigated using:
== Using a JNDI Datasource
-See the guidance in the xref:odn:ROOT:configuring.adoc#using-jndi-data-source[configuring datanucleus] section.
\ No newline at end of file
+See the guidance in the xref:pjdo:ROOT:configuring.adoc#using-jndi-data-source[configuring datanucleus] section.
\ No newline at end of file
diff --git a/antora/components/userguide/modules/fun/pages/programming-model/domain-entities.adoc b/antora/components/userguide/modules/fun/pages/programming-model/domain-entities.adoc
index d274881..44984a1 100644
--- a/antora/components/userguide/modules/fun/pages/programming-model/domain-entities.adoc
+++ b/antora/components/userguide/modules/fun/pages/programming-model/domain-entities.adoc
@@ -138,6 +138,6 @@ RepositoryService repositoryService;
[TIP]
====
-See the xref:odn:ROOT:about.adoc[DataNucleus objectstore guide] for further information on annotating domain entities.
+See the xref:pjdo:ROOT:about.adoc[DataNucleus objectstore guide] for further information on annotating domain entities.
====
diff --git a/antora/playbooks/site-odn.yml b/antora/playbooks/site-pjdo.yml
similarity index 89%
rename from antora/playbooks/site-odn.yml
rename to antora/playbooks/site-pjdo.yml
index c9c1a47..1b9813a 100644
--- a/antora/playbooks/site-odn.yml
+++ b/antora/playbooks/site-pjdo.yml
@@ -8,12 +8,12 @@ content:
# antora
- url: .
- start_path: antora/components/toc
+ start_path: antora/components/toc # toc
branches: HEAD
# core
- url: .
- start_path: core/persistence/jdo/src/main/doc # odn
+ start_path: core/persistence/jdo/src/main/doc # pjdo
branches: HEAD
diff --git a/core/persistence/jdo/src/main/doc/antora.yml b/core/persistence/jdo/src/main/doc/antora.yml
index b16cf5d..55fd0a3 100644
--- a/core/persistence/jdo/src/main/doc/antora.yml
+++ b/core/persistence/jdo/src/main/doc/antora.yml
@@ -1,4 +1,4 @@
-name: odn
+name: pjdo
title: "DataNucleus ObjectStore"
version: master
start_page: ROOT:about.adoc
diff --git a/core/persistence/jdo/src/main/doc/modules/ROOT/pages/configuring/properties.adoc b/core/persistence/jdo/src/main/doc/modules/ROOT/pages/configuring/properties.adoc
index 7fffc4b..302782e 100644
--- a/core/persistence/jdo/src/main/doc/modules/ROOT/pages/configuring/properties.adoc
+++ b/core/persistence/jdo/src/main/doc/modules/ROOT/pages/configuring/properties.adoc
@@ -25,7 +25,7 @@ These configuration properties are typically stored in `WEB-INF/persistor_datanu
(`false`)
|Enables bulk load of standalone collections.
-Further xref:odn:ROOT:configuring.adoc#bulk-load[discussion below].
+Further xref:pjdo:ROOT:configuring.adoc#bulk-load[discussion below].
|`isis.persistor.` +
`datanucleus.` +
@@ -93,7 +93,7 @@ Only intended for "emergency use" as a workaround while pending fix/patch to Apa
`datanucleus.persistenceByReachabilityAtCommit`
|`false`
|We recommend this setting is disabled. +
-Further xref:odn:ROOT:configuring.adoc#disabling-persistence-by-reachability[discussion below].
+Further xref:pjdo:ROOT:configuring.adoc#disabling-persistence-by-reachability[discussion below].
|===
diff --git a/core/persistence/jdo/src/main/doc/modules/ROOT/pages/db-schemas.adoc b/core/persistence/jdo/src/main/doc/modules/ROOT/pages/db-schemas.adoc
index b3717a0..522708e 100644
--- a/core/persistence/jdo/src/main/doc/modules/ROOT/pages/db-schemas.adoc
+++ b/core/persistence/jdo/src/main/doc/modules/ROOT/pages/db-schemas.adoc
@@ -51,7 +51,7 @@ CREATE TABLE isisaudit."AuditEntry" (
[TIP]
====
If for some reason you don't want to use schemas (though we strongly recommend that you do), then note that you can override the `@PersistenceCapable` annotation by providing XML metadata (the `mappings.jdo` file).
-See the section on xref:odn:ROOT:configuring.adoc[configuring DataNucleus Overriding Annotations] for more details.
+See the section on xref:pjdo:ROOT:configuring.adoc[configuring DataNucleus Overriding Annotations] for more details.
====
diff --git a/core/persistence/jdo/src/main/doc/modules/ROOT/pages/hints-and-tips/diagnosing-n-plus-1.adoc b/core/persistence/jdo/src/main/doc/modules/ROOT/pages/hints-and-tips/diagnosing-n-plus-1.adoc
index af7805c..520e742 100644
--- a/core/persistence/jdo/src/main/doc/modules/ROOT/pages/hints-and-tips/diagnosing-n-plus-1.adoc
+++ b/core/persistence/jdo/src/main/doc/modules/ROOT/pages/hints-and-tips/diagnosing-n-plus-1.adoc
@@ -12,4 +12,4 @@ The "Variables" pane will tell you which field(s) are being loaded, and the stac
For example, it may be that an object is being loaded in a table and the initial query did not eagerly load that field.
In such a case, consider using fetch groups in the initial repository query to bring the required data into memory with just one SQL call.
-See xref:odn:ROOT:hints-and-tips.adoc#typesafe-queries-and-fetchgroups[this hint/tip] for further details.
\ No newline at end of file
+See xref:pjdo:ROOT:hints-and-tips.adoc#typesafe-queries-and-fetchgroups[this hint/tip] for further details.
\ No newline at end of file
diff --git a/core/persistence/jdo/src/main/doc/modules/ROOT/pages/hints-and-tips/typesafe-queries-and-fetchgroups.adoc b/core/persistence/jdo/src/main/doc/modules/ROOT/pages/hints-and-tips/typesafe-queries-and-fetchgroups.adoc
index 1448b0a..f112599 100644
--- a/core/persistence/jdo/src/main/doc/modules/ROOT/pages/hints-and-tips/typesafe-queries-and-fetchgroups.adoc
+++ b/core/persistence/jdo/src/main/doc/modules/ROOT/pages/hints-and-tips/typesafe-queries-and-fetchgroups.adoc
@@ -6,7 +6,7 @@ include::_attributes.adoc[]
Fetch groups provide a means to hint to DataNucleus that it should perform a SQL join when querying.
-A common use case is to avoid the xref:odn:ROOT:hints-and-tips.adoc#diagnosing-n-plus-1[n+1] issue.
+A common use case is to avoid the xref:pjdo:ROOT:hints-and-tips.adoc#diagnosing-n-plus-1[n+1] issue.
(So far as I could ascertain) it isn't possible to specify fetch group hints using JDOQL, but it is possible to specify them using the programmatic API or using typesafe queries.
diff --git a/core/runtime-services/src/main/doc/modules/runtime-services/pages/presentation-layer/ContentNegotiationService.adoc b/core/runtime-services/src/main/doc/modules/runtime-services/pages/presentation-layer/ContentNegotiationService.adoc
index f54bafe..a8d085b 100644
--- a/core/runtime-services/src/main/doc/modules/runtime-services/pages/presentation-layer/ContentNegotiationService.adoc
+++ b/core/runtime-services/src/main/doc/modules/runtime-services/pages/presentation-layer/ContentNegotiationService.adoc
@@ -16,7 +16,7 @@ Instead you need to create some sort of stable facade over your domain entities,
+
If the underlying entities change, then care must be taken to ensure that structure of the view model nevertheless is unchanged.
-* a second option is to solve the problem at the persistence layer, but defining a (SQL) view in the database and then xref:odn:ROOT:jdo-mappings.adoc#mapping-to-a-view[mapping this] to a (read-only) entity. Again this is surfaced by the RO viewer. +
+* a second option is to solve the problem at the persistence layer, but defining a (SQL) view in the database and then xref:pjdo:ROOT:jdo-mappings.adoc#mapping-to-a-view[mapping this] to a (read-only) entity. Again this is surfaced by the RO viewer. +
+
If the underlying tables change (as the result of a change in their corresponding domain entities) then once more the view must be refactored so that it still presents the same structure.
diff --git a/site.yml b/site.yml
index 9f191b6..19878fe 100644
--- a/site.yml
+++ b/site.yml
@@ -55,7 +55,7 @@ content:
start_path: core/metamodel/src/main/doc # core
branches: HEAD
- url: .
- start_path: core/persistence/jdo/src/main/doc # odn
+ start_path: core/persistence/jdo/src/main/doc # pjdo
branches: HEAD
- url: .
start_path: core/runtime/src/main/doc # core