]> git.aero2k.de Git - tmp/jakarta-migration.git/log
tmp/jakarta-migration.git
15 years agoCSPACE-1911: In client test framework, 'banner' signifying the start of a test can...
Aron Roberts [Wed, 26 May 2010 04:09:38 +0000 (04:09 +0000)]
CSPACE-1911: In client test framework, 'banner' signifying the start of a test can now be output using a passed-in Logger.  This reflects the caller's class name and line number in the log statement, and can also print the class name in the banner.  Examples of such calls are implemented, for now, only in PersonAuthoritySearchTest, but can be trivially bulk-implemented in all other test classes.

15 years agoCSPACE-1895: Moved 'note' module slightly down, below account (and generally below...
Aron Roberts [Wed, 26 May 2010 03:12:40 +0000 (03:12 +0000)]
CSPACE-1895: Moved 'note' module slightly down, below account (and generally below authZ- and authN-related modules) in main services POM, per discussion with Sanjay.  JIRA issue pertains to Location, but includes Patrick's work on a new, generalizable Note (aka Comment) service, which is the relevant module to this minor change.

15 years agoCSPACE-1895 Working on the repeating sections of Location, and general support for...
Patrick Schmitz [Tue, 25 May 2010 06:56:21 +0000 (06:56 +0000)]
CSPACE-1895 Working on the repeating sections of Location, and general support for this. Fixed a bug with update.

15 years agoCSPACE-1895 Working on the repeating sections of Location, and general support for...
Patrick Schmitz [Tue, 25 May 2010 03:27:49 +0000 (03:27 +0000)]
CSPACE-1895 Working on the repeating sections of Location, and general support for this.

15 years agoCSPACE-1895 Working on the repeating sections of Location, and general support for...
Patrick Schmitz [Tue, 25 May 2010 01:05:22 +0000 (01:05 +0000)]
CSPACE-1895 Working on the repeating sections of Location, and general support for this.

15 years agoCSPACE-809,CSPACE-562,CSPACE-1685: Created standalone class for Search tests, pulling...
Aron Roberts [Tue, 25 May 2010 00:52:36 +0000 (00:52 +0000)]
CSPACE-809,CSPACE-562,CSPACE-1685: Created standalone class for Search tests, pulling partial term matching tests out of PersonServiceTest, to aid in rapidly creating tests for partial term matching (and later, keyword searches), and as an early step in the direction of moving some search test functionality into base classes in the client test framework.

15 years agoCSPACE-1911: Minoir formatting changes to test banner in BaseServiceTest, intended...
Aron Roberts [Tue, 25 May 2010 00:48:02 +0000 (00:48 +0000)]
CSPACE-1911: Minoir formatting changes to test banner in BaseServiceTest, intended to make it easier to spot transitions between tests and to output log statements showing relevant test class and line number.  Trivial change in class comment in AbstractServiceTestImpl.

15 years agoCSPACE-1880: Partial matches in authorities causing sql errors
Richard Millet [Fri, 21 May 2010 23:11:22 +0000 (23:11 +0000)]
CSPACE-1880: Partial matches in authorities causing sql errors

15 years agoNOJIRA: Updating Eclipse settings.
Richard Millet [Fri, 21 May 2010 21:43:22 +0000 (21:43 +0000)]
NOJIRA: Updating Eclipse settings.

15 years agoCSPACE-384: Additional trivial cleanup of base classes in client test framework.
Aron Roberts [Fri, 21 May 2010 21:39:45 +0000 (21:39 +0000)]
CSPACE-384: Additional trivial cleanup of base classes in client test framework.

15 years agoCSPACE-384: Minor cleanup of base classes in client test framework, in preparation...
Aron Roberts [Fri, 21 May 2010 21:26:55 +0000 (21:26 +0000)]
CSPACE-384: Minor cleanup of base classes in client test framework, in preparation for work on issues such as CSPACE-1685, as well as re-familiarization for current work on CSPACE-809.

15 years agoCSPACE-1357, CSPACE-131, CSPACE-133 - Adding basic LocationAuthority support.
Patrick Schmitz [Fri, 21 May 2010 21:25:01 +0000 (21:25 +0000)]
CSPACE-1357, CSPACE-131, CSPACE-133 - Adding basic LocationAuthority support.

15 years agoCSPACE-1244: On updates, treating tags (xml elements) with empty content as blank...
Richard Millet [Fri, 21 May 2010 20:48:41 +0000 (20:48 +0000)]
CSPACE-1244: On updates, treating tags (xml elements) with empty content as blank value that -so blank elements essentially deletes field values from the database records.

15 years agoCSPACE-809,CSPACE-1886: Fixed trivial but embarrassing typo in Lech Walesa's name...
Aron Roberts [Fri, 21 May 2010 04:11:21 +0000 (04:11 +0000)]
CSPACE-809,CSPACE-1886: Fixed trivial but embarrassing typo in Lech Walesa's name, used for partial term matching tests in PersonServiceTest.  Also allows noting that a UTF-8 test of partial matches, as per CSPACE-1886, is present but currently fails and is commented out for now.

15 years agoCSPACE-809,CSPACE-1880: Introduced first partial term matching client tests, in the...
Aron Roberts [Fri, 21 May 2010 04:00:48 +0000 (04:00 +0000)]
CSPACE-809,CSPACE-1880: Introduced first partial term matching client tests, in the Person service. Identified and made a tentative fix for CSPACE-1880 issue, required to make the partial term matching tests succeed, and pending Richard's more knowledgeable and detailed examination of this issue.

15 years agoCSPACE-1153: Setting Person's displayNameComputed flag to false generates Exception...
Richard Millet [Thu, 20 May 2010 05:29:46 +0000 (05:29 +0000)]
CSPACE-1153: Setting Person's displayNameComputed flag to false generates Exception on create.  Also fixed an edge-case bug in pagination.

15 years agoNOJIRA moved ServiceLayerTests to new module common-test that is built after authoriz...
Sanjay Dalal [Wed, 19 May 2010 20:57:19 +0000 (20:57 +0000)]
NOJIRA moved ServiceLayerTests to new module common-test that is built after authorization-mgt module so permissions could be inserted in db before running the service layer tests
test: all service tests

15 years agoCSPACE-1482 refactored authgen and authseed such that these could be invoked from...
Sanjay Dalal [Wed, 19 May 2010 19:26:06 +0000 (19:26 +0000)]
CSPACE-1482 refactored authgen and authseed such that these could be invoked from service runtime as well (at startup time).
test authz import

15 years agoCSPACE-1482 import module with the help of tenant bindings now generates and imports...
Sanjay Dalal [Wed, 19 May 2010 18:17:34 +0000 (18:17 +0000)]
CSPACE-1482 import module with the help of tenant bindings now generates and imports default permissions for all the services for all the tenants for ROLE_ADMINISTRATOR

15 years agoCSPACE-1081: Relation list should probably include relationship type
Richard Millet [Wed, 19 May 2010 07:37:18 +0000 (07:37 +0000)]
CSPACE-1081: Relation list should probably include relationship type
CSPACE-1846: Relation Service needs to paginate list results.
CSPACE-602: Update Relations service/manager to use Nuxeo queries instead of "get all" and filter with Java code

15 years agoNOJIRA: Removing unneeded Eclipse settings.
Richard Millet [Tue, 18 May 2010 16:15:54 +0000 (16:15 +0000)]
NOJIRA: Removing unneeded Eclipse settings.

15 years agoCSPACE-1286: Setting SVN 'Date' and 'Revision' keyword properties on .java and .xsd...
Aron Roberts [Tue, 18 May 2010 01:27:47 +0000 (01:27 +0000)]
CSPACE-1286: Setting SVN 'Date' and 'Revision' keyword properties on .java and .xsd files in the Loan In (aka Loans In) service module.

15 years agoCSPACE-1292: Setting SVN 'Date' and 'Revision' keyword properties on .java and .xsd...
Aron Roberts [Tue, 18 May 2010 01:25:37 +0000 (01:25 +0000)]
CSPACE-1292: Setting SVN 'Date' and 'Revision' keyword properties on .java and .xsd files in the Loan Out (aka Loans Out) service module.

15 years agoCSPACE-144: Setting SVN 'Date' and 'Revision' keyword properties on .java and .xsd...
Aron Roberts [Tue, 18 May 2010 01:22:27 +0000 (01:22 +0000)]
CSPACE-144: Setting SVN 'Date' and 'Revision' keyword properties on .java and .xsd files in the Movement service module.

15 years agoCSPACE-144: Added Nuxeo document type XML Schema file, inadvertently omitted in r2104.
Aron Roberts [Tue, 18 May 2010 01:19:07 +0000 (01:19 +0000)]
CSPACE-144: Added Nuxeo document type XML Schema file, inadvertently omitted in r2104.

15 years agoCSPACE-144: Trivial addition of movement methods list in sample records used in clien...
Aron Roberts [Tue, 18 May 2010 01:13:19 +0000 (01:13 +0000)]
CSPACE-144: Trivial addition of movement methods list in sample records used in client test of the Movement service.

15 years agoCSPACE-144: Basic infrastructure for the Movement (aka Location & Movement) service...
Aron Roberts [Mon, 17 May 2010 23:27:40 +0000 (23:27 +0000)]
CSPACE-144: Basic infrastructure for the Movement (aka Location & Movement) service is in place in the Services Layer.  Introduces a new Nuxeo document type, and requires an 'ant deploy' and restarting the two JBoss servers.  Data modeling may possibly need some future attention.

15 years agoCSPACE-1850: Adding support in doc and repository client framework for tenant ID...
Richard Millet [Mon, 17 May 2010 23:25:13 +0000 (23:25 +0000)]
CSPACE-1850: Adding support in doc and repository client framework for tenant ID. All creates, updates, gets and getFiltered on Nuxeo-based documents now use Tenant ID from the service context.

15 years agoCSPACE-1850: Adding support in doc and repository client framework for tenant id.
Richard Millet [Mon, 17 May 2010 21:21:24 +0000 (21:21 +0000)]
CSPACE-1850: Adding support in doc and repository client framework for tenant id.

15 years agoCSPACE-1832: All CSpace specific Nuxeo document types now contain new "core" document...
Richard Millet [Sat, 15 May 2010 00:24:06 +0000 (00:24 +0000)]
CSPACE-1832: All CSpace specific Nuxeo document types now contain new "core" document type with tenant_id.

15 years agoNOJIRA - refactoried tenantbindingconfigreader so it could be used just to read the...
Sanjay Dalal [Fri, 14 May 2010 20:25:48 +0000 (20:25 +0000)]
NOJIRA - refactoried tenantbindingconfigreader so it could be used just to read the bindings, not for workspace retrieval. moved nuxeo workspace specific stuff to new class ...nuxeo.client.java.TenantRepository
test: service tests

M    services/authorization-mgt/import/pom.xml
M    services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContextImpl.java
M    services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java
M    services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReaderImpl.java
A    services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/TenantRepository.java

15 years agoCSPACE-1364, CSPACE-1365 moved gen/seed of authorization to import module in order...
Sanjay Dalal [Fri, 14 May 2010 18:45:44 +0000 (18:45 +0000)]
CSPACE-1364, CSPACE-1365 moved gen/seed of authorization to import module in order to expand the functionality to generate permisssions for all the services as well as all the permission-role relationships for bootstrapping purposes.
test: authorization-mgt all service tests

15 years agoNOJIRA
Sanjay Dalal [Fri, 14 May 2010 17:27:22 +0000 (17:27 +0000)]
NOJIRA
incorporate some code review changes. started refactoring seed test in order to convert it to generator and import for all services

M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGen.java
M    services/authorization-mgt/client/src/test/resources/test-data/test-permissions-roles.xml
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionEvaluator.java

15 years agoCSPACE-1591: Added three simple, temporary test classes for creating large numbers...
Aron Roberts [Thu, 13 May 2010 23:19:39 +0000 (23:19 +0000)]
CSPACE-1591: Added three simple, temporary test classes for creating large numbers of CollectionObject records, each with minor variations in client instantiation and HTTP connection closing, that may help surface any subtleties in behavior around this issue.  Run with 'mvn test -Dtest={test name or wildcard to run multiple tests; e.g. I1591*} -Pperftests'.

15 years agoCSPACE-1364 allow user bigbird (ROLE_MMI_CM) POST, GET and PUT operations on the...
Sanjay Dalal [Thu, 13 May 2010 21:49:02 +0000 (21:49 +0000)]
CSPACE-1364 allow user bigbird (ROLE_MMI_CM) POST, GET and PUT operations on the dimension service, allow user elmo (ROLE_MMI_INTERN) GET operation, allow user test (ROLE_ADMINISTRATOR) POST, PUT, GET and DELETE operations
CSPACE-1365 deny elmo PUT and deny bigbird DELETE operations on the dimension service
Pre-requisite : authorization-mgt/client tests seed some permissions used
by this test
test: security/client

M    services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthorizationServiceTest.java

15 years agoCSPACE-1824: Changing DocumentFilter.setPagination() method to use "get" instead...
Richard Millet [Thu, 13 May 2010 17:43:18 +0000 (17:43 +0000)]
CSPACE-1824: Changing DocumentFilter.setPagination() method to use "get" instead of "remove" on incoming query params

15 years agoCSPACE-1364 allow user test in ROLE_ADMINISTRATOR to access (CRUDL) dimension service
Sanjay Dalal [Wed, 12 May 2010 18:05:35 +0000 (18:05 +0000)]
CSPACE-1364 allow user test in ROLE_ADMINISTRATOR to access (CRUDL) dimension service
CSPACE-1365 deny user bigbird2010 in ROLE_MMI_CM access (C) to the dimension service
moved authorization generation and seeding to authorization-mgt/client from authorization service
enabled access control for the dimension service only in the security interceptor
added setAuth convenience method into client test framework to change authn properites, httpclient and proxy
test: all service tests, specifically security/client and authorization-mgt/client tests

!!REQUIRES the following sequence of actions at the services level
- mvn clean install -DskipTests
- ant undeploy deploy
- mvn test (note that authorization-mgt/client tests have to run before running dimension/client and security/client tests)

A    services/authorization-mgt/service/src/test/javadoc
A    services/authorization-mgt/service/src/test/javadoc/org
A    services/authorization-mgt/service/src/test/javadoc/org/collectionspace
A    services/authorization-mgt/service/src/test/javadoc/org/collectionspace/services
A    services/authorization-mgt/service/src/test/javadoc/org/collectionspace/services/authorization
A    services/authorization-mgt/service/src/test/javadoc/org/collectionspace/services/authorization/test
A  + services/authorization-mgt/service/src/test/javadoc/org/collectionspace/services/authorization/test/package.html
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/AuthorizationDelegate.java
A    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/test
A  + services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
A  + services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/test/AbstractAuthorizationTestImpl.java
A  + services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGen.java
A  + services/authorization-mgt/client/src/test/resources/applicationContext-authorization-test.xml
A    services/authorization-mgt/client/src/test/resources/test-data
A  + services/authorization-mgt/client/src/test/resources/test-data/test-permissions.xml
A  + services/authorization-mgt/client/src/test/resources/test-data/test-permissions-roles.xml
M    services/authorization-mgt/client/pom.xml
M    services/dimension/client/src/test/java/org/collectionspace/services/client/test/DimensionServiceTest.java
A    services/dimension/client/src/main/java/org/collectionspace/services/client/DimensionFactory.java
M    services/dimension/client/pom.xml
D    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
D    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/AuthorizationGen.java
D    services/authorization/service/src/test/javadoc/org/collectionspace/services/authorization/test/package.html
D    services/authorization/service/src/test/resources/applicationContext-authorization-test.xml
D    services/authorization/service/src/test/resources/test-data/test-permissions.xml
D    services/authorization/service/src/test/resources/test-data/test-permissions-roles.xml
M    services/authorization/service/pom.xml
M    services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
M    services/common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java
M    services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthenticationServiceTest.java
A    services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthorizationServiceTest.java
M    services/security/client/pom.xml
M    services/client/src/main/java/org/collectionspace/services/client/test/BaseServiceTest.java
M    services/client/src/main/java/org/collectionspace/services/client/TestServiceClient.java
M    services/client/src/main/java/org/collectionspace/services/client/AbstractServiceClientImpl.java
M    services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClient.java

15 years agoCSPACE-1815: Trivial addition of 'affects' as a valid enumerated value for relationsh...
Aron Roberts [Wed, 12 May 2010 03:46:51 +0000 (03:46 +0000)]
CSPACE-1815: Trivial addition of 'affects' as a valid enumerated value for relationshipType in the Relation JAXB schema, to mirror the use of that type in the Application Layer. (Ultimately, relationshipTypes are likely to come from a vocabulary.)

15 years agoCSPACE-1079: Added getReferencingObjects() support to Organization service.
Richard Millet [Tue, 11 May 2010 21:08:54 +0000 (21:08 +0000)]
CSPACE-1079: Added getReferencingObjects() support to Organization service.

15 years agoCSPACE-1079: Added getReferencingObjects() support to Organization service.
Richard Millet [Tue, 11 May 2010 21:08:05 +0000 (21:08 +0000)]
CSPACE-1079: Added getReferencingObjects() support to Organization service.

15 years agoCSPACE-1792, CSPACE-1781: Fixing pagination problem in Person, Org, and Vocab service...
Richard Millet [Tue, 11 May 2010 05:54:09 +0000 (05:54 +0000)]
CSPACE-1792, CSPACE-1781: Fixing pagination problem in Person, Org, and Vocab services.  Also, add releaseConnection() method to JAX-RS most of ClientResponse calls -still some cleanup needed.

15 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Tue, 11 May 2010 05:52:49 +0000 (05:52 +0000)]
NOJIRA: Updating Eclipse setting files.

15 years agoCSPACE-1482 scaffolding for authorization tests, creates and deletes accounts, roles...
Sanjay Dalal [Mon, 10 May 2010 23:24:39 +0000 (23:24 +0000)]
CSPACE-1482 scaffolding for authorization tests, creates and deletes accounts, roles, permissions, account-role and permission-role relationships. yet to put tests that test permissions created
refactoring of collectionobject, accountrole and permissionrole tests, extracted out factories
added releaseConnection on the test in this checkin
test: security/client

M    services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
A    services/collectionobject/client/src/main/java/org/collectionspace/services/client/CollectionObjectFactory.java
M    services/collectionobject/client/pom.xml
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
M    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/PermissionRoleFactory.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountRoleServiceTest.java
A    services/account/client/src/main/java/org/collectionspace/services/client/AccountRoleFactory.java
D    services/security/client/src/test/java/org/collectionspace/services/authentication/client/test/AuthenticationServiceTest.java
A    services/security/client/src/test/java/org/collectionspace/services/security
A    services/security/client/src/test/java/org/collectionspace/services/security/client
A    services/security/client/src/test/java/org/collectionspace/services/security/client/test
A  + services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthenticationServiceTest.java
M    services/security/client/src/test/resources/log4j.properties
M    services/security/client/pom.xml

15 years agoCSPACE-1482 wired permission delete operation with the spring acl service. still...
Sanjay Dalal [Fri, 7 May 2010 23:39:59 +0000 (23:39 +0000)]
CSPACE-1482 wired permission delete operation with the spring acl service. still to wire role removal with acl update
test: 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/PermissionRoleDocumentHandler.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/AuthorizationDelegate.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/PermissionRoleSubResource.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionEvaluator.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.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

15 years agoCSPACE-1736: Added 'test@collectionspace.org' user to account, authentication, and...
Aron Roberts [Thu, 6 May 2010 22:51:33 +0000 (22:51 +0000)]
CSPACE-1736: Added 'test@collectionspace.org' user to account, authentication, and authorization SQL load scripts in the Services layer.

15 years agoCSPACE-1575 can't login with inactive accounts. returns 403 with an error message.
Sanjay Dalal [Thu, 6 May 2010 21:39:47 +0000 (21:39 +0000)]
CSPACE-1575 can't login with inactive accounts. returns 403 with an error message.
test: added test in security/client

M    authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringAuthNContext.java
M    account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M    security/client/src/test/java/org/collectionspace/services/authentication/client/test/AuthenticationServiceTest.java
M    common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M    common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java
M    JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java

15 years agoCSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473:
Richard Millet [Thu, 6 May 2010 08:09:02 +0000 (08:09 +0000)]
CSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473:

1. Adding additional pagination tests to all Nuxeo based services.
2. Replacing .getAll() calls with .getFiltered
3. Removing dead/deprecated code in many http clients
4. Fixing file refs to test and config files to *not* assume current dir is in classpath.

15 years agoNOJIRA: Updating Eclipse settings.
Richard Millet [Thu, 6 May 2010 08:00:04 +0000 (08:00 +0000)]
NOJIRA: Updating Eclipse settings.

15 years agoCSPACE-1482 wired create of permissionrole to spring acl
Sanjay Dalal [Thu, 6 May 2010 00:03:53 +0000 (00:03 +0000)]
CSPACE-1482 wired create of permissionrole to spring acl
disabled authz seed test temporarily
test: authz-mgt all service tests

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/PermissionRoleDocumentHandler.java
M    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/AuthorizationDelegate.java
M    services/authorization-mgt/service/pom.xml
M    services/authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionEvaluator.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResourceImpl.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/URIResourceImpl.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M    services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionManager.java
M    services/authorization/service/src/main/resources/applicationContext-authorization.xml
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java

15 years agoNOJIRA: Updating Eclipse settings.
Richard Millet [Wed, 5 May 2010 19:57:50 +0000 (19:57 +0000)]
NOJIRA: Updating Eclipse settings.

15 years agoNOJIRA: Testing Subversion server.
Richard Millet [Tue, 4 May 2010 09:03:02 +0000 (09:03 +0000)]
NOJIRA: Testing Subversion server.

15 years agoCSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473:
Richard Millet [Sun, 2 May 2010 04:25:09 +0000 (04:25 +0000)]
CSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473:

1. Adding pagination tests to all Nuxeo based services.
2. Updated POM settings to make some dependency declarations more consistent.

15 years agoCSPACE-1456,CSPACE-533: Services Layer version updated to 0.7-SNAPSHOT (from 0.6...
Aron Roberts [Sat, 1 May 2010 00:38:18 +0000 (00:38 +0000)]
CSPACE-1456,CSPACE-533: Services Layer version updated to 0.7-SNAPSHOT (from 0.6-SNAPSHOT) in all POMs. Ant 'undeploy' targets now remove all relevant services JARs, regardless of version, via a wildcard/glob. Nuxeo doctype JARs are now deployed to the 'plugins' directory, rather than the 'system' directory, of nuxeo.ear.  'undeploy' tasks check for and remove Nuxeo doctype JARs both from the 'plugins' directory and from the old, legacy 'system' directory.

15 years agoCSPACE-1482 a security resource is now tied to a tenant by tenant id. aces are now...
Sanjay Dalal [Fri, 30 Apr 2010 23:26:29 +0000 (23:26 +0000)]
CSPACE-1482 a security resource is now tied to a tenant by tenant id. aces are now tenant-qualified.
test: authz local test, service tests

M    authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationSeedTest.java
M    authorization/service/src/test/java/org/collectionspace/services/authorization/test/AuthorizationGen.java
M    authorization/service/src/test/resources/test-data/test-permissions.xml
M    authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
M    authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResource.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/pom.xml
M    authentication/service/src/main/java/org/collectionspace/authentication/AuthN.java
M    authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringAuthNContext.java
M    authentication/service/src/main/java/org/collectionspace/authentication/spi/AuthNContext.java
M    common/src/main/java/org/collectionspace/services/common/security/SecurityContextImpl.java

15 years agoNOJIRA - added handler callbacks (prepare, handle, complete) for delete. Needed to...
Sanjay Dalal [Fri, 30 Apr 2010 23:20:10 +0000 (23:20 +0000)]
NOJIRA - added handler callbacks (prepare, handle, complete) for delete. Needed to plugin stuff affected because of CUD on entities.
test: services tests

15 years agoNOJIRA introduced high level security context for service runtime. provides access...
Sanjay Dalal [Fri, 30 Apr 2010 19:03:56 +0000 (19:03 +0000)]
NOJIRA introduced high level security context for service runtime. provides access to userid, tenantid and tenantname. uses authn context underneath.
test: all service tests

M    context/ServiceContext.java
M    context/AbstractServiceContextImpl.java
A    security/SecurityContext.java
A    security/SecurityContextImpl.java

15 years agoNOJIRA refactoring based on walkthrough discussion, renamed securitycontextutils...
Sanjay Dalal [Fri, 30 Apr 2010 17:29:56 +0000 (17:29 +0000)]
NOJIRA refactoring based on walkthrough discussion, renamed securitycontextutils->authncontext, added utility method to retrieve tenant name
test: all service tests

M    authentication/service/src/main/java/org/collectionspace/authentication/AuthN.java
D    authentication/service/src/main/java/org/collectionspace/authentication/realm/CSpaceDbRealm.java
A    authentication/service/src/main/java/org/collectionspace/authentication/realm/db
A  + authentication/service/src/main/java/org/collectionspace/authentication/realm/db/CSpaceDbRealm.java
D    authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringSecurityContextUtils.java
A  + authentication/service/src/main/java/org/collectionspace/authentication/spring/SpringAuthNContext.java
A    authentication/service/src/main/java/org/collectionspace/authentication/spi
A  + authentication/service/src/main/java/org/collectionspace/authentication/spi/AuthNContext.java
D    authentication/service/src/main/java/org/collectionspace/authentication/SecurityContextUtils.java
M    authentication/service/src/main/java/org/collectionspace/authentication/jaas/CSpaceJBossDBLoginModule.java

15 years agoCSPACE-1520 unique constraint violation on userid now sends back 400 with a message...
Sanjay Dalal [Thu, 29 Apr 2010 19:34:58 +0000 (19:34 +0000)]
CSPACE-1520 unique constraint violation on userid now sends back 400 with a message instead of 500
extracted out cs idp persistence management into UserStorageClient
test: account service

M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
A    services/account/service/src/main/java/org/collectionspace/services/account/storage/csidp
A    services/account/service/src/main/java/org/collectionspace/services/account/storage/csidp/UserStorageClient.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java

15 years agoCSPACE-1649 partial update for permission fixed to take into account the action list
Sanjay Dalal [Thu, 29 Apr 2010 00:32:17 +0000 (00:32 +0000)]
CSPACE-1649 partial update for permission fixed to take into account the action list
minor messages fixes
test: authorization-mgt (added updateactions test), service tests

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/PermissionDocumentHandler.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/RoleDocumentHandler.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java

15 years agoCSPACE-1207: Display names for ID Generators for Loan In and Loan Out now correspond...
Aron Roberts [Wed, 28 Apr 2010 22:40:25 +0000 (22:40 +0000)]
CSPACE-1207: Display names for ID Generators for Loan In and Loan Out now correspond to names given on their respective wiki schema pages.

15 years agoCSPACE-1660: Summary lists of ID Generators now include display names with each ID...
Aron Roberts [Wed, 28 Apr 2010 22:34:00 +0000 (22:34 +0000)]
CSPACE-1660: Summary lists of ID Generators now include display names with each ID Generator item in the list, along with CSIDs and relative URLs.

15 years agoCSPACE-1580,CSPACE-1627: Updates to ID Generator records are now temporarily row...
Aron Roberts [Wed, 28 Apr 2010 20:26:54 +0000 (20:26 +0000)]
CSPACE-1580,CSPACE-1627: Updates to ID Generator records are now temporarily row-locked via 'SELECT ... FOR UPDATE', to facilitate concurrent requests for new IDs, until such time as we move the current values of ID Parts out of ID Generator records altogether.  Fixed a driver initialization bug that resulted in a 'No suitable driver found' error on the first call to the ID Service after starting the 'cspace' server.

15 years agoCSPACE-1489 inserted basic auth entry point into exceptiontranslation filter to promp...
Sanjay Dalal [Wed, 28 Apr 2010 17:46:14 +0000 (17:46 +0000)]
CSPACE-1489 inserted basic auth entry point into exceptiontranslation filter to prompt the user to login. earlier it used to send 403 back to the user
test: accessed accounts after loging in through browser, ran all service tests

M    services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml

15 years agoCSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473: Adding pagination...
Richard Millet [Wed, 28 Apr 2010 08:57:39 +0000 (08:57 +0000)]
CSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473: Adding pagination support in list response payloads of all Nuxeo based services.

Passes *ALL* current tests and merged with the latest set of sources.

15 years agoNOJIRA: Removing "target" directory from revision control.
Richard Millet [Wed, 28 Apr 2010 08:55:13 +0000 (08:55 +0000)]
NOJIRA: Removing "target" directory from revision control.

15 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Wed, 28 Apr 2010 08:53:43 +0000 (08:53 +0000)]
NOJIRA: Updating Eclipse setting files.

15 years agoCSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473: Adding pagination...
Richard Millet [Wed, 28 Apr 2010 08:50:27 +0000 (08:50 +0000)]
CSPACE-1349, 1422, 1428, 1429, 1469, 1465, 1466, 1468, 1470, 1473: Adding pagination support in list response payloads of all Nuxeo based services.

Passes *ALL* current tests and merged with the latest set of sources.

15 years agoCSPACE-1615: Organization service now supports retrieving all authority terms used...
Aron Roberts [Tue, 27 Apr 2010 22:44:35 +0000 (22:44 +0000)]
CSPACE-1615: Organization service now supports retrieving all authority terms used in an Organization record.

15 years agoCSPACE-1458 partial update for jpa based services (account, role, permission)
Sanjay Dalal [Tue, 27 Apr 2010 19:01:12 +0000 (19:01 +0000)]
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

15 years agoCSPACE-1469: Added ititial paging support to CollectionObjectResource.java.
Richard Millet [Mon, 26 Apr 2010 23:01:10 +0000 (23:01 +0000)]
CSPACE-1469: Added ititial paging support to CollectionObjectResource.java.

15 years agoNOJIRA: Removing commenting out of Authorization module.
Richard Millet [Mon, 26 Apr 2010 18:56:41 +0000 (18:56 +0000)]
NOJIRA: Removing commenting out of Authorization module.

15 years agoCSPACE-1208,CSPACE-1209: Client tests of services once again fully clean up temporary...
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').

15 years agoNOJIRA: Updating Javadoc comments and commented out unnecessary import statements.
Richard Millet [Sat, 24 Apr 2010 05:29:47 +0000 (05:29 +0000)]
NOJIRA: Updating Javadoc comments and commented out unnecessary import statements.

15 years agoNOJIRA: Pom file cleanup. Removed redundant maven-compiler-plugin declarations and...
Richard Millet [Sat, 24 Apr 2010 05:28:55 +0000 (05:28 +0000)]
NOJIRA: Pom file cleanup.  Removed redundant maven-compiler-plugin declarations and other misc pom changes.

15 years agoNOJIRA - documented schema for javadoc
Sanjay Dalal [Fri, 23 Apr 2010 23:38:04 +0000 (23:38 +0000)]
NOJIRA - documented schema for javadoc

M    services/authentication/jaxb/src/main/resources/authentication_identity_provider.xsd

15 years agoCSPACE-1521 screen name is no more unique. only userid is unique across all realms...
Sanjay Dalal [Fri, 23 Apr 2010 23:32:09 +0000 (23:32 +0000)]
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

15 years agoCSPACE-1292: Properly added Loan Out (aka Loans Out) service to undeploy and dist...
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.

15 years agoCSPACE-901,CSPACE-1577: Apply changes made to other client test classes in CSPACE...
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.

15 years agoCSPACE-1596
Sanjay Dalal [Fri, 23 Apr 2010 21:35:38 +0000 (21:35 +0000)]
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

15 years agoCSPACE-1510
Sanjay Dalal [Fri, 23 Apr 2010 17:34:01 +0000 (17:34 +0000)]
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

15 years agoCSPACE-1489 cleaned up spring security metadata...work in progress for 1489
Sanjay Dalal [Fri, 23 Apr 2010 17:31:33 +0000 (17:31 +0000)]
CSPACE-1489 cleaned up spring security metadata...work in progress for 1489
test: service level tests pass, 403 from browser still present

M    JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml

15 years agoCSPACE-1207,CSPACE-1221: Added generators for Loan Out (aka Loans Out) IDs and Locati...
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.

15 years agoCSPACE-1286: Fixed trivial copy-and-paste typo in schemaLocation for Loan In service...
Aron Roberts [Thu, 22 Apr 2010 02:54:33 +0000 (02:54 +0000)]
CSPACE-1286: Fixed trivial copy-and-paste typo in schemaLocation for Loan In service in tenant-bindings.xml

15 years agoNOJIRA - refactored JpaStorageClient, extracted out utilities into JpaStorageUtils...
Sanjay Dalal [Wed, 21 Apr 2010 20:45:48 +0000 (20:45 +0000)]
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

15 years agoNOJIRA PermissionRoleSubResource now uses JpaRelationshipStorageClient (also used...
Sanjay Dalal [Wed, 21 Apr 2010 18:01:19 +0000 (18:01 +0000)]
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

15 years agoCSPACE-1079 Search for documents that refer to a given Person item. Added support...
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.

15 years agoCSPACE-1292: Add Loan Out (aka Loans Out ervice) to services/build.xml deploy, undepl...
Aron Roberts [Tue, 20 Apr 2010 23:41:18 +0000 (23:41 +0000)]
CSPACE-1292: Add Loan Out (aka Loans Out ervice) to services/build.xml deploy, undeploy, and dist targets.

15 years agoCSPACE-1303, CSPACE-1359 disassociate role(s) from account
Sanjay Dalal [Mon, 19 Apr 2010 22:07:44 +0000 (22:07 +0000)]
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

15 years agoCSPACE-1291: Additional directories for Loan Out (aka Loans Out) service, possibly...
Aron Roberts [Mon, 19 Apr 2010 22:04:23 +0000 (22:04 +0000)]
CSPACE-1291: Additional directories for Loan Out (aka Loans Out) service, possibly not picked up by initial check-in.

15 years agoNOJIRA service deployment messages are now info (instead of debug)
Sanjay Dalal [Mon, 19 Apr 2010 21:16:04 +0000 (21:16 +0000)]
NOJIRA service deployment messages are now info (instead of debug)

M    config/TenantBindingConfigReaderImpl.java

15 years agoCSPACE-1533: Remove 'cspace' from the end of the value of the 'url' attribute of...
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.

15 years agoCSPACE-1292: Initial release of the Loan Out (aka Loans Out) service. Introduces...
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.

15 years agoCSPACE-1518 refactoring
Sanjay Dalal [Fri, 16 Apr 2010 23:04:15 +0000 (23:04 +0000)]
CSPACE-1518 refactoring
test: authorization-mgt

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

15 years agoNOJIRA - added debug in base authz service and some exceptions
Sanjay Dalal [Fri, 16 Apr 2010 19:17:06 +0000 (19:17 +0000)]
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

15 years agoCSPACE-1518 added metadata to permission role relationship
Sanjay Dalal [Fri, 16 Apr 2010 17:52:32 +0000 (17:52 +0000)]
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

15 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Fri, 16 Apr 2010 16:57:28 +0000 (16:57 +0000)]
NOJIRA: Updating Eclipse setting files.

15 years agoCSPACE-1349, 1422, 1428, 1469, 1470, 1473: Adding pagination support for default...
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.

15 years agoCSPACE-1349, 1422, 1428, 1469, 1470, 1473: Adding pagination support for default...
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.

15 years agoNOJIRA: Updating Eclipse setting files.
Richard Millet [Fri, 16 Apr 2010 10:05:12 +0000 (10:05 +0000)]
NOJIRA: Updating Eclipse setting files.

15 years agoCSPACE-1494,CSPACE-873: Lists of Acquisitions records, for now, return a list of...
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.