Skip to content

Commit

Permalink
SAK-25866 remove old archiveservice impl
Browse files Browse the repository at this point in the history
git-svn-id: https://source.sakaiproject.org/svn/common/trunk@308151 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
steveswinsburg committed Apr 13, 2014
1 parent d9917af commit 18cc8cd
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 1,396 deletions.
23 changes: 5 additions & 18 deletions common/archive-impl/README-2-IMPLS.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,14 @@
Notes for: archive-impl and archive-impl/impl2

There is a new implementation of the ArchiveService in the impl2 module. The original
implementation still exists, and can be enabled in place of the newer version.

ArchiveService2Impl allows you to customize which entities are imported during the merge
process. Previously, the list of allowable services was Hardcoded in the Service itself.
All other behaviour, as well as the API, are the same.

Configuration:
All configuration is in archive/archive-impl/pack/src/webapp/WEB-INF/components.xml

1. Switching to the old ArchiveService Implementation

a. Remove, or comment out the bean with header:
<bean id="org.sakaiproject.archive.api.ArchiveService"
class="org.sakaiproject.archive.impl.ArchiveService2Impl"

b. Uncomment the bean with header:
<bean id="org.sakaiproject.archive.api.ArchiveService"
class="org.sakaiproject.archive.impl.BasicArchiveService"

2. Changing the path for archived files
1. Changing the path for archived files
Change the "storagePath" property on the "org.sakaiproject.archive.api.ArchiveService" bean.

3. Changing Services whose entities are merged (impl2)
2. Changing Services whose entities are merged (impl2)
A. You have the option of merging any and all entities from all Services
Bean: org.sakaiproject.archive.api.ArchiveService
Property: mergeFilterSakaiServices
Expand All @@ -38,10 +23,12 @@ All configuration is in archive/archive-impl/pack/src/webapp/WEB-INF/components.
For example, org.sakaiproject.announcement.api.AnnouncementService, would just be
AnnouncementService.

4. Changing Roles for which entities are merged
3. Changing Roles for which entities are merged
Bean: org.sakaiproject.archive.api.ArchiveService
Properties: mergeFilterSakaiRoles, mergeFilteredSakaiRoles
These properties mimic the properties in 3, in that they control that only merges created by XYZ Roles
are merged. Note: Some testing needs to be done to make sure this is really observed in all Services.

TODO: describe the import architecture

UPDATE 13-APR-2014: The original ArchiveService impl has been removed. See SAK-25866.
51 changes: 0 additions & 51 deletions common/archive-impl/impl/pom.xml

This file was deleted.

Loading

0 comments on commit 18cc8cd

Please sign in to comment.