This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<process-definition name="modifyObject"> | |
<if> | |
<equals field-value="state" other-value="A"></equals> | |
<sequence> | |
<participant ref="notify_on_start"></participant> | |
<participant ref="parse_dam_dump"></participant> | |
<forget> | |
<participant ref="log"></participant> | |
</forget> | |
<concurrent-iterator on-field="assets" to-field="asset"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
$:.unshift('lib') | |
require 'ruote/engine' | |
require 'ruote/log/logger' | |
require 'ruote/log/fs_history' | |
require 'ruote/part/fs_participant' | |
require 'ruote/part/block_participant' | |
require 'ruote/part/smtp_participant' | |
$engine = Ruote::FsPersistedEngine.new(:definition_in_launchitem_allowed => true, :s_logger => $logger) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is a Fedora PID generate that requests new PIDs from a webservice (like CDL's NOID), e.g.: | |
* <module role="fedora.server.management.PIDGenerator" class="fedora.server.management.WSPIDGenerator"> | |
* <comment>The web services pid generator.</comment> | |
* <param name="url" value="http://example.org/nd/noidu_{nsID}?mint+1"/> | |
* <param name="connectionTimeout" value="5000" /> | |
* </module> | |
*/ | |
package fedora.server.management; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private final Set<String> m_lockedPIDs; | |
[...] | |
/** | |
* Creates a new DefaultDOManager. | |
*/ | |
public DefaultDOManager(Map<String, String> moduleParameters, Server server, String role) | |
throws ModuleInitializationException { | |
super(moduleParameters, server, role); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/main/java/fedora/server/access/FedoraAccessServlet.java | |
=================================================================== | |
--- src/main/java/fedora/server/access/FedoraAccessServlet.java (revision 8470) | |
+++ src/main/java/fedora/server/access/FedoraAccessServlet.java (working copy) | |
@@ -660,6 +660,17 @@ | |
sb.append(line); | |
} | |
+ String query = request.getQueryString(); | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/main/java/fedora/server/storage/DefaultDOManager.java | |
=================================================================== | |
--- src/main/java/fedora/server/storage/DefaultDOManager.java (revision 8470) | |
+++ src/main/java/fedora/server/storage/DefaultDOManager.java (working copy) | |
@@ -77,6 +77,10 @@ | |
import fedora.server.validation.DOValidatorImpl; | |
import fedora.server.validation.ValidationUtility; | |
+import java.util.concurrent.TimeUnit; | |
+import java.util.concurrent.locks.Lock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package fedora.server.storage.lowlevel; | |
import java.io.File; | |
import java.util.Map; | |
import fedora.server.errors.LowlevelStorageException; | |
/** | |
* @author Chris Beer | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env jython | |
# This is a Jython Servlet wrapper for FITS <http://code.google.com/p/fits/> | |
# | |
# INSTALL: | |
# Set the FITS_HOME variable to the location of the FITS package | |
# | |
# Some JARs may need to be moved into the endorsed folder (./common/endorsed) | |
# like jaxon, jdom, saxon, saxpath, and xerces. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteMap pairtree-map prg:/opt/local/apache2/map.pairtree.py | |
RewriteLock /opt/local/apache2/map.pairtree.py.lock | |
RewriteRule ^/pt/(.+?)/(.*)$ /pairtree/${pairtree-map:$1}/$2 |