<groupId>org.collectionspace.services</groupId>\r
<artifactId>org.collectionspace.services.authority.service</artifactId>\r
<version>${project.version}</version>\r
+ <exclusions>\r
+ <exclusion>\r
+ <artifactId>nuxeo-core-facade</artifactId>\r
+ <groupId>org.nuxeo.ecm.core</groupId>\r
+ </exclusion>\r
+ <exclusion>\r
+ <artifactId>servlet-api-2.5</artifactId>\r
+ <groupId>org.mortbay.jetty</groupId>\r
+ </exclusion>\r
+ </exclusions>\r
</dependency> \r
<dependency>\r
<groupId>org.collectionspace.services</groupId>\r
<artifactId>nuxeo-platform-audit-api</artifactId>\r
<version>${nuxeo.core.version}</version>\r
</dependency>\r
- <!-- \r
- <dependency>\r
- <groupId>org.nuxeo.ecm.core</groupId>\r
- <artifactId>nuxeo-core-facade</artifactId>\r
- <version>${nuxeo.core.version}</version>\r
- <scope>provided</scope>\r
- <exclusions>\r
- <exclusion>\r
- <groupId>xerces</groupId>\r
- <artifactId>xercesImpl</artifactId>\r
- </exclusion>\r
- </exclusions> \r
- </dependency>\r
- -->\r
<dependency>\r
<groupId>org.nuxeo.runtime</groupId>\r
<artifactId>nuxeo-runtime-osgi</artifactId>\r
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<persistence version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
- http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <persistence-unit name="org.collectionspace.services">
- <provider>org.hibernate.ejb.HibernatePersistence</provider>
- <non-jta-data-source>CspaceDS</non-jta-data-source>
- <class>org.collectionspace.services.account.AccountsCommon</class>
- <class>org.collectionspace.services.account.Tenant</class>
- <class>org.collectionspace.services.account.AccountTenant</class>
- <class>org.collectionspace.services.account.Status</class>
- <class>org.collectionspace.services.authentication.User</class>
- <class>org.collectionspace.services.authorization.perms.Permission</class>
- <class>org.collectionspace.services.authorization.perms.PermissionAction</class>
- <class>org.collectionspace.services.authorization.PermissionRoleRel</class>
- <class>org.collectionspace.services.authorization.Role</class>
- <class>org.collectionspace.services.authorization.AccountRoleRel</class>
- <properties>
- <property name="hibernate.dialect" value="${db.dialect}"/>
- <property name="hibernate.max_fetch_depth" value="3"/>
- <!--property name="hibernate.hbm2ddl.auto" value="create-drop"/-->
- </properties>
-
- </persistence-unit>
-</persistence>
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
+<persistence version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd\r
+ http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
+ <persistence-unit name="org.collectionspace.services">\r
+ <provider>org.hibernate.ejb.HibernatePersistence</provider>\r
+ <!-- Until our JNDI issue with Nuxeo is resolved, we can't use this datasource element\r
+ <non-jta-data-source>CspaceDS</non-jta-data-source> -->\r
+\r
+ <class>org.collectionspace.services.account.AccountsCommon</class>\r
+ <class>org.collectionspace.services.account.Tenant</class>\r
+ <class>org.collectionspace.services.account.AccountTenant</class>\r
+ <class>org.collectionspace.services.account.Status</class>\r
+ <class>org.collectionspace.services.authentication.User</class>\r
+ <class>org.collectionspace.services.authorization.perms.Permission</class>\r
+ <class>org.collectionspace.services.authorization.perms.PermissionAction</class>\r
+ <class>org.collectionspace.services.authorization.PermissionRoleRel</class>\r
+ <class>org.collectionspace.services.authorization.Role</class>\r
+ <class>org.collectionspace.services.authorization.AccountRoleRel</class>\r
+ <properties>\r
+ <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>\r
+ <property name="hibernate.max_fetch_depth" value="3"/>\r
+ <!-- Until our JNDI issue with Nuxeo is resolved, we have to use these JDBC properties rather than a datasource -->\r
+ <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>\r
+ <property name="hibernate.connection.username" value="root"/>\r
+ <property name="hibernate.connection.password" value="admin"/>\r
+ <property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/cspace"/>\r
+ \r
+ <!--property name="hibernate.hbm2ddl.auto" value="create-drop"/-->\r
+ </properties>\r
+\r
+ </persistence-unit>\r
+</persistence>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to You under
+ the Apache License, Version 2.0 (the "License"); you may not use this file except
+ in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software distributed under
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific language
+ governing permissions and limitations under the License. -->
+<Context antiResourceLocking="false" privileged="true"
+ path="/cspace-services" docBase="cspace-services">
+
+<Realm className="org.apache.catalina.realm.JAASRealm"
+ appName="CSpaceJBossDBLoginModule"
+ userClassNames="org.collectionspace.authentication.CSpacePrincipal"
+ roleClassNames="org.collectionspace.authentication.CSpacePrincipal"/>
+
+ <!-- Disable HTTP Session persistence between restart since webengine session objects
+ are not serializable -->
+ <Manager pathname="" />
+
+ <!-- define custom loader that is responsible to start nuxeo runtime (it extends the default one) -->
+
+ <!-- Disabled since these are specific to the default Nuxeo DM webapp
+ <Loader className="org.nuxeo.runtime.tomcat.NuxeoWebappLoader"
+ loaderClass="org.nuxeo.runtime.tomcat.NuxeoWebappClassLoader" />
+
+ <Listener className="org.nuxeo.runtime.tomcat.NuxeoLauncher" home="${catalina.base}/nxserver" />
+ -->
+
+ <!-- Define JDBC datasources: the JNDI names will be: java:comp/env/jdbc/DATABASE_NAME.
+ For example java:comp/env/jdbc/nxsqldirectory This means you need to update corresponding
+ JNDI bindings in nuxeo data source definitions in the config directory -->
+ <Resource name="jdbc/nxsqldirectory" auth="Container" type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000" driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true"
+ username="nuxeo" password="nuxpw" />
+
+ <Resource name="jdbc/nxrelations-default-jena" auth="Container"
+ type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000"
+ driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true"
+ username="nuxeo" password="nuxpw" />
+
+ <Resource name="jdbc/comment-relations" auth="Container" type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000" driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true"
+ username="nuxeo" password="nuxpw" />
+
+ <Resource name="jdbc/nxaudit-logs" auth="Container" type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000" driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true"
+ username="nuxeo" password="nuxpw" />
+
+ <Resource name="jdbc/nxjbpm" auth="Container" type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000" driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true"
+ username="nuxeo" password="nuxpw" />
+
+ <Resource name="jdbc/placeful_service_ds" auth="Container" type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000" driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true"
+ username="nuxeo" password="nuxpw" />
+
+ <Resource name="jdbc/nxwebwidgets" auth="Container" type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000" driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true"
+ username="nuxeo" password="nuxpw" />
+
+ <Resource name="jdbc/nxuidsequencer" auth="Container" type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000" driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true"
+ username="nuxeo" password="nuxpw" />
+
+ <Resource name="TransactionManager" auth="Container"
+ type="javax.transaction.TransactionManager" factory="org.nuxeo.runtime.jtajca.NuxeoTransactionManagerFactory"
+ transactionTimeoutSeconds="300" />
+
+ <Transaction factory="org.nuxeo.runtime.jtajca.NuxeoUserTransactionFactory" />
+
+ <Resource name="NuxeoConnectionManager" auth="Container"
+ type="javax.resource.spi.ConnectionManager" factory="org.nuxeo.runtime.jtajca.NuxeoConnectionManagerFactory"
+ minPoolSize="0" maxPoolSize="20"
+ idleTimeoutMinutes="0" />
+
+ <Resource auth="Container" name="Mail" type="javax.mail.Session"
+ mail.store.protocol="pop3" mail.pop3.host="pop3.nosuchhost.nosuchdomain.com"
+ mail.pop3.user="nobody" mail.transport.protocol="smtp"
+ mail.smtp.host="localhost" mail.smtp.port="25"
+ mail.smtp.starttls.enable="false" mail.smtp.auth="false"
+ mail.smtp.user="anonymous" password="password"
+ mail.from="noreply@nuxeo.com" mail.debug="false" />
+
+ <Resource name="jdbc/CspaceDS"
+ auth="Container"
+ type="javax.sql.DataSource"
+ username="root"
+ password="admin"
+ driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/cspace"
+ maxActive="8"
+ maxIdle="4"/>
+
+ <Resource name="jdbc/NuxeoDS"
+ auth="Container"
+ type="javax.sql.DataSource"
+ username="root"
+ password="admin"
+ driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/nuxeo"
+ maxActive="8"
+ maxIdle="4"/>
+
+</Context>
+CSpaceJBossDBLoginModule {\r
+ org.collectionspace.authentication.jaas.CSpaceJBossDBLoginModule required\r
+ dsJndiName="CspaceDS"\r
+ hashAlgorithm="SHA-256"\r
+ ignorePasswordCase="false"\r
+ principalClass="org.collectionspace.authentication.CSpacePrincipal"\r
+ principalsQuery="select passwd from users where username=?"\r
+ rolesQuery="select r.rolename, 'Role' from roles as r, accounts_roles as ar where ar.user_id=? and ar.role_id=r.csid"\r
+ tenantsQuery="select t.id, t.name, 'Tenants' from accounts_common as a, accounts_tenants as at, tenants as t where a.userid=? and a.csid = at.TENANTS_ACCOUNTSCOMMON_CSID and at.tenant_id = t.id"\r
+ debug=true;\r
+ };\r
+ \r
+ cspace {\r
+ org.collectionspace.authentication.jaas.CSpaceJBossDBLoginModule required\r
+ dsJndiName="CspaceDS"\r
+ hashAlgorithm="SHA-256"\r
+ ignorePasswordCase="false"\r
+ principalClass="org.collectionspace.authentication.CSpacePrincipal"\r
+ principalsQuery="select passwd from users where username=?"\r
+ rolesQuery="select r.rolename, 'Role' from roles as r, accounts_roles as ar where ar.user_id=? and ar.role_id=r.csid"\r
+ tenantsQuery="select t.id, t.name, 'Tenants' from accounts_common as a, accounts_tenants as at, tenants as t where a.userid=? and a.csid = at.TENANTS_ACCOUNTSCOMMON_CSID and at.tenant_id = t.id"\r
+ debug=true;\r
+ };\r
-->\r
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> \r
<display-name>CollectionSpace Services</display-name>\r
- <env-entry>\r
+ \r
+ <!-- \r
+ <security-constraint>\r
+ <web-resource-collection>\r
+ <web-resource-name>CollectionSpace Services</web-resource-name>\r
+ <url-pattern>/*</url-pattern>\r
+ </web-resource-collection>\r
+ <auth-constraint>\r
+ <role-name>*</role-name>\r
+ </auth-constraint>\r
+ <user-data-constraint>\r
+ <transport-guarantee>NONE</transport-guarantee>\r
+ </user-data-constraint>\r
+ </security-constraint>\r
+ -->\r
+\r
+ <login-config>\r
+ <auth-method>BASIC</auth-method>\r
+ <realm-name>CollectionSpace realm</realm-name>\r
+ </login-config>\r
+\r
+ <env-entry>\r
<description>Sets the logging context for the Tiger web-app</description>\r
<env-entry-name>cspace-logging-context</env-entry-name>\r
<env-entry-type>java.lang.String</env-entry-type>\r
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>\r
</filter>\r
\r
+ <filter-mapping>\r
+ <filter-name>springSecurityFilterChain</filter-name>\r
+ <url-pattern>/*</url-pattern>\r
+ </filter-mapping>\r
+\r
<filter>\r
<filter-name>CSpaceFilter</filter-name>\r
<filter-class>org.collectionspace.services.common.profile.CSpaceFilter</filter-class>\r
<url-pattern>/*</url-pattern>\r
</filter-mapping>\r
\r
- <filter-mapping>\r
- <filter-name>springSecurityFilterChain</filter-name>\r
- <url-pattern>/*</url-pattern>\r
- </filter-mapping>\r
\r
<!-- Listeners -->\r
\r
--- /dev/null
+<?xml version="1.0"?>
+<component name="config:datasources">
+ <extension target="org.nuxeo.runtime.datasource" point="datasources">
+ <datasource name="jdbc/nxaudit" xaDataSource="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource"
+ maxActive="20" maxIdle="5">
+ <property name="databaseName">nuxeo</property>
+ <property name="user">nuxeo</property>
+ <property name="password">nuxpw</property>
+ </datasource>
+ </extension>
+</component>
--- /dev/null
+<?xml version="1.0"?>
+<component name="config:default-repository">
+ <extension target="org.nuxeo.ecm.core.repository.RepositoryService"
+ point="repository">
+ <repository name="default"
+ factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory">
+ <repository name="default">
+ <xa-datasource>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource>
+ <property name="URL">jdbc:mysql://localhost:3306/nuxeo?relaxAutoCommit=true</property>
+ <property name="User">nuxeo</property>
+ <property name="Password">nuxpw</property>
+ <schema>
+ <field type="largetext">imd:user_comment</field> <!-- Needed for large image metadata (image_metadata) that gets inserted here. -->
+ <field type="largetext">note</field>
+ <field type="largetext">webp:content</field>
+ <field type="largetext">webc:welcomeText</field>
+ <field type="largetext">comment:comment</field>
+ <field type="largetext">post</field>
+ <field type="largetext">mail:mail</field>
+
+ <!-- Text fields that may possibly not require largetext -->
+ <!-- designation and might need further review are marked as follows: -->
+ <!-- * -->
+
+ <!-- =========================================================== -->
+ <!-- Acquisition -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">acquisitionFundingSourceProvisos</field>
+ <field type="largetext">acquisitions_common:acquisitionNote</field>
+ <field type="largetext">acquisitions_common:acquisitionProvisos</field>
+ <field type="largetext">acquisitions_common:acquisitionReason</field>
+ <field type="largetext">acquisitions_common:creditLine</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Blob -->
+ <!-- =========================================================== -->
+
+ <!-- No largetext fields identified to date -->
+
+
+ <!-- =========================================================== -->
+ <!-- CollectionObject / Cataloging -->
+ <!-- =========================================================== -->
+
+ <!-- Object Identification Information -->
+ <!-- ================================= -->
+
+ <!-- FIXME: The following field may be removed from this configuration when it is confirmed -->
+ <!-- that the App/UI layers are using a repeatable other number group. -->
+ <field type="largetext">collectionobjects_common:otherNumber</field> <!-- * -->
+
+ <!-- FIXME: Change this to otherNumberValue if and when the field name itself is so changed. -->
+ <field type="largetext">numberValue</field> <!-- * -->
+
+ <!-- FIXME: multivalued field - need to verify schema and field name -->
+ <field type="largetext">collectionobjects_common:briefDescriptions</field>
+
+ <!-- FIXME: multivalued field - need to verify schema and field name -->
+ <field type="largetext">collectionobjects_common:comments</field>
+
+ <field type="largetext">collectionobjects_common:distinguishingFeatures</field>
+
+ <field type="largetext">objectNameNote</field>
+
+ <field type="largetext">title</field>
+ <field type="largetext">titleTranslation</field>
+
+ <!-- Object Description Information -->
+ <!-- ============================== -->
+
+ <field type="largetext">collectionobjects_common:ageQualifier</field>
+ <field type="largetext">collectionobjects_common:color</field>
+ <field type="largetext">collectionobjects_common:contentDescription</field>
+ <field type="largetext">collectionobjects_common:contentNote</field>
+ <field type="largetext">collectionobjects_common:contentObject</field>
+ <field type="largetext">collectionobjects_common:copyNumber</field> <!-- * -->
+ <field type="largetext">collectionobjects_common:editionNumber</field> <!-- * -->
+
+ <!-- FIXME: Will become group repeatable in a post-1.3 release -->
+ <!-- Remove the schema name(s) from the value(s) below when this occurs. -->
+ <field type="largetext">collectionobjects_common:inscriptionContent</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentInterpretation</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentTranslation</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentTransliteration</field>
+
+ <!-- FIXME: Will become group repeatable in a post-1.3 release -->
+ <!-- Remove the schema name(s) from the value(s) below when this occurs. -->
+ <field type="largetext">collectionobjects_common:inscriptionDescriptionInterpretation</field>
+
+ <field type="largetext">materialComponentNote</field>
+ <field type="largetext">materialName</field> <!-- * -->
+
+ <!-- FIXME: multivalued field - need to verify schema and field name -->
+ <field type="largetext">collectionobjects_common:physicalDescription</field>
+
+ <field type="largetext">objectComponentInformation</field>
+
+ <!-- Object Production Information -->
+ <!-- ============================= -->
+
+ <field type="largetext">collectionobjects_common:objectProductionNote</field>
+
+ <!-- FIXME: multivalued field - need to verify schema and field name -->
+ <field type="largetext">collectionobjects_common:objectProductionReason</field>
+
+ <!-- Object History and Association Information -->
+ <!-- ========================================== -->
+
+ <field type="largetext">assocActivityNote</field>
+ <field type="largetext">assocConceptNote</field>
+ <field type="largetext">assocCulturalContextNote</field>
+ <field type="largetext">assocDateNote</field>
+
+ <!-- FIXME: Will become group repeatable in a post-1.3 release. -->
+ <!-- Remove the schema name(s) from the value(s) below when this occurs. -->
+ <field type="largetext">collectionobjects_common:assocEventName</field> <!-- * -->
+ <field type="largetext">collectionobjects_common:assocEventNote</field>
+ <field type="largetext">collectionobjects_common:assocEventType</field> <!-- * -->
+
+ <field type="largetext">assocObject</field>
+ <field type="largetext">assocOrganizationNote</field>
+ <field type="largetext">assocPeopleNote</field>
+ <field type="largetext">assocPersonNote</field>
+ <field type="largetext">assocPlaceNote</field>
+
+ <field type="largetext">collectionobjects_common:objectHistoryNote</field>
+ <field type="largetext">collectionobjects_common:ownershipExchangeNote</field>
+ <field type="largetext">usageNote</field>
+
+ <!-- Object Owner's Contribution Information -->
+ <!-- ======================================= -->
+
+ <field type="largetext">collectionobjects_common:ownersPersonalExperience</field>
+ <field type="largetext">collectionobjects_common:ownersPersonalResponse</field>
+
+ <!-- FIXME: multivalued field - need to verify schema and field name -->
+ <field type="largetext">collectionobjects_common:ownersReference</field>
+
+ <field type="largetext">collectionobjects_common:ownersContributionNote</field>
+
+ <!-- Object Viewer's Contribution Information -->
+ <!-- ======================================== -->
+
+ <field type="largetext">collectionobjects_common:viewersRole</field>
+ <field type="largetext">collectionobjects_common:viewersPersonalExperience</field>
+ <field type="largetext">collectionobjects_common:viewersPersonalResponse</field>
+
+ <!-- FIXME: multivalued field - need to verify schema and field name -->
+ <field type="largetext">collectionobjects_common:viewersReference</field>
+
+ <field type="largetext">collectionobjects_common:viewersContributionNote</field>
+
+ <!-- Reference Information -->
+ <!-- ===================== -->
+
+ <field type="largetext">collectionobjects_common:catalogNumber</field> <!-- * -->
+
+ <!-- Object Collection Information -->
+ <!-- ============================= -->
+
+ <field type="largetext">collectionobjects_common:fieldCollectionNote</field>
+ <field type="largetext">collectionobjects_common:fieldCollectionNumber</field> <!-- * -->
+
+ <!--
+ Additional non-text fields configured as 'largetext' to
+ avoid the following error when Nuxeo is configured to use MySQL:
+
+ com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException.
+ message: Row size too large. The maximum row size for the
+ used table type, not counting BLOBs, is 65535.
+
+ Some of the fields below may be repeatable or in
+ repeatable groups, and the schema and field names
+ below might thus require verification to match actual values.
+ -->
+
+ <field type="largetext">collectionobjects_common:objectNumber</field>
+ <field type="largetext">collectionobjects_common:otherNumber</field>
+ <field type="largetext">collectionobjects_common:otherNumberType</field>
+ <field type="largetext">collectionobjects_common:numberOfObjects</field>
+ <field type="largetext">collectionobjects_common:collection</field>
+ <field type="largetext">collectionobjects_common:recordStatus</field>
+ <field type="largetext">collectionobjects_common:age</field>
+ <field type="largetext">collectionobjects_common:ageQualifier</field>
+ <field type="largetext">collectionobjects_common:ageUnit</field>
+
+ <field type="largetext">collectionobjects_common:contentDate</field>
+ <field type="largetext">collectionobjects_common:contentLanguages</field>
+ <field type="largetext">collectionobjects_common:contentOrganizations</field>
+
+ <field type="largetext">collectionobjects_common:dimensionSummary</field>
+
+ <!-- FIXME: The set of dimensions-related fields below may be removed -->
+ <!-- altogether when it is confirmed that the App/UI layers are using -->
+ <!-- a repeatable dimensions group. -->
+ <field type="largetext">collectionobjects_common:dimension</field>
+ <field type="largetext">collectionobjects_common:dimensionMeasuredPart</field>
+ <field type="largetext">collectionobjects_common:dimensionMeasurementUnit</field>
+ <field type="largetext">collectionobjects_common:dimensionValue</field>
+ <field type="largetext">collectionobjects_common:dimensionValueDate</field>
+ <field type="largetext">collectionobjects_common:dimensionValueQualifier</field>
+
+ <field type="largetext">collectionobjects_common:editionNumber</field>
+
+ <field type="largetext">collectionobjects_common:inscriptionContentInscriber</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentDate</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentLanguage</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentMethod</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentPosition</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentScript</field>
+ <field type="largetext">collectionobjects_common:inscriptionContentType</field>
+
+ <field type="largetext">collectionobjects_common:inscriptionDescription</field>
+ <field type="largetext">collectionobjects_common:inscriptionDescriptionInscriber</field>
+ <field type="largetext">collectionobjects_common:inscriptionDescriptionDate</field>
+ <field type="largetext">collectionobjects_common:inscriptionDescriptionMethod</field>
+ <field type="largetext">collectionobjects_common:inscriptionDescriptionPosition</field>
+ <field type="largetext">collectionobjects_common:inscriptionDescriptionType</field>
+
+ <field type="largetext">collectionobjects_common:objectStatus</field>
+ <field type="largetext">collectionobjects_common:phase</field>
+ <field type="largetext">collectionobjects_common:sex</field>
+ <field type="largetext">collectionobjects_common:ownershipAccess</field>
+ <field type="largetext">collectionobjects_common:ownershipCategory</field>
+ <field type="largetext">collectionobjects_common:ownershipDates</field>
+ <field type="largetext">collectionobjects_common:ownershipExchangeMethod</field>
+ <field type="largetext">collectionobjects_common:ownershipExchangePriceCurrency</field>
+ <field type="largetext">collectionobjects_common:ownershipExchangePriceValue</field>
+ <field type="largetext">collectionobjects_common:ownershipPlace</field>
+ <field type="largetext">collectionobjects_common:fieldCollectionNumber</field>
+ <field type="largetext">collectionobjects_common:fieldCollectionMethod</field>
+ <field type="largetext">collectionobjects_common:fieldCollectionPlace</field>
+ <field type="largetext">collectionobjects_common:fieldCollectionDate</field>
+
+ <!-- FIXME: This sample set of date field can be removed when Cataloging -->
+ <!-- records are using structured date fields, or earlier when it is confirmed that -->
+ <!-- the App/UI layers are not using this vestigial part of the Cataloging schema. -->
+ <field type="largetext">collectionobjects_common:dateAssociation</field>
+ <field type="largetext">collectionobjects_common:dateEarliestSingle</field>
+ <field type="largetext">collectionobjects_common:dateEarliestSingleCertainty</field>
+ <field type="largetext">collectionobjects_common:dateEarliestSingleQualifier</field>
+ <field type="largetext">collectionobjects_common:dateLatest</field>
+ <field type="largetext">collectionobjects_common:dateLatestCertainty</field>
+ <field type="largetext">collectionobjects_common:dateLatestQualifier</field>
+ <field type="largetext">collectionobjects_common:datePeriod</field>
+ <field type="largetext">collectionobjects_common:dateText</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Contact -->
+ <!-- =========================================================== -->
+ <field type="largetext">contacts_common:addressPlace</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Group -->
+ <!-- =========================================================== -->
+ <field type="largetext">groups_common:scopeNote</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Intake -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">intakes_common:entryNote</field>
+ <field type="largetext">intakes_common:packingNote</field>
+ <field type="largetext">intakes_common:fieldCollectionNote</field>
+ <field type="largetext">intakes_common:insuranceNote</field>
+ <field type="largetext">intakes_common:conditionCheckNote</field>
+ <field type="largetext">currentLocationNote</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Loan In -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">loansin_common:loanInConditions</field>
+ <field type="largetext">loansin_common:loanInNote</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Loan Out -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">loansout_common:specialConditionsOfLoan</field>
+ <field type="largetext">loansout_common:loanOutNote</field>
+ <field type="largetext">loansout_common:loanPurpose</field>
+ <field type="largetext">loanedObjectStatusNote</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Movement / Location and Movement Control -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">movements_common:currentLocationNote</field>
+ <field type="largetext">movements_common:movementNote</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Media / Media Handling -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">media_common:copyrightStatement</field>
+ <field type="largetext">media_common:description</field>
+ <field type="largetext">media_common:title</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Note -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">notes_common:content</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Object Exit -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">objectexit_common:exitNote</field>
+ <field type="largetext">objectexit_common:packingNote</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Organization -->
+ <!-- =========================================================== -->
+
+ <field type="largetext">shortName</field>
+ <field type="largetext">longName</field>
+ <field type="largetext">nameAdditions</field>
+ <field type="largetext">historyNote</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Person -->
+ <!-- =========================================================== -->
+ <field type="largetext">persons_common:bioNote</field>
+ <field type="largetext">persons_common:nameNote</field>
+
+
+ <!-- =========================================================== -->
+ <!-- Relation -->
+ <!-- =========================================================== -->
+
+ <!-- No largetext fields identified to date -->
+
+
+ <!-- =========================================================== -->
+ <!-- Storage Location / Location -->
+ <!-- =========================================================== -->
+ <field type="largetext">locations_common:name</field>
+ <!-- conditionNote will be made part of a repeatable group of fields in a future release -->
+ <field type="largetext">locations_common:conditionNote</field>
+ <field type="largetext">locations_common:securityNote</field>
+ <field type="largetext">locations_common:accessNote</field>
+
+ </schema>
+ </repository>
+ </repository>
+ </extension>
+
+ <extension target="org.nuxeo.ecm.core.api.repository.RepositoryManager" point="repositories">
+ <documentation>The default repository</documentation>
+ <repository name="default" label="Default Repository" />
+ </extension>
+</component>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
+ debug="false">
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" />
+ <!-- <param name="Target" value="System.out" />-->
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n" /> -->
+ <param name="ConversionPattern" value="%m%n" />
+ </layout>
+ </appender>
+
+ <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
+ <param name="File" value="log/nxshell.log" />
+ <param name="Append" value="false" />
+ <!-- <param name="MaxFileSize" value="10MB" />-->
+ <param name="MaxBackupIndex" value="3" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d{ISO8601} %-5p [%c] %m%n" />
+ </layout>
+ </appender>
+
+ <!-- Specific appenders for some important nxshell commands -->
+ <appender name="import" class="org.apache.log4j.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" />
+ <param name="File" value="log/import.log" />
+ <param name="Append" value="true" />
+ <param name="MaxFileSize" value="30MB" />
+ <param name="MaxBackupIndex" value="5" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d{ISO8601} %-5p [%c] %m%n" />
+ </layout>
+ </appender>
+
+ <!-- Main logger -->
+ <logger name="org.nuxeo">
+ <level value="INFO" />
+ </logger>
+ <!-- Console output -->
+ <logger name="org.nuxeo.ecm.shell">
+ <level value="INFO" />
+ <appender-ref ref="CONSOLE" />
+ </logger>
+ <!-- Loggers for import commands -->
+ <logger name="org.nuxeo.ecm.shell.commands.io.ImportCommand">
+ <level value="INFO" />
+ <appender-ref ref="import" />
+ </logger>
+ <logger name="org.nuxeo.ecm.shell.commands.repository.FSImportCommand">
+ <level value="INFO" />
+ <appender-ref ref="import" />
+ </logger>
+ <logger name="org.nuxeo.ecm.shell.commands.repository.MTFSImportCommand">
+ <level value="INFO" />
+ <appender-ref ref="import" />
+ </logger>
+ <logger name="org.nuxeo.ecm.shell.commands.repository.ThreadedImportTask">
+ <level value="INFO" />
+ <appender-ref ref="import" />
+ </logger>
+
+ <root>
+ <level value="WARN" />
+ <appender-ref ref="FILE" />
+ </root>
+
+</log4j:configuration>
--- /dev/null
+<?xml version="1.0"?>
+
+<component name="org.nuxeo.ecm.platform.login.LoginConfig" version="1.0">
+ <documentation>
+ Login modules used on JBoss
+ @author Bogdan Stefanescu (bs@nuxeo.com)
+ </documentation>
+
+
+ <extension target="org.nuxeo.runtime.LoginComponent" point="domains">
+
+ <domain name="nuxeo-system-login">
+ <login-module code="org.nuxeo.runtime.api.login.SystemLoginModule" flag="required"/>
+ <login-module code="org.nuxeo.ecm.core.api.local.ClientLoginModule" flag="required">
+ <option name="password-stacking">true</option>
+ <option name="multi-threaded">true</option>
+ </login-module>
+ </domain>
+
+
+ <domain name="nuxeo-webengine">
+ <login-module code = "org.nuxeo.ecm.platform.login.NuxeoLoginModule"
+ flag = "required">
+ <option name="principalClassName">org.nuxeo.ecm.platform.login.NuxeoPrincipal</option>
+ <option name="useUserIdentificationInfoCB">true</option>
+ </login-module>
+ <!--login-module code="org.nuxeo.ecm.core.api.local.ClientLoginModule" flag="required">
+ <option name="password-stacking">true</option>
+ <option name="multi-threaded">true</option>
+ </login-module-->
+ </domain>
+
+ </extension>
+
+
+</component>
--- /dev/null
+NuxeoContainer.autoactivation=true
--- /dev/null
+# application instance config
+org.nuxeo.ecm.instance.host=localhost
+org.nuxeo.ecm.instance.name=Nuxeo 5.4
+org.nuxeo.ecm.instance.description=Nuxeo ECM server
+
+# product config
+org.nuxeo.ecm.product.name=Nuxeo 5.4
+org.nuxeo.ecm.product.version=5.4.2-SNAPSHOT
+
+# runtime remoting config
+org.nuxeo.runtime.server.enabled=false
+org.nuxeo.runtime.server.host=${org.nuxeo.ecm.instance.host}
+org.nuxeo.runtime.server.locator=socket://0.0.0.0:62474/?datatype=nuxeo
+
+# streaming config
+org.nuxeo.runtime.streaming.isServer=false
+org.nuxeo.runtime.streaming.serverLocator=socket://${org.nuxeo.ecm.instance.host}:62474/?datatype=nuxeo
+
+# which sample to run
+org.nuxeo.ecm.sample.class=org.nuxeo.ecm.sample.streaming.StreamingExample
+
+# needed for the JNDI auto configuration of clients
+# you need to change this if using JNDI through HTTP
+nuxeo-client-jndi.java.naming.provider.url=jnp://%s:%s
+nuxeo-client-jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+nuxeo-client-jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+
+# avoid initializing nuxeo relations at startup (for faster startup)
+org.nuxeo.ecm.platform.relations.initOnStartup=false
+
+# context path of the application
+org.nuxeo.ecm.contextPath=/nuxeo
+
+# cspace
+#nuxeo.client.on.jboss=true
+#org.nuxeo.client.remote=true
--- /dev/null
+org.nuxeo.app.bundles=bundles/*:plugins/*
--- /dev/null
+This folder contains the external modules on top of the nuxeo platform
\ No newline at end of file
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>runtime</artifactId>
+ <version>${jaxb2-basics.version}</version>
</dependency>
-->
<dependency>