]> git.aero2k.de Git - tmp/jakarta-migration.git/log
tmp/jakarta-migration.git
16 years agoCSPACE-149. Revised schema for organization to match the spec.
Patrick Schmitz [Tue, 5 Jan 2010 23:11:09 +0000 (23:11 +0000)]
CSPACE-149. Revised schema for organization to match the spec.

16 years agoCSPACE-149. Added Organization services to system and build scripts. Fixed a few...
Patrick Schmitz [Tue, 5 Jan 2010 19:47:02 +0000 (19:47 +0000)]
CSPACE-149. Added Organization services to system and build scripts. Fixed a few typos that broke 1 test. Organization service is working.

16 years agoCSPACE-149. Adding basic code for Organization service. Compiles, but testing remains...
Patrick Schmitz [Mon, 4 Jan 2010 20:12:59 +0000 (20:12 +0000)]
CSPACE-149. Adding basic code for Organization service. Compiles, but testing remains. Not yet added to main builds.

16 years agoNOJIRA - removed stale comment.
Patrick Schmitz [Mon, 4 Jan 2010 18:35:22 +0000 (18:35 +0000)]
NOJIRA - removed stale comment.

16 years agoCSPACE-697 fixed documentutils to recognize multivalue field more deterministically
Sanjay Dalal [Wed, 23 Dec 2009 20:09:28 +0000 (20:09 +0000)]
CSPACE-697 fixed documentutils to recognize multivalue field more deterministically
added tests for single and multivalue instances for a multivalue fields
test: collectionobject client

M    collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
M    common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java

16 years agoNOJIRA: Updating repository settings.
Richard Millet [Tue, 22 Dec 2009 17:30:55 +0000 (17:30 +0000)]
NOJIRA: Updating repository settings.

16 years agoNOJIRA added dependency for dist, depends upon doc.
Sanjay Dalal [Tue, 22 Dec 2009 01:17:30 +0000 (01:17 +0000)]
NOJIRA added dependency for dist, depends upon doc.

16 years agoCSPACE-514 added javadoc plugin to pom.xml (trunk and main levels only). complete...
Sanjay Dalal [Mon, 21 Dec 2009 20:09:11 +0000 (20:09 +0000)]
CSPACE-514 added javadoc plugin to pom.xml (trunk and main levels only). complete javadoc is created (later on config for public only). also added doc target for build.xml (trunk and main levels). the ant target also jars up javadocs. the dist targets in both trunk and main now dist javadoc jar as well
mvn javadoc:aggregate (to generate javadoc only)
ant doc (calls javadoc:aggregate and jars up the javadoc)
ant dist (now copies javadoc jar to dist)

M    trunk/services/common/src/main/java/org/collectionspace/services/common/security/UnauthorizedException.java
M    trunk/services/pom.xml
M    trunk/services/build.xml
M    trunk/pom.xml
M    trunk/build.xml

16 years agoNOJIRA changed cardinality of the service object manifest in service binding. only...
Sanjay Dalal [Mon, 21 Dec 2009 19:01:44 +0000 (19:01 +0000)]
NOJIRA changed cardinality of the service object manifest in service binding. only one service object definitino is supported per service.
test: service tests
require: deploy

16 years agoCSPACE-682: CSPACE-683: Keyword search support for Acquisitions and Intakes.
Richard Millet [Mon, 21 Dec 2009 18:00:25 +0000 (18:00 +0000)]
CSPACE-682: CSPACE-683: Keyword search support for Acquisitions and Intakes.

16 years agoNOJIRA - name change for DBLoginModule, removed need for pricipalclass in getTenant...
Sanjay Dalal [Fri, 18 Dec 2009 21:45:16 +0000 (21:45 +0000)]
NOJIRA - name change for DBLoginModule, removed need for pricipalclass in getTenant method
test: security test

D    services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceDBLoginModule.java
A  + services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceJBossDBLoginModule.java
M    services/authentication/service/src/main/java/org/collectionspace/authentication/DatabaseRealm.java
M    services/authentication/service/src/main/resources/config/jboss-login-config.xml

16 years agoNOJIRA moved db script generation and create_db tasks out of account.client and authe...
Sanjay Dalal [Thu, 17 Dec 2009 21:29:06 +0000 (21:29 +0000)]
NOJIRA moved db script generation and create_db tasks out of account.client and authentication.client to account.pstore and authentication.pstore
Added gen_ddl task at trunk level and service.main levels

M    trunk/services/authentication/pom.xml
AM   trunk/services/authentication/pstore
A    trunk/services/authentication/pstore/src
A    trunk/services/authentication/pstore/src/test
A    trunk/services/authentication/pstore/src/test/resources
A    trunk/services/authentication/pstore/src/test/resources/META-INF
A    trunk/services/authentication/pstore/src/test/resources/META-INF/persistence.xml
A    trunk/services/authentication/pstore/src/test/resources/log4j.properties
A    trunk/services/authentication/pstore/src/test/resources/hibernate.cfg.xml
A    trunk/services/authentication/pstore/src/main
A    trunk/services/authentication/pstore/src/main/resources
A  + trunk/services/authentication/pstore/src/main/resources/db
A    trunk/services/authentication/pstore/pom.xml
A    trunk/services/authentication/pstore/build.xml
D    trunk/services/authentication/client/src/main/resources/db
M    trunk/services/authentication/client/pom.xml
M    trunk/services/authentication/client/build.xml
M    trunk/services/authentication/build.xml
M    trunk/services/account/pom.xml
A    trunk/services/account/pstore
A    trunk/services/account/pstore/src
A    trunk/services/account/pstore/src/test
A    trunk/services/account/pstore/src/test/resources
A    trunk/services/account/pstore/src/test/resources/META-INF
A    trunk/services/account/pstore/src/test/resources/META-INF/persistence.xml
A    trunk/services/account/pstore/src/test/resources/log4j.properties
A    trunk/services/account/pstore/src/test/resources/hibernate.cfg.xml
A    trunk/services/account/pstore/src/main
A    trunk/services/account/pstore/src/main/resources
A    trunk/services/account/pstore/src/main/resources/db
A    trunk/services/account/pstore/src/main/resources/db/mysql
A  + trunk/services/account/pstore/src/main/resources/db/mysql/test_account.sql
A  + trunk/services/account/pstore/src/main/resources/db/mysql/account.sql
A    trunk/services/account/pstore/pom.xml
A    trunk/services/account/pstore/build.xml
M    trunk/services/account/build.xml
D    trunk/services/account/client/src/main/resources/db/mysql/test_account.sql
D    trunk/services/account/client/src/main/resources/db/mysql/account.sql
M    trunk/services/account/client/pom.xml
M    trunk/services/account/client/build.xml
M    trunk/services/build.xml
M    trunk/build.xml

16 years agoNOJIRA - Fixed missing setup call to make vocabulary items support pagination.
Patrick Schmitz [Thu, 17 Dec 2009 20:15:10 +0000 (20:15 +0000)]
NOJIRA - Fixed missing setup call to make vocabulary items support pagination.

16 years agoNOJIRA - Moved authentication test to new module named security as it depends on...
Sanjay Dalal [Thu, 17 Dec 2009 19:09:58 +0000 (19:09 +0000)]
NOJIRA - Moved authentication test to new module named security as it depends on account and collectionobject clients. security.client is the last module.
Enabled account module in service build that was disabled by #1076.

D    services/authentication/client/src/test/java/org/collectionspace/services/authentication/client/AuthenticationServiceTest.java
M    services/authentication/client/pom.xml
M    services/pom.xml
_M   services/contact/jaxb
M    services/build.xml
A    services/security
A    services/security/pom.xml
AM   services/security/client
A    services/security/client/src
A    services/security/client/src/test
A    services/security/client/src/test/java
A    services/security/client/src/test/java/org
A    services/security/client/src/test/java/org/collectionspace
A    services/security/client/src/test/java/org/collectionspace/services
A    services/security/client/src/test/java/org/collectionspace/services/authentication
A    services/security/client/src/test/java/org/collectionspace/services/authentication/client
A    services/security/client/src/test/java/org/collectionspace/services/authentication/client/test
A  + services/security/client/src/test/java/org/collectionspace/services/authentication/client/test/AuthenticationServiceTest.java
A    services/security/client/src/test/resources
A    services/security/client/src/test/resources/META-INF
A    services/security/client/src/test/resources/META-INF/persistence.xml
A    services/security/client/src/test/resources/log4j.properties
A    services/security/client/src/test/resources/hibernate.cfg.xml
A    services/security/client/src/main
A    services/security/client/pom.xml
A    services/security/client/build.xml
A    services/security/build.xml

16 years agoCSPACE-656 1-1 user-tenant association removed, added 1-many account-tenant association.
Sanjay Dalal [Thu, 17 Dec 2009 02:07:37 +0000 (02:07 +0000)]
CSPACE-656 1-1 user-tenant association removed, added 1-many account-tenant association.
Default id provider is made less JBoss dependent. Tenant info is now put as group in security context with tenant as CSpaceTenant group-memeber
Common depends on authn service (for CSpaceTenant)
Account throws 400 if tenant and/or userid are missing. Provisioned test account with tenant association for testing purposes. Added account tests for the same.
Account client now packages all required classes. Used in authentication service tests.
Servicecontext now retrieves one or more tenants from security context before retrieving bindings. Still uses one tenant only (needs consumer to send tenant info if user is associated with n tenants. Client test now recognizes 401 for all service operations.

tests: service tests. account (new) tests. authn tests by enabling service side security

M    services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceDBLoginModule.java
A    services/authentication/service/src/main/java/org/collectionspace/authentication/DatabaseRealm.java
A    services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceTenant.java
M    services/authentication/service/src/main/resources/config/jboss-login-config.xml
M    services/authentication/service/pom.xml
M    services/authentication/jaxb/src/main/resources/authentication_identity_provider.xsd
M    services/authentication/jaxb/pom.xml
M    services/authentication/client/src/test/java/org/collectionspace/services/authentication/client/AuthenticationServiceTest.java
M    services/authentication/client/src/main/resources/db/mysql/test_authn.sql
M    services/authentication/client/src/main/resources/db/mysql/authentication.sql
M    services/authentication/client/pom.xml
M    services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
_M   services/dimension/service
_M   services/dimension/jaxb
M    services/common/src/main/java/org/collectionspace/services/common/context/ServiceContext.java
M    services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java
M    services/common/pom.xml
M    services/pom.xml
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M    services/account/service/pom.xml
M    services/account/jaxb/src/main/resources/accounts_common.xsd
A    services/account/client/src/test/java/org/collectionspace/services/account
A    services/account/client/src/test/java/org/collectionspace/services/account/client
A    services/account/client/src/test/java/org/collectionspace/services/account/client/test
A  + services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountTest.java
A  + services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
D    services/account/client/src/test/java/org/collectionspace/services/client/test/AccountTest.java
D    services/account/client/src/test/java/org/collectionspace/services/client/test/AccountServiceTest.java
D    services/account/client/src/test/java/org/collectionspace/services/client/AccountClient.java
D    services/account/client/src/test/java/org/collectionspace/services/client/AccountProxy.java
M    services/account/client/src/test/resources/META-INF/persistence.xml
M    services/account/client/src/test/resources/log4j.properties
A  + services/account/client/src/main/java/org/collectionspace/services/client/AccountClient.java
A  + services/account/client/src/main/java/org/collectionspace/services/client/AccountProxy.java
A    services/account/client/src/main/resources/db/mysql/test_account.sql
M    services/account/client/src/main/resources/db/mysql/account.sql
M    services/account/client/pom.xml
M    services/account/client/build.xml
M    services/build.xml
M    services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTest.java
M    services/client/src/main/java/org/collectionspace/services/client/test/ServiceRequestType.java

16 years agoCSPACE-664,CSPACE-489,CSPACE-114: Added code to clean up extra entity objects created...
Aron Roberts [Tue, 15 Dec 2009 20:02:58 +0000 (20:02 +0000)]
CSPACE-664,CSPACE-489,CSPACE-114: Added code to clean up extra entity objects created during testing to client tests of Dimensions and Contacts services.  Removed extraneous comment from Acquisitions client test.

16 years agoCSPACE-114: A basic Contact service is now integrated with the main services project...
Aron Roberts [Mon, 14 Dec 2009 21:11:28 +0000 (21:11 +0000)]
CSPACE-114: A basic Contact service is now integrated with the main services project. The service's document types must be imported via 'ant deploy' for tests to run successfully.  The service currently implements only a subset of three fields of the Address Information group of the Contact Information Schema, awaiting further definition of that schema.  Because contact info appears to be relevant solely in the context of Person or Organization, this service may later be restricted to use only in those contacts, and its public REST interface may be removed.

16 years agoCSPACE-114: Initial check-in of the Contact service. This is an initial check-in...
Aron Roberts [Sat, 12 Dec 2009 01:54:50 +0000 (01:54 +0000)]
CSPACE-114: Initial check-in of the Contact service.  This is an initial check-in, to get its code into the SVN repository for further work.  The service currently implements only a subset of three fields of the Address Information group of the Contact Information Schema.  It is not yet integrated with the top-level project Maven and Ant build files.  Its document type has not yet been tested in Nuxeo, nor have client tests of the service yet been run.

16 years agoNOJIRA: Adding Eclipse setting files.
Richard Millet [Fri, 11 Dec 2009 23:09:29 +0000 (23:09 +0000)]
NOJIRA: Adding Eclipse setting files.

16 years agoCSPACE-655: Adding refnum to result list. This is a merge from the Venus branch.
Richard Millet [Fri, 11 Dec 2009 23:08:39 +0000 (23:08 +0000)]
CSPACE-655: Adding refnum to result list.  This is a merge from the Venus branch.

16 years agoCSPACE-665: Support for keyword search on collectionobjects.
Richard Millet [Fri, 11 Dec 2009 19:37:01 +0000 (19:37 +0000)]
CSPACE-665: Support for keyword search on collectionobjects.

16 years agoNOJIRA: readList-type test methods in client tests have a potential dependency on...
Aron Roberts [Thu, 10 Dec 2009 03:43:11 +0000 (03:43 +0000)]
NOJIRA: readList-type test methods in client tests have a potential dependency on the createList method, if and when these tests check contents of lists returned and not just status codes of responses.

16 years agoCSPACE-489: Clean up extra entity resources created during tests. Now cleans up all...
Aron Roberts [Thu, 10 Dec 2009 03:07:11 +0000 (03:07 +0000)]
CSPACE-489: Clean up extra entity resources created during tests. Now cleans up all extra resources created even if tests fail. Added clean up to vocabulary service. (Previous commit r1058 inadvertently committed only one changed file; this is a follow-up to commit the additional four files.)

16 years agoCSPACE-489: Clean up extra entity resources created during tests. Now cleans up all...
Aron Roberts [Thu, 10 Dec 2009 02:52:53 +0000 (02:52 +0000)]
CSPACE-489: Clean up extra entity resources created during tests. Now cleans up all extra resources created even if tests fail. Added clean up to vocabulary service.

16 years agoCSPACE-642 made CSpacePrincipal final
Sanjay Dalal [Wed, 9 Dec 2009 20:32:26 +0000 (20:32 +0000)]
CSPACE-642 made CSpacePrincipal final

M    authentication/service/src/main/java/org/collectionspace/authentication/CSpacePrincipal.java

16 years agoCSPACE-600, CSPACE-572 Fixed. Removed inVocabulary reference from all REST payloads...
Patrick Schmitz [Wed, 9 Dec 2009 20:25:15 +0000 (20:25 +0000)]
CSPACE-600, CSPACE-572 Fixed. Removed inVocabulary reference from all REST payloads - this should not be visible to consumers.
Work on CSPACE-590, CSPACE-547. Added support for refname to payloads.

16 years agoCSPACE-489: Clean up extra entity objects created during tests for several entity...
Aron Roberts [Wed, 9 Dec 2009 05:33:28 +0000 (05:33 +0000)]
CSPACE-489: Clean up extra entity objects created during tests for several entity services: collectionobject, acquisition, intake, relation.

16 years agoCSPACE-644: Sample code to delete collection objects now guarded by a flag.
Aron Roberts [Tue, 8 Dec 2009 01:08:22 +0000 (01:08 +0000)]
CSPACE-644: Sample code to delete collection objects now guarded by a flag.

16 years agoCSPACE-610: Sample code to delete vocabularies and vocabulary items now guarded by...
Aron Roberts [Tue, 8 Dec 2009 01:02:46 +0000 (01:02 +0000)]
CSPACE-610: Sample code to delete vocabularies and vocabulary items now guarded by a flag.

16 years agoCSPACE-580 account is now able to update password only (for CSIP). update requires...
Sanjay Dalal [Tue, 8 Dec 2009 00:44:46 +0000 (00:44 +0000)]
CSPACE-580 account is now able to update password only (for CSIP). update requires admin privileges.
test: account test

M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M    account/client/src/test/java/org/collectionspace/services/client/test/AccountServiceTest.java

16 years agoCSPACE-610: Changed client properties file to point to localhost, rather than to...
Aron Roberts [Mon, 7 Dec 2009 23:53:57 +0000 (23:53 +0000)]
CSPACE-610: Changed client properties file to point to localhost, rather than to the PAHMA slice.

16 years agoCSPACE-584, CSPACE-651
Sanjay Dalal [Mon, 7 Dec 2009 21:52:01 +0000 (21:52 +0000)]
CSPACE-584, CSPACE-651
CSPACE-584 added status attribute to account. XML type 'status' is also added. added test to change status (update/put is required).
CSPACE-651 tenant id is never returned to service consumer. response of get/update is sanitized to remove tenant id.
test: account test

M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    account/jaxb/src/main/resources/accounts_common.xsd
M    account/client/src/test/java/org/collectionspace/services/client/test/AccountTest.java
M    account/client/src/test/java/org/collectionspace/services/client/test/AccountServiceTest.java
M    account/client/src/main/resources/db/mysql/account.sql

16 years agoNOJIRA: Removing dead artifacts from source code repository.
Richard Millet [Mon, 7 Dec 2009 19:08:42 +0000 (19:08 +0000)]
NOJIRA: Removing dead artifacts from source code repository.

16 years agoCSPACE-648: Checking in CRUD operations for Dimension service. You will need to...
Richard Millet [Mon, 7 Dec 2009 18:34:47 +0000 (18:34 +0000)]
CSPACE-648: Checking in CRUD operations for Dimension service.  You will need to perform an "Ant deploy" to copy over the new Nuxeo doctype jar.

16 years agoCSPACE-559: ID Service no longer returns a Location header upon creation of a new...
Aron Roberts [Fri, 4 Dec 2009 21:55:44 +0000 (21:55 +0000)]
CSPACE-559: ID Service no longer returns a Location header upon creation of a new ID. Current Services Team consensus is that IDs are not to be treated as resources.

16 years agoCSPACE-644: Added readList, delete, deleteAll methods to sample client code for acces...
Aron Roberts [Fri, 4 Dec 2009 19:58:36 +0000 (19:58 +0000)]
CSPACE-644: Added readList, delete, deleteAll methods to sample client code for accessing CollectionObject service.

16 years agoCSPACE-643 added ant run plugin to set hibernate.cfg.xml properties before running...
Sanjay Dalal [Fri, 4 Dec 2009 18:45:49 +0000 (18:45 +0000)]
CSPACE-643 added ant run plugin to set hibernate.cfg.xml properties before running any (local) tests that use the config.
test: account, authentiation, all services

M    account/client/pom.xml
M    authentication/client/pom.xml

16 years agoNOJIRA: temp disabling of retrieveTenantId due to intermittent bugs in non-auth mode
Sanjay Dalal [Fri, 4 Dec 2009 18:27:52 +0000 (18:27 +0000)]
NOJIRA: temp disabling of retrieveTenantId due to intermittent bugs in non-auth mode
test: collectionobject, intake without auth

M    src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java

16 years agoNOJIRA temp fix for intermittent problem seen by aron where even in non-auth mode...
Sanjay Dalal [Thu, 3 Dec 2009 23:03:45 +0000 (23:03 +0000)]
NOJIRA temp fix for intermittent problem seen by aron where even in non-auth mode subject and pricipals are not null. need more investigation if subject is lying around on thread by mistake (nuxeo or cspace)

M    trunk/services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java

16 years agoNOJIRA: Removing unneeded "dist" target invoke of for client module.
Richard Millet [Thu, 3 Dec 2009 21:38:55 +0000 (21:38 +0000)]
NOJIRA: Removing unneeded "dist" target invoke of for client module.

16 years agoCSPACE-644: First cut at sample code for CollectionObject, including creating and...
Aron Roberts [Thu, 3 Dec 2009 21:36:13 +0000 (21:36 +0000)]
CSPACE-644: First cut at sample code for CollectionObject, including creating and reading records with multipart schema extensions and multi-valued fields.  Does not yet reflect project organization changes in CSPACE-646.

16 years agoNOJIRA removed redundant grant statement. init_db takes care of assigning privileges.
Sanjay Dalal [Wed, 2 Dec 2009 21:17:55 +0000 (21:17 +0000)]
NOJIRA removed redundant grant statement. init_db takes care of assigning privileges.

16 years agoCSPACE-643 build now requires the following properties set in the environment.
Sanjay Dalal [Wed, 2 Dec 2009 21:12:10 +0000 (21:12 +0000)]
CSPACE-643 build now requires the following properties set in the environment.
DB_USER, DB_PASSWORD (for create_db, gen_ddl tasks) and JBOSS_HOME (for deploy)
Each build.xml reads environment before loading build.properties. build.properties uses environment variables to set db.user, db.user.password and jboss.dir properties.
Database and user specific properties are also externalized from hibernate.cfg.xml used by gen_ddl task. Before invoking gen_ddl subsitution occurs as a pre-requisite.
tests: mvn test at services level, ant create_db at trunk level, gen_ddl at account and authentication client levels

M    trunk/services/authentication/service/build.xml
M    trunk/services/authentication/client/src/test/resources/hibernate.cfg.xml
M    trunk/services/authentication/client/build.xml
M    trunk/services/authentication/build.xml
M    trunk/services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml
M    trunk/services/collectionobject/3rdparty/build.xml
M    trunk/services/collectionobject/build.xml
M    trunk/services/JaxRsServiceProvider/build.xml
M    trunk/services/common/build.xml
M    trunk/services/acquisition/3rdparty/nuxeo-platform-cs-acquisition/build.xml
M    trunk/services/acquisition/3rdparty/build.xml
M    trunk/services/acquisition/build.xml
M    trunk/services/account/build.xml
M    trunk/services/account/client/src/test/resources/hibernate.cfg.xml
M    trunk/services/account/client/build.xml
M    trunk/services/id/service/build.xml
M    trunk/services/id/build.xml
M    trunk/services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/build.xml
M    trunk/services/vocabulary/3rdparty/build.xml
M    trunk/services/vocabulary/build.xml
M    trunk/services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml
M    trunk/services/intake/3rdparty/build.xml
M    trunk/services/intake/build.xml
M    trunk/services/relation/3rdparty/nuxeo-platform-cs-relation/build.xml
M    trunk/services/relation/3rdparty/build.xml
M    trunk/services/relation/build.xml
M    trunk/build.properties
M    trunk/build.xml
M    trunk/3rdparty/nuxeo/nuxeo-platform-collectionspace/build.properties
M    trunk/3rdparty/nuxeo/nuxeo-platform-collectionspace/build.xml
M    trunk/3rdparty/nuxeo/build.xml
M    trunk/3rdparty/build.xml

16 years agoCSPACE-644: Added skeleton of Sample build component for CollectionObject service.
Aron Roberts [Wed, 2 Dec 2009 02:41:54 +0000 (02:41 +0000)]
CSPACE-644: Added skeleton of Sample build component for CollectionObject service.

16 years agoCSPACE-642 a user on login is associated with a tenant
Sanjay Dalal [Tue, 1 Dec 2009 21:45:08 +0000 (21:45 +0000)]
CSPACE-642 a user on login is associated with a tenant
Account service now associates a user with tenant on account creation time if default identity provider is used. This association is retrieved (CSpacePrincipal) at the time of login. Tenant binding is retrieved using the tenant id established after login.
Moved db schema for default id provider to authentication/client.
Introduced ServiceException to capture error code and error reason. UnauthorizedException with 401 (derived from ServiceException) is thrown if tenant could not be found on login. Rest of the common exceptions are derived from ServiceException. Service resources changed to handle UnauthorizedException.

test: authentication client with security enabled on server (web.xml), all service tests without security

16 years agoCSPACE-234: Fixed broken Gregorian date ID Part test; modified log level for reportin...
Aron Roberts [Tue, 1 Dec 2009 21:25:30 +0000 (21:25 +0000)]
CSPACE-234: Fixed broken Gregorian date ID Part test; modified log level for reporting errors in input to random number ID part.

16 years agoCSPACE-620: Added debugging statements to extractPart method in AbstractServiceTest...
Aron Roberts [Mon, 30 Nov 2009 22:47:25 +0000 (22:47 +0000)]
CSPACE-620: Added debugging statements to extractPart method in AbstractServiceTest to assist in understanding multipart schema extension output and in tracking down potential problems as they arise.

16 years agoCSPACE-620,CSPACE-379: Extended CollectionObjectServiceTest to test our provided...
Aron Roberts [Mon, 30 Nov 2009 22:06:32 +0000 (22:06 +0000)]
CSPACE-620,CSPACE-379: Extended CollectionObjectServiceTest to test our provided example of a domain-specific schema extension. Renamed element in JAXB schema and label name in client tests from collection-object-naturalhistory to collectionobjects_naturalhistory to fix marshalling errors.

16 years agoCSPACE-307 CSPACE-579 CSPACE-581
Sanjay Dalal [Fri, 27 Nov 2009 00:26:52 +0000 (00:26 +0000)]
CSPACE-307 CSPACE-579 CSPACE-581
integrated account management with default id provider management. create account would create a user in the default id provider and delete would delete if present. if password is provided on account create, a user would be created in the default id provider. added tenant id and userid in account. consolidated persistence.xml (jaxrsprovider/src/main/resources) so that DML could be performed atomically on all cs entities involved under the same transaction. added gen_ddl task to account(client)
test: account service tests and all service tests

16 years agoNOJIRA renamed AnchorName to ScreenName
Sanjay Dalal [Thu, 26 Nov 2009 00:37:25 +0000 (00:37 +0000)]
NOJIRA renamed AnchorName to ScreenName
test: mvn test on account service

M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    services/account/jaxb/src/main/resources/accounts_common.xsd
M    services/account/client/src/test/java/org/collectionspace/services/client/test/AccountTest.java
M    services/account/client/src/test/java/org/collectionspace/services/client/test/AccountServiceTest.java
M    services/account/client/src/main/resources/db/mysql/account.sql
M    services/account/client/pom.xml

16 years agoCSPACE-259 CSpaceDBLoginModule now can obtain datasource. Requires #971.
Sanjay Dalal [Wed, 25 Nov 2009 22:55:43 +0000 (22:55 +0000)]
CSPACE-259 CSpaceDBLoginModule now can obtain datasource. Requires #971.
test: authentication service tested by enabling security on the service side

16 years agoCSPACE-610: Added delete methods to Vocabulary service sample client code.
Aron Roberts [Wed, 25 Nov 2009 04:14:01 +0000 (04:14 +0000)]
CSPACE-610: Added delete methods to Vocabulary service sample client code.

16 years agoCSPACE-610: Added read methods to Vocabulary service sample client code.
Aron Roberts [Wed, 25 Nov 2009 01:16:43 +0000 (01:16 +0000)]
CSPACE-610: Added read methods to Vocabulary service sample client code.

16 years agoNOJIRA create_db made recursive. create_db now exists for id, account and
Sanjay Dalal [Tue, 24 Nov 2009 22:38:32 +0000 (22:38 +0000)]
NOJIRA create_db made recursive. create_db now exists for id, account and
authentication services in addition to trunk. Update local build.properties to
incorporate new JDBC related properties from this checkin. Deploy now also copies
db scripts to destination domain.
tests: ant create_db at trunk
mvn test at service

M    trunk/services/authentication/service/build.xml
M    trunk/services/authentication/build.xml
M    trunk/services/id/service/build.xml
M    trunk/services/id/build.xml
M    trunk/services/account/build.xml
A    trunk/services/account/client/build.xml
M    trunk/services/build.xml
M    trunk/nbproject/private/private.xml
A  + trunk/src/main/resources/db
D    trunk/src/main/resources/scripts/db
M    trunk/build.properties
M    trunk/build.xml

16 years agoNOJIRA typo in datasource name, required for #971 to work
Sanjay Dalal [Tue, 24 Nov 2009 22:29:06 +0000 (22:29 +0000)]
NOJIRA typo in datasource name, required for #971 to work

16 years agoCSPACE-308, CSPACE-309, CSPACE-585, CSPACE-582, CSPACE-615 Account Service is
Sanjay Dalal [Tue, 24 Nov 2009 21:02:00 +0000 (21:02 +0000)]
CSPACE-308, CSPACE-309, CSPACE-585, CSPACE-582, CSPACE-615 Account Service is
functional. Service consumer could create, get, update and delete an
account. index operation also works.
Running mvn -Pddl in account/client generates account.sql using
hibernate tool with the help of Jpa annotations.
JpaStorage is functional as well. Added a property named entity-name
to service context to indicate Jpa entity for data base operations.
NOTE!!!! Before running tests, a one time execution of 'ant jpa' is
required from services/common. Also requires deploy at trunk level as
cspace datasource configuration has changed.
tests: mvn test passes (requires deploy (trunk) and jpa (common))

_M   services/authentication/jaxb
M    services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/jboss-web.xml
M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
M    services/JaxRsServiceProvider/pom.xml
A    services/common/lib
A    services/common/lib/jpa-upgrade
AM   services/common/lib/jpa-upgrade/ejb3-persistence-1.0.2.GA.jar
AM   services/common/lib/jpa-upgrade/hibernate-entitymanager-3.4.0.GA.jar
AM   services/common/lib/jpa-upgrade/hibernate-annotations-3.4.0.GA.jar
A    services/common/lib/README.txt
M    services/common/src/main/java/org/collectionspace/services/common/context/ServiceContext.java
M    services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClient.java
M    services/common/build.xml
M    services/pom.xml
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
A  + services/account/service/src/main/resources/META-INF
M    services/account/service/src/main/resources/META-INF/persistence.xml
D    services/account/jaxb/src/test/java/org/collectionspace/services/account/test/AccountTest.java
D    services/account/jaxb/src/test/resources/META-INF
D    services/account/jaxb/src/test/resources/hibernate.cfg.xml
D    services/account/jaxb/src/main/resources/META-INF
M    services/account/jaxb/src/main/resources/accounts_common.xsd
D    services/account/jaxb/src/main/resources/db/mysql/account.sql
M    services/account/jaxb/pom.xml
D    services/account/3rdparty
M    services/account/pom.xml
M    services/account/build.xml
A  + services/account/client/src/test/java/org/collectionspace/services/client/test/AccountTest.java
M    services/account/client/src/test/java/org/collectionspace/services/client/test/AccountServiceTest.java
A  + services/account/client/src/test/resources/META-INF
A  + services/account/client/src/test/resources/hibernate.cfg.xml
A    services/account/client/src/main/resources/db
A    services/account/client/src/main/resources/db/mysql
A    services/account/client/src/main/resources/db/mysql/account.sql
M    services/account/client/pom.xml
M    src/main/resources/config/cspace-ds.xml

16 years agoCSPACE-610: Adding a sample for the Vocabulary service's Java client API.
Richard Millet [Tue, 24 Nov 2009 00:06:31 +0000 (00:06 +0000)]
CSPACE-610: Adding a sample for the Vocabulary service's Java client API.

16 years agoCSPACE-610: Adding a sample for the Vocabulary service's Java client API.
Richard Millet [Mon, 23 Nov 2009 20:47:09 +0000 (20:47 +0000)]
CSPACE-610: Adding a sample for the Vocabulary service's Java client API.

16 years agoNOJIRA: Adding Eclipse settings files.
Richard Millet [Mon, 23 Nov 2009 20:39:25 +0000 (20:39 +0000)]
NOJIRA: Adding Eclipse settings files.

16 years agoNOJIRA temporarily removed incomplete test breaking service tests
Sanjay Dalal [Mon, 23 Nov 2009 18:32:03 +0000 (18:32 +0000)]
NOJIRA temporarily removed incomplete test breaking service tests

D    test/DefaultIdentityProviderTest.java

16 years agoNOJIRA disabled account service...was breaking the build.
Sanjay Dalal [Mon, 23 Nov 2009 18:05:54 +0000 (18:05 +0000)]
NOJIRA disabled account service...was breaking the build.

M    JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M    JaxRsServiceProvider/pom.xml

16 years agoCSPACE-234,CSPACE-364: Ongoing work on revising interfaces for ID Parts, still in...
Aron Roberts [Sat, 21 Nov 2009 01:45:29 +0000 (01:45 +0000)]
CSPACE-234,CSPACE-364: Ongoing work on revising interfaces for ID Parts, still in progress.  Minor improvements to test cases for one part type.

16 years agoNOJIRA account service in testing phase. added jaxb-jpa for default security identify...
Sanjay Dalal [Sat, 21 Nov 2009 00:32:42 +0000 (00:32 +0000)]
NOJIRA account service in testing phase. added jaxb-jpa for default security identify provider (to be used by account). checking in for safefy purposes. disabled acccount from service pom.xml.

A    services/authentication/jaxb
A    services/authentication/jaxb/src
A    services/authentication/jaxb/src/test
A    services/authentication/jaxb/src/test/java
A    services/authentication/jaxb/src/test/java/org
A    services/authentication/jaxb/src/test/java/org/collectionspace
A    services/authentication/jaxb/src/test/java/org/collectionspace/services
A    services/authentication/jaxb/src/test/java/org/collectionspace/services/authentication
A    services/authentication/jaxb/src/test/java/org/collectionspace/services/authentication/test
A    services/authentication/jaxb/src/test/java/org/collectionspace/services/authentication/test/DefaultIdentityProviderTest.java
A    services/authentication/jaxb/src/test/resources
A    services/authentication/jaxb/src/test/resources/META-INF
A    services/authentication/jaxb/src/test/resources/META-INF/persistence.xml
A    services/authentication/jaxb/src/test/resources/log4j.properties
A    services/authentication/jaxb/src/test/resources/hibernate.cfg.xml
A    services/authentication/jaxb/src/main
A    services/authentication/jaxb/src/main/java
A    services/authentication/jaxb/src/main/java/org
A    services/authentication/jaxb/src/main/java/org/collectionspace
A    services/authentication/jaxb/src/main/java/org/collectionspace/services
A    services/authentication/jaxb/src/main/resources
A    services/authentication/jaxb/src/main/resources/authentication_identity_provider.xsd
A    services/authentication/jaxb/src/main/resources/META-INF
A    services/authentication/jaxb/src/main/resources/META-INF/persistence.xml
A    services/authentication/jaxb/pom.xml
M    services/authentication/pom.xml
M    services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/jboss-web.xml
M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
M    services/JaxRsServiceProvider/pom.xml
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClient.java
M    services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReader.java
M    services/common/src/main/java/org/collectionspace/services/common/document/AbstractMultipartDocumentHandler.java
M    services/common/src/main/config/tenant-bindings.xml
M    services/pom.xml
A    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountHandlerFactory.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M    services/account/service/pom.xml
M    services/account/jaxb/src/main/resources/META-INF/persistence.xml
M    services/account/jaxb/src/main/resources/accounts_common.xsd
M    services/account/jaxb/src/main/resources/db/mysql/account.sql
M    services/account/jaxb/pom.xml
_M   services/account/client
A    services/account/client/src/test/java/org/collectionspace/services/client/test/AccountServiceTest.java
A    services/account/client/src/test/java/org/collectionspace/services/client/AccountClient.java
A    services/account/client/src/test/java/org/collectionspace/services/client/AccountProxy.java

16 years agoNOJIRA removed redundant getDocumentType since the doc type is available from service...
Sanjay Dalal [Fri, 20 Nov 2009 18:30:34 +0000 (18:30 +0000)]
NOJIRA removed redundant getDocumentType since the doc type is available from service context
test: mvn test passes on service level

16 years agoCSPACE-234,CSPACE-364: Ongoing work on revising interfaces for ID Parts, still in...
Aron Roberts [Fri, 20 Nov 2009 01:19:42 +0000 (01:19 +0000)]
CSPACE-234,CSPACE-364: Ongoing work on revising interfaces for ID Parts, still in progress.  Added tests; fixed bug that prevented generation of zero as a starting value in NumericIDPart; added algorithm for more even distribution of pseudorandom numbers.

16 years agoNOJIRA added jpastorage. refactored context and dochandler to isolate multipart proce...
Sanjay Dalal [Thu, 19 Nov 2009 03:20:22 +0000 (03:20 +0000)]
NOJIRA added jpastorage. refactored context and dochandler to isolate multipart processing
introduced servicecontext factory to free up abstractresource from assumption that
it is used only to process multipart remote requests. affected services are fixed.
mvn test passes. account is not yet plugged into service build. account build fails.

M    services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/CollectionObjectResource.java
M    services/common/src/main/java/org/collectionspace/services/common/CollectionSpaceResource.java
M    services/common/src/main/java/org/collectionspace/services/common/AbstractCollectionSpaceResource.java
A    services/common/src/main/java/org/collectionspace/services/common/context/MultipartServiceContextFactory.java
M    services/common/src/main/java/org/collectionspace/services/common/context/RemoteServiceContext.java
M    services/common/src/main/java/org/collectionspace/services/common/context/RemoteServiceContextImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/context/ServiceContext.java
A    services/common/src/main/java/org/collectionspace/services/common/context/MultipartServiceContext.java
M    services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java
A    services/common/src/main/java/org/collectionspace/services/common/context/MultipartServiceContextImpl.java
A    services/common/src/main/java/org/collectionspace/services/common/context/ServiceContextFactory.java
A    services/common/src/main/java/org/collectionspace/services/common/storage/jpa
A    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClient.java
M    services/common/src/main/java/org/collectionspace/services/common/document/AbstractDocumentHandler.java
A    services/common/src/main/java/org/collectionspace/services/common/document/AbstractMultipartDocumentHandler.java
M    services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandler.java
A    services/common/src/main/java/org/collectionspace/services/common/document/MultipartDocumentHandler.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClient.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandler.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelHandler.java
M    services/common/pom.xml
M    services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/AcquisitionResource.java
_M   services/account/service
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M    services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/VocabularyResource.java
M    services/intake/service/src/main/java/org/collectionspace/services/intake/IntakeResource.java
M    services/relation/service/src/main/java/org/collectionspace/services/relation/NewRelationResource.java

16 years agoCSPACE-234,CSPACE-364: Ongoing work on revising interfaces for ID Parts, still in...
Aron Roberts [Thu, 19 Nov 2009 03:04:11 +0000 (03:04 +0000)]
CSPACE-234,CSPACE-364: Ongoing work on revising interfaces for ID Parts, still in progress.  Additional work on output formatters to facilitate customization of ID number patterns without having to create new ID parts.

16 years agoCSPACE-575: Adding updated "installer" related ant targets, scripts, props etc.
Richard Millet [Wed, 18 Nov 2009 23:44:02 +0000 (23:44 +0000)]
CSPACE-575: Adding updated "installer" related ant targets, scripts, props etc.

16 years agoCSPACE-575: Adding targets for Vocabulary installer.
Richard Millet [Wed, 18 Nov 2009 18:55:24 +0000 (18:55 +0000)]
CSPACE-575: Adding targets for Vocabulary installer.

16 years agoCSPACE-234: Initial work on revising interfaces for ID Parts, still in progress....
Aron Roberts [Wed, 18 Nov 2009 04:47:45 +0000 (04:47 +0000)]
CSPACE-234: Initial work on revising interfaces for ID Parts, still in progress.  New parts and tests are currently in a sub-package of services/id/service.  (Previous commit added only parent directory.)

16 years agoCSPACE-234: Initial work on revising interfaces for ID Parts, still in progress....
Aron Roberts [Wed, 18 Nov 2009 04:43:52 +0000 (04:43 +0000)]
CSPACE-234: Initial work on revising interfaces for ID Parts, still in progress.  New parts and tests are currently in a sub-package of services/id/service.

16 years agoNOJIRA updated query param to be refName to properly match the property we are search...
Patrick Schmitz [Tue, 17 Nov 2009 22:26:36 +0000 (22:26 +0000)]
NOJIRA updated query param to be refName to properly match the property we are searching on.

16 years agoNOJIRA added annotation for id in xsd, use mvn -Pddl process-test-classes to generate
Sanjay Dalal [Tue, 17 Nov 2009 18:44:02 +0000 (18:44 +0000)]
NOJIRA added annotation for id in xsd, use mvn -Pddl process-test-classes to generate
ddl, account.sql is copied after generation to src/main/resources/db/mysql using
maven-ant-run plugin. changed AccountTest to use JPQ update and delete statements instead
of find, update/delete, persist sequence
test: account.jaxb mvn test

M    jaxb/src/test/java/org/collectionspace/services/account/test/AccountTest.java
M    jaxb/src/main/resources/accounts_common.xsd
A    jaxb/src/main/resources/db/mysql/account.sql
M    jaxb/pom.xml

16 years agoNOJIRA refactoring of DocumentWrapper. It is now a generic type. Does not require...
Sanjay Dalal [Mon, 16 Nov 2009 23:33:04 +0000 (23:33 +0000)]
NOJIRA refactoring of DocumentWrapper. It is now a generic type. Does not require creating derived types.

M    services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectDocumentModelHandler.java
M    services/common/src/main/java/org/collectionspace/services/common/document/DocumentWrapper.java
M    services/common/src/main/java/org/collectionspace/services/common/document/AbstractDocumentHandler.java
A    services/common/src/main/java/org/collectionspace/services/common/document/DocumentWrapperImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandler.java
D    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelWrapper.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClient.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandler.java
D    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelListWrapper.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelHandler.java
M    services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/nuxeo/AcquisitionDocumentModelHandler.java
M    services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyDocumentModelHandler.java
_M   services/vocabulary/import
M    services/intake/service/src/main/java/org/collectionspace/services/intake/nuxeo/IntakeDocumentModelHandler.java
M    services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationDocumentModelHandler.java

16 years agoNOJIRA removed deadwood
Sanjay Dalal [Sat, 14 Nov 2009 00:06:14 +0000 (00:06 +0000)]
NOJIRA removed deadwood

D    org

16 years agoNOJIRA work in progress for account management. uses jaxb/jpa. still to write resource
Sanjay Dalal [Sat, 14 Nov 2009 00:04:19 +0000 (00:04 +0000)]
NOJIRA work in progress for account management. uses jaxb/jpa. still to write resource
and handler. builds but is not linked to service build yet.

A    account
A    account/service
A    account/service/src
A    account/service/src/test
A    account/service/src/test/java
A    account/service/src/test/java/org
A    account/service/src/test/java/org/collectionspace
A    account/service/src/test/java/org/collectionspace/services
A    account/service/src/test/java/org/collectionspace/services/test
A    account/service/src/test/resources
A    account/service/src/test/resources/log4j.xml
A    account/service/src/main
A    account/service/src/main/java
A    account/service/src/main/java/org
A    account/service/src/main/java/org/collectionspace
A    account/service/src/main/java/org/collectionspace/services
A    account/service/src/main/java/org/collectionspace/services/account
A    account/service/src/main/java/org/collectionspace/services/account/storage
A    account/service/src/main/java/org/collectionspace/services/account/storage/AccountHandlerFactory.java
A    account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
A    account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
A    account/service/src/main/resources
A    account/service/pom.xml
AM   account/jaxb
A    account/jaxb/src
A    account/jaxb/src/test
A    account/jaxb/src/test/java
A    account/jaxb/src/test/java/org
A    account/jaxb/src/test/java/org/collectionspace
A    account/jaxb/src/test/java/org/collectionspace/services
A    account/jaxb/src/test/java/org/collectionspace/services/account
A    account/jaxb/src/test/java/org/collectionspace/services/account/test
A    account/jaxb/src/test/java/org/collectionspace/services/account/test/AccountTest.java
A    account/jaxb/src/test/resources
A    account/jaxb/src/test/resources/META-INF
A    account/jaxb/src/test/resources/META-INF/persistence.xml
A    account/jaxb/src/test/resources/log4j.properties
A    account/jaxb/src/test/resources/hibernate.cfg.xml
A    account/jaxb/src/main
A    account/jaxb/src/main/java
A    account/jaxb/src/main/java/org
A    account/jaxb/src/main/java/org/collectionspace
A    account/jaxb/src/main/java/org/collectionspace/services
A    account/jaxb/src/main/resources
A    account/jaxb/src/main/resources/META-INF
A    account/jaxb/src/main/resources/META-INF/persistence.xml
A    account/jaxb/src/main/resources/accounts_common.xsd
A    account/jaxb/src/main/resources/db
A    account/jaxb/src/main/resources/db/mysql
A    account/jaxb/src/main/resources/org
A    account/jaxb/src/main/resources/org/collectionspace
A    account/jaxb/src/main/resources/org/collectionspace/services
A    account/jaxb/src/main/resources/org/collectionspace/services/account
A    account/jaxb/pom.xml
A    account/3rdparty
A    account/3rdparty/pom.xml
A    account/3rdparty/build.xml
A    account/pom.xml
A    account/build.xml
A    account/client
A    account/client/src
A    account/client/src/test
A    account/client/src/test/java
A    account/client/src/test/java/org
A    account/client/src/test/java/org/collectionspace
A    account/client/src/test/java/org/collectionspace/services
A    account/client/src/test/java/org/collectionspace/services/client
A    account/client/src/test/java/org/collectionspace/services/client/test
A    account/client/src/test/resources
A    account/client/src/test/resources/log4j.properties
A    account/client/src/main
A    account/client/src/main/java
A    account/client/src/main/java/org
A    account/client/src/main/java/org/collectionspace
A    account/client/src/main/java/org/collectionspace/services
A    account/client/src/main/java/org/collectionspace/services/client
A    account/client/src/main/resources
A    account/client/pom.xml

16 years agoNOJIRA refactoring of common with regards to movement of document handling code....
Sanjay Dalal [Fri, 13 Nov 2009 22:35:15 +0000 (22:35 +0000)]
NOJIRA refactoring of common with regards to movement of document handling code. new pacakge document is created. also crud is pushed down to storage client from repository client.
test: at service level: mvn test successful (after ant clean deploy)

M    services/nbactions.xml
M    services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/CollectionObjectResource.java
M    services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectDocumentModelHandler.java
M    services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectHandlerFactory.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/DocumentUtils.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/DocumentWrapper.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/AbstractDocumentHandler.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/DocumentHandlerFactory.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/DocumentFilter.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/DocumentNotFoundException.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/DocumentHandler.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/DocumentException.java
D    services/common/src/main/java/org/collectionspace/services/common/repository/BadRequestException.java
M    services/common/src/main/java/org/collectionspace/services/common/repository/RepositoryClient.java
M    services/common/src/main/java/org/collectionspace/services/common/CollectionSpaceResource.java
M    services/common/src/main/java/org/collectionspace/services/common/AbstractCollectionSpaceResource.java
M    services/common/src/main/java/org/collectionspace/services/common/context/RemoteServiceContextImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/context/ServiceContext.java
M    services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java
A    services/common/src/main/java/org/collectionspace/services/common/storage
A    services/common/src/main/java/org/collectionspace/services/common/storage/StorageClient.java
M    services/common/src/main/java/org/collectionspace/services/common/relation/IRelationsManager.java
M    services/common/src/main/java/org/collectionspace/services/common/relation/nuxeo/RelationsUtils.java
A    services/common/src/main/java/org/collectionspace/services/common/document
AM + services/common/src/main/java/org/collectionspace/services/common/document/DocumentWrapper.java
AM + services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java
AM + services/common/src/main/java/org/collectionspace/services/common/document/AbstractDocumentHandler.java
AM + services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandlerFactory.java
AM + services/common/src/main/java/org/collectionspace/services/common/document/DocumentFilter.java
AM + services/common/src/main/java/org/collectionspace/services/common/document/DocumentNotFoundException.java
AM + services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandler.java
AM + services/common/src/main/java/org/collectionspace/services/common/document/DocumentException.java
AM + services/common/src/main/java/org/collectionspace/services/common/document/BadRequestException.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/util/NuxeoUtils.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelWrapper.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClient.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandler.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelListWrapper.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelHandler.java
M    services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/AcquisitionResource.java
M    services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/nuxeo/AcquisitionDocumentModelHandler.java
M    services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/nuxeo/AcquisitionHandlerFactory.java
M    services/pom.xml
M    services/id/service/src/test/java/org/collectionspace/services/id/test/StringIDGeneratorPartTest.java
M    services/id/service/src/test/java/org/collectionspace/services/id/test/IDServiceJdbcImplTest.java
M    services/id/service/src/test/java/org/collectionspace/services/id/test/AlphabeticIDGeneratorPartTest.java
M    services/id/service/src/test/java/org/collectionspace/services/id/test/SettableIDGeneratorTest.java
M    services/id/service/src/test/java/org/collectionspace/services/id/test/YearIDGeneratorPartTest.java
M    services/id/service/src/test/java/org/collectionspace/services/id/test/IDGeneratorSerializerTest.java
M    services/id/service/src/test/java/org/collectionspace/services/id/test/NumericIDGeneratorPartTest.java
M    services/id/service/src/test/java/org/collectionspace/services/id/test/BaseIDGeneratorTest.java
M    services/id/service/src/main/java/org/collectionspace/services/id/IDResource.java
M    services/id/service/src/main/java/org/collectionspace/services/id/UUIDGeneratorPart.java
M    services/id/service/src/main/java/org/collectionspace/services/id/AlphabeticIDGeneratorPart.java
M    services/id/service/src/main/java/org/collectionspace/services/id/YearIDGeneratorPart.java
M    services/id/service/src/main/java/org/collectionspace/services/id/IDService.java
M    services/id/service/src/main/java/org/collectionspace/services/id/NumericIDGeneratorPart.java
M    services/id/service/src/main/java/org/collectionspace/services/id/StringIDGeneratorPart.java
M    services/id/service/src/main/java/org/collectionspace/services/id/IDServiceJdbcImpl.java
M    services/id/service/src/main/java/org/collectionspace/services/id/SettableIDGenerator.java
M    services/id/service/src/main/java/org/collectionspace/services/id/IDGeneratorPart.java
M    services/id/service/src/main/java/org/collectionspace/services/id/IDGeneratorSerializer.java
M    services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/VocabularyResource.java
M    services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemDocumentModelHandler.java
M    services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyDocumentModelHandler.java
M    services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemHandlerFactory.java
M    services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyHandlerFactory.java
M    services/intake/service/src/main/java/org/collectionspace/services/intake/IntakeResource.java
M    services/intake/service/src/main/java/org/collectionspace/services/intake/nuxeo/IntakeHandlerFactory.java
M    services/intake/service/src/main/java/org/collectionspace/services/intake/nuxeo/IntakeDocumentModelHandler.java
M    services/relation/service/src/main/java/org/collectionspace/services/relation/NewRelationResource.java
M    services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationHandlerFactory.java
M    services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationDocumentModelHandler.java

16 years agoNOJIRA - cleaned up some cruft left over from the old hack to filter vocab items.
Patrick Schmitz [Fri, 13 Nov 2009 20:18:54 +0000 (20:18 +0000)]
NOJIRA - cleaned up some cruft left over from the old hack to filter vocab items.

16 years agoCSPACE-598 FIXED - need to make getFiltered() queries be tenant aware. This should...
Patrick Schmitz [Fri, 13 Nov 2009 20:12:44 +0000 (20:12 +0000)]
CSPACE-598 FIXED - need to make getFiltered() queries be tenant aware. This should be updated when we change the enant marking in the DB (likely needed for performance).

16 years agoCSPACE-575: Adding new "installer" related ant targets, scripts, props etc.
Richard Millet [Fri, 13 Nov 2009 19:35:03 +0000 (19:35 +0000)]
CSPACE-575: Adding new "installer" related ant targets, scripts, props etc.

16 years agoCSPACE-493: SQL scripts for ID Service now copied via ant 'dist' target.
Aron Roberts [Thu, 12 Nov 2009 21:19:54 +0000 (21:19 +0000)]
CSPACE-493: SQL scripts for ID Service now copied via ant 'dist' target.

16 years agoCSPACE-481 Fixed a bug in paginated query, and created a convenience factory method...
Patrick Schmitz [Thu, 12 Nov 2009 21:19:09 +0000 (21:19 +0000)]
CSPACE-481 Fixed a bug in paginated query, and created a convenience factory method to create DocumentFilter instances with pagination parameters from the Map passed in with the URI context to REST handlers.

16 years agoNOJIRA - Removing some cruft in comments. No functional change.
Patrick Schmitz [Thu, 12 Nov 2009 21:16:08 +0000 (21:16 +0000)]
NOJIRA - Removing some cruft in comments. No functional change.

16 years agoNOJIRA: Adding Eclipse setting files for new "import" module.
Richard Millet [Thu, 12 Nov 2009 21:15:04 +0000 (21:15 +0000)]
NOJIRA: Adding Eclipse setting files for new "import" module.

16 years agoCSPACE-593 Move Vocabulary Importer class out of "client" module and into a new modul...
Richard Millet [Thu, 12 Nov 2009 18:26:46 +0000 (18:26 +0000)]
CSPACE-593 Move Vocabulary Importer class out of "client" module and into a new module named "import" immediately under "/services/vocabulary" directory

16 years agoNOJIRA: added hotdeploy task in ant. this task calls cargo:undeploy and cargo:deploy
Sanjay Dalal [Wed, 11 Nov 2009 20:11:36 +0000 (20:11 +0000)]
NOJIRA: added hotdeploy task in ant. this task calls cargo:undeploy and cargo:deploy
in order. New maven plugin sets properties from build.properties before calling
cargo tasks. Added new properties into build.properties.

M    services/JaxRsServiceProvider/nbactions.xml
M    services/JaxRsServiceProvider/pom.xml
M    services/JaxRsServiceProvider/build.xml
M    services/build.xml
M    build.properties
M    pom.xml
M    build.xml

16 years agoCSPACE-481, CSPACE-590
Patrick Schmitz [Tue, 10 Nov 2009 20:25:58 +0000 (20:25 +0000)]
CSPACE-481, CSPACE-590
Added basic support to filter objects in a get, with a default filtering for pagination. Only implemented for Vocabulary at this point. Used this to intelligently filter the vocabularyItems associated to a given vocabulary, and to support finding a vocabulary by name.

16 years agoNOJIRA removed now unused repository client using Nuxeo's RESTful services
Sanjay Dalal [Tue, 10 Nov 2009 19:08:38 +0000 (19:08 +0000)]
NOJIRA removed now unused repository client using Nuxeo's RESTful services
test: all tests pass at top level

D    common/src/main/java/org/collectionspace/services/nuxeo/client/rest/RepresentationHandler.java
D    common/src/main/java/org/collectionspace/services/nuxeo/client/rest/RepresentationWrapper.java
D    common/src/main/java/org/collectionspace/services/nuxeo/client/rest/RepositoryRESTClient.java

16 years agoNOJIRA: Updating the top-level POM by reordering repository references. Tested this...
Richard Millet [Mon, 9 Nov 2009 23:44:36 +0000 (23:44 +0000)]
NOJIRA: Updating the top-level POM by reordering repository references.  Tested this on my machine by throwing away complete .m2 local repo first and then doing a complete "mvn clean install -DskipTests" from the trunk.

16 years agoNOJIRA: Replacing a reference to an out-of-date Maven repos URL with a more up-to...
Richard Millet [Mon, 9 Nov 2009 21:45:31 +0000 (21:45 +0000)]
NOJIRA: Replacing a reference to an out-of-date Maven repos URL with a more up-to-date one.

16 years agoCSPACE-543: Completed removal of 'verbose' methods from client test framework and...
Aron Roberts [Fri, 6 Nov 2009 20:20:28 +0000 (20:20 +0000)]
CSPACE-543: Completed removal of 'verbose' methods from client test framework and individual client tests. Log statements will now correctly show line numbers from the relevant client test classes, not from the abstract base class.

16 years agoCSPACE-515, CSPACE-266 Added support for multivalue elements in schema. Supports...
Sanjay Dalal [Fri, 6 Nov 2009 00:59:20 +0000 (00:59 +0000)]
CSPACE-515, CSPACE-266 Added support for multivalue elements in schema. Supports 1 level depth. e.g. otherNumbers in collectionobjects_common
    <otherNumbers>
        <otherNumber>urn:org.collectionspace.id:24082390</otherNumber>
        <otherNumber>urn:org.walkerart.id:123</otherNumber>
    </otherNumbers>
woudl be stored by nuxeo with each item (otherNumber) having value such as "otherNumber|urn:org.collectionspace.id:24082390". marshalling and unmarshalling code takes care of qualifying or unqualifying the value with the name of the property.
test: collectionobjects, all service tests. will require re-initializing nuxeo db

M    collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd
M    collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/src/main/resources/schemas/collectionobjects_common.xsd
M    collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
M    common/src/main/java/org/collectionspace/services/common/repository/DocumentUtils.java

16 years agoCSPACE-559: Successful requests to create new IDs now return a URL for the created...
Aron Roberts [Thu, 5 Nov 2009 23:58:28 +0000 (23:58 +0000)]
CSPACE-559: Successful requests to create new IDs now return a URL for the created ID in the Location header. (We will later need to support GET requests using those URLs; this can be a way of verifying whether particular IDs are available or have been assigned.)

16 years agoCSPACE-534: Replaced inappropriate references to IllegalArgumentExceptions with BadRe...
Aron Roberts [Thu, 5 Nov 2009 04:38:40 +0000 (04:38 +0000)]
CSPACE-534: Replaced inappropriate references to IllegalArgumentExceptions with BadRequestExceptions in one additional test class, missed in the original check-in.

16 years agoCSPACE-534: Replaced inappropriate references to IllegalArgumentExceptions with BadRe...
Aron Roberts [Thu, 5 Nov 2009 03:55:01 +0000 (03:55 +0000)]
CSPACE-534: Replaced inappropriate references to IllegalArgumentExceptions with BadRequestExceptions throughout much of the ID service. Also minor, unrelated optimizations in YearIDGeneratorPart.

16 years agoCSPACE-553: Updated version designation in id/service POM for XStream to non-snapshot...
Aron Roberts [Thu, 5 Nov 2009 03:49:42 +0000 (03:49 +0000)]
CSPACE-553: Updated version designation in id/service POM for XStream to non-snapshot release. Includes unrelated minor changes to initial block comments to remove authorship desiggnations.

16 years agoNOJIRA removed initial comments that were failing the ant create_db task due to some...
Sanjay Dalal [Wed, 4 Nov 2009 23:27:17 +0000 (23:27 +0000)]
NOJIRA removed initial comments that were failing the ant create_db task due to some reserved word or unknown character

M    src/main/resources/scripts/db/mysql/init_db.sql

16 years agoCSPACE-533: Removed repositories block from project POM to stop downloading snapshot...
Aron Roberts [Wed, 4 Nov 2009 02:19:33 +0000 (02:19 +0000)]
CSPACE-533: Removed repositories block from project POM to stop downloading snapshot releases of XStream.

16 years agoCSPACE-382 PathRef is used instead of the IdRef to access documents using get, update...
Sanjay Dalal [Mon, 2 Nov 2009 20:30:07 +0000 (20:30 +0000)]
CSPACE-382 PathRef is used instead of the IdRef to access documents using get, update or delete. Path is constructed on the fly with the help of the service context.

M    collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectDocumentModelHandler.java
M    common/src/main/java/org/collectionspace/services/common/relation/nuxeo/RelationsUtils.java
M    common/src/main/java/org/collectionspace/services/nuxeo/util/NuxeoUtils.java
M    common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClient.java
M    vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemDocumentModelHandler.java
M    vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyDocumentModelHandler.java
M    intake/service/src/main/java/org/collectionspace/services/intake/nuxeo/IntakeDocumentModelHandler.java
M    acquisition/service/src/main/java/org/collectionspace/services/acquisition/nuxeo/AcquisitionDocumentModelHandler.java

16 years agoCSPACE-443 added test with quotes in brief description.
Sanjay Dalal [Fri, 30 Oct 2009 18:58:45 +0000 (18:58 +0000)]
CSPACE-443 added test with quotes in brief description.
mvn test on collectionobjects passes