Aron Roberts [Thu, 4 Feb 2010 06:34:47 +0000 (06:34 +0000)]
CSPACE-737: Added fields to Contact serice, conforming to current 0.5 wireframe and representing a subset of complete contact schema. Use numbered elements ending in 1..3 to simulate repeatable fields, per team decision for 0.5; will revisit in subsequent releases.
Aron Roberts [Wed, 3 Feb 2010 02:00:37 +0000 (02:00 +0000)]
CSPACE-773,CSPACE-872,CSPACE-874,CSPACE-875: Multiple revisions to names and repeatability attributes of fields in the CollectionObject Common schema. IMPORTANT: Due to changes in Nuxeo document type, will require running 'ant deploy' and a two-server restart. Renamed responsibleDept to responsibleDepartment and distFeatures to distinguishingFeatures to conform to naming conventions for all other fields in schema. Made responsibleDepartment repeatable. Removed repeatability of otherNumber, for now. Added missing fields objectNameLevel and contentScript. Fixed typo (Earlierist) in dateEarliestSingleQualifier.
Aron Roberts [Tue, 2 Feb 2010 21:35:57 +0000 (21:35 +0000)]
CSPACE-375: Trivial tweaks to user-visible messages relating to workspace detection and creation, including clarification of automatic workspace creation attempts by emitting two WARN-level messages, and uniform capitalization.
Sanjay Dalal [Fri, 29 Jan 2010 22:55:28 +0000 (22:55 +0000)]
CSPACE-396, CSPACE-787, CSPACE-400
Added validation handler. One or more handlers could configured in service binding. If a handler is configured for the service, the service layer callsback on the handler before create and update operations. Example validatorHandlers could be found in Account and CollectionObject services. Sends 400 (bad request) if validation fails.
Deleted DocumentHandlerFactory.java and moved that code to AbstractServiceContext.java. Service context (that is aware of ther service binding) also acts as a factory for various handlers (validator, document) configured in the binding.
tests: account validation (userid, tenant info), collectionobject (othernumber), all service tests
M services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/CollectionObjectResource.java
A services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectValidatorHandler.java
M services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
M services/dimension/service/src/main/java/org/collectionspace/services/dimension/DimensionResource.java
M services/common/src/main/java/org/collectionspace/services/common/ServiceException.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/MultipartServiceContext.java
M services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java
M services/common/src/main/java/org/collectionspace/services/common/context/MultipartServiceContextImpl.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/ValidatorHandler.java
D services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandlerFactory.java
A services/common/src/main/java/org/collectionspace/services/common/document/InvalidDocumentException.java
M services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClient.java
M services/common/src/main/config/tenant-bindings.xml
M services/common/src/main/resources/service.xsd
M services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/AcquisitionResource.java
M services/contact/service/src/main/java/org/collectionspace/services/contact/ContactResource.java
A services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountValidatorHandler.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/storage/AccountJpaFilter.java
M services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M services/organization/service/src/main/java/org/collectionspace/services/organization/OrgAuthorityResource.java
_M services/organization/import
M services/person/service/src/main/java/org/collectionspace/services/person/PersonAuthorityResource.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
Sanjay Dalal [Wed, 27 Jan 2010 20:05:08 +0000 (20:05 +0000)]
CSPACE-787 As part of the work towards introducing the validation handlers, document handler configuration should be externalized in service binding as well. This checkin removes all service specific document handler factories (phew, one less class to implement!). Service binding now includes the name of the documenthandler class to use. A single non-abstract DocumentHandlerFacotry is used to create document handler based on the class name provided from the service binding. The document handler classes need to be in classpath of cspace-services.war.
!!THIS CHANGE REQUIRES TO HOTDEPLOY THE SERVICE LAYER AFTER COPYING THE TENANT BINDINGS TO THE CSPACE DOMAIN.!!
test: mvn test at service level
M services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/CollectionObjectResource.java
D services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectHandlerFactory.java
M services/dimension/service/src/main/java/org/collectionspace/services/dimension/DimensionResource.java
D services/dimension/service/src/main/java/org/collectionspace/services/dimension/nuxeo/DimensionHandlerFactory.java
M services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/AcquisitionResource.java
D services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/nuxeo/AcquisitionHandlerFactory.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
M services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandlerFactory.java
M services/common/src/main/config/tenant-bindings.xml
M services/common/src/main/resources/service.xsd
M services/contact/service/src/main/java/org/collectionspace/services/contact/ContactResource.java
D services/contact/service/src/main/java/org/collectionspace/services/contact/nuxeo/ContactHandlerFactory.java
D services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountHandlerFactory.java
M services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M services/organization/service/src/main/java/org/collectionspace/services/organization/OrgAuthorityResource.java
D services/organization/service/src/main/java/org/collectionspace/services/organization/nuxeo/OrgAuthorityHandlerFactory.java
D services/organization/service/src/main/java/org/collectionspace/services/organization/nuxeo/OrganizationHandlerFactory.java
M services/person/service/src/main/java/org/collectionspace/services/person/PersonAuthorityResource.java
D services/person/service/src/main/java/org/collectionspace/services/person/nuxeo/PersonAuthorityHandlerFactory.java
D services/person/service/src/main/java/org/collectionspace/services/person/nuxeo/PersonHandlerFactory.java
M services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/VocabularyResource.java
D services/vocabulary/service/src/main/java/org/collectionspace/services/vocabulary/nuxeo/VocabularyItemHandlerFactory.java
D 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
D services/intake/service/src/main/java/org/collectionspace/services/intake/nuxeo/IntakeHandlerFactory.java
M services/relation/service/src/main/java/org/collectionspace/services/relation/NewRelationResource.java
D services/relation/service/src/main/java/org/collectionspace/services/relation/nuxeo/RelationHandlerFactory.java
Aron Roberts [Tue, 26 Jan 2010 22:28:00 +0000 (22:28 +0000)]
CSPACE-532: Added 'cspace.services.client.version' property or (to 'sample' packages) hard-coded 0.5-SNAPSHOT client version to additional POMs, for the org.collectionspace.services.client dependencies, and for several service-specific client package dependencies missed in earlier work on this task. Removed the dependency on '...services.account' introduced - likely in error - to the POM for security.client in r1279.
Aron Roberts [Tue, 26 Jan 2010 21:11:07 +0000 (21:11 +0000)]
CSPACE-532: Revised the versions of two client module dependencies in IntegrationTests POM, to use the variable pointing to the current snapshots or final versions of client code for the collectionobject and intake services.
Aron Roberts [Tue, 26 Jan 2010 21:05:26 +0000 (21:05 +0000)]
NOJIRA: Added '...services.acquisition', flagged by NetBeans as a necessary dependency (due to use of JAXB-generated classes in that package by AcquisitionServiceTest), to POM in 'acquisitions.client' module.
Aron Roberts [Tue, 26 Jan 2010 20:47:49 +0000 (20:47 +0000)]
CSPACE-685, CSPACE-532: Added '...services.account', flagged by NetBeans as a necessary dependency, to POM in 'security' module (e.g. for building and running AuthenticationServiceTest). Revised version of ...services.account.client dependency in POM to use the variable added in CSPACE-532, pointing to current snapshot or final version of client code.
Sanjay Dalal [Tue, 26 Jan 2010 17:27:05 +0000 (17:27 +0000)]
cspace-789 partial search on account. query parameters are sn for screenname, uid for userid, email for email. query parameters could be ANDed. AccountJpaFilter has where clause
test: added search tests on account
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClient.java
M services/common/src/main/java/org/collectionspace/services/common/document/DocumentFilter.java
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
A services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountJpaFilter.java
A services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageConstants.java
M services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M services/account/client/src/main/java/org/collectionspace/services/client/AccountClient.java
M services/account/client/src/main/java/org/collectionspace/services/client/AccountProxy.java
_M services/organization/client
Sanjay Dalal [Sat, 23 Jan 2010 00:29:56 +0000 (00:29 +0000)]
CSPACE-815 added fine-grained callbacks on prepare and complete
mvn test at services
M services/dimension/service/src/main/java/org/collectionspace/services/dimension/nuxeo/DimensionDocumentModelHandler.java
M services/acquisition/service/src/main/java/org/collectionspace/services/acquisition/nuxeo/AcquisitionDocumentModelHandler.java
A services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaDocumentFilter.java
M 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
M services/common/src/main/java/org/collectionspace/services/common/document/DocumentFilter.java
M services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandler.java
A services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/NuxeoDocumentFilter.java
M services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelHandler.java
M services/contact/service/src/main/java/org/collectionspace/services/contact/nuxeo/ContactDocumentModelHandler.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/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M services/account/client/src/main/java/org/collectionspace/services/client/AccountClient.java
M services/account/client/src/main/java/org/collectionspace/services/client/AccountProxy.java
_M services/organization/service
M services/organization/service/src/main/java/org/collectionspace/services/organization/OrgAuthorityResource.java
M services/organization/service/src/main/java/org/collectionspace/services/organization/nuxeo/OrganizationDocumentModelHandler.java
M services/organization/service/src/main/java/org/collectionspace/services/organization/nuxeo/OrgAuthorityDocumentModelHandler.java
_M services/organization/jaxb
_M services/person/service
M services/person/service/src/main/java/org/collectionspace/services/person/PersonAuthorityResource.java
M services/person/service/src/main/java/org/collectionspace/services/person/nuxeo/PersonDocumentModelHandler.java
M services/person/service/src/main/java/org/collectionspace/services/person/nuxeo/PersonAuthorityDocumentModelHandler.java
_M services/person/jaxb
_M services/person/client
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/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
Aron Roberts [Fri, 22 Jan 2010 22:32:41 +0000 (22:32 +0000)]
CSPACE-532: Client modules in all services now create JARs for installation and repository deployment whose filenames include the value of the 'cspace.services.client.version' property, in services/trunk/pom.xml, currently set to '0.5-SNAPSHOT'. Created 0.4 and 0.5-SNAPSHOT client JARs for each service's client module and deployed these to the project Maven repository. Set the dependency of the standalone SDK package to the 0.4 version of the collectionobject client JAR.
Aron Roberts [Thu, 21 Jan 2010 21:06:21 +0000 (21:06 +0000)]
CSPACE-685: Rewrote submitRequest() methods in AbstractServiceTest to use TestServiceClient, derived from BaseServiceClient, to help facilitate testing both authenticated and unauthenticated connections.
Richard Millet [Wed, 13 Jan 2010 00:01:08 +0000 (00:01 +0000)]
NOJIRA: Adding 'svn propset svn:keywords "Revision"' to service resource files so the "LastChangeRevision" for the version string will automatically be updated on check-ins.
Aron Roberts [Mon, 11 Jan 2010 21:45:59 +0000 (21:45 +0000)]
CSPACE-723: Fixed a trivial naming discrepancy by renaming the "measuredUnit" field in various places in the Dimensions service to "measurementUnit", to conform to the Dimensions schema. (Since this affects the schema for a Nuxeo document type, to reflect this change you may need to shut down the nuxeo and cspace servers and, after a rebuild, perform an 'ant deploy'.)
Aron Roberts [Mon, 11 Jan 2010 21:04:36 +0000 (21:04 +0000)]
CSPACE-722: Configured MySQL database creation script to configure the 'nuxeo' and 'cspace' databases to default to using the Unicode UTF-8 character set.
Patrick Schmitz [Mon, 11 Jan 2010 08:29:14 +0000 (08:29 +0000)]
CSPACE-578 Added support for PersonAuthority service, with basic tests, and a demo import mechanism that creates a simple authority with a few people in it. Not sure why this did not go through with early commit - Tortoise is being weird...
Patrick Schmitz [Mon, 11 Jan 2010 08:27:24 +0000 (08:27 +0000)]
CSPACE-578 Added support for PersonAuthority service, with basic tests, and a demo import mechanism that creates a simple authority with a few people in it. Not sure why this did not go through with early commit - Tortoise is being weird...
Patrick Schmitz [Mon, 11 Jan 2010 08:16:12 +0000 (08:16 +0000)]
CSPACE-578 Added support for PersonAuthority service, with basic tests, and a demo import mechanism that creates a simple authority with a few people in it. Not sure why this did not go through with early commit - Tortoise is being weird...
Patrick Schmitz [Sat, 9 Jan 2010 01:01:43 +0000 (01:01 +0000)]
CSPACE-578 Added support for PersonAuthority service, with basic tests, and a demo import mechanism that creates a simple authority with a few people in it.
Patrick Schmitz [Wed, 6 Jan 2010 23:51:58 +0000 (23:51 +0000)]
CSPACE-149. Updated to add displayName in, computed from shortName (on get). Fixed typos in refName generation in the Base Import. Tweaked some labels etc. in the nuxeo layout to make it easier to debug orgs.
Patrick Schmitz [Wed, 6 Jan 2010 07:31:41 +0000 (07:31 +0000)]
NOJIRA - fixed support for additional schema fields in the nuxeo layout, in the tests, and in the import support. Reflected reversion of pattern service (Vocabulary) to pass the inAuthority value in the organization_common schema. Updated the tests to detect when the inAuthority is not being set correctly on create.
Patrick Schmitz [Wed, 6 Jan 2010 07:28:20 +0000 (07:28 +0000)]
CSPACE-572. Reverted changes to remove inVocabulary from payload, as it broke createItem. Also rewrote tests to ensure that inVocabulary is actually being set correctly, so any future regressions will be detected right away.
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
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
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
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
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
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
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
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.
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.
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.
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.
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.)
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.
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.
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
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
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.
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
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