From f34abef4a5ff459e5643c4f78029e7c96e672fec Mon Sep 17 00:00:00 2001 From: Richard Millet Date: Tue, 20 Nov 2012 23:39:31 -0800 Subject: [PATCH] CSPACE-5678: Updating Nuxeo related schema and bundle modules to reflect new code in Application layer that creates schemas and bundles from the App's configuration files. --- .../src/main/resources/META-INF/MANIFEST.MF | 9 +- .../resources/OSGI-INF/core-types-contrib.xml | 20 +- .../OSGI-INF/default-life-cycle-contrib.xml | 15 +- .../resources/OSGI-INF/ecm-types-contrib.xml | 26 +- .../resources/OSGI-INF/querymodel-contrib.xml | 1 - .../schemas/collectionspace_core.xsd | 26 -- .../schemas/collectionobjects_common.xsd | 242 ++++++++++-------- 7 files changed, 149 insertions(+), 190 deletions(-) delete mode 100644 3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/schemas/collectionspace_core.xsd diff --git a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/META-INF/MANIFEST.MF b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/META-INF/MANIFEST.MF index 22c7df63d..7d63efb52 100644 --- a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/META-INF/MANIFEST.MF +++ b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 1 -Bundle-Name: org.collectionspace.collectionspace_core -Bundle-SymbolicName: org.collectionspace.collectionspace_core;singleton:=true +Bundle-Name: org.collectionspace.shared +Bundle-SymbolicName: org.collectionspace.shared;singleton:=true Bundle-Version: 1.0.0 Bundle-Localization: plugin Bundle-Vendor: Nuxeo @@ -9,10 +9,11 @@ Require-Bundle: org.nuxeo.runtime, org.nuxeo.ecm.core.api, org.nuxeo.ecm.core, org.nuxeo.ecm.webapp.core -Provide-Package: org.collectionspace.collectionspace_core +Provide-Package: org.collectionspace.shared Nuxeo-Component: OSGI-INF/core-types-contrib.xml, OSGI-INF/default-life-cycle-contrib.xml, OSGI-INF/ecm-types-contrib.xml, - OSGI-INF/layouts-contrib.xml + OSGI-INF/layouts-contrib.xml, + OSGI-INF/querymodel-contrib.xml diff --git a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/core-types-contrib.xml b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/core-types-contrib.xml index eeb93c733..7ef7f07d6 100644 --- a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/core-types-contrib.xml +++ b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/core-types-contrib.xml @@ -1,11 +1,6 @@ - - - - - + + @@ -14,17 +9,14 @@ + - - - - - + point="schema"> + - + diff --git a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml index 8a48d6d54..4b63194bb 100644 --- a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml +++ b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml @@ -2,16 +2,16 @@ + point="types"> default - - + + CollectionSpace core default life cycle definition. - @@ -31,10 +31,10 @@ - - + + CollectionSpace "locking" life cycle definition. - @@ -60,5 +60,4 @@ - diff --git a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/ecm-types-contrib.xml b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/ecm-types-contrib.xml index eb081760d..6e68ecb60 100644 --- a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/ecm-types-contrib.xml +++ b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/ecm-types-contrib.xml @@ -1,29 +1,5 @@ - - - - - - view_documents - - - heading - collectionspace_core - - - - - - CollectionSpace_Core - - - - - - CollectionSpace_Core - - - + diff --git a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/querymodel-contrib.xml b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/querymodel-contrib.xml index c8fa3f728..34e84b3d4 100644 --- a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/querymodel-contrib.xml +++ b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/querymodel-contrib.xml @@ -15,7 +15,6 @@ defaultSortAscending="false" /> 50 - diff --git a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/schemas/collectionspace_core.xsd b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/schemas/collectionspace_core.xsd deleted file mode 100644 index 1fe265934..000000000 --- a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/schemas/collectionspace_core.xsd +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd index 54a923e76..7d7b3b62f 100644 --- a/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd +++ b/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd @@ -1,29 +1,58 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -37,14 +66,7 @@ - - - - - - - + @@ -64,14 +86,16 @@ - + - + @@ -82,7 +106,8 @@ - + @@ -90,7 +115,8 @@ - + @@ -98,35 +124,33 @@ - + - + - - - - - - - - + + - + @@ -173,8 +197,8 @@ - + @@ -197,7 +221,7 @@ - + @@ -214,14 +238,16 @@ - + - + @@ -243,32 +269,29 @@ - + - - - - - - - - + + - + - + @@ -277,10 +300,6 @@ - - - - @@ -291,7 +310,7 @@ - + @@ -309,7 +328,8 @@ - + @@ -319,59 +339,57 @@ - + - + - + - - - - - - - + - + - + - + - + @@ -401,8 +419,7 @@ - + @@ -417,8 +434,8 @@ - + @@ -478,14 +495,15 @@ - + - + @@ -501,7 +519,7 @@ - + - + - + @@ -560,8 +578,8 @@ - + @@ -573,8 +591,8 @@ - + @@ -586,8 +604,8 @@ - + @@ -599,8 +617,8 @@ - + @@ -655,8 +673,8 @@ - + @@ -756,7 +774,7 @@ - + - + @@ -776,13 +793,14 @@ - + - + - + @@ -795,29 +813,29 @@ - + + + + - - - + - - - - - - + + - + - + + - + + + -- 2.47.3