]> git.aero2k.de Git - tmp/jakarta-migration.git/log
tmp/jakarta-migration.git
15 years agoCSPACE-2559: Summary lists of Acquisition records, returned by the Acquisitions servi...
Aron Roberts [Thu, 29 Jul 2010 22:00:53 +0000 (22:00 +0000)]
CSPACE-2559: Summary lists of Acquisition records, returned by the Acquisitions service, now once again correctly return values, in the value instances of the repeatable acquisitionSource field.  This was a regression bug triggered by the removal of field qualification (prefixing by a field name and delimiter) in r2707, as well as my use of a private unqualify() method in the Acquisition service.

15 years agoCSPACE-2501,CSPACE-2451: Added multiple new fields to the CollectionObject schema...
Aron Roberts [Wed, 28 Jul 2010 23:12:00 +0000 (23:12 +0000)]
CSPACE-2501,CSPACE-2451: Added multiple new fields to the CollectionObject schema for 1.0 alpha, as well as making several of the new fields, and several existing fields, singly repeatable. Also changed names for many fields, either to work around length limits for generated foreign key identifier names, or for consistency and clarity.

15 years agoCSPACE-2529,CSPACE-2549: Multiple changes to Intake records schema, in the services...
Aron Roberts [Sat, 24 Jul 2010 00:49:12 +0000 (00:49 +0000)]
CSPACE-2529,CSPACE-2549: Multiple changes to Intake records schema, in the services layer: added six new fields (three of them repeatable), and made five existing fields repeatable. Changes the relevant Nuxeo document type schema, and as such requires an 'ant deploy' and a 2-server restart.

15 years agoCSPACE-2535: Trivial variable name changes to help distinguish between contactNames...
Aron Roberts [Fri, 23 Jul 2010 23:05:27 +0000 (23:05 +0000)]
CSPACE-2535: Trivial variable name changes to help distinguish between contactNames repeatable field and Contacts sub-resource.

15 years agoCSPACE-2535: Made five fields repeatable in Organization records (records of items...
Aron Roberts [Fri, 23 Jul 2010 22:42:02 +0000 (22:42 +0000)]
CSPACE-2535: Made five fields repeatable in Organization records (records of items within an OrgAuthority), in the services layer: contactName, group, function, subBody, and historyNote (formerly history). Changes the relevant Nuxeo document type schema, and as such requires an 'ant deploy' and a 2-server restart.

15 years agoCSPACE-2534: Temporarily comment out Nuxeo layout widgets for repeatable fields in...
Aron Roberts [Fri, 23 Jul 2010 22:19:15 +0000 (22:19 +0000)]
CSPACE-2534: Temporarily comment out Nuxeo layout widgets for repeatable fields in Person records until we identify how to represent these complexTypes in layouts.

15 years agoCSPACE-2534: Made four fields repeatable in Person records (records of items within...
Aron Roberts [Fri, 23 Jul 2010 00:10:29 +0000 (00:10 +0000)]
CSPACE-2534: Made four fields repeatable in Person records (records of items within a PersonAuthority), in the services layer: group, nationality, occupation, and schoolOrStyle. Changes the relevant Nuxeo document type schema, and as such requires an 'ant deploy' and a 2-server restart.

15 years agoCSPACE-2528: Made acquisitionDate field a repeatable field in Acquisition records...
Aron Roberts [Thu, 22 Jul 2010 22:06:47 +0000 (22:06 +0000)]
CSPACE-2528: Made acquisitionDate field a repeatable field in Acquisition records, in the services layer. Changes the relevant Nuxeo document type schema, and as such requires an 'ant deploy' and a 2-server restart.

15 years agoCSPACE-2511,CSPACE-2512: Standardized error messages returned from resource classes...
Aron Roberts [Wed, 21 Jul 2010 02:31:55 +0000 (02:31 +0000)]
CSPACE-2511,CSPACE-2512: Standardized error messages returned from resource classes for Acquisitions, Movements, as prototype for other resource classes.

15 years agoCSPACE-2508: Added a negative test for an unrecognized sort order identifier (not...
Aron Roberts [Wed, 21 Jul 2010 02:27:35 +0000 (02:27 +0000)]
CSPACE-2508: Added a negative test for an unrecognized sort order identifier (not 'ASC' or 'DESC') provided as a query parameter value.

15 years agoCSPACE-864 Added support to handle deeply nested repeatable structures on the way...
Patrick Schmitz [Tue, 20 Jul 2010 23:48:53 +0000 (23:48 +0000)]
CSPACE-864 Added support to handle deeply nested repeatable structures on the way out. Still need to rewrite the code to handle same on the way in. This code may need to be refactored into a Nuxeo-specific class, for consistency.

15 years agoCSPACE-2508: Explicitly tests sorting of results from keyword searches. Lays groundwo...
Aron Roberts [Tue, 20 Jul 2010 22:48:36 +0000 (22:48 +0000)]
CSPACE-2508: Explicitly tests sorting of results from keyword searches. Lays groundwork for restricting the scope of sorting tests to temporary records created during client testing.

15 years agoCSPACE-2508: Adds an HTTP status code constant referenced by MovementSortByTest,...
Aron Roberts [Tue, 20 Jul 2010 21:31:31 +0000 (21:31 +0000)]
CSPACE-2508: Adds an HTTP status code constant referenced by MovementSortByTest, not previously checked in with related files.

15 years agoCSPACE-2508: Added client test to verify that records are returned in ascending or...
Aron Roberts [Tue, 20 Jul 2010 20:53:30 +0000 (20:53 +0000)]
CSPACE-2508: Added client test to verify that records are returned in ascending or descending sort order, based on the value of a specified field, when a 'read list' or keyword search request asks that records be returned in that sort order.

15 years agoCSPACE-2484: Added initial support to the Services document framework for returning...
Aron Roberts [Mon, 19 Jul 2010 22:03:47 +0000 (22:03 +0000)]
CSPACE-2484: Added initial support to the Services document framework for returning summary lists of records in sorted order.

15 years agoCSPACE-2394 Build a prototype reporting service for invoking reports. Still needs...
Patrick Schmitz [Mon, 19 Jul 2010 06:46:28 +0000 (06:46 +0000)]
CSPACE-2394 Build a prototype reporting service for invoking reports. Still needs more build support to get reports installed from a resource path, but basic CRUDL support is in, as is invocation of jasper reports engine from services, provided a report has been installed on the server.

15 years agoNOJIRA - Fixed typo that broke a test revealed by recent changes to AuthorityResource.
Patrick Schmitz [Sun, 18 Jul 2010 19:30:30 +0000 (19:30 +0000)]
NOJIRA - Fixed typo that broke a test revealed by recent changes to AuthorityResource.

15 years agoNOJIRA - added new performance test.
Patrick Schmitz [Fri, 16 Jul 2010 21:27:34 +0000 (21:27 +0000)]
NOJIRA - added new performance test.

15 years agoNOJIRA - Fixed a bug in the processing of authority items when fetching by name ...
Patrick Schmitz [Fri, 16 Jul 2010 21:25:36 +0000 (21:25 +0000)]
NOJIRA - Fixed a bug in the processing of authority items when fetching by name - was not correctly qualifying by authority. Should allow shortIdentifier clash across (but not within)  authorities, but was coughing on cross-authority clash. Typo in PersonAuthorityClient caused problems in test.

15 years agoCSPACE-1637,CSPACE-2066: Authority references can now be returned from value instance...
Aron Roberts [Thu, 15 Jul 2010 22:19:23 +0000 (22:19 +0000)]
CSPACE-1637,CSPACE-2066: Authority references can now be returned from value instances of repeatable fields, as well as - as was previously implemented - from non-repeatable fields.  As prototyped in Acquisition records, specifying 'acquisitionSources' as an authRef field in tenant bindings will now return the authority references in each of its 'acquisitionSource' children.  This has been tested to date only with simple repeatability: a parent and a set of 0-n immediate children.  The current solution will need additional testing to verify that it works with arbitrary repeatability; and a slightly different approach using DocModel.getProperties(), as suggested by Richard and mentioned as well in code comments, may potentially be needed in that case.

15 years agoCSPACE-2408,CSPACE-2482: DateTime fields in Movement record are now editable, in...
Aron Roberts [Thu, 15 Jul 2010 03:28:16 +0000 (03:28 +0000)]
CSPACE-2408,CSPACE-2482: DateTime fields in Movement record are now editable, in the relevant layout for Nuxeo's web administration console, via a datetime picker widget.

15 years agoCSPACE-2408,CSPACE-2418: Changed datatypes for three calendar date fields in Movement...
Aron Roberts [Wed, 14 Jul 2010 03:49:37 +0000 (03:49 +0000)]
CSPACE-2408,CSPACE-2418: Changed datatypes for three calendar date fields in Movement records to xs:dateTime, to prototype storage of dates as date types, rather than strings. Provides a uniform date and time representation - a widely used ISO 8601 format - to be provided by clients as values in calendar date fields, as early work on CSPACE-2418. Dates round-trip correctly, but are stored in MySQL in a local time zone, rather than in UTC. This is potentially problematic, and may require further investigation. Two utility classes included in this commit likely belong in 'common' package, or in a future DateAndTime service, rather than in Movement, and they - or similar classes - will likely be migrated there in a future check-in.

15 years agoCSPACE-2408: Client tests of the Movement service now generate UTC timestamps, in...
Aron Roberts [Fri, 9 Jul 2010 00:35:50 +0000 (00:35 +0000)]
CSPACE-2408: Client tests of the Movement service now generate UTC timestamps, in preparation for the possibility of storing timestamps in the Location Date field (or an equivalent Movement Date field).

15 years agoCSPACE-1692,CSPACE-2330: CollectionObject service now returns authority references...
Aron Roberts [Thu, 8 Jul 2010 03:48:42 +0000 (03:48 +0000)]
CSPACE-1692,CSPACE-2330: CollectionObject service now returns authority references for all current authref fields (6 PersonAuthority fields and 3 OrgAuthority fields).

15 years agoNOJIRA: Fixed trivial typo in name of constant
Aron Roberts [Thu, 8 Jul 2010 03:46:33 +0000 (03:46 +0000)]
NOJIRA: Fixed trivial typo in name of constant

15 years agoCSPACE-1692,CSPACE-2330: OrgAuthorityClientUtils.createOrgAuthorityInstance() now...
Aron Roberts [Thu, 8 Jul 2010 03:43:26 +0000 (03:43 +0000)]
CSPACE-1692,CSPACE-2330: OrgAuthorityClientUtils.createOrgAuthorityInstance() now correctly sets refName for OrgAuthority.

15 years agoCSPACE-2152 - removed extraneous clause in query for getContactList.
Patrick Schmitz [Tue, 6 Jul 2010 19:10:36 +0000 (19:10 +0000)]
CSPACE-2152 - removed extraneous clause in query for getContactList.

15 years agoNOJIRA - cleaned up the Vocab/Authority client and proxy classes to reflect the parti...
Patrick Schmitz [Tue, 6 Jul 2010 17:10:48 +0000 (17:10 +0000)]
NOJIRA - cleaned up the Vocab/Authority client and proxy classes to reflect the partialTerm and keyword search options, in a simpler form.

15 years agoCSPACE-749, CSPACE-1643, etc. Added keyword search support to vocab and authorities...
Patrick Schmitz [Tue, 6 Jul 2010 15:56:46 +0000 (15:56 +0000)]
CSPACE-749, CSPACE-1643, etc. Added keyword search support to vocab and authorities. Added test for same to Person service. Modified the query builder to put the keyword search where clause into parens so this can be safely combined with other searches (like matching the inAuthority).

15 years agoNOJIRA - Ported Authority cleanup to Location. This also addresses a number of missin...
Patrick Schmitz [Sat, 3 Jul 2010 19:24:50 +0000 (19:24 +0000)]
NOJIRA - Ported Authority cleanup to Location. This also addresses a number of missing elements in Location, around authRefs, named access, etc. Also cleaned up some inconsistent naming on the field that tracks term status, across all the authorities. Finally, added in more checks in test code across the authorities to ensure that ClientResponse instances are cleanly released.

15 years agoNOJIRA - Refactored autorities support. Fixed several inconsistencies, and simplified...
Patrick Schmitz [Sat, 3 Jul 2010 04:35:22 +0000 (04:35 +0000)]
NOJIRA - Refactored autorities support. Fixed several inconsistencies, and simplified the code. Still some more to do to port this to Location, and to make authRefs and refObjs support more consistent.

15 years agoCSPACE-600, preparation for CSPACE-849, and fixed CSPACE-2291. This refactors the...
Patrick Schmitz [Tue, 29 Jun 2010 16:33:18 +0000 (16:33 +0000)]
CSPACE-600, preparation for CSPACE-849, and fixed CSPACE-2291. This refactors the bulk of the vocabulary doc handlers into a superclass. Will port these changes to Person, Org, and Location, to simplify the maintenance of these services. Also aligns vocabulary to the other Authority services, to provide a more consistent API.

15 years agoCSPACE-2242: Corrected several variable names to properly indicate node hierarchy.
Aron Roberts [Fri, 25 Jun 2010 22:53:25 +0000 (22:53 +0000)]
CSPACE-2242: Corrected several variable names to properly indicate node hierarchy.

15 years agoCSPACE-2242: All value instances in a repeatable list are now persisted, even when...
Aron Roberts [Fri, 25 Jun 2010 21:47:26 +0000 (21:47 +0000)]
CSPACE-2242: All value instances in a repeatable list are now persisted, even when the first value instance is blank.

15 years agoCSPACE-2242: Trivial comments clean-up.
Aron Roberts [Fri, 25 Jun 2010 18:34:32 +0000 (18:34 +0000)]
CSPACE-2242: Trivial comments clean-up.

15 years agoCSPACE-2242: Created client tests to demonstrate bug, identified by Chris, in which...
Aron Roberts [Fri, 25 Jun 2010 18:20:35 +0000 (18:20 +0000)]
CSPACE-2242: Created client tests to demonstrate bug, identified by Chris, in which value instances of a repeatable single String scalar field are not persisted if the first value instance is blank. (Note that the failing Assert is currently commented out in this check-in to avoid triggering service test failures.)

15 years agoCSPACE-2211: Fix an additional error in the LoanoutAuthRefsTest that was omitting...
Aron Roberts [Thu, 24 Jun 2010 16:06:17 +0000 (16:06 +0000)]
CSPACE-2211: Fix an additional error in the LoanoutAuthRefsTest that was omitting a write/read-verify test of the borrower field.

15 years agoCSPACE-2211: Fix several errors in the LoanoutAuthRefsTest that were effectively...
Aron Roberts [Thu, 24 Jun 2010 16:02:09 +0000 (16:02 +0000)]
CSPACE-2211: Fix several errors in the LoanoutAuthRefsTest that were effectively omitting tests of the borrower and borrowersContact fields.

15 years agoCSPACE-2205: 'ant undeploy' now cleans up all version-suffixed collectionspace_core...
Aron Roberts [Thu, 24 Jun 2010 15:24:09 +0000 (15:24 +0000)]
CSPACE-2205: 'ant undeploy' now cleans up all version-suffixed collectionspace_core JARs from nuxeo.ear/plugins.

15 years agoNOJIRA: Updating version designation in Services trunk to 0.9-SNAPSHOT, from 0.8...
Aron Roberts [Thu, 24 Jun 2010 05:20:54 +0000 (05:20 +0000)]
NOJIRA: Updating version designation in Services trunk to 0.9-SNAPSHOT, from 0.8-SNAPSHOT, following the creation of the release 0.8 release branch.

15 years agoCSPACE-2126 Added shortIdentifier to the list results item schema, for vocab+authorit...
Patrick Schmitz [Wed, 23 Jun 2010 07:45:32 +0000 (07:45 +0000)]
CSPACE-2126 Added shortIdentifier to the list results item schema, for vocab+authority services.

15 years agoCSPACE-590, CSPACE-2126, modifying authorities to support shortIdentifier. This is...
Patrick Schmitz [Wed, 23 Jun 2010 06:26:51 +0000 (06:26 +0000)]
CSPACE-590, CSPACE-2126, modifying authorities to support shortIdentifier. This is now used to create refNames, and used to get by name. Updated associated utilities for creating authorities and items. Updated all the various tests that create authorities and instances.

15 years agoCSPACE-2183: The sub-body field is now an authority reference field in Organization...
Aron Roberts [Tue, 22 Jun 2010 04:05:55 +0000 (04:05 +0000)]
CSPACE-2183: The sub-body field is now an authority reference field in Organization item records.

15 years agoCSPACE-2191: Declare instance of ContactsCommonList before using it as a generic...
Aron Roberts [Tue, 22 Jun 2010 00:07:59 +0000 (00:07 +0000)]
CSPACE-2191: Declare instance of ContactsCommonList before using it as a generic to resolve 'incompatible types' error.

15 years agoCSPACE-2180: Test case for a pseudorandom number generator in the ID service that...
Aron Roberts [Fri, 18 Jun 2010 23:36:53 +0000 (23:36 +0000)]
CSPACE-2180: Test case for a pseudorandom number generator in the ID service that returns probabilistic results now only generates warnings, not assertion exceptions, when the expected result is not obtained.

15 years agoCSPACE-2138: Added 'web' field, removed 'notes' field, in Contact schema, in the...
Aron Roberts [Fri, 18 Jun 2010 00:03:15 +0000 (00:03 +0000)]
CSPACE-2138: Added 'web' field, removed 'notes' field, in Contact schema, in the services, per latest changes to Limited for 0.8 Name Authority schemas on the wiki.

15 years agoCSPACE-2138: Changed 'status' field to 'termStatus' in Person schema, in the services...
Aron Roberts [Thu, 17 Jun 2010 23:32:14 +0000 (23:32 +0000)]
CSPACE-2138: Changed 'status' field to 'termStatus' in Person schema, in the services, per latest changes to Limited for 0.8 Name Authority schemas on the wiki.

15 years agoCSPACE-2138: Changed 'status' field to 'termStatus' in Organization services schema...
Aron Roberts [Thu, 17 Jun 2010 23:06:28 +0000 (23:06 +0000)]
CSPACE-2138: Changed 'status' field to 'termStatus' in Organization services schema, per latest changes to Limited for 0.8 Name Authority schemas on the wiki. Services schema and wiki schema are now aligned on use of foundingDate and foundingPlace, as well as on subBody, per updates to the wiki schema.

15 years agoCSPACE-2138: Removed 'honorifics' field from the Person schema in the services layer...
Aron Roberts [Thu, 17 Jun 2010 04:08:37 +0000 (04:08 +0000)]
CSPACE-2138: Removed 'honorifics' field from the Person schema in the services layer.  This field is equivalent to and redundant - at least according to the wiki schema and its multiple-source crosswalks - with the 'nameAdditions' field.

15 years agoCSPACE-2135: Placeholder structured date fields removed from Intake schema in the...
Aron Roberts [Wed, 16 Jun 2010 21:47:45 +0000 (21:47 +0000)]
CSPACE-2135: Placeholder structured date fields removed from Intake schema in the services layer.

15 years agoCSPACE-2152: Adding comment to line of code with unnecessary "AND ecm:isProxy = 0...
Richard Millet [Wed, 16 Jun 2010 04:45:17 +0000 (04:45 +0000)]
CSPACE-2152: Adding comment to line of code with unnecessary "AND ecm:isProxy = 0" clause in getContactList() method.

15 years agoCSPACE-2136: Updated Loans In (aka Loan In) schema at the services layer to the Limit...
Aron Roberts [Wed, 16 Jun 2010 04:39:47 +0000 (04:39 +0000)]
CSPACE-2136: Updated Loans In (aka Loan In) schema at the services layer to the Limited for 0.8 schema. Made the lenders field non-repeatable, which may have a salutary impact on as many as four currently open JIRAs.

15 years agoCSPACE-2151: Delete permissions on specified SID is deleting incorrect permissions.
Richard Millet [Wed, 16 Jun 2010 04:34:33 +0000 (04:34 +0000)]
CSPACE-2151: Delete permissions on specified SID is deleting incorrect permissions.

15 years agoCSPACE-2135,CSPACE-1220: Updated Intake schema at the services layer to the Limited...
Aron Roberts [Tue, 15 Jun 2010 22:34:33 +0000 (22:34 +0000)]
CSPACE-2135,CSPACE-1220: Updated Intake schema at the services layer to the Limited for 0.8 schema. Removed three fields and changed the names of two fields.

15 years agoCSPACE-2133,CSPACE-1796,CSPACE-1219: Updated Acqusition schema at the services layer...
Aron Roberts [Tue, 15 Jun 2010 19:48:14 +0000 (19:48 +0000)]
CSPACE-2133,CSPACE-1796,CSPACE-1219: Updated Acqusition schema at the services layer to Limited for 0.8 schema. Added one field, removed three fields, and changed the names of seven fields.

15 years agoCSPACE-590 Added support to get list of items for a vocab using the vocab shortId.
Patrick Schmitz [Tue, 15 Jun 2010 06:28:51 +0000 (06:28 +0000)]
CSPACE-590 Added support to get list of items for a vocab using the vocab shortId.

15 years agoCSPACE-2134: Updated Cataloging schema for release 0.8, adding one field and changing...
Aron Roberts [Tue, 15 Jun 2010 01:19:50 +0000 (01:19 +0000)]
CSPACE-2134: Updated Cataloging schema for release 0.8, adding one field and changing the names of 12 others - two required by wiki schema changes, and ten for consistency with other layers / clarity.

15 years agoCSPACE-1929
Sanjay Dalal [Mon, 14 Jun 2010 23:50:35 +0000 (23:50 +0000)]
CSPACE-1929
The delete on accountrole sub resource of the account service now requires a POST with parameter _method=delete (/accounts/{accountcsid}/accountroles?_method=delete) and entity body (like POST for create). The delete only deletes the relationships found in the entity body.
test: all service tests

NOTE: all the tests pass with the first run. in the second run dimension service tests fail. this might be because some problem (debugging) introduced by eith the security/client/AuthorizationServiceTest or security/client/MultiTenancyTest which use "dimensions" service for security testing

15 years agoCSPACE-2141
Sanjay Dalal [Mon, 14 Jun 2010 21:00:25 +0000 (21:00 +0000)]
CSPACE-2141
when deleting a role its association(s) with permissions are deleted
test: authorization-mgt

M    authorization/PermissionResource.java
M    authorization/RoleResource.java
M    authorization/PermissionRoleSubResource.java

15 years agoCSPACE-2128: Move utility methods to end in keyword / full text search class in Colle...
Aron Roberts [Mon, 14 Jun 2010 20:51:06 +0000 (20:51 +0000)]
CSPACE-2128: Move utility methods to end in keyword / full text search class in CollectionObject.

15 years agoCSPACE-2128: Added initial (albeit minimal) prototype client test of keyword / full...
Aron Roberts [Mon, 14 Jun 2010 20:44:06 +0000 (20:44 +0000)]
CSPACE-2128: Added initial (albeit minimal) prototype client test of keyword / full text search to the CollectionObject service.

15 years agoCSPACE-2140
Sanjay Dalal [Mon, 14 Jun 2010 18:34:18 +0000 (18:34 +0000)]
CSPACE-2140
files are generated into target instead of source
test: authorization-mgt

D    authorization-mgt/import/src/main/resources/import-data
M    authorization-mgt/import/pom.xml

15 years agoCSPACE-1300
Sanjay Dalal [Mon, 14 Jun 2010 18:21:21 +0000 (18:21 +0000)]
CSPACE-1300
CSPACE-1930
The delete on permrole sub resource of authorization/permissions and authorization/roles services now requires a POST with parameter _method=delete (/authorization/roles/{rolecsid}/permroles?_method=delete) and entity body (like POST for create). The delete only deletes the relationships found in the entity body.
test: all service tests, permissionrole, rolepermission, authorization and multi tenancy 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/RoleResource.java
M    services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
M    services/authorization-mgt/import/src/main/resources/import-data/import-permissions.xml
M    services/authorization-mgt/import/src/main/resources/import-data/import-permissions-roles.xml
M    services/authorization-mgt/import/src/main/resources/import-data/import-roles.xml
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RolePermissionServiceTest.java
M    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionRoleClient.java
M    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/RolePermissionClient.java
M    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/PermissionRoleProxy.java
M    services/authorization-mgt/client/src/main/java/org/collectionspace/services/client/RolePermissionProxy.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/security/SecurityInterceptor.java
M    services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthorizationServiceTest.java
M    services/security/client/src/test/java/org/collectionspace/services/security/client/test/MultiTenancyTest.java

15 years agoCSPACE-1152 and CSPACE-2126. Changed Vocabulary schema to include a shortIdentifier...
Patrick Schmitz [Mon, 14 Jun 2010 05:30:06 +0000 (05:30 +0000)]
CSPACE-1152 and CSPACE-2126. Changed Vocabulary schema to include a shortIdentifier. This is now used as the basis of the refName. Added support to vocabulary for readByName. Added validatorHandler to require that shortIdentifier only contain word chars.

15 years agoCSPACE-1152 and CSPACE-2126. Changed Vocabulary schema to include a shortIdentifier...
Patrick Schmitz [Mon, 14 Jun 2010 05:29:19 +0000 (05:29 +0000)]
CSPACE-1152 and CSPACE-2126. Changed Vocabulary schema to include a shortIdentifier. This is now used as the basis of the refName. Added support to vocabulary for readByName. Added validatorHandler to require that shortIdentifier only contain word chars.

15 years agoCSPACE-1879: Brief Description is now a repeatable (single String scalar) field in...
Aron Roberts [Fri, 11 Jun 2010 22:05:51 +0000 (22:05 +0000)]
CSPACE-1879: Brief Description is now a repeatable (single String scalar) field in CollectionObject records.

15 years agoCSPACE-1895 Work towards adding repeating sections. For now, just put in notes in...
Patrick Schmitz [Fri, 11 Jun 2010 20:02:41 +0000 (20:02 +0000)]
CSPACE-1895 Work towards adding repeating sections. For now, just put in notes in the key places where we need to make changes to support this, as we explore alternatives.

15 years agoCSPACE-595 added a test for multi-tenancy. it uses two pre-configured users in ROLE_T...
Sanjay Dalal [Fri, 11 Jun 2010 19:09:27 +0000 (19:09 +0000)]
CSPACE-595 added a test for multi-tenancy. it uses two pre-configured users in ROLE_TEANAT_ADMINISTRATOR to create an account, a role and a permission for a service for each tenant. It then creates (potentially concurrently) dimension object as the newly created user for a tenant, tries to update the other tenant's object and fails successfully, tries to delete the other tenant's object and fails successfully.
test: MultiTenancyTest, all service tests

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/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/PermissionJpaFilter.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/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageUtils.java
M    services/common/src/main/java/org/collectionspace/services/common/security/SecurityUtils.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountJpaFilter.java
A    services/security/client/src/test/java/org/collectionspace/services/security/client/test/MultiTenancyTest.java

15 years agoCSPACE-2123: Added missing resource URL paths for the Relation service to the tenant...
Aron Roberts [Fri, 11 Jun 2010 00:39:53 +0000 (00:39 +0000)]
CSPACE-2123: Added missing resource URL paths for the Relation service to the tenant bindings file.  After this change, permissions are now successfully created for these paths.

15 years agoCSPACE-2121: Reverting inadvertent change to username in exec:java in pom.xml, used...
Aron Roberts [Wed, 9 Jun 2010 21:10:16 +0000 (21:10 +0000)]
CSPACE-2121: Reverting inadvertent change to username in exec:java in pom.xml, used during testing of this issue and not relevant to the fix.  This username value and its corresponding password value in exec:java do not appear to be used currently.

15 years agoCSPACE-2121: Added 'install' as a dependency of setup_hibernate.cfg in Ant buildfile...
Aron Roberts [Wed, 9 Jun 2010 21:04:40 +0000 (21:04 +0000)]
CSPACE-2121: Added 'install' as a dependency of setup_hibernate.cfg in Ant buildfile in authorization-mgt/import. If the local target directory, created by 'install', was missing, a copy task failed in the 'import' target.

15 years agoCSPACE-1782 where clauses in JPA services now use current tenant id
Sanjay Dalal [Wed, 9 Jun 2010 17:32:38 +0000 (17:32 +0000)]
CSPACE-1782 where clauses in JPA services now use current tenant id
test: all service tests

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/PermissionJpaFilter.java
M    services/authorization-mgt/import/src/main/resources/import-data/import-permissions.xml
M    services/authorization-mgt/import/src/main/resources/import-data/import-permissions-roles.xml
M    services/authorization-mgt/import/src/main/resources/import-data/import-roles.xml
M    services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaDocumentFilter.java
M    services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.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/security/SecurityInterceptor.java
M    services/common/src/main/java/org/collectionspace/services/common/document/DocumentFilter.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountStorageClient.java
M    services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountJpaFilter.java
M    services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java

15 years agoCSPACE-1936: Added initial, highly minimal set of client tests of the ID Service.
Aron Roberts [Wed, 9 Jun 2010 05:54:32 +0000 (05:54 +0000)]
CSPACE-1936: Added initial, highly minimal set of client tests of the ID Service.

15 years agoCSPACE-595 first pass at the side-by-side tenant test, although not used concurrently yet
Sanjay Dalal [Tue, 8 Jun 2010 00:23:27 +0000 (00:23 +0000)]
CSPACE-595 first pass at the side-by-side tenant test, although not used concurrently yet
CSPACE-1035 nuxeo domain (for each tenant) is created at the startup time if it does not already exist
- added pahma-domain (hearstmuseum.berkeley.edu) to the tenant bindings in addition to the default-domain (movingimages.us) that is currently used. both bindings are similar in this first pass, i.e. both tenants use the same set of services with same service object bindings as well.
- each tenant binding now specifies repository domain(s) used
- each repository domain embodies information about the repository client needed
- tenantrepository uses repository javaclient instead of using nuxeo connector directly
- each service binding now specifies the repository domain used
- account factory on the client side now takes tenant id from new property cspace.tenant that is added to collection-space-client.properties
- removed deadwood from test-xxx.sql scripts
- role and permissions doc handlers now utilize tenant id if provided by the consumer at the time of creation, if not, they continue to use logged in user's tenant id
-

!!ATTENTION!!
-ant create_db from the trunk (to verify nuxeo domain is created)
-ant import from the trunk (no need to checkin import-*.xml files)
-ant undeploy deploy from the trunk

M    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionDocumentHandler.java
M    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
M    trunk/services/authorization-mgt/import/src/main/java/org/collectionspace/services/authorization/importer/AuthorizationSeed.java
M    trunk/services/authorization-mgt/import/src/main/resources/import-data/import-permissions.xml
M    trunk/services/authorization-mgt/import/src/main/resources/import-data/import-permissions-roles.xml
M    trunk/services/authorization-mgt/import/src/main/resources/import-data/import-roles.xml
M    trunk/services/authorization-mgt/import/src/main/resources/log4j.properties
M    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
M    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
M    trunk/services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
M    trunk/services/authentication/pstore/src/main/resources/db/mysql/test_authentication.sql
M    trunk/services/common/src/main/java/org/collectionspace/services/common/repository/RepositoryClient.java
M    trunk/services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContextImpl.java
M    trunk/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java
M    trunk/services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReaderImpl.java
M    trunk/services/common/src/main/java/org/collectionspace/services/common/document/JaxbUtils.java
M    trunk/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java
M    trunk/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/TenantRepository.java
M    trunk/services/common/src/main/config/services/service-config.xml
M    trunk/services/common/src/main/config/services/tenant-bindings.xml
M    trunk/services/common/src/main/resources/tenant.xsd
M    trunk/services/common/src/main/resources/service.xsd
M    trunk/services/account/pstore/src/main/resources/db/mysql/test_account.sql
M    trunk/services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountRoleServiceTest.java
M    trunk/services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M    trunk/services/account/client/src/main/java/org/collectionspace/services/client/AccountFactory.java
M    trunk/services/account/client/src/main/java/org/collectionspace/services/client/AccountClient.java
M    trunk/services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthenticationServiceTest.java
M    trunk/services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthorizationServiceTest.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/services/client/src/main/resources/collectionspace-client.properties
D    trunk/src/main/resources/db/mysql/service-dump.sql

15 years agoNOJIRA: Updating dependencies in two Sample module POMs, Organization and Vocabulary...
Aron Roberts [Mon, 7 Jun 2010 18:41:30 +0000 (18:41 +0000)]
NOJIRA: Updating dependencies in two Sample module POMs, Organization and Vocabulary, from 0.5-SNAPSHOT/1.0 to 0.8-SNAPSHOT.

15 years agoCSPACE-2107: Added associatedObjectType field to CollectionObject schema, merging...
Aron Roberts [Sat, 5 Jun 2010 18:09:00 +0000 (18:09 +0000)]
CSPACE-2107: Added associatedObjectType field to CollectionObject schema, merging change made in 0.7 release branch into trunk.

15 years agoCSPACE-2003, CSPACE-1969 ImportAuthZ now inserts default roles, permissions and permi...
Sanjay Dalal [Fri, 4 Jun 2010 21:32:32 +0000 (21:32 +0000)]
CSPACE-2003, CSPACE-1969 ImportAuthZ now inserts default roles, permissions and permission-roles into the database in addtion to inserting ACLs in Spring. These could be retrieved using the respective authz services.
CSPACE-2004, CSPACE-1926 ImportAuthZ now creates a ROLE_TENANT_ADMINISTRATOR for each tenant that has all privileges to all services used by that tenant. It also creates a ROLE_TENANT_READER. This role has only READ, SEARCH privileges for all services used by the tenant
test: ant import, mvn test (service level)

15 years agoCSPACE-2077: Moved assertion that checks for number of authority references returned...
Aron Roberts [Fri, 4 Jun 2010 18:46:30 +0000 (18:46 +0000)]
CSPACE-2077: Moved assertion that checks for number of authority references returned out of a conditional block; added debug message for authrefs returned, in all AuthRefsTests of services.

15 years agoCSPACE-2028: Added missing 'collection' field to CollectionObject schema in the Servi...
Aron Roberts [Fri, 4 Jun 2010 00:12:45 +0000 (00:12 +0000)]
CSPACE-2028: Added missing 'collection' field to CollectionObject schema in the Services layer, merging changes made to the 0.7 release branch to services trunk.

15 years agoNOJIRA: Updating services/trunk poms to use <version> element value of 0.8-SNAPSHOT.
Richard Millet [Thu, 3 Jun 2010 20:48:42 +0000 (20:48 +0000)]
NOJIRA: Updating services/trunk poms to use <version> element value of 0.8-SNAPSHOT.

15 years agoCSPACE-1937 if a role/permission/account does not have any relationship (to permissio...
Sanjay Dalal [Thu, 3 Jun 2010 19:44:26 +0000 (19:44 +0000)]
CSPACE-1937 if a role/permission/account does not have any relationship (to permission, role, role, resp.), return empty result instead of 404
test: added tests for this case in accountrole, permissionrole and rolepermission

M    authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
M    authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RolePermissionServiceTest.java
M    account/client/src/test/java/org/collectionspace/services/account/client/test/AccountRoleServiceTest.java
M    account/service/src/main/java/org/collectionspace/services/account/storage/AccountRoleDocumentHandler.java
M    authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionRoleDocumentHandler.java
M    common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaRelationshipStorageClient.java

15 years agoNOJIRA re-enabling access control in service layer in the trunk (only)
Sanjay Dalal [Thu, 3 Jun 2010 19:40:05 +0000 (19:40 +0000)]
NOJIRA re-enabling access control in service layer in the trunk (only)

M    security/SecurityInterceptor.java

15 years agoCSPACE-1875: In Loan Out records in the Services Layer, merged into trunk from the...
Aron Roberts [Wed, 2 Jun 2010 23:03:51 +0000 (23:03 +0000)]
CSPACE-1875: In Loan Out records in the Services Layer, merged into trunk from the 0.7 Release Branch, three scalar fields were added: loanedObjectStatus, loanedObjectStatusNote, and loanedObjectStatusDate. This is an interim step until sub-loans are implemented in a later release.

15 years agoCSPACE-2006 added tenant id to unique constraint
Sanjay Dalal [Wed, 2 Jun 2010 20:41:51 +0000 (20:41 +0000)]
CSPACE-2006 added tenant id to unique constraint

M    authorization/jaxb/src/main/resources/roles.xsd
M    authorization/pstore/src/main/resources/db/mysql/authorization.sql

15 years agoNOJIRA added timestamp to role name to test if app layer test was failing because...
Sanjay Dalal [Wed, 2 Jun 2010 20:33:18 +0000 (20:33 +0000)]
NOJIRA added timestamp to role name to test if app layer test was failing because of that

M    client/src/test/java/org/collectionspace/services/authorization/client/test/RolePermissionServiceTest.java

15 years agoNOJIRA - removed deadwood detected during walkthrough
Sanjay Dalal [Wed, 2 Jun 2010 20:30:02 +0000 (20:30 +0000)]
NOJIRA - removed deadwood detected during walkthrough

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

15 years agoCSPACE-1227,CSPACE-1916: Added previously-missing recordStatus field to CollectionObj...
Aron Roberts [Wed, 2 Jun 2010 02:11:56 +0000 (02:11 +0000)]
CSPACE-1227,CSPACE-1916: Added previously-missing recordStatus field to CollectionObject schema in the Services layer.

15 years agoCSPACE-1227,CSPACE-1916: Filled out CollectionObject schema, in the Services Layer...
Aron Roberts [Tue, 1 Jun 2010 19:38:01 +0000 (19:38 +0000)]
CSPACE-1227,CSPACE-1916: Filled out CollectionObject schema, in the Services Layer, with the remaining fields required by Cataloging Schema Limited for 0.7 on the wiki. Note that briefDescription is still a single, non-repatable scalar in this check-in, and that the three fields - relatedObjectNumber, relatedObjectAssociation, and relatedObjectNote - are not included, per Megan in IRC on 2010-06-01.  Changes a Nuxeo document type, and thus requires stopping the 2 JBoss servers and performing an 'ant deploy'.

15 years agoCSPACE-1946: TEMPORARILY commenting out the block, in SecurityInterceptor, that check...
Aron Roberts [Mon, 31 May 2010 17:48:36 +0000 (17:48 +0000)]
CSPACE-1946: TEMPORARILY commenting out the block, in SecurityInterceptor, that checks whether a services client is authorized to access resources at a particular URL.  This effectively DISABLES authorization checks on access requests to the services layer. This is a temporary workaround, suggested in one of Sanjay's comments on this issue, to facilitate testing on nightly.collectionspace.org on 2010-05-31, and should be reversed as soon as practical.

15 years agoCSPACE-1911: 'Banners' output between Services client tests now properly show calling...
Aron Roberts [Fri, 28 May 2010 23:52:22 +0000 (23:52 +0000)]
CSPACE-1911: 'Banners' output between Services client tests now properly show calling class and line number in their log statements. Banner generation is now separated from test setup (e.g. specifying expected status code, valid status codes), in the client test framework, and each can be used independently.  Formerly banners were output as an undocumented side effect of test setup; while that was convenient, it was not good practice.

15 years agoCSPACE-1960: Adding support for XML Schema validation of service payloads.
Richard Millet [Fri, 28 May 2010 23:14:05 +0000 (23:14 +0000)]
CSPACE-1960: Adding support for XML Schema validation of service payloads.

15 years agoCSPACE-1937 blocker, dup of 1299
Sanjay Dalal [Thu, 27 May 2010 22:28:53 +0000 (22:28 +0000)]
CSPACE-1937 blocker, dup of 1299
CSPACE-1299 added permrole as a subresource of role. it is now possible to associate one or more permissions from a role service using roles/id/permroles
test: authorization-mgt, all service tests

15 years agoCSPACE-1828 service name fixes role name with ROLE_{uppercase role name} if ROLE_...
Sanjay Dalal [Thu, 27 May 2010 19:20:39 +0000 (19:20 +0000)]
CSPACE-1828 service name fixes role name with ROLE_{uppercase role name} if ROLE_ is not present in the role name
CSPACE-1944 role name in role once set cannot be changed
CSPACE-1945 resource name in permission once set cannot be changed
test: authorization-mgt/client

15 years agoCSPACE-1407: In tenant bindings for Movement service, added (uncommented) 'currentLoc...
Aron Roberts [Thu, 27 May 2010 18:52:30 +0000 (18:52 +0000)]
CSPACE-1407: In tenant bindings for Movement service, added (uncommented) 'currentLocation' and 'normalLocation' as authority reference fields for this service, now that the StorageLocation / Location service is available.

15 years agoNOJIRA: Updating Eclipse settings.
Richard Millet [Thu, 27 May 2010 06:05:18 +0000 (06:05 +0000)]
NOJIRA: Updating Eclipse settings.

15 years agoCSPACE-864: Added a native Nuxeo "repeatable" information group to the CollectionObje...
Richard Millet [Thu, 27 May 2010 06:04:04 +0000 (06:04 +0000)]
CSPACE-864: Added a native Nuxeo "repeatable" information group to the CollectionObject schema for the "otherNumber" information group "otherNumber" = {otherNumberValue, otherNumberType}.

15 years agoCSPACE-1935 moved import driver out of test framework into a standalone utility
Sanjay Dalal [Wed, 26 May 2010 23:18:24 +0000 (23:18 +0000)]
CSPACE-1935 moved import driver out of test framework into a standalone utility
use ant import at any level to invoke the driver. requires build.

!!NOTE!!
this change overrides req. of mvn test (at authorization-mgt/import) as described in r2225 to import default permissions

cd trunk
mvn test -DskipTests
ant import
ant undeploy deploy
mvn test

D    trunk/services/authorization-mgt/import/src/test/java/org/collectionspace/services/authorization/importer/AuthorizationSeedTest.java
D    trunk/services/authorization-mgt/import/src/test/java/org/collectionspace/services/authorization/importer/AbstractAuthorizationTestImpl.java
D    trunk/services/authorization-mgt/import/src/test/resources/applicationContext-authorization-test.xml
D    trunk/services/authorization-mgt/import/src/test/resources/log4j.properties
A    trunk/services/authorization-mgt/import/src/main/java/org/collectionspace/services/authorization/driver
A  + trunk/services/authorization-mgt/import/src/main/java/org/collectionspace/services/authorization/driver/AuthorizationSeedDriver.java
A    trunk/services/authorization-mgt/import/src/main/java/org/collectionspace/ImportAuthz.java
M    trunk/services/authorization-mgt/import/src/main/resources/import-data/import-permissions.xml
M    trunk/services/authorization-mgt/import/src/main/resources/import-data/import-permissions-roles.xml
A  + trunk/services/authorization-mgt/import/src/main/resources/applicationContext-authorization-test.xml
A  + trunk/services/authorization-mgt/import/src/main/resources/log4j.properties
M    trunk/services/authorization-mgt/import/pom.xml
M    trunk/services/authorization-mgt/import/build.xml
M    trunk/services/authorization-mgt/build.xml
M    trunk/services/pom.xml
M    trunk/services/build.xml
M    trunk/build.xml

15 years agoCSPACE-1364, CSPACE-1365
Sanjay Dalal [Wed, 26 May 2010 17:05:34 +0000 (17:05 +0000)]
CSPACE-1364, CSPACE-1365
Enabled access control for all the services at the record/procedure type level. Permissions are seeded (authorization-mgt/import) for ROLE_ADMINISTRATOR using the tenant bindings. Seeding still happens through a test driver in the import module...would be moved to a Java main class later.
Test do/should not delete the seeded permissions...fixed those tests that were doing the same. These tests now either do not delete permissions
or create permissions for non-functional services.
Wired delete for account role and permission role sub resources.
All alternate URIs with which a service could be accessed shoudl be in service bindings element named uriPath
test: all tests multiple times

!!NOTE!!
cd trunk/services
ant create_db
mvn clean install -DskipTests
ant undeploy deploy
mvn test

If you are not running all the tests, at least seed default permissions using the following
cd trunk/services/authorization-mgt/import
mvn test

M    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionResource.java
M    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/AuthorizationDelegate.java
M    trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/PermissionRoleSubResource.java
M    trunk/services/authorization-mgt/import/src/test/java/org/collectionspace/services/authorization/importer/AuthorizationSeedTest.java
M    trunk/services/authorization-mgt/import/src/test/resources/applicationContext-authorization-test.xml
M    trunk/services/authorization-mgt/import/src/test/resources/log4j.properties
M    trunk/services/authorization-mgt/import/src/main/java/org/collectionspace/services/authorization/importer/AuthorizationSeed.java
M    trunk/services/authorization-mgt/import/src/main/java/org/collectionspace/services/authorization/importer/AuthorizationGen.java
M    trunk/services/authorization-mgt/import/src/main/resources/import-data/import-permissions.xml
M    trunk/services/authorization-mgt/import/src/main/resources/import-data/import-permissions-roles.xml
M    trunk/services/authorization-mgt/import/pom.xml
M    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
M    trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionRoleServiceTest.java
M    trunk/services/pom.xml
M    trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionManager.java
M    trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringAuthorizationProvider.java
M    trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spring/SpringPermissionEvaluator.java
M    trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/CSpaceResourceImpl.java
M    trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/URIResourceImpl.java
M    trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/AuthZ.java
M    trunk/services/authorization/service/src/main/java/org/collectionspace/services/authorization/spi/CSpacePermissionManager.java
M    trunk/services/authorization/service/src/main/resources/applicationContext-authorization.xml
_M   trunk/services/location/jaxb
M    trunk/services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClientImpl.java
M    trunk/services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaRelationshipStorageClient.java
M    trunk/services/common/src/main/java/org/collectionspace/services/common/security/SecurityInterceptor.java
M    trunk/services/common/src/main/config/services/tenant-bindings.xml
M    trunk/services/common/src/main/resources/service.xsd
M    trunk/services/account/service/src/main/java/org/collectionspace/services/account/AccountRoleSubResource.java
M    trunk/services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
_M   trunk/services/note/service
_M   trunk/services/note/jaxb
_M   trunk/services/note/client
M    trunk/services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthenticationServiceTest.java
M    trunk/services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthorizationServiceTest.java

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.