]> git.aero2k.de Git - tmp/jakarta-migration.git/log
tmp/jakarta-migration.git
16 years agoCSPACE-1010 made length of userid in account consistent with that in users and users_...
Sanjay Dalal [Wed, 17 Feb 2010 23:01:13 +0000 (23:01 +0000)]
CSPACE-1010 made length of userid in account consistent with that in users and users_roles
test: account tests with security

M    services/account/jaxb/src/main/resources/accounts_common.xsd
M    services/account/pstore/src/main/resources/db/mysql/account.sql

16 years agoCSPACE-1010 added constraints to account, users and users_roles tables. added validat...
Sanjay Dalal [Wed, 17 Feb 2010 22:48:30 +0000 (22:48 +0000)]
CSPACE-1010 added constraints to account, users and users_roles tables. added validation tests to account service client. in case of constraint violation (performed by db), 500 is returned instead of 400.
account,authn poms use consistent mysql jdbc driver version
test: account, security

M    services/authentication/jaxb/src/main/resources/authentication_identity_provider.xsd
M    services/authentication/pstore/src/main/resources/db/mysql/authentication.sql
M    services/authentication/pstore/pom.xml
M    services/account/jaxb/src/main/resources/accounts_common.xsd
M    services/account/pstore/src/main/resources/db/mysql/account.sql
M    services/account/pstore/pom.xml
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java

16 years agoCSPACE-787 changes suggested during the review CSPACE-886
Sanjay Dalal [Wed, 17 Feb 2010 21:24:46 +0000 (21:24 +0000)]
CSPACE-787 changes suggested during the review CSPACE-886
CSPACE-1010 added email validation (partial checkin)
test collectionobject account security

M    collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/nuxeo/CollectionObjectValidatorHandler.java
M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountValidatorHandler.java

16 years agoCSPACE-489: Clean up extra VocabularyItems created during client tests of the Vocabul...
Aron Roberts [Wed, 17 Feb 2010 02:05:58 +0000 (02:05 +0000)]
CSPACE-489: Clean up extra VocabularyItems created during client tests of the Vocabulary service.  Clean up of sub-resource items has been working in client tests of the Person and Organization services, but a single line of code required when doing so was inadvertently omitted in the Vocabulary service.

16 years agoCSPACE-709 added war manifest with properties Vendor, Package and Release
Sanjay Dalal [Tue, 16 Feb 2010 22:23:02 +0000 (22:23 +0000)]
CSPACE-709 added war manifest with properties Vendor, Package and Release

M    JaxRsServiceProvider/pom.xml

16 years agoCSPACE-1016 service tests can now be run with auth
Sanjay Dalal [Tue, 16 Feb 2010 21:24:44 +0000 (21:24 +0000)]
CSPACE-1016 service tests can now be run with auth
test: all service tests (except id) with and without auth. id service tests fail locally due to a classpath issue (not able to find jdbc driver)

If the auth mode is disabled, you would see the following emitted from AbstractServiceClientImpl during construction

INFO main org.collectionspace.services.client.AbstractServiceClientImpl:191 setupHttpClient() : no auth mode!

Required system properties to run the tests with authentication enabled are

1. cspace.auth to true, indicates to use HTTP authentication. We will use BASIC authentication in these tests.
2. cspace.user indicates user name to use
3. cspace.password indicates password to use (clear text ... this is only a test)
4. cspace.server.secure true, indicates that services layer is enabled for security. Some tests still use this property. This was added because web.xml changes were required to enable security on the server side. With Spring security, it is no more needed on the server side. However, some client side tests (account, security, collecitonobject, relation) would still look for it.

command line would be

mvn -Dcspace.server.secure=true -DforkMode=never -Dcspace.auth=true -Dcspace.user=test -Dcspace.password=test test

Note that forkMode=never is required to pass properties to the JVM. Without that property, maven may start a new process to run the test and would not pass the required properties.

_M   trunk/services/PerformanceTests
M    trunk/services/dimension/client/src/main/java/org/collectionspace/services/client/DimensionClient.java
M    trunk/services/acquisition/client/src/main/java/org/collectionspace/services/client/AcquisitionClient.java
M    trunk/services/contact/client/src/main/java/org/collectionspace/services/client/ContactClient.java
_M   trunk/services/account/pstore
M    trunk/services/organization/client/src/main/java/org/collectionspace/services/client/OrgAuthorityClient.java
M    trunk/services/person/client/src/main/java/org/collectionspace/services/client/PersonAuthorityClient.java
M    trunk/services/intake/client/src/main/java/org/collectionspace/services/client/IntakeClient.java
M    trunk/services/client/src/test/java/org/collectionspace/services/client/test/ServiceLayerTest.java
M    trunk/services/client/src/main/java/org/collectionspace/services/client/AbstractServiceClientImpl.java

16 years agoNOJIRA removed unused dependencies and war build.
Sanjay Dalal [Tue, 16 Feb 2010 21:20:59 +0000 (21:20 +0000)]
NOJIRA removed unused dependencies and war build.
review: aron

_M   id
M    id/service/pom.xml
M    id/pom.xml

16 years agoCSPACE-735 Added support for getFiltered to fetch totalItem count when pagination...
Patrick Schmitz [Tue, 16 Feb 2010 06:01:55 +0000 (06:01 +0000)]
CSPACE-735 Added support for getFiltered to fetch totalItem count when pagination is in use.
Added support in vocabulary, personAuthority, and orgAuthority to make lists (of authorities as well as items) return pagination information in payload. This is not part of the individual item payloads, and so does not impact the nuxeo schemas.

16 years agoCSPACE-909 Add validation support. Added tests for same. Fixed bug in updateNonExiste...
Patrick Schmitz [Tue, 16 Feb 2010 01:10:21 +0000 (01:10 +0000)]
CSPACE-909 Add validation support. Added tests for same. Fixed bug in updateNonExistentItem that was only exposed through the validation codepath.

16 years agoCSPACE-879, CSPACE-908 Added support for displayNameComputed flag, added validation...
Patrick Schmitz [Mon, 15 Feb 2010 19:58:19 +0000 (19:58 +0000)]
CSPACE-879, CSPACE-908 Added support for displayNameComputed flag, added validation support to verify displayNameComputed and displayName logic. Added tests to verify this functionality.
Missed

16 years agoCSPACE-879, CSPACE-908 Added support for displayNameComputed flag, added validation...
Patrick Schmitz [Mon, 15 Feb 2010 19:31:01 +0000 (19:31 +0000)]
CSPACE-879, CSPACE-908 Added support for displayNameComputed flag, added validation support to verify displayNameComputed and displayName logic. Added tests to verify this functionality.

16 years agoCSPACE-826. Contacts can now be created and read as a subordinate resource of PersonA...
Aron Roberts [Sat, 13 Feb 2010 01:36:25 +0000 (01:36 +0000)]
CSPACE-826. Contacts can now be created and read as a subordinate resource of PersonAuthority and Person.  See comments in this JIRA issue for approach taken and remaining tasks.

16 years agoCSPACE-597 added setProxy method to VocabClient to pick up httpclient with props...
Sanjay Dalal [Sat, 13 Feb 2010 01:36:15 +0000 (01:36 +0000)]
CSPACE-597 added setProxy method to VocabClient to pick up httpclient with props set for authentication. Properties required to pass to run in auth mode are -Dcspace.auth=true -Dcspace.user=test -Dcspace.password=test (see services/trunk/services/client/src/main/resources/collectionspace-client.properties)
Added log4j.properties. Removed programmatic configuration of log4j.
test: import, vocab client

M    vocabulary/import/src/main/java/org/collectionspace/services/vocabulary/importer/VocabularyBaseImport.java
A    vocabulary/import/src/main/resources/log4j.properties
M    vocabulary/import/pom.xml
M    vocabulary/client/src/main/java/org/collectionspace/services/client/VocabularyClient.java

16 years agoCSPACE-905 Added ValidatorHandler, and tests to check displayNameComputed and display...
Patrick Schmitz [Sat, 13 Feb 2010 00:27:57 +0000 (00:27 +0000)]
CSPACE-905 Added ValidatorHandler, and tests to check displayNameComputed and displayName relationship on update.

16 years agoNOJIRA Updated sample code to match refactered utils code.
Patrick Schmitz [Fri, 12 Feb 2010 22:34:11 +0000 (22:34 +0000)]
NOJIRA Updated sample code to match refactered utils code.

16 years agoCSPACE-718 Added support for marking displayName computed or not, so can override...
Patrick Schmitz [Fri, 12 Feb 2010 22:20:47 +0000 (22:20 +0000)]
CSPACE-718 Added support for marking displayName computed or not, so can override to set a displayName, and revert to the computed form.

16 years agoCSPACE-916 class name consistency
Sanjay Dalal [Fri, 12 Feb 2010 18:35:11 +0000 (18:35 +0000)]
CSPACE-916 class name consistency
test: service level tests

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/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
M    services/collectionobject/client/src/main/java/org/collectionspace/services/client/CollectionObjectClient.java
M    services/dimension/service/src/main/java/org/collectionspace/services/dimension/DimensionResource.java
M    services/dimension/service/src/main/java/org/collectionspace/services/dimension/nuxeo/DimensionDocumentModelHandler.java
M    services/dimension/client/src/test/java/org/collectionspace/services/client/test/DimensionServiceTest.java
M    services/dimension/client/src/main/java/org/collectionspace/services/client/DimensionClient.java
M    services/common/src/main/java/org/collectionspace/services/common/repository/RepositoryClientFactory.java
D    services/common/src/main/java/org/collectionspace/services/common/AbstractCollectionSpaceResource.java
M    services/common/src/main/java/org/collectionspace/services/common/context/RemoteServiceContextImpl.java
D    services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java
A  + services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContextImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java
A  + services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
D    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClient.java
A  + services/common/src/main/java/org/collectionspace/services/common/AbstractCollectionSpaceResourceImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/query/nuxeo/QueryManagerNuxeoImpl.java
A  + services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReaderImpl.java
D    services/common/src/main/java/org/collectionspace/services/common/config/AbstractConfigReader.java
D    services/common/src/main/java/org/collectionspace/services/common/config/ServicesConfigReader.java
D    services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReader.java
A  + services/common/src/main/java/org/collectionspace/services/common/config/AbstractConfigReaderImpl.java
A  + services/common/src/main/java/org/collectionspace/services/common/config/ServicesConfigReaderImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/vocabulary/VocabManagerImpl.java
D    services/common/src/main/java/org/collectionspace/services/common/document/AbstractDocumentHandler.java
D    services/common/src/main/java/org/collectionspace/services/common/document/AbstractMultipartDocumentHandler.java
A  + services/common/src/main/java/org/collectionspace/services/common/document/AbstractDocumentHandlerImpl.java
A  + services/common/src/main/java/org/collectionspace/services/common/document/AbstractMultipartDocumentHandlerImpl.java
D    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClient.java
A  + services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java
D    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandler.java
A  + services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RemoteDocumentModelHandlerImpl.java
M    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/DocumentModelHandler.java
M    services/common/src/main/config/service-config.xml
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/client/src/test/java/org/collectionspace/services/client/test/AcquisitionServiceTest.java
M    services/acquisition/client/src/main/java/org/collectionspace/services/client/AcquisitionClient.java
M    services/contact/service/src/main/java/org/collectionspace/services/contact/ContactResource.java
M    services/contact/service/src/main/java/org/collectionspace/services/contact/nuxeo/ContactDocumentModelHandler.java
M    services/contact/client/src/test/java/org/collectionspace/services/client/test/ContactServiceTest.java
M    services/contact/client/src/main/java/org/collectionspace/services/client/ContactClient.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
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/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/client/src/test/java/org/collectionspace/services/client/test/OrgAuthorityServiceTest.java
M    services/organization/client/src/main/java/org/collectionspace/services/client/OrgAuthorityClient.java
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/client/src/test/java/org/collectionspace/services/client/test/PersonAuthorityServiceTest.java
M    services/person/client/src/main/java/org/collectionspace/services/client/PersonAuthorityClient.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/client/src/test/java/org/collectionspace/services/client/test/VocabularyServiceTest.java
M    services/vocabulary/client/src/main/java/org/collectionspace/services/client/VocabularyClient.java
M    services/security/client/src/test/java/org/collectionspace/services/authentication/client/test/AuthenticationServiceTest.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/IntakeDocumentModelHandler.java
M    services/intake/client/src/test/java/org/collectionspace/services/client/test/IntakeServiceTest.java
M    services/intake/client/src/main/java/org/collectionspace/services/client/IntakeClient.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/RelationDocumentModelHandler.java
M    services/relation/client/src/test/java/org/collectionspace/services/client/test/RelationServiceTest.java
M    services/relation/client/src/main/java/org/collectionspace/services/client/RelationClient.java
D    services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTest.java
A  + services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTestImpl.java
M    services/client/src/main/java/org/collectionspace/services/client/TestServiceClient.java
A  + services/client/src/main/java/org/collectionspace/services/client/AbstractServiceClientImpl.java
D    services/client/src/main/java/org/collectionspace/services/client/BaseServiceClient.java

16 years agoCSPACE-834: Service consumer can retreive a list Intake records (if any) associated...
Richard Millet [Thu, 11 Feb 2010 03:57:18 +0000 (03:57 +0000)]
CSPACE-834: Service consumer can retreive a list Intake records (if any) associated to a CollectionObject from the CollectionObject service.

16 years agoCSPACE-870 downgraded spring security from 3.0.2.CI-SNAPSHOT to 3.0.1.RELEASE for...
Sanjay Dalal [Tue, 9 Feb 2010 23:02:01 +0000 (23:02 +0000)]
CSPACE-870 downgraded spring security from 3.0.2.CI-SNAPSHOT to 3.0.1.RELEASE for good. Snapshot was recently removed from maven repository failing the build.
test: security test and all service tests (with anonymous)

ant deploy required

M    services/authentication/service/pom.xml
M    services/JaxRsServiceProvider/pom.xml
D    services/common/lib/spring/spring-security-web-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/spring-security-core-3.0.1.RELEASE.jar
AM   services/common/lib/spring/spring-security-acl-3.0.1.RELEASE.jar
D    services/common/lib/spring/spring-security-core-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/spring-security-config-3.0.1.RELEASE.jar
D    services/common/lib/spring/spring-security-acl-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/spring-security-web-3.0.1.RELEASE.jar
D    services/common/lib/spring/spring-security-config-3.0.2.CI-SNAPSHOT.jar
M    services/pom.xml

16 years agoCSPACE-870 Integrated Spring Security 3.0.2.CI-SNAPSHOT and Spring 3.0.0.RELEASE...
Sanjay Dalal [Tue, 9 Feb 2010 22:32:22 +0000 (22:32 +0000)]
CSPACE-870 Integrated Spring Security 3.0.2.CI-SNAPSHOT and Spring 3.0.0.RELEASE. The JAAS-based CS identity provider (CSIP) is configured successfully as a JAAS authn provider in Spring Security. Added Spring security specific AuthorityGranter and UserDetailsService (test) into authn service.
Refactored DatabaseRealm and CSpaceJBossDBLoginModule (needs package change in login-config.xml of JBoss).
ant deploy is required to copy the Spring specific jars to cspace/lib (of cspace domain). See services/common/lib/README.txt
Spring security is enabled by default. Anonymous access is also enabled by default (allows all tests to run without HTTP basic auth). Security tests could be run with client side security enabled (no need to bounce the server)

A    services/authentication/service/src/main/java/org/collectionspace/authentication/realm
A    services/authentication/service/src/main/java/org/collectionspace/authentication/realm/CSpaceRealm.java
A  + services/authentication/service/src/main/java/org/collectionspace/authentication/realm/CSpaceDbRealm.java
A    services/authentication/service/src/main/java/org/collectionspace/authentication/spring
A    services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceUserDetailsService.java
A    services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceAuthorityGranter.java
D    services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceJBossDBLoginModule.java
D    services/authentication/service/src/main/java/org/collectionspace/authentication/DatabaseRealm.java
A    services/authentication/service/src/main/java/org/collectionspace/authentication/jaas
A  + services/authentication/service/src/main/java/org/collectionspace/authentication/jaas/CSpaceJBossDBLoginModule.java
M    services/authentication/service/src/main/resources/config/jboss-login-config.xml
M    services/authentication/service/pom.xml
M    services/authentication/service/build.xml
M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
A    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/login.conf
A    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml
M    services/JaxRsServiceProvider/pom.xml
M    services/JaxRsServiceProvider/build.xml
A    services/common/lib/spring
AM   services/common/lib/spring/org.springframework.asm-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/org.springframework.jdbc-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/spring-security-web-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/org.springframework.context-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/spring-security-acl-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/org.springframework.beans-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/org.springframework.core-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/spring-security-config-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/org.springframework.web-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/spring-security-core-3.0.2.CI-SNAPSHOT.jar
AM   services/common/lib/spring/org.springframework.expression-3.0.0.BUILD-20100208195804.jar
AM   services/common/lib/spring/org.springframework.aop-3.0.0.BUILD-20100208195804.jar
M    services/common/lib/README.txt
M    services/common/build.xml

16 years agoCSPACE-1013: Changed versions of client JARs in dependencies section of POM to use...
Aron Roberts [Tue, 9 Feb 2010 21:22:21 +0000 (21:22 +0000)]
CSPACE-1013: Changed versions of client JARs in dependencies section of POM to use value of cspace.services.client.version property, rather than 1.0; module now builds successfully.

16 years agoCSPACE-413: Adding module for performance tests. Contains an initial simple test...
Richard Millet [Mon, 8 Feb 2010 18:34:37 +0000 (18:34 +0000)]
CSPACE-413: Adding module for performance tests.  Contains an initial simple test that creates 1000 records and then deletes them.

16 years agoCSPACE-949: Fixed bug in Nuxeo layouts-contrib.xml file. Also, added placeholders...
Richard Millet [Mon, 8 Feb 2010 18:13:21 +0000 (18:13 +0000)]
CSPACE-949: Fixed bug in Nuxeo layouts-contrib.xml file.  Also, added placeholders for boolean flag for indicating whether or not there is a computed display name that should be used instead of the default displayName.

16 years agoCSPACE-873: Acquisition Source is now a repeatable field in Acquisition records....
Aron Roberts [Sat, 6 Feb 2010 01:27:38 +0000 (01:27 +0000)]
CSPACE-873: Acquisition Source is now a repeatable field in Acquisition records. Also renamed nearly all other fields in the Acquisitions schema for consistency with Service schema capitalization conventions: lowercase initial letter and interCaps. IMPORTANT: Due to changes in Nuxeo document type, will require running 'ant deploy' and a two-server restart.

16 years agoCSPACE-413: Adding module for performance tests. Contains an initial simple test...
Richard Millet [Fri, 5 Feb 2010 22:57:05 +0000 (22:57 +0000)]
CSPACE-413: Adding module for performance tests.  Contains an initial simple test that creates 1000 records and then deletes them.

16 years agoCSPACE-737: Added fields to Contact serice, conforming to current 0.5 wireframe and...
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.

16 years agoCSPACE-892 trimming whitespaces from repository client name. need more tests!
Sanjay Dalal [Wed, 3 Feb 2010 23:41:06 +0000 (23:41 +0000)]
CSPACE-892 trimming whitespaces from repository client name. need more tests!
test: mvn test at the service layer

M    services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReader.java

16 years agoCSPACE-773,CSPACE-872,CSPACE-874,CSPACE-875: Multiple revisions to names and repeatab...
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.

16 years agoCSPACE-375: Trivial tweaks to user-visible messages relating to workspace detection...
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.

16 years agoCSPACE-685: ServiceLayerTest now uses a BaseServiceClient-derived client, to facilita...
Aron Roberts [Sat, 30 Jan 2010 01:29:50 +0000 (01:29 +0000)]
CSPACE-685: ServiceLayerTest now uses a BaseServiceClient-derived client, to facilitate testing with authentication enabled.

16 years agoCSPACE-396, CSPACE-787, CSPACE-400
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

16 years agoCSPACE-787 As part of the work towards introducing the validation handlers, document...
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

16 years agoCSPACE-532: Added 'cspace.services.client.version' property or (to 'sample' packages...
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.

16 years agoCSPACE-532: Revised the versions of two client module dependencies in IntegrationTest...
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.

16 years agoNOJIRA: Added '...services.acquisition', flagged by NetBeans as a necessary dependenc...
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.

16 years agoCSPACE-685, CSPACE-532: Added '...services.account', flagged by NetBeans as a necessa...
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.

16 years agocspace-789 partial search on account. query parameters are sn for screenname, uid...
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

16 years agoCSPACE-815 added fine-grained callbacks on prepare and complete
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

16 years agoCSPACE-532: Client modules in all services now create JARs for installation and repos...
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.

16 years agoCSPACE-685: Rewrote submitRequest() methods in AbstractServiceTest to use TestService...
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.

16 years agoCSPACE-774: Adding a clause to the getFiltered() method to exclude Nuxeo document...
Richard Millet [Tue, 19 Jan 2010 21:45:29 +0000 (21:45 +0000)]
CSPACE-774: Adding a clause to the getFiltered() method to exclude Nuxeo document proxies from all queries.

16 years agoCSPACE-774 - Filter proxies from query to get items. Should help with perf, although...
Patrick Schmitz [Tue, 19 Jan 2010 17:04:54 +0000 (17:04 +0000)]
CSPACE-774 - Filter proxies from query to get items. Should help with perf, although probably still need to bump slice size.

16 years agoNOJIRA: Adding missing 'resources' to comply with Maven standards.
Richard Millet [Fri, 15 Jan 2010 23:49:25 +0000 (23:49 +0000)]
NOJIRA: Adding missing 'resources' to comply with Maven standards.

16 years agoCSPACE-753: Added item term search functionality to Person and Organization services.
Richard Millet [Fri, 15 Jan 2010 09:22:47 +0000 (09:22 +0000)]
CSPACE-753: Added item term search functionality to Person and Organization services.

16 years agoNOJIRA - Fixed some cruft and a bug with the creation/assignment of refNames to test...
Patrick Schmitz [Fri, 15 Jan 2010 00:30:43 +0000 (00:30 +0000)]
NOJIRA - Fixed some cruft and a bug with the creation/assignment of refNames to test objects and imported ones.

16 years agoNOJIRA - Fixed some cruft and a bug with the creation/assignment of refNames to test...
Patrick Schmitz [Fri, 15 Jan 2010 00:13:00 +0000 (00:13 +0000)]
NOJIRA - Fixed some cruft and a bug with the creation/assignment of refNames to test objects and imported ones.

16 years agoNOJIRA - Updated to use common code in Utils class.
Patrick Schmitz [Thu, 14 Jan 2010 20:50:50 +0000 (20:50 +0000)]
NOJIRA - Updated to use common code in Utils class.

16 years agoNOJIRA: Changing the 'default' target to 'install'.
Richard Millet [Thu, 14 Jan 2010 20:44:05 +0000 (20:44 +0000)]
NOJIRA: Changing the 'default' target to 'install'.

16 years agoCSPACE-747: Removing an apparent false dependency is the account/jaxb pom.xml
Richard Millet [Thu, 14 Jan 2010 20:43:14 +0000 (20:43 +0000)]
CSPACE-747: Removing an apparent false dependency is the account/jaxb pom.xml

16 years agoCSPACE-720 - Completed fixing refName creation.
Patrick Schmitz [Thu, 14 Jan 2010 20:40:24 +0000 (20:40 +0000)]
CSPACE-720 - Completed fixing refName creation.

16 years agoNOJIRA: Updating Eclipse setting files and adding missing directories to match Maven...
Richard Millet [Thu, 14 Jan 2010 20:35:36 +0000 (20:35 +0000)]
NOJIRA: Updating Eclipse setting files and adding missing directories to match Maven conventions.

16 years agoNOJIRA: Updating Eclipse setting files and adding missing directories to match Maven...
Richard Millet [Thu, 14 Jan 2010 20:26:33 +0000 (20:26 +0000)]
NOJIRA: Updating Eclipse setting files and adding missing directories to match Maven conventions.

16 years agoCSPACE-720 - First part of fixing refName creation.
Patrick Schmitz [Thu, 14 Jan 2010 19:57:03 +0000 (19:57 +0000)]
CSPACE-720 - First part of fixing refName creation.

16 years agoCSPACE-725 - More refactoring of common client work.
Patrick Schmitz [Thu, 14 Jan 2010 01:52:24 +0000 (01:52 +0000)]
CSPACE-725 - More refactoring of common client work.

16 years agoCSPACE-725 - Fixed typo for refactored creation methods.
Patrick Schmitz [Wed, 13 Jan 2010 23:38:49 +0000 (23:38 +0000)]
CSPACE-725 - Fixed typo for refactored creation methods.

16 years agoNOJIRA - Cleaning up more SVN nonsense. When will it end?
Patrick Schmitz [Wed, 13 Jan 2010 23:22:52 +0000 (23:22 +0000)]
NOJIRA - Cleaning up more SVN nonsense. When will it end?

16 years agoNOJIRA - Cleaning up more SVN nonsense. When will it end?
Patrick Schmitz [Wed, 13 Jan 2010 23:17:45 +0000 (23:17 +0000)]
NOJIRA - Cleaning up more SVN nonsense. When will it end?

16 years agoCSPACE-725 - Refactored instance creation methods into a shared utility class.
Patrick Schmitz [Wed, 13 Jan 2010 23:10:49 +0000 (23:10 +0000)]
CSPACE-725 - Refactored instance creation methods into a shared utility class.

16 years agoNOJIRA - fixed typo in a test logging message. No functional changes.
Patrick Schmitz [Wed, 13 Jan 2010 23:07:54 +0000 (23:07 +0000)]
NOJIRA - fixed typo in a test logging message. No functional changes.

16 years agoNOJIRA - Fixed typo bug in importer, added more stringent tests for readItems and...
Patrick Schmitz [Wed, 13 Jan 2010 20:14:00 +0000 (20:14 +0000)]
NOJIRA - Fixed typo bug in importer, added more stringent tests for readItems and readItemList.

16 years agoNOJIRA: Adding 'svn propset svn:keywords "Revision"' to service resource files so...
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.

16 years agoCSPACE-738: Adding term search for Vocabulary service based on Display name.
Richard Millet [Tue, 12 Jan 2010 21:56:48 +0000 (21:56 +0000)]
CSPACE-738: Adding term search for Vocabulary service based on Display name.

16 years agoCSPACE-733: Adding a "version" method to children of the the AbstractCollectionSpaceR...
Richard Millet [Tue, 12 Jan 2010 18:54:29 +0000 (18:54 +0000)]
CSPACE-733: Adding a "version" method to children of the the AbstractCollectionSpaceResource class.

16 years agoCSPACE-733: Adding a "version" method to children of the the AbstractCollectionSpaceR...
Richard Millet [Tue, 12 Jan 2010 17:48:38 +0000 (17:48 +0000)]
CSPACE-733: Adding a "version" method to children of the the AbstractCollectionSpaceResource class.

16 years agoCSPACE-725 - Refactored instance creation methods into a shared utility class.
Patrick Schmitz [Tue, 12 Jan 2010 01:07:41 +0000 (01:07 +0000)]
CSPACE-725 - Refactored instance creation methods into a shared utility class.

16 years agoCSPACE-723: Fixed a trivial naming discrepancy by renaming the "measuredUnit" field...
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'.)

16 years agoCSPACE-722: Configured MySQL database creation script to configure the 'nuxeo' and...
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.

16 years agoNOJIRA - Cleaning up weird cruft.
Patrick Schmitz [Mon, 11 Jan 2010 17:39:48 +0000 (17:39 +0000)]
NOJIRA - Cleaning up weird cruft.

16 years agoNOJIRA - Cleaning up weird cruft.
Patrick Schmitz [Mon, 11 Jan 2010 09:16:00 +0000 (09:16 +0000)]
NOJIRA - Cleaning up weird cruft.

16 years agoCSPACE-578 Added support for PersonAuthority service, with basic tests, and a demo...
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...

16 years agoCSPACE-578 Added support for PersonAuthority service, with basic tests, and a demo...
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...

16 years agoNOJIRA - Cleaning up weird cruft.
Patrick Schmitz [Mon, 11 Jan 2010 08:18:49 +0000 (08:18 +0000)]
NOJIRA - Cleaning up weird cruft.

16 years agoCSPACE-578 Added support for PersonAuthority service, with basic tests, and a demo...
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...

16 years agoCSPACE-578 Added support for PersonAuthority service, with basic tests, and a demo...
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.

16 years agoNOJIRA Fixed typo in the refName generation for Organizations.
Patrick Schmitz [Fri, 8 Jan 2010 23:30:32 +0000 (23:30 +0000)]
NOJIRA Fixed typo in the refName generation for Organizations.

16 years agoNOJIRA: Updating comment macro.
Richard Millet [Fri, 8 Jan 2010 19:57:17 +0000 (19:57 +0000)]
NOJIRA: Updating comment macro.

16 years agoNOJIRA: Updating comment macro.
Richard Millet [Fri, 8 Jan 2010 19:55:41 +0000 (19:55 +0000)]
NOJIRA: Updating comment macro.

16 years agoNOJIRA: Updating comment macro.
Richard Millet [Fri, 8 Jan 2010 19:36:37 +0000 (19:36 +0000)]
NOJIRA: Updating comment macro.

16 years agoCSPACE-717: Adding v0.4 specific fields to the list results of the Intake, Acquisitio...
Richard Millet [Fri, 8 Jan 2010 18:38:27 +0000 (18:38 +0000)]
CSPACE-717: Adding v0.4 specific fields to the list results of the Intake, Acquisition, and CollectionObject services.

16 years agoNOJIRA: Updating/Correcting Eclipse settings.
Richard Millet [Wed, 6 Jan 2010 23:52:52 +0000 (23:52 +0000)]
NOJIRA: Updating/Correcting Eclipse settings.

16 years agoCSPACE-149. Updated to add displayName in, computed from shortName (on get). Fixed...
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.

16 years agoNOJIRA - Fixed typo on .settings folder name
Patrick Schmitz [Wed, 6 Jan 2010 07:42:34 +0000 (07:42 +0000)]
NOJIRA - Fixed typo on .settings folder name

16 years agoNOJIRA - Fixed typo on .settings folder name
Patrick Schmitz [Wed, 6 Jan 2010 07:41:43 +0000 (07:41 +0000)]
NOJIRA - Fixed typo on .settings folder name

16 years agoNOJIRA - fixed support for additional schema fields in the nuxeo layout, in the tests...
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.

16 years agoCSPACE-572. Reverted changes to remove inVocabulary from payload, as it broke createI...
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.

16 years agoCSPACE-149. Revised schema for organization to match the spec.
Patrick Schmitz [Tue, 5 Jan 2010 23:11:09 +0000 (23:11 +0000)]
CSPACE-149. Revised schema for organization to match the spec.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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