]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
DRYD-1230: Add readme to reports directory.
authorRay Lee <ray.lee@lyrasis.org>
Thu, 4 May 2023 19:21:12 +0000 (15:21 -0400)
committerRay Lee <ray.lee@lyrasis.org>
Thu, 4 May 2023 19:21:25 +0000 (15:21 -0400)
services/report/3rdparty/jasper-cs-report/src/main/resources/README.md [new file with mode: 0644]

diff --git a/services/report/3rdparty/jasper-cs-report/src/main/resources/README.md b/services/report/3rdparty/jasper-cs-report/src/main/resources/README.md
new file mode 100644 (file)
index 0000000..6c5ba75
--- /dev/null
@@ -0,0 +1,7 @@
+This directory contains the built-in reports that are distributed with CollectionSpace.
+
+To add a report:
+
+1. Add the report JRXML file to this directory. This file must have the extension `.jrxml`.
+2. Add the report metadata record XML file to this directory. This file must have the same name as the JRXML file, with the extension `.xml` instead of `.jrxml`.
+3. Add the report to the appropriate tenant bindings configuration files, so that it will automatically be installed or updated using the metadata record XML file when CollectionSpace starts. To install a report in all tenants, add it to tenant-bindings-proto-unified.xml, as in these examples: https://github.com/collectionspace/services/blob/676faa9cf37ee4d99816d3392eb1984d247cfb0b/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto-unified.xml#L586-L681. To install a report only in specific tenants, add it to the delta file for that tenant, as in this example: https://github.com/collectionspace/services/blob/676faa9cf37ee4d99816d3392eb1984d247cfb0b/services/common/src/main/cspace/config/services/tenants/publicart/publicart-tenant-bindings.delta.xml#L13-L20