Richard Millet [Fri, 16 Apr 2010 16:54:13 +0000 (16:54 +0000)]
CSPACE-1349, 1422, 1428, 1469, 1470, 1473: Adding pagination support for default page size, making a convention that query params are part of the service context, giving docHandlers a default filter, removing some of the ubiquitous Generics warnings, refactored resource service code to minimize duplicated code and boiler plating.
Passes *ALL* current tests and merged with the latest set of sources.
Richard Millet [Fri, 16 Apr 2010 10:10:58 +0000 (10:10 +0000)]
CSPACE-1349, 1422, 1428, 1469, 1470, 1473: Adding pagination support for default page size, making a convention that query params are part of the service context, giving docHandlers a default filter, removing some of the ubiquitous Generics warnings, refactored resource service code to minimize duplicated code and boiler plating.
Passes *ALL* current tests and merged with the latest set of sources.
Aron Roberts [Thu, 15 Apr 2010 23:07:09 +0000 (23:07 +0000)]
CSPACE-1494,CSPACE-873: Lists of Acquisitions records, for now, return a list of acquisition sources, along with the acquisition reference number, CSID, and URL. Utility method, etc. now used in AcquisitionDocumentModelHandler to split 'qualified' repeatable field names from values, copied from private code in DocumentUtils, might be made public in a common package elsewhere.
Aron Roberts [Thu, 15 Apr 2010 20:09:07 +0000 (20:09 +0000)]
CSPACE-1494,CSPACE-873: Temporarily stub-out return of acquisitionSource in acquisitions list items, pending a more durable solution to returning one (or more) instances of repeatable field values in minimal profile of list items. Ultimately may return the value of the 'primary' instance of a repeatable field, per Patrick.
Aron Roberts [Thu, 15 Apr 2010 03:47:45 +0000 (03:47 +0000)]
CSPACE-901: Initialize HTTPClient-based clients only within test methods annotated with TestNG's @Test, not at the class level. This issue has led at least once to test failures, not just warnings, and needed to be addressed at this time.
CSPACE-1489
this change is required but may not fix the problem. the web security filter passess through authenticated requests (with or without rememberme). service tests passed. curl asked for password and retrieved accounts successfully too. firefox was still giving 403.
_M services/sdk
M services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml
CSPACE-1301 associate role(s) to permi
CSPACE-1302 dis-associate role(s) from perm
CSPACE-1347 role-perm schema
added permission-role relationship. service is available as a subresource of permissions service (/permissions/{csid}/permroles). supports post, get and delete only. this version of delete deletes all associations for a permission.
test: authz-mgt, all services
requires: ant create_db at the service level
M services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleUtil.java
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleStorageClient.java
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
_M services/authorization-mgt/client
M services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
M services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
A services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
A services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionRoleClient.java
A services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionRoleProxy.java
M services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AbstractAuthorizationTestImpl.java
D services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGenTest.java
A + services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGen.java
M services/authorization/service/src/test/resources/test-data/test-permissions-roles.xml
M services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M services/authorization/jaxb/src/main/resources/users_roles.xsd
M services/authorization/jaxb/src/main/resources/permissions.xsd
M services/authorization/jaxb/src/main/resources/permissions_roles.xsd
M services/authorization/pstore/src/test/resources/META-INF/persistence.xml
_M services/jaxb
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M services/common/src/main/config/services/tenant-bindings.xml
M services/common/pom.xml
M services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M services/client/src/main/java/org/collectionspace/services/client/test/BaseServiceTest.java
CSPACE-1304 create permission
CSPACE-1305 delete permission
CPSACE-1306 get permission
CSPACE-1307 update permission
CSPACE-1309 search permission with resource name only
CSPACE-1311 list permissions
added new service authorization/permissions first checkin. permissions are yet to be plugged in with spring acls.
minor copyright javadoc changes in role and account classes
jpastorageclient now supports delete (with parent deleting children) and deletewhere (a shallow delete with where clause)
test: mvn test at the service level, added PermissionServiceTest in authorization-mgt/client
M services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
_M services/authorization-mgt/service
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleJpaFilter.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleStorageConstants.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleValidatorHandler.java
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionDocumentHandler.java
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionJpaFilter.java
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionStorageConstants.java
A services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionValidatorHandler.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
M services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
A services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
A services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionClient.java
A services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionProxy.java
M services/authorization/jaxb/src/main/resources/roles.xsd
A services/authorization/jaxb/src/main/resources/permissions_list.xsd
M services/authorization/jaxb/src/main/resources/permissions.xsd
M services/authorization/jaxb/src/main/resources/roles_list.xsd
M services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M services/common/src/main/config/services/tenant-bindings.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/AccountJpaFilter.java
D services/account/client/src/test/java/org/collectionspace/services/client
CSPACE-1402 removed double b64 encoding in test and double b64 decoding from the service
test: account tests
M account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
Aron Roberts [Mon, 5 Apr 2010 23:39:40 +0000 (23:39 +0000)]
CSPACE-1286: Adding additional directories in the loanin module, which were inadvertently omitted in previous commits. These directories are mostly or entirely empty, save for SVN-related and/or IDE-related files (which are not being committed in this check-in), but nonetheless match the standard Maven project directory hierarchy in other modules.
Aron Roberts [Mon, 5 Apr 2010 23:32:17 +0000 (23:32 +0000)]
CSPACE-1395,CSPACE-1094: Moved Sanjay's validation-related test code in CollectionObjectServiceTest from malformedXml-related test methods to new, validation-related test methods. Reverted malformedXml-related test methods to stubs.
CSPACE-1397 roles is tied to a tenant. tenant id is added to role at create time.
test: authz-mgt
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleValidatorHandler.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
M services/authorization/jaxb/src/main/resources/roles.xsd
M services/authorization/pstore/src/main/resources/db/mysql/authorization_index.sql
M services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
M services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
CSPACE-1293 create a role
CSPACE-1294 delete a role
CSPACE-1295 get a role
CSPACE-1296 update a role
CSPACE-1310 list roles
CSPACE-1308 search for a role (using role name only)
Refactored roles.xsd into roles.xsd and roles_list.xsd to accommodate XmlRootElement per xsd
Added authorization-mgt service for roles and permissions management. This checkin adds only the RoleResource and corresponding tests.
test: authorization-mgt test, mvn test at the service level
require: ant create_db for the authorization service
M trunk/services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M trunk/services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
M trunk/services/JaxRsServiceProvider/pom.xml
A trunk/services/authorization-mgt
A trunk/services/authorization-mgt/service
A trunk/services/authorization-mgt/service/src
A trunk/services/authorization-mgt/service/src/test
A trunk/services/authorization-mgt/service/src/test/java
A trunk/services/authorization-mgt/service/src/test/resources
A trunk/services/authorization-mgt/service/src/main
A trunk/services/authorization-mgt/service/src/main/java
A trunk/services/authorization-mgt/service/src/main/java/org
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleJpaFilter.java
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleStorageConstants.java
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleValidatorHandler.java
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
A trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
A trunk/services/authorization-mgt/service/src/main/javadoc
A trunk/services/authorization-mgt/service/src/main/javadoc/org
A trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace
A trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services
A trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services/authorization
A trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services/authorization/storage
A trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services/authorization/storage/package.html
A trunk/services/authorization-mgt/service/src/main/javadoc/org/collectionspace/services/authorization/package.html
A trunk/services/authorization-mgt/service/src/main/javadoc/overview.html
A trunk/services/authorization-mgt/service/src/main/resources
A trunk/services/authorization-mgt/service/pom.xml
A trunk/services/authorization-mgt/service/build.xml
A trunk/services/authorization-mgt/pom.xml
A trunk/services/authorization-mgt/build.xml
A trunk/services/authorization-mgt/client
A trunk/services/authorization-mgt/client/src
A trunk/services/authorization-mgt/client/src/test
A trunk/services/authorization-mgt/client/src/test/java
A trunk/services/authorization-mgt/client/src/test/java/org
A trunk/services/authorization-mgt/client/src/test/java/org/collectionspace
A trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services
A trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization
A trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client
A trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test
A trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
A trunk/services/authorization-mgt/client/src/test/resources
A trunk/services/authorization-mgt/client/src/test/resources/log4j.properties
A trunk/services/authorization-mgt/client/src/main
A trunk/services/authorization-mgt/client/src/main/java
A trunk/services/authorization-mgt/client/src/main/java/org
A trunk/services/authorization-mgt/client/src/main/java/org/collectionspace
A trunk/services/authorization-mgt/client/src/main/java/org/collectionspace/services
A trunk/services/authorization-mgt/client/src/main/java/org/collectionspace/services/client
A trunk/services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/RoleClient.java
A trunk/services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/RoleProxy.java
A trunk/services/authorization-mgt/client/src/main/javadoc
A trunk/services/authorization-mgt/client/src/main/javadoc/org
A trunk/services/authorization-mgt/client/src/main/javadoc/org/collectionspace
A trunk/services/authorization-mgt/client/src/main/javadoc/org/collectionspace/services
A trunk/services/authorization-mgt/client/src/main/javadoc/org/collectionspace/services/client
A trunk/services/authorization-mgt/client/src/main/javadoc/org/collectionspace/services/client/package.html
A trunk/services/authorization-mgt/client/src/main/javadoc/overview.html
A trunk/services/authorization-mgt/client/src/main/resources
A trunk/services/authorization-mgt/client/pom.xml
A trunk/services/authorization-mgt/client/build.xml
M trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGenTest.java
M trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M trunk/services/authorization/service/pom.xml
M trunk/services/authorization/jaxb/src/main/resources/roles.xsd
A trunk/services/authorization/jaxb/src/main/resources/roles_list.xsd
M trunk/services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
M trunk/services/authentication/service/pom.xml
M trunk/services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M trunk/services/common/src/main/config/services/tenant-bindings.xml
D trunk/services/common/src/main/svn-commit.tmp~
D trunk/services/account/client/src/test/java/org/collectionspace/services/client/test
NOJIRA - consolidated plugins into pluginsmanagement of trunk/pom.xml and trunk/services/pom.xml. Shrinked pom.xml of jaxb modules of all the services. No need to give plugin details for commonly used plugins by a cs service.
This change was triggerd by a CNFE for com.sun.xml.bind class during the build. JAXB related dependencies were conflicting between plugins and other places.
test: mvn test at the service layer
CSPACE-863 fixed change introduced by http://fisheye.collectionspace.org/changelog/collectionspace?cs=1738. Create new filter only if not available in the context.
test: account service test passes
M java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
Patrick Schmitz [Fri, 2 Apr 2010 05:34:52 +0000 (05:34 +0000)]
CSPACE-863 Added support in the configuration for default values in the service config, that cascades to set default values in the tenants, and into each service. Added pageSize default to verify this, and adjusted the creation of documentFilter instances to pick up this default. The various resource classes must still be changed to use getFiltered in place of getAll.
Sanjay Dalal [Wed, 31 Mar 2010 23:27:43 +0000 (23:27 +0000)]
CSPACE-1050 uses ignore error option (like the account service) to continue creating tables in case fresh database is created
test: ant create_db on a fresh database from authz service
Sanjay Dalal [Wed, 31 Mar 2010 22:48:16 +0000 (22:48 +0000)]
CSPACE-1345 added csid to role schema as rolename is not unique in cspace
CSPACE-1347 replaced rolename with roleId in association relationships with permission and users, changed query in login-config.xml to reflect this change
test: mvn test at the services level
!!!requires ant clean undeploy deploy at least at services/authentication level as login-config.xml has changed
!!!requires ant create_db at authorization service level
M services/authentication/service/src/main/resources/config/jboss-login-config.xml
M services/authentication/service/src/main/resources/config/login-config.xml
_M services/loanin/service
_M services/loanin/jaxb
_M services/loanin/3rdparty/nuxeo-platform-cs-loanin
_M services/loanin/client
_M services/account
M services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGenTest.java
M services/authorization/service/src/test/resources/test-data/test-permissions-roles.xml
M services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M services/authorization/jaxb/src/main/resources/roles.xsd
M services/authorization/jaxb/src/main/resources/users_roles.xsd
M services/authorization/jaxb/src/main/resources/permissions_roles.xsd
M services/authorization/pstore/src/main/resources/db/mysql/authorization_index.sql
M services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
M services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
Sanjay Dalal [Wed, 31 Mar 2010 22:43:35 +0000 (22:43 +0000)]
CSPACE-1050 disabled construction of uriresource as HTTP HEAD and OPTIONS are not yet mapped to CSpaceActions that could be permitted
mvn tests at services level including client tests
M common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java
Sanjay Dalal [Tue, 30 Mar 2010 22:54:34 +0000 (22:54 +0000)]
CSPACE-1192 added package.htmls and overview.html for the common services
test: mvn javadoc:aggregate
A common/src/main/javadoc
A common/src/main/javadoc/org
A common/src/main/javadoc/org/collectionspace
A common/src/main/javadoc/org/collectionspace/services
A common/src/main/javadoc/org/collectionspace/services/common
A common/src/main/javadoc/org/collectionspace/services/common/repository
A common/src/main/javadoc/org/collectionspace/services/common/repository/package.html
A common/src/main/javadoc/org/collectionspace/services/common/context
A common/src/main/javadoc/org/collectionspace/services/common/context/package.html
A common/src/main/javadoc/org/collectionspace/services/common/storage
A common/src/main/javadoc/org/collectionspace/services/common/storage/jpa
A common/src/main/javadoc/org/collectionspace/services/common/storage/jpa/package.html
A common/src/main/javadoc/org/collectionspace/services/common/storage/package.html
A common/src/main/javadoc/org/collectionspace/services/common/query
A common/src/main/javadoc/org/collectionspace/services/common/query/nuxeo
A common/src/main/javadoc/org/collectionspace/services/common/query/nuxeo/package.html
A common/src/main/javadoc/org/collectionspace/services/common/query/package.html
A common/src/main/javadoc/org/collectionspace/services/common/config
A common/src/main/javadoc/org/collectionspace/services/common/config/package.html
A common/src/main/javadoc/org/collectionspace/services/common/security
A common/src/main/javadoc/org/collectionspace/services/common/security/package.html
A common/src/main/javadoc/org/collectionspace/services/common/vocabulary
A common/src/main/javadoc/org/collectionspace/services/common/vocabulary/package.html
A common/src/main/javadoc/org/collectionspace/services/common/relation
A common/src/main/javadoc/org/collectionspace/services/common/relation/nuxeo
A common/src/main/javadoc/org/collectionspace/services/common/relation/nuxeo/package.html
A common/src/main/javadoc/org/collectionspace/services/common/relation/package.html
A common/src/main/javadoc/org/collectionspace/services/common/document
A common/src/main/javadoc/org/collectionspace/services/common/document/package.html
A common/src/main/javadoc/org/collectionspace/services/common/package.html
A common/src/main/javadoc/org/collectionspace/services/nuxeo
A common/src/main/javadoc/org/collectionspace/services/nuxeo/util
A common/src/main/javadoc/org/collectionspace/services/nuxeo/util/package.html
A common/src/main/javadoc/org/collectionspace/services/nuxeo/client
A common/src/main/javadoc/org/collectionspace/services/nuxeo/client/java
A common/src/main/javadoc/org/collectionspace/services/nuxeo/client/java/package.html
A common/src/main/javadoc/org/collectionspace/services/nuxeo/client/package.html
A common/src/main/javadoc/org/collectionspace/services/nuxeo/package.html
A common/src/main/javadoc/overview.html
Sanjay Dalal [Tue, 30 Mar 2010 21:20:35 +0000 (21:20 +0000)]
CSPACE-1195 added package.htmls and overview.htmls for javadoc for the authorization service
test: mvn javadoc:aggregate
A authorization/service/src/test/javadoc
A authorization/service/src/test/javadoc/org
A authorization/service/src/test/javadoc/org/collectionspace
A authorization/service/src/test/javadoc/org/collectionspace/services
A authorization/service/src/test/javadoc/org/collectionspace/services/authorization
A authorization/service/src/test/javadoc/org/collectionspace/services/authorization/test
A authorization/service/src/test/javadoc/org/collectionspace/services/authorization/test/package.html
A authorization/service/src/main/javadoc
A authorization/service/src/main/javadoc/org
A authorization/service/src/main/javadoc/org/collectionspace
A authorization/service/src/main/javadoc/org/collectionspace/services
A authorization/service/src/main/javadoc/org/collectionspace/services/authorization
A authorization/service/src/main/javadoc/org/collectionspace/services/authorization/spring
A authorization/service/src/main/javadoc/org/collectionspace/services/authorization/spring/package.html
A authorization/service/src/main/javadoc/org/collectionspace/services/authorization/spi
A authorization/service/src/main/javadoc/org/collectionspace/services/authorization/spi/package.html
A authorization/service/src/main/javadoc/org/collectionspace/services/authorization/package.html
A authorization/service/src/main/javadoc/overview.html
Sanjay Dalal [Tue, 30 Mar 2010 21:19:09 +0000 (21:19 +0000)]
CSPACE-1193 added package.htmls and overview.htmls for javadoc for authentication service
test: mvn javadoc:aggregate
A authentication/service/src/main/javadoc
A authentication/service/src/main/javadoc/org
A authentication/service/src/main/javadoc/org/collectionspace
A authentication/service/src/main/javadoc/org/collectionspace/services
A authentication/service/src/main/javadoc/org/collectionspace/services/authentication
A authentication/service/src/main/javadoc/org/collectionspace/services/authentication/realm
A authentication/service/src/main/javadoc/org/collectionspace/services/authentication/realm/package.html
A authentication/service/src/main/javadoc/org/collectionspace/services/authentication/spring
A authentication/service/src/main/javadoc/org/collectionspace/services/authentication/spring/package.html
A authentication/service/src/main/javadoc/org/collectionspace/services/authentication/package.html
A authentication/service/src/main/javadoc/org/collectionspace/services/authentication/jaas
A authentication/service/src/main/javadoc/org/collectionspace/services/authentication/jaas/package.html
A authentication/service/src/main/javadoc/overview.html
Sanjay Dalal [Tue, 30 Mar 2010 21:17:55 +0000 (21:17 +0000)]
CSPACE-1194 added package.htmls and overview.htmls for account service
A service/src/main/javadoc
A service/src/main/javadoc/org
A service/src/main/javadoc/org/collectionspace
A service/src/main/javadoc/org/collectionspace/services
A service/src/main/javadoc/org/collectionspace/services/account
A service/src/main/javadoc/org/collectionspace/services/account/storage
A service/src/main/javadoc/org/collectionspace/services/account/storage/package.html
A service/src/main/javadoc/org/collectionspace/services/account/package.html
A service/src/main/javadoc/overview.html
A client/src/main/javadoc
A client/src/main/javadoc/org
A client/src/main/javadoc/org/collectionspace
A client/src/main/javadoc/org/collectionspace/services
A client/src/main/javadoc/org/collectionspace/services/client
A client/src/main/javadoc/org/collectionspace/services/client/package.html
A client/src/main/javadoc/overview.html
Sanjay Dalal [Tue, 30 Mar 2010 00:15:29 +0000 (00:15 +0000)]
CSPACE-1345 refactored role into roles.xsd, added roles_list and role
CSPACE-1346 refactored permission-config to permissions.xsd, removed parent-child relationship between perm and role...made it association, permission-action has parent child rel added id, etc., added list
CSPACE-1347 refactored users_roles into users_roles.xsd, added list
cleaned up persistence.xml, removed list classes if not used in persistence
test: authz gen_ddl, create_db, gentest, seedtest, mvn test at the service level
M services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
M services/account/pstore/src/test/resources/META-INF/persistence.xml
_M services/authorization
M services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
A services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AbstractAuthorizationTestImpl.java
A services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGenTest.java
M services/authorization/service/src/test/resources/test-data/test-permissions.xml
A services/authorization/service/src/test/resources/test-data/test-permissions-roles.xml
M services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
D services/authorization/jaxb/src/test/resources/META-INF/persistence.xml
D services/authorization/jaxb/src/test/resources/hibernate.cfg.xml
A + services/authorization/jaxb/src/main/resources/roles.xsd
A services/authorization/jaxb/src/main/resources/users_roles.xsd
D services/authorization/jaxb/src/main/resources/authorization_provider.xsd
A services/authorization/jaxb/src/main/resources/permissions.xsd
A services/authorization/jaxb/src/main/resources/permissions_roles.xsd
M services/authorization/pstore/src/test/resources/META-INF/persistence.xml
M services/authorization/pstore/src/main/resources/db/mysql/authorization_index.sql
M services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
Aron Roberts [Mon, 29 Mar 2010 20:12:19 +0000 (20:12 +0000)]
CSPACE-1286: Completed the Loan In (aka Loans In) service. Added authority references client test back to the module and completed that test class, filled out Nuxeo webapp layout, added convenience JAXB constants, and added additional fields to sample records created in main client test.
Aron Roberts [Thu, 25 Mar 2010 04:20:55 +0000 (04:20 +0000)]
CSPACE-1286: Initial, somewhat minimal version of Loans In service. (The service's module is named 'loanin' for consistency with other system layers.) See the relevant JIRA for tasks remaining. Service is fully functional, but requires completion and adding back of the LoaninAuthRefsTest client test, initially omitted. Would also benefit by using a larger set of fields in example records in client tests, adding convenience JAXB constants and completing the Nuxeo layout for webapp record editing.
Sanjay Dalal [Wed, 24 Mar 2010 23:46:37 +0000 (23:46 +0000)]
CSPACE-1050 merged authz prototype from sanjay's sandbox to trunk. requires the following:
ant clean undeploy deploy at the trunk level
may require nuking org/collectionspace, org/jvnet, com/sun packages from local maven repository before building
ant create_db at the trunk level
test: mvn test at the trunk level
note: authorization is disabled at runtime as permissions database is not yet populated with permissions for the test user (role admin)
_M trunk
A + trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/AuthN.java
A + trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringSecurityContextUtils.java
M trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceUserDetailsService.java
M trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/spring/CSpaceAuthorityGranter.java
M trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/CSpaceTenant.java
A + trunk/services/authentication/service/src/main/java/org/collectionspace/authentication/SecurityContextUtils.java
_M trunk/services/authentication/service/src/main/resources/config/web-security-config.xml
M trunk/services/authentication/service/pom.xml
M trunk/services/authentication/jaxb/src/test/resources/META-INF/persistence.xml
D trunk/services/authentication/jaxb/src/test/resources/log4j.properties
M trunk/services/authentication/jaxb/src/main/resources/authentication_identity_provider.xsd
M trunk/services/authentication/pom.xml
M trunk/services/authentication/pstore/src/test/resources/META-INF/persistence.xml
D trunk/services/authentication/pstore/src/test/resources/log4j.properties
M trunk/services/authentication/pstore/src/main/resources/db/mysql/authentication_index.sql
M trunk/services/authentication/pstore/src/main/resources/db/mysql/test_authentication.sql
M trunk/services/authentication/pstore/src/main/resources/db/mysql/authentication.sql
M trunk/services/authentication/pstore/pom.xml
_M trunk/services/collectionobject/service/src
_M trunk/services/collectionobject/service/pom.xml
_M trunk/services/collectionobject/jaxb/src/main/resources/collectionobjects_common.xsd
_M trunk/services/JaxRsServiceProvider
M trunk/services/JaxRsServiceProvider/nb-configuration.xml
MM trunk/services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M trunk/services/JaxRsServiceProvider/src/main/resources/META-INF/persistence.xml
A + trunk/services/JaxRsServiceProvider/src/main/resources/urls.properties
M trunk/services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
M trunk/services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml
M trunk/services/JaxRsServiceProvider/pom.xml
A + trunk/services/common/lib/spring/aopalliance-1.0.jar
A + trunk/services/common/lib/spring/org.springframework.transaction-3.0.0.RELEASE.jar
D trunk/services/common/lib/spring/spring-security-core-3.0.1.RELEASE.jar
A + trunk/services/common/lib/spring/spring-security-core-3.0.2.RELEASE.jar
D trunk/services/common/lib/spring/spring-security-acl-3.0.1.RELEASE.jar
A + trunk/services/common/lib/spring/spring-security-acl-3.0.2.RELEASE.jar
A + trunk/services/common/lib/spring/ehcache-1.6.2.jar
A + trunk/services/common/lib/spring/org.springframework.context.support-3.0.0.BUILD-20100208195804.jar
D trunk/services/common/lib/spring/spring-security-config-3.0.1.RELEASE.jar
A + trunk/services/common/lib/spring/spring-security-config-3.0.2.RELEASE.jar
D trunk/services/common/lib/spring/spring-security-web-3.0.1.RELEASE.jar
A + trunk/services/common/lib/spring/spring-security-web-3.0.2.RELEASE.jar
M trunk/services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContextImpl.java
A + trunk/services/common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java
_M trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java
_M trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentWrapper.java
_M trunk/services/common/src/main/java/org/collectionspace/services/common/document/AbstractDocumentHandlerImpl.java
_M trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentFilter.java
_M trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentNotFoundException.java
_M trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentHandler.java
_M trunk/services/common/src/main/java/org/collectionspace/services/common/document/DocumentException.java
_M trunk/services/common/src/main/java/org/collectionspace/services/common/document/BadRequestException.java
M trunk/services/common/src/main/config/log/jboss-log4j-release.xml
M trunk/services/common/src/main/config/log/jboss-log4j.xml
_M trunk/services/common/src/main/resources/service-config.xsd
M trunk/services/common/pom.xml
M trunk/services/common/build.xml
M trunk/services/pom.xml
_M trunk/services/id
_M trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/StringIDGeneratorPartTest.java
_M trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/AlphabeticIDGeneratorPartTest.java
_M trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/SettableIDGeneratorTest.java
_M trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/YearIDGeneratorPartTest.java
_M trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/NumericIDGeneratorPartTest.java
_M trunk/services/id/service/src/test/java/org/collectionspace/services/id/test/BaseIDGeneratorTest.java
_M trunk/services/id/service/src/main/java/org/collectionspace/services/id/AlphabeticIDGeneratorPart.java
_M trunk/services/id/service/src/main/java/org/collectionspace/services/id/YearIDGeneratorPart.java
_M trunk/services/id/service/src/main/java/org/collectionspace/services/id/NumericIDGeneratorPart.java
_M trunk/services/id/service/src/main/java/org/collectionspace/services/id/StringIDGeneratorPart.java
_M trunk/services/id/service/src/main/java/org/collectionspace/services/id/IDGeneratorPart.java
_M trunk/services/id/service/src/main/java/org/collectionspace/services/id/BaseIDGenerator.java
M trunk/services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
M trunk/services/account/service/pom.xml
M trunk/services/build.xml
A + trunk/services/authorization
AM + trunk/services/authorization/service
A + trunk/services/authorization/service/src
A + trunk/services/authorization/service/src/test
A + trunk/services/authorization/service/src/test/java
A + trunk/services/authorization/service/src/test/java/org
A + trunk/services/authorization/service/src/test/java/org/collectionspace
A + trunk/services/authorization/service/src/test/java/org/collectionspace/services
A + trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization
A + trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization/test
A + trunk/services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
A + trunk/services/authorization/service/src/test/resources
A + trunk/services/authorization/service/src/test/resources/applicationContext-authorization-test.xml
A + trunk/services/authorization/service/src/test/resources/test-data
A + trunk/services/authorization/service/src/test/resources/test-data/test-permissions.xml
A + trunk/services/authorization/service/src/test/resources/log4j.properties
A + trunk/services/authorization/service/src/main
A + trunk/services/authorization/service/src/main/java
A + trunk/services/authorization/service/src/main/java/org
A + trunk/services/authorization/service/src/main/java/org/collectionspace
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/CSpaceSecurityMetadataSource.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionEvaluator.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResource.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResourceImpl.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/URIResourceImpl.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionManager.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpaceAuthorizationProvider.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionEvaluator.java
A + trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceAction.java
A + trunk/services/authorization/service/src/main/resources
A + trunk/services/authorization/service/src/main/resources/applicationContext-authorization.xml
A + trunk/services/authorization/service/pom.xml
A + trunk/services/authorization/service/build.xml
AM + trunk/services/authorization/jaxb
A + trunk/services/authorization/jaxb/.classpath
A + trunk/services/authorization/jaxb/.project
A + trunk/services/authorization/jaxb/src
A + trunk/services/authorization/jaxb/src/test
A + trunk/services/authorization/jaxb/src/test/resources
A + trunk/services/authorization/jaxb/src/test/resources/META-INF
A + trunk/services/authorization/jaxb/src/test/resources/META-INF/persistence.xml
A + trunk/services/authorization/jaxb/src/test/resources/log4j.properties
A + trunk/services/authorization/jaxb/src/test/resources/hibernate.cfg.xml
A + trunk/services/authorization/jaxb/src/main
A + trunk/services/authorization/jaxb/src/main/resources
A + trunk/services/authorization/jaxb/src/main/resources/authorization_provider.xsd
A + trunk/services/authorization/jaxb/pom.xml
A + trunk/services/authorization/jaxb/.settings
A + trunk/services/authorization/jaxb/.settings/org.eclipse.jdt.core.prefs
A + trunk/services/authorization/jaxb/.settings/org.maven.ide.eclipse.prefs
A + trunk/services/authorization/pom.xml
AM + trunk/services/authorization/pstore
A + trunk/services/authorization/pstore/.classpath
A + trunk/services/authorization/pstore/.project
A + trunk/services/authorization/pstore/src
A + trunk/services/authorization/pstore/src/test
A + trunk/services/authorization/pstore/src/test/resources
A + trunk/services/authorization/pstore/src/test/resources/META-INF
A + trunk/services/authorization/pstore/src/test/resources/META-INF/persistence.xml
A + trunk/services/authorization/pstore/src/test/resources/hibernate.cfg.xml
A + trunk/services/authorization/pstore/src/main
A + trunk/services/authorization/pstore/src/main/resources
A + trunk/services/authorization/pstore/src/main/resources/db
A + trunk/services/authorization/pstore/src/main/resources/db/mysql
A + trunk/services/authorization/pstore/src/main/resources/db/mysql/authorization_index.sql
A + trunk/services/authorization/pstore/src/main/resources/db/mysql/acl.sql
A + trunk/services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
A + trunk/services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
A + trunk/services/authorization/pstore/pom.xml
A + trunk/services/authorization/pstore/build.xml
A + trunk/services/authorization/build.xml
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/test/ServiceTest.java
_M trunk/services/client/src/main/java/org/collectionspace/services/client/AbstractServiceClientImpl.java
_M trunk/services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClient.java
_M trunk/src/site
_M trunk/docs/allteam-061409-toronto
_M trunk/docs/allteam-061409-toronto/Toronto_BehindTheScenes.pptx
_M trunk/HelloWorld
_M trunk/HelloWorld/HelloWorldJaxb/src/main/resources/hello.xsd
_M trunk/HelloWorld/HelloWorldNuxeoService
_M trunk/HelloWorld/HelloWorldNuxeoService/src/main/java/org/collectionspace/hello/services/HelloworldNuxeoApplication.java
Aron Roberts [Tue, 23 Mar 2010 20:46:51 +0000 (20:46 +0000)]
CSPACE-1248: Added test to demonstrate bug in which records containing a child repeatable field, with its value set to null, can be created, but subsequent attempts at retrieving these records yield errors.
Aron Roberts [Mon, 22 Mar 2010 20:36:37 +0000 (20:36 +0000)]
CSPACE-1248, CSPACE-873: Remove outdated acquisitionSource field from Nuxeo schema for Acquisition records. This scalar field was incorrectly left in that schema when acquisitionSource was made repeatable in r1307.
Richard Millet [Fri, 12 Mar 2010 22:45:13 +0000 (22:45 +0000)]
CSPACE-1084: Deprecating "/search" from CO, Intake, Acquisition and replacing with "?kw" query parameter. For example, instead of "/intakes/search?keywords=rich" use "/intakes?kw=rich"
Richard Millet [Fri, 12 Mar 2010 20:50:29 +0000 (20:50 +0000)]
CSPACE-1159: Our Maven artifacts now implicitly inherit their <version> value from their parent pom file. Our top level pom on the trunk is currently set to "0.6-SNAPSHOT." Also, all CS artifacts that depend on other CS artifacts now depend on the current pom version (the pom variable ${project.version}) of those artifacts.
Patrick Schmitz [Wed, 10 Mar 2010 01:07:43 +0000 (01:07 +0000)]
CSPACE-1079. Work towards supporting search for documents by a field value. Some refactoring of the ServiceBinding and TenantBinding support, and some new utility methods.
Patrick Schmitz [Wed, 10 Mar 2010 01:01:13 +0000 (01:01 +0000)]
CSPACE-1079. Work towards supporting search for documents by a field value. Some refactoring of the ServiceBinding and TenantBinding support, and some new utility methods.
Patrick Schmitz [Wed, 10 Mar 2010 00:33:25 +0000 (00:33 +0000)]
CSPACE-590. Added support to get item list for a named OrgAuthority, based upon PersonAuthority work. Built using some common methods in the repository/RepositoryClient.
Richard Millet [Mon, 8 Mar 2010 22:46:55 +0000 (22:46 +0000)]
CSPACE-1082: Created a Maven profile named "samples" to build the "sample" and "import" modules. Use Maven's "-P" option to build these modules. For example, mvn install -Psamples
Sanjay Dalal [Wed, 3 Mar 2010 22:56:41 +0000 (22:56 +0000)]
CSPACE-1034
!!! requires ant clean undeploy deploy at the trunk level !!!
removed log4j.properties from cspace-services.war
added log4j repositoryselector to avoid jboss jamming cspace war's log st. on top of its log st.
added jboss-log4j.xml to build (common/src/main/config/log), copied to jboss at deploy time, only org.collectionspace is in DEBUG cateogry, cspace/log/collectionspace.log contains cs log
moved bindnigs to common/src/main/config/services
removed log4j.jar from nuxeo-client/lib and from cspace-services.war
removed spring's log4jconfiglistener from web.xml that was shutting down logmanager
ant clean undeploy deploy at trunk level
test mvn test at trunk level
D trunk/services/JaxRsServiceProvider/src/main/resources/log4j.properties
M trunk/services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
M trunk/services/JaxRsServiceProvider/pom.xml
A trunk/services/common/src/main/java/org/collectionspace/services/common/log
A trunk/services/common/src/main/java/org/collectionspace/services/common/log/CollectionSpaceLog4jRepositorySelector.java
M trunk/services/common/src/main/java/org/collectionspace/services/common/CollectionSpaceServiceContextListener.java
A trunk/services/common/src/main/config/log
A trunk/services/common/src/main/config/log/jboss-log4j.xml
D trunk/services/common/src/main/config/service-config.xml
D trunk/services/common/src/main/config/tenant-bindings.xml
A trunk/services/common/src/main/config/services
A + trunk/services/common/src/main/config/services/service-config.xml
A + trunk/services/common/src/main/config/services/tenant-bindings.xml
M trunk/services/common/build.xml
D trunk/3rdparty/nuxeo/nuxeo-client/lib/log4j.jar
Richard Millet [Wed, 3 Mar 2010 18:49:06 +0000 (18:49 +0000)]
NOJIRA: Change the update policy on the Nuxeo snapshot repositories to "never" check for updates. This is assuming that we do not want updated artifacts from Nuxeo.
Richard Millet [Tue, 2 Mar 2010 22:34:50 +0000 (22:34 +0000)]
CSPACE-1088: Reverting SVN 1506 change (conditional runtime check for property before running performanceTests). Instead, use Maven profile "perftests". For example, mvn test -Pperftests.
Richard Millet [Tue, 2 Mar 2010 22:20:07 +0000 (22:20 +0000)]
CSPACE-1088: Added a Maven profile to the PerformanceTests module. By default 'mvn test' will now skip the tests inside the PerformanceTests module. Use "-Pperftests" to run the tests.
Sanjay Dalal [Tue, 2 Mar 2010 21:27:53 +0000 (21:27 +0000)]
NOJIRA conditionally enable perf tests (again). test execution prints the verbose command to run the perf tests.
test: perf test without -Dcspace.perf and with -Dcspace.perf
M PerformanceTests/src/test/java/org/collectionspace/services/PerformanceTests/test/PerformanceTest.java
Richard Millet [Tue, 2 Mar 2010 18:44:25 +0000 (18:44 +0000)]
CSPACE-1082: Created a Maven profile named "samples" to build the "sample" and "import" modules. Use Maven's "-P" option to build these modules. For example, mvn install -Psamples
Patrick Schmitz [Tue, 2 Mar 2010 08:42:28 +0000 (08:42 +0000)]
CSPACE-852. Added support in tenant-bindings.xml for authority reference fields in collectionobject and acquisition schemas. Added {csid}/authorityrefs subresource support to CollectionObject and Acquisition.
Refactored the code that was in IntakeDocumentModelHandler (getAuthorityRefs) into RemoteDocumentModelHandlerImpl.
Added tests for both services.
Sanjay Dalal [Tue, 2 Mar 2010 01:34:41 +0000 (01:34 +0000)]
CSPACE-1026 recognizes whitespaces in repeated fields, was already recognizing elsewhere
added tests that read raw xml from a file without jaxb unmarshaller. added utility methods in AbstractServiceTestImpl for the same.
test: collectionobject tests
M services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
A services/collectionobject/client/src/test/resources/test-data/repfield_whitesp3.xml
A services/collectionobject/client/src/test/resources/test-data/repfield_whitesp4.xml
A services/collectionobject/client/src/test/resources/test-data/repfield_whitesp1.xml
A services/collectionobject/client/src/test/resources/test-data/repfield_whitesp2.xml
M services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java
M services/pom.xml
M services/client/src/main/java/org/collectionspace/services/client/test/AbstractServiceTestImpl.java
M services/client/pom.xml
Patrick Schmitz [Tue, 2 Mar 2010 01:27:51 +0000 (01:27 +0000)]
CSPACE-590, CSPACE-852. Added support to get item list for a named PersonAuthority, prototyping basic facility. Built using some common methods in the repository/RepositoryClient. Almost there.
Richard Millet [Tue, 2 Mar 2010 00:52:25 +0000 (00:52 +0000)]
CSPACE-1078: Updated Artifactory repos settings and apparently fixed the problem with Maven making unneeded update checks for the Nuxeo snapshot artifacts. Also added specific versions to some of our dependency declarations.
Patrick Schmitz [Tue, 2 Mar 2010 00:02:05 +0000 (00:02 +0000)]
CSPACE-590, CSPACE-852. Added support to get PersonAuthority by name, prototyping basic facility. Required changes to the StorageClient class-tree. Added tests for same. Still have to work out how to get sub-resources (trickier).
Sanjay Dalal [Mon, 1 Mar 2010 21:19:35 +0000 (21:19 +0000)]
CSPACE-1073 a snapshot of login-config.xml is in authentication/service/src/main/resource/config. With ant deploy, this copied over to $JBOSS_HOME/server/cspace/conf/login-config.xml (after backuping it up to $JBOSS_HOME/server/cspace/conf/login-config.xml.org). Undeploy restores $JBOSS_HOME/server/cspace/conf/login-config.xml with $JBOSS_HOME/server/cspace/conf/login-config.xml.org
A authentication/service/src/main/resources/config/login-config.xml
M authentication/service/build.xml
Patrick Schmitz [Mon, 1 Mar 2010 20:49:51 +0000 (20:49 +0000)]
CSPACE-852. Added support in tenant-bindings.xml and in associated scanner to specify authority reference fields in a schema. Added support for "authorityrefs" sub-resource, that returns a list of references, and some convenient info for them. Added some RefName utilities to pull apart refnames and produce useful pieces for clients and server to deal with.
Currently only working with Intake (must be ported to CollectionObject and Acquisition).
This may benefit from some refactoring once I get the other ports done.
To test this work, refactored the base test (AbstractServiceTestImpl.java) so that it is easier to produce tests that do not focus on CRUD (these an inherit from a new BaseServiceTest class (yes, it could use a better name).
Aron Roberts [Sat, 27 Feb 2010 01:29:38 +0000 (01:29 +0000)]
CSPACE-826: Minor after-completion tweaks to work that added Contacts as a sub-resource of PersonAuthority / Person resources. Added BadRequestException-handling blocks to several places in resource class. Minor changes in client test to align better with client test of closely-related Organization service.
Sanjay Dalal [Thu, 25 Feb 2010 23:04:34 +0000 (23:04 +0000)]
NOJIRA perf tests are disabled by default. use the following CL to run perf tests
mvn -Dcspace.perf=true -DforkMode=none test
ran perf test with and without the perf option
M PerformanceTests/src/test/java/org/collectionspace/services/PerformanceTests/test/PerformanceTest.java
M PerformanceTests/src/test/java/org/collectionspace/services/PerformanceTests/test/CollectionSpacePerformanceTest.java
Aron Roberts [Thu, 25 Feb 2010 22:22:30 +0000 (22:22 +0000)]
CSPACE-1066,CSPACE-1067: Intake schema in services layer changed to conform to Intake schema on the project wiki. Eleven (11) Object Collecting Information Group fields have been removed. Also renamed three fields in the Intake schema for consistency with Service schema capitalization conventions: lowercase initial letter and interCaps. Due to changes in Nuxeo document type, will require running 'ant deploy' and a two-server restart.
Aron Roberts [Thu, 25 Feb 2010 04:23:09 +0000 (04:23 +0000)]
CSPACE-1063: Created 'Item Status' vocabulary with values indicating status of items, or terms, in Vocabularies, PersonAuthorities, and OrgAuthorities.
Aron Roberts [Thu, 25 Feb 2010 03:08:11 +0000 (03:08 +0000)]
CSPACE-1009: Conformed Acqusitions schema in services layer to 'Limited for 0.5' schema on the wiki. Changes Nuxeo document type and requires an 'ant deploy'.
Aron Roberts [Wed, 24 Feb 2010 21:31:24 +0000 (21:31 +0000)]
CSPACE-1055,CSPACE-1056: Conformed Organization schema in services layer to 'Limited for 0.5' schema on the wiki. Added group, subBody, status fields; renamed description field to history, per Megan. Changes Nuxeo document type and requires an 'ant deploy'.
Sanjay Dalal [Tue, 23 Feb 2010 22:43:13 +0000 (22:43 +0000)]
NOJIRA - fixed deploy/undeploy tasks of account and authentication services
D trunk/services/authentication/pstore/src/main/resources/db/mysql/test_authn.sql
A + trunk/services/authentication/pstore/src/main/resources/db/mysql/test_authentication.sql
M trunk/services/authentication/pstore/build.xml
M trunk/services/account/pstore/build.xml
Aron Roberts [Tue, 23 Feb 2010 21:32:32 +0000 (21:32 +0000)]
CSPACE-826: Declaring public access to updateContact, deleteContact methods in PersonAuthorityResource resolved long-standing "Could not find resource for relative ... of full path" error when accessing those operations. Props to Patrick's sharp eyes!
Sanjay Dalal [Tue, 23 Feb 2010 21:22:07 +0000 (21:22 +0000)]
CSPACE-1032 anonymous access is disabled. Developers need to change $JBOSS_HOME/server/cspace/conf/login-config.xml to add the CSpace JAAS LoginModule from /services/authentication/service/src/main/resources/config/jboss-login-config.xml. See wiki/email for more details. Service client properties are changed to use auth mode by default so that mvn test could still be used.
test: mvn test at service layer
M services/JaxRsServiceProvider/src/main/resources/log4j.properties
M services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml
M services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M services/security/client/src/test/java/org/collectionspace/services/authentication/client/test/AuthenticationServiceTest.java
M services/client/src/test/java/org/collectionspace/services/client/test/ServiceLayerTest.java
M services/client/src/main/resources/collectionspace-client.properties
Aron Roberts [Tue, 23 Feb 2010 05:34:53 +0000 (05:34 +0000)]
CSPACE-1043: Contact schema changed to conform to latest 'Limited for Release 0.4 and 0.5' Contact Information Schema on the project wiki, plus a Notes field requested for PAHMA.