CSPACE-1458 partial update for jpa based services (account, role, permission)
refactoring of JpaStorageClient
test: tests for jpa services now do partial updates, all service tests
M 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/PermissionDocumentHandler.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleUtil.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
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/common/src/main/java/org/collectionspace/services/common/context/ServiceContextProperties.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/RemoteServiceContextFactory.java
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaRelationshipStorageClient.java
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M services/common/src/main/java/org/collectionspace/services/common/AbstractCollectionSpaceResourceImpl.java
M services/common/src/main/java/org/collectionspace/services/common/document/DocumentUtils.java
A services/common/src/main/java/org/collectionspace/services/common/document/JaxbUtils.java
M services/account/service/src/main/java/org/collectionspace/services/account/AccountRoleSubResource.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/storage/AccountRoleDocumentHandler.java
M services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
Aron Roberts [Mon, 26 Apr 2010 18:56:16 +0000 (18:56 +0000)]
CSPACE-1208,CSPACE-1209: Client tests of services once again fully clean up temporary records created during testing. Following Patrick's lead in PersonAuthRefDocsTest, all cleanUp() methods in client tests now recognize a 'noTestCleanup' system property, which will disable clean up of temporary records for that test run (e.g. 'mvn test -DnoTestCleanup=true -DforkMode=never').
CSPACE-1521 screen name is no more unique. only userid is unique across all realms including csip realm
test: account
M account/jaxb/src/main/resources/accounts_common.xsd
M account/pstore/src/main/resources/db/mysql/account.sql
M account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
Aron Roberts [Fri, 23 Apr 2010 22:10:59 +0000 (22:10 +0000)]
CSPACE-1292: Properly added Loan Out (aka Loans Out) service to undeploy and dist targets in main services Ant buildfile, rectifying two copy and paste errors resulting from the hasty checkin in r1849.
Aron Roberts [Fri, 23 Apr 2010 22:04:42 +0000 (22:04 +0000)]
CSPACE-901,CSPACE-1577: Apply changes made to other client test classes in CSPACE-901 to the recently added PersonAuthRefDocsTest, in the Intake module: declaring and initializing HttpClient-based classes within individual test methods, rather than at the class level.
CSPACE-1596
CSPACE-1595
beefed up error reporting. common messages declared in common/ServiceMessages.java (should eventually go into a message bundle for i18n).
invalid password now returns 400 instead of 500
test: account, permission, role, accrole, permrole
M 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/RoleValidatorHandler.java
M 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/storage/PermissionRoleValidatorHandler.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/RoleResource.java
A services/common/src/main/java/org/collectionspace/services/common/ServiceMessages.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/AccountValidatorHandler.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
CSPACE-1510
CSPACE-1538
added validation for relationship services. validation is performed in handler for create. object id of the relationship is checked during get and delete in the jpa storage client.
on delete of account or permission, related roles are also deleted (not in the same tx though)
test: account, accountrole, permission, permissionrole, all services
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/PermissionRoleValidatorHandler.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
M services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaRelationshipStorageClient.java
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M services/account/service/src/main/java/org/collectionspace/services/account/AccountRoleSubResource.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/AccountResource.java
M services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountRoleServiceTest.java
Aron Roberts [Thu, 22 Apr 2010 20:20:08 +0000 (20:20 +0000)]
CSPACE-1207,CSPACE-1221: Added generators for Loan Out (aka Loans Out) IDs and Location and Movement IDs to the set of ID generators loaded by the ID Service SQL load script.
NOJIRA - refactored JpaStorageClient, extracted out utilities into JpaStorageUtils so that some of those (getEntity) could be used for validation
DocumentFilter#getQueryParams returns empty list of query para values but not null
test: all tests, account and authorization-mgt
M account/service/src/main/java/org/collectionspace/services/account/AccountRoleSubResource.java
M account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M account/service/src/main/java/org/collectionspace/services/account/storage/AccountValidatorHandler.java
M account/service/src/main/java/org/collectionspace/services/account/storage/AccountJpaFilter.java
M authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleJpaFilter.java
M authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionJpaFilter.java
M common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaRelationshipStorageClient.java
A common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M common/src/main/java/org/collectionspace/services/common/document/DocumentFilter.java
NOJIRA PermissionRoleSubResource now uses JpaRelationshipStorageClient (also used by AccountRoleSubResource)
test: authorization-mgt
D authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleStorageClient.java
M authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
Patrick Schmitz [Wed, 21 Apr 2010 06:15:30 +0000 (06:15 +0000)]
CSPACE-1079 Search for documents that refer to a given Person item. Added support for describing which services are objects and which are procedures. Added support to describe which fields hold refnames. Added support to describe which fields should be used to provide summary values in the results. Only supported for PersonAuthority. Still need to add this for OrgAuthority as well.
CSPACE-1303, CSPACE-1359 disassociate role(s) from account
CSPACE-1313, CSPACE-1358 associate role(s) to account
CSPACE-1347 account-role relationship schema
test: account-role service tests, all service tests exception loanout
created xxxFactory for Account, Role and Permission service tests so that these could be used from tests elsewhere
Aron Roberts [Mon, 19 Apr 2010 19:03:37 +0000 (19:03 +0000)]
CSPACE-1533: Remove 'cspace' from the end of the value of the 'url' attribute of the 'sql' task, in the 'create_db' target. On some occasions, such as a first-time install, the cspace database may not exist prior to running init_db.sql, and the presence of that database name in the URL might result in an 'Unknown database' error.
Aron Roberts [Sat, 17 Apr 2010 00:10:02 +0000 (00:10 +0000)]
CSPACE-1292: Initial release of the Loan Out (aka Loans Out) service. Introduces a new Nuxeo document type, and thus requires 'ant deploy' and restarting the two JBoss servers.
M authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
M authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleStorageClient.java
NOJIRA - added debug in base authz service and some exceptions
test: authz service test
M authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
A authorization/service/src/main/java/org/collectionspace/services/authorization/PermissionNotFoundException.java
M authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResource.java
A authorization/service/src/main/java/org/collectionspace/services/authorization/PermissionException.java
M authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResourceImpl.java
M authorization/service/src/main/java/org/collectionspace/services/authorization/URIResourceImpl.java
M authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionManager.java
M authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionEvaluator.java
M authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceAction.java
CSPACE-1518 added metadata to permission role relationship
common authz xml types are in authorization_common.xsd and imported into relationship xsds
test: authorization-mgt, authorization
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
M services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
M services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.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/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
A + services/authorization/jaxb/src/main/resources/accounts_roles.xsd
D services/authorization/jaxb/src/main/resources/users_roles.xsd
A services/authorization/jaxb/src/main/resources/authorization_common.xsd
M services/authorization/jaxb/src/main/resources/permissions_roles.xsd
M services/authorization/pstore/src/main/resources/db/mysql/authorization.sql
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.