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
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.
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.)
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.
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
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
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
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
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).
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.
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
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
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.
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
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.
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.
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
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.)
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.
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.
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.
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
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
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
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.
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
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.
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).
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."
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.)
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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).
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.
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.
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,
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.