]> git.aero2k.de Git - tmp/jakarta-migration.git/log
tmp/jakarta-migration.git
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

16 years agoNOJIRA: Updating Eclipse settings files to, hopefully, make it smarter about project...
Richard Millet [Fri, 30 Oct 2009 18:22:28 +0000 (18:22 +0000)]
NOJIRA: Updating Eclipse settings files to, hopefully, make it smarter about project dependencies and auto-builds.

16 years agoCSPACE-524 empty string is treated as it is. more checks are needed to see how non...
Sanjay Dalal [Fri, 30 Oct 2009 06:43:27 +0000 (06:43 +0000)]
CSPACE-524 empty string is treated as it is. more checks are needed to see how non-string values are treated.

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-375 workspaces are "created" if not found. RepositoryClient.getWorkspaceId...
Sanjay Dalal [Thu, 29 Oct 2009 06:01:22 +0000 (06:01 +0000)]
CSPACE-375 workspaces are "created" if not found. RepositoryClient.getWorkspaceId is not yet tested or used.
test: created workspaces after reinitializing service layer (drop databases, tables, etc.) tested with existing workspaces too. used mvn test at service level.

M    common/src/main/java/org/collectionspace/services/common/repository/RepositoryClient.java
M    common/src/main/java/org/collectionspace/services/common/ServiceMain.java
M    common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReader.java
M    common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClient.java
M    common/src/main/java/org/collectionspace/services/nuxeo/client/java/NuxeoConnector.java
M    common/src/main/java/org/collectionspace/services/nuxeo/client/rest/RepositoryRESTClient.java

16 years agoNOJIRA: Updating Eclipse settings files to, hopefully, make it smarter about project...
Richard Millet [Wed, 28 Oct 2009 23:07:55 +0000 (23:07 +0000)]
NOJIRA: Updating Eclipse settings files to, hopefully, make it smarter about project dependencies and auto-builds.

16 years agoCSPACE-552: Details about individual ID generator instances, or lists of same, now...
Aron Roberts [Wed, 28 Oct 2009 21:29:08 +0000 (21:29 +0000)]
CSPACE-552: Details about individual ID generator instances, or lists of same, now include a sample, or representative ID, suitable for display in UI.

16 years agoNOJIRA Moving file path to match package naming.
Patrick Schmitz [Tue, 27 Oct 2009 23:11:33 +0000 (23:11 +0000)]
NOJIRA Moving file path to match package naming.

16 years agoNOJIRA - Fixed logging init in main().
Patrick Schmitz [Tue, 27 Oct 2009 00:07:23 +0000 (00:07 +0000)]
NOJIRA - Fixed logging init in main().

16 years agoCSPACE-452, CSPACE-453, CSPACE-454, CSPACE-455 Must install basic vocabularies. Curre...
Patrick Schmitz [Mon, 26 Oct 2009 21:34:53 +0000 (21:34 +0000)]
CSPACE-452, CSPACE-453, CSPACE-454, CSPACE-455 Must install basic vocabularies. Current version just hard-codes the calls. Next version will read from config files of some sort.

16 years agoNOJIRA Fixed annotation to provide test name.
Patrick Schmitz [Mon, 26 Oct 2009 20:08:28 +0000 (20:08 +0000)]
NOJIRA Fixed annotation to provide test name.

16 years agoCSPACE-557 deploy target now depends upon install instead of package. This is possibl...
Sanjay Dalal [Fri, 23 Oct 2009 23:16:58 +0000 (23:16 +0000)]
CSPACE-557 deploy target now depends upon install instead of package. This is possible because of fix for CSPACE-558 which now uses codehaus' cargo plugin for deployment

M    build.xml
M    services/authentication/service/build.xml
M    services/authentication/build.xml
M    services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml
M    services/collectionobject/3rdparty/build.xml
M    services/collectionobject/build.xml
M    services/JaxRsServiceProvider/build.xml
M    services/acquisition/3rdparty/nuxeo-platform-cs-acquisition/build.xml
M    services/acquisition/3rdparty/build.xml
M    services/acquisition/build.xml
M    services/common/build.xml
M    services/id/build.xml
M    services/build.xml
M    services/vocabulary/3rdparty/nuxeo-platform-cs-vocabulary/build.xml
M    services/vocabulary/3rdparty/build.xml
M    services/vocabulary/build.xml
M    services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml
M    services/intake/3rdparty/build.xml
M    services/intake/build.xml
M    services/relation/3rdparty/nuxeo-platform-cs-relation/build.xml
M    services/relation/3rdparty/build.xml
M    services/relation/build.xml

16 years agoCSPACE-558 the build now uses the cargo plugin to deploy war on remote jboss server...
Sanjay Dalal [Fri, 23 Oct 2009 22:36:32 +0000 (22:36 +0000)]
CSPACE-558 the build now uses the cargo plugin to deploy war on remote jboss server. At JaxRsServiceProvider level, use mvn cargo:undeploy cargo:deploy to undeploy and deploy the services war. mvn install should not require JBoss server running if -DskipTests=true is used - verified locally.

16 years agoCSPACE-471,CSPACE-520: Updated VocabularyServiceTest to reflect changes to client...
Aron Roberts [Fri, 23 Oct 2009 21:45:47 +0000 (21:45 +0000)]
CSPACE-471,CSPACE-520: Updated VocabularyServiceTest to reflect changes to client test framework in throwing Exceptions, TestNG annotations to return current test name.  Added import of VocabularyProxy to VocabularyClient, apparently necessary even though in same package (?).  Vocabulary Service tests now partly succeed, and fail at createItemInVocab (receives unexpected 404 status code in response).

16 years agocspace-558: Commenting out reference to jboss-maven-plugin
Richard Millet [Fri, 23 Oct 2009 16:45:26 +0000 (16:45 +0000)]
cspace-558: Commenting out reference to jboss-maven-plugin

16 years agoCSPACE-471: Added TestNG annotations to client test framework and most client tests...
Aron Roberts [Thu, 22 Oct 2009 20:29:33 +0000 (20:29 +0000)]
CSPACE-471: Added TestNG annotations to client test framework and most client tests to return current test method name. Not yet implemented for Authentication or Vocabulary client tests. services/client module POM changed to broaden testng dependency scope to default (compile) from test, to facilitate imports in AbstractClientTest class."

16 years agoNOJIRA - added logger, was breaking the tests.
Sanjay Dalal [Thu, 22 Oct 2009 19:34:40 +0000 (19:34 +0000)]
NOJIRA - added logger, was breaking the tests.

16 years agoNOJIRA fixed typo in error message
Sanjay Dalal [Wed, 21 Oct 2009 19:17:52 +0000 (19:17 +0000)]
NOJIRA fixed typo in error message

16 years agoCSPACE-419,CSPACE-543:Added Exceptions to client test framework, client tests. Remov...
Aron Roberts [Wed, 21 Oct 2009 03:58:21 +0000 (03:58 +0000)]
CSPACE-419,CSPACE-543:Added Exceptions to client test framework, client tests.  Removed most calls to verbose method from client tests, in favor of direct log statements.  (Excluded committing similar changes to the VocabularyServiceTest for now, as one or more of its imported classes can't be found.)

16 years agoCSPACE-451 Finished up the functionality to support VocabularyItem sub-resource of...
Patrick Schmitz [Tue, 20 Oct 2009 05:32:04 +0000 (05:32 +0000)]
CSPACE-451 Finished up the functionality to support VocabularyItem sub-resource of Vocabularies. Reworked some of the ServiceContext and related classes to support alternate services when a sub-resource is involved.
Renamed the vocabularyitem schemas and related classes to consistently use all-lower letters to prevent problems with the repository layer.

16 years agoCSPACE-520,CSPACE-534: Removed IllegalArgumentExceptions from several core ID Service...
Aron Roberts [Sat, 17 Oct 2009 00:38:44 +0000 (00:38 +0000)]
CSPACE-520,CSPACE-534: Removed IllegalArgumentExceptions from several core ID Service classes and tests.  Minor streamlining of pretty printing code in IDResource, and removal of block to catch an unreachable condition.

16 years agoCSPACE-520: Generalization of pretty-printing for possible use in common module....
Aron Roberts [Fri, 16 Oct 2009 23:29:10 +0000 (23:29 +0000)]
CSPACE-520: Generalization of pretty-printing for possible use in common module.  Removed extra blank line after XML declaration.

16 years agoCSPACE-520: Additional code cleanup and refactoring. Shortcut for returning empty...
Aron Roberts [Fri, 16 Oct 2009 21:45:10 +0000 (21:45 +0000)]
CSPACE-520: Additional code cleanup and refactoring. Shortcut for returning empty lists.

16 years agoCSPACE-520: Provide full details when requesting a single ID generator instance by...
Aron Roberts [Fri, 16 Oct 2009 19:28:54 +0000 (19:28 +0000)]
CSPACE-520: Provide full details when requesting a single ID generator instance by CSID, with related refactoring to eliminate duplicate code.

16 years agoCSPACE-520: To maintain backward compatibility for now, removed ORDER BY directive...
Aron Roberts [Thu, 15 Oct 2009 20:28:18 +0000 (20:28 +0000)]
CSPACE-520: To maintain backward compatibility for now, removed ORDER BY directive for newly-added priority field in id_generators.

16 years agoCSPACE-520, CSPACE-472: Edited descriptions of default ID Generator instances, to...
Aron Roberts [Thu, 15 Oct 2009 20:14:21 +0000 (20:14 +0000)]
CSPACE-520, CSPACE-472: Edited descriptions of default ID Generator instances, to allow that field to serve as optional help text.  Added priority field (not currently wired).  Lists of instances are now returned in sorted order.

16 years agoCSPACE-520: ID Service generates full lists that now include nearly all pertinent...
Aron Roberts [Thu, 15 Oct 2009 05:14:43 +0000 (05:14 +0000)]
CSPACE-520: ID Service generates full lists that now include nearly all pertinent details of ID generator instances.

16 years agoCSPACE-527: Updated IntegrationTests module to use the new schema extension changes...
Richard Millet [Wed, 14 Oct 2009 22:57:58 +0000 (22:57 +0000)]
CSPACE-527: Updated IntegrationTests module to use the new schema extension changes in the Java Client API

16 years agoCSPACE-526: Set keyword substitution properties to Revision and Date on all XSD files...
Aron Roberts [Wed, 14 Oct 2009 21:48:05 +0000 (21:48 +0000)]
CSPACE-526: Set keyword substitution properties to Revision and Date on all XSD files.  Added keyword anchors to, and updated initial comments block in, all entity-related XSD files.  Added keyword anchors to several non-entity XSD files, without otherwise changing those files.

16 years agoNOJIRA: Adding the Vocabulary service back to the "dist", "deploy", and "undeploy...
Richard Millet [Wed, 14 Oct 2009 18:25:34 +0000 (18:25 +0000)]
NOJIRA: Adding the Vocabulary service back to the "dist", "deploy", and "undeploy" targets now that there is a /vocabulary/build.xml checked-in.

16 years agoNOJIRA Adding missing build file.
Patrick Schmitz [Wed, 14 Oct 2009 16:24:38 +0000 (16:24 +0000)]
NOJIRA Adding missing build file.

16 years agoNOJIRA: Testing automatic revision number insertion
Richard Millet [Wed, 14 Oct 2009 15:44:56 +0000 (15:44 +0000)]
NOJIRA: Testing automatic revision number insertion

16 years agoNOJIRA: Testing automatic rev# insertion
Richard Millet [Wed, 14 Oct 2009 15:41:06 +0000 (15:41 +0000)]
NOJIRA: Testing automatic rev# insertion

16 years agoCSPACE-87: Added the CSpace repository as an artifact source.
Richard Millet [Tue, 13 Oct 2009 17:41:05 +0000 (17:41 +0000)]
CSPACE-87: Added the CSpace repository as an artifact source.

16 years agoCSPACE-87: Adding an example "update" call.
Richard Millet [Tue, 13 Oct 2009 00:23:05 +0000 (00:23 +0000)]
CSPACE-87: Adding an example "update" call.

16 years agoCSPACE-87: Updating sjf4j dependency. <groupId>org.slf4j</groupId>
Richard Millet [Mon, 12 Oct 2009 23:20:11 +0000 (23:20 +0000)]
CSPACE-87: Updating sjf4j dependency.             <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.5.2</version>

16 years agoCSPACE-520: ID Service now supports GET requests for lists of ID Generators, in full...
Aron Roberts [Mon, 12 Oct 2009 22:17:09 +0000 (22:17 +0000)]
CSPACE-520: ID Service now supports GET requests for lists of ID Generators, in full or summary formats.  Note: This commit changes the format of the id_generators table in the cspace database.  ID Service tests will now fail until you run the create_id_generators.sql script to update that table; you can also optionally run the load_id_generators.sql script to load a set of initial data.

16 years agoCSPACE-521: Removed the non-UTF8 '(c)' character from all .java files.
Richard Millet [Mon, 12 Oct 2009 20:56:46 +0000 (20:56 +0000)]
CSPACE-521: Removed the non-UTF8 '(c)' character from all .java files.

16 years agoNOJIRA: Removing non-UTF8 compliant (c) character from the header comment.
Richard Millet [Mon, 12 Oct 2009 20:36:43 +0000 (20:36 +0000)]
NOJIRA: Removing non-UTF8 compliant (c) character from the header comment.

16 years agoCSPACE-519: When setting payload headers, users of our Java Client API (including...
Richard Millet [Mon, 12 Oct 2009 20:16:09 +0000 (20:16 +0000)]
CSPACE-519: When setting payload headers, users of our Java Client API (including our unit tests) should not need to define and describe the service path component and "_common" conventions.  These are now made available to Java Client API users via the client classes.

16 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Mon, 12 Oct 2009 20:09:51 +0000 (20:09 +0000)]
NOJIRA: Updating Eclipse setting files.

16 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Mon, 12 Oct 2009 20:05:07 +0000 (20:05 +0000)]
NOJIRA: Updating Eclipse setting files.

16 years agoNOJIRA: Removing obsolete pom.xml file.
Richard Millet [Mon, 12 Oct 2009 20:02:09 +0000 (20:02 +0000)]
NOJIRA: Removing obsolete pom.xml file.

16 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Mon, 12 Oct 2009 19:59:05 +0000 (19:59 +0000)]
NOJIRA: Updating Eclipse setting files.

16 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Mon, 12 Oct 2009 19:58:04 +0000 (19:58 +0000)]
NOJIRA: Updating Eclipse setting files.

16 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Mon, 12 Oct 2009 19:55:57 +0000 (19:55 +0000)]
NOJIRA: Updating Eclipse setting files.

16 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Mon, 12 Oct 2009 19:55:01 +0000 (19:55 +0000)]
NOJIRA: Updating Eclipse setting files.

16 years agoNOJIRA: Also commented out invovocation of undeploy and dist targets for vocabulary...
Aron Roberts [Fri, 9 Oct 2009 20:56:52 +0000 (20:56 +0000)]
NOJIRA: Also commented out invovocation of undeploy and dist targets for vocabulary service; deploy target was commented out in r834. Once vocabulary/build.xml and vocabulary/service/build.xml exist, and include these three targets, these lines should be uncommented.

16 years agoCSPACE-504: Exchanged "_" for "-" in all Nuxeo-related entity services. Updated...
Richard Millet [Fri, 9 Oct 2009 07:08:05 +0000 (07:08 +0000)]
CSPACE-504: Exchanged "_" for "-" in all Nuxeo-related entity services.  Updated tests, service bindings, Nuxeo web layouts, etc.  Ran and passed ALL tests.

16 years agoCSPACE-518: Mvn goals failing when run from the root dir of the ID service - missing...
Richard Millet [Fri, 9 Oct 2009 06:11:15 +0000 (06:11 +0000)]
CSPACE-518: Mvn goals failing when run from the root dir of the ID service - missing version for the "jaxb-impl" artifact

16 years agoNOJIRA: Commenting out reference to missing /vocabulary/build.xml file. Once this...
Richard Millet [Fri, 9 Oct 2009 01:26:58 +0000 (01:26 +0000)]
NOJIRA: Commenting out reference to missing /vocabulary/build.xml file.  Once this file gets checked-in, this comment should be removed.

16 years agoCSPACE-497: First primitive, stubbed pass at filtering a summary list of ID generator...
Aron Roberts [Thu, 8 Oct 2009 19:59:41 +0000 (19:59 +0000)]
CSPACE-497: First primitive, stubbed pass at filtering a summary list of ID generator instances by ID generator role (e.g. accession numbers, intake numbers, loans-in numbers).

16 years agoNOJIRA - Re-enabling Vocabulary service after patches to fix build. Bad Patrick.
Patrick Schmitz [Thu, 8 Oct 2009 16:36:15 +0000 (16:36 +0000)]
NOJIRA - Re-enabling Vocabulary service after patches to fix build. Bad Patrick.

16 years agoCSPACE-451 Some files missed in the last checkin.
Patrick Schmitz [Thu, 8 Oct 2009 16:22:08 +0000 (16:22 +0000)]
CSPACE-451 Some files missed in the last checkin.

16 years agoNOJIRA: Broken build. The Vocabulary service is missing pom.xml and build.xml files...
Richard Millet [Thu, 8 Oct 2009 04:49:58 +0000 (04:49 +0000)]
NOJIRA: Broken build.  The Vocabulary service is missing pom.xml and build.xml files in some of its submodules.  Once those files get committed, do a search for
"//FIXME: COLLECTIONSPACE1-SERVICESTRUNK1-22" in ALL source related files and uncomment the corresponding code.

16 years agoCSPACE-497: Added query parameters to REST call to return lists of ID generator insta...
Aron Roberts [Thu, 8 Oct 2009 03:13:09 +0000 (03:13 +0000)]
CSPACE-497: Added query parameters to REST call to return lists of ID generator instances, to specify whether a summary list or a full list is to be returned.  This work is preparatory to filtering the list by ID role (aka type or contex).

16 years agoCSPACE-497: Added REST call to return a full list of serialized ID generator instances.
Aron Roberts [Thu, 8 Oct 2009 02:14:23 +0000 (02:14 +0000)]
CSPACE-497: Added REST call to return a full list of serialized ID generator instances.

16 years agoCSPACE-451 Have basics of the Vocabulary service working. Vocabulary Items still...
Patrick Schmitz [Wed, 7 Oct 2009 23:07:59 +0000 (23:07 +0000)]
CSPACE-451 Have basics of the Vocabulary service working. Vocabulary Items still in progress, but I wanted to do an interim checkin.

16 years agoCSPACE-504: Changes to get Acquisition service working with the Nuxeo webapp again.
Richard Millet [Wed, 7 Oct 2009 22:07:29 +0000 (22:07 +0000)]
CSPACE-504: Changes to get Acquisition service working with the Nuxeo webapp again.

16 years agoCSPACE-394: Removing refs to obsolete NuxeoClientType.
Richard Millet [Wed, 7 Oct 2009 22:02:35 +0000 (22:02 +0000)]
CSPACE-394: Removing refs to obsolete NuxeoClientType.

16 years agoNOJIRA: Replacing incorrect reference to CollectionObjectJAXBSchema with correct...
Richard Millet [Wed, 7 Oct 2009 21:50:36 +0000 (21:50 +0000)]
NOJIRA: Replacing incorrect reference to CollectionObjectJAXBSchema with correct references to CollectionObjectListItemJAXBSchema.

16 years agoNOJIRA: Adding back the commented out SDK module reference.
Richard Millet [Wed, 7 Oct 2009 21:46:36 +0000 (21:46 +0000)]
NOJIRA: Adding back the commented out SDK module reference.

16 years agoNOJIRA: Removing (apparently redundant or unnecessary) dependency to to dom4j artifac...
Richard Millet [Wed, 7 Oct 2009 21:25:28 +0000 (21:25 +0000)]
NOJIRA: Removing (apparently redundant or unnecessary) dependency to to dom4j artifact.  This depency was causing problems with Eclipse compilation classpaths.

16 years agoCSPACE-512: Adding "aquisition" service to targets.
Richard Millet [Wed, 7 Oct 2009 19:12:35 +0000 (19:12 +0000)]
CSPACE-512: Adding "aquisition" service to targets.

16 years agoCSPACE-429: Additional minor code clean-up in the ID Service in preparation for work...
Aron Roberts [Wed, 7 Oct 2009 02:08:10 +0000 (02:08 +0000)]
CSPACE-429: Additional minor code clean-up in the ID Service in preparation for work on CSPACE-497, adding type awareness.  Continued selectively replacing inappropriate Java Exceptions with CSpace-defined Exception types.

16 years agoCSPACE-503: Changes made to the ID Service in the short-lived Hello Venus branch...
Aron Roberts [Wed, 7 Oct 2009 00:11:44 +0000 (00:11 +0000)]
CSPACE-503: Changes made to the ID Service in the short-lived Hello Venus branch are merged back to the main trunk.  Includes changes made in four commits: r762, r763, r765 and r768,

16 years agoCSPACE-492 removed forced connection on the nuxeo client while obtaining every sessio...
Sanjay Dalal [Tue, 6 Oct 2009 22:14:58 +0000 (22:14 +0000)]
CSPACE-492 removed forced connection on the nuxeo client while obtaining every session. reuses client and reauthenticates on every use.
tests: mvn test passes at the top level, still to test on linux platform.

16 years agoCSPACE-394 removed old listing of workspaces used by services. with tenant-sp service...
Sanjay Dalal [Tue, 6 Oct 2009 22:11:52 +0000 (22:11 +0000)]
CSPACE-394 removed old listing of workspaces used by services. with tenant-sp service binding, the service name is the workspace name

16 years agoNOJIRA Changed the package of the test files to match their folder (put them in a...
Patrick Schmitz [Tue, 6 Oct 2009 21:18:06 +0000 (21:18 +0000)]
NOJIRA Changed the package of the test files to match their folder (put them in a test subpackage). Fixed scope of constant declaration in UUIDGeneratorPart to be public.
These changes should not affect functionality, but they correct build problems in eclipse (that maven ignores).

16 years agoCSPACE-502 separated fillPart into a protected method so that it could be overridden.
Sanjay Dalal [Mon, 5 Oct 2009 22:54:59 +0000 (22:54 +0000)]
CSPACE-502 separated fillPart into a protected method so that it could be overridden.

16 years agoNOJIRA relation service client pom fixed. slf4j dependencies should be declared on...
Sanjay Dalal [Mon, 5 Oct 2009 17:56:22 +0000 (17:56 +0000)]
NOJIRA relation service client pom fixed. slf4j dependencies should be declared on the top for logs to appear.

16 years agoNOJIRA fixed typo
Sanjay Dalal [Mon, 5 Oct 2009 17:26:26 +0000 (17:26 +0000)]
NOJIRA fixed typo

16 years agoCSPACE-60 introduced DocumentHandlerFactory interface that is implemented by all...
Sanjay Dalal [Fri, 2 Oct 2009 17:42:12 +0000 (17:42 +0000)]
CSPACE-60 introduced DocumentHandlerFactory interface that is implemented by all services
tests: mvn test passes at trunk/services level

M    services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectHandlerFactory.java
M    services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/nuxeo/AcquisitionHandlerFactory.java
A    services/common/src/main/java/org/collectionspace/services/common/repository/DocumentHandlerFactory.java
D    services/common/src/main/java/org/collectionspace/services/common/CollectionSpaceHandlerFactory.java
M    services/intake/service/src/main/java/org/collectionspace/services/intake/nuxeo/IntakeHandlerFactory.java
M    services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationHandlerFactory.java

16 years agoCSPACE-394 minor changes for required/optional attributes
Sanjay Dalal [Fri, 2 Oct 2009 17:39:49 +0000 (17:39 +0000)]
CSPACE-394 minor changes for required/optional attributes

M    service.xsd