Changeset 3bcb813


Ignore:
Timestamp:
22/04/2012 17:59:39 (10 years ago)
Author:
Eric van der Vlist <vdv@dyomedea.com>
Branches:
master
Children:
b346236
Parents:
f25a924
git-author:
Eric van der Vlist <vdv@dyomedea.com> (22/04/2012 17:59:39)
git-committer:
Eric van der Vlist <vdv@dyomedea.com> (22/04/2012 17:59:39)
Message:

Unpause Heritrix job.

Location:
archiver/pipelines/actions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • archiver/pipelines/actions/crawler-beans-template.cxml

    rf25a924 r3bcb813  
    334334 <!-- first, processors are declared as top-level named beans  --> 
    335335 <bean id="warcWriter" class="org.archive.modules.writer.WARCWriterProcessor"> 
    336   <!-- <property name="compress" value="true" /> --> 
     336   <property name="compress" value="false" />  
    337337  <!-- <property name="prefix" value="IAH" /> --> 
    338338  <!-- <property name="suffix" value="${HOSTNAME}" /> --> 
  • archiver/pipelines/actions/heritrix-archive-set.xpl

    ra3fa073 r3bcb813  
    172172    </p:processor> 
    173173     
     174    <!-- Unpause the job --> 
     175    <p:processor name="oxf:xforms-submission"> 
     176        <p:input name="submission" transform="oxf:xslt" href="aggregate('root', #data, #heritrix-engine, #heritrix-launched)"> 
     177            <xforms:submission xsl:version="2.0" method="urlencoded-post" action="{/root/engine/jobs/value[shortName=/root/action/@uuid]/url}" 
     178                xxforms:username="{doc('oxf:/config.xml')/config/heritrix/username}" xxforms:password="{doc('oxf:/config.xml')/config/heritrix/password}" xxforms:preemptive-authentication="false"> 
     179                <xforms:header combine="replace"> 
     180                    <xforms:name>Accept</xforms:name> 
     181                    <xforms:value>application/xml</xforms:value> 
     182                </xforms:header> 
     183            </xforms:submission> 
     184        </p:input> 
     185        <p:input name="request" transform="oxf:xslt" href="#data"> 
     186            <instance xsl:version="2.0"> 
     187                <action>unpause</action> 
     188            </instance> 
     189        </p:input> 
     190        <p:output name="response" id="heritrix-unpaused" debug="heritrix-unpaused"/> 
     191    </p:processor> 
     192     
    174193     
    175194    <p:processor name="oxf:null-serializer"> 
    176         <p:input name="data" href="#heritrix-launched"/> 
     195        <p:input name="data" href="#heritrix-unpaused"/> 
    177196    </p:processor> 
    178197 
Note: See TracChangeset for help on using the changeset viewer.