blob: f68123a84cd3c9b801f6d7a54aebbc3b3426e7ad [file]
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<cas:tasks xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
<task id="urn:drat:RatCodeAudit" name="RadCodeAudit"
class="org.apache.oodt.cas.pge.StdPGETaskInstance">
<conditions/>
<configuration>
<property name="PGETask_Name" value="RatCodeAudit"/>
<property name="PGETask_ConfigFilePath" value="[DRAT_HOME]/pge/policy/PgeConfig_Rat.xml" envReplace="true"/>
<property name="PGETask_DumpMetadata" value="true"/>
<property name="PCS_WorkflowManagerUrl" value="[WORKFLOW_URL]" envReplace="true" />
<property name="PCS_FileManagerUrl" value="[FILEMGR_URL]" envReplace="true"/>
<property name="PCS_MetFileExtension" value="met"/>
<property name="PCS_ClientTransferServiceFactory" value="org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory"/>
<requiredMetFields>
<metfield name="InputFiles"/>
<metfield name="MimeType"/>
</requiredMetFields>
</configuration>
</task>
<task id="urn:drat:MimePartitioner" name="MimePartitioner"
class="org.apache.oodt.cas.pge.StdPGETaskInstance">
<conditions/>
<configuration>
<property name="PGETask_Name" value="MimePartitioner"/>
<property name="PGETask_ConfigFilePath" value="[DRAT_HOME]/pge/policy/PgeConfig_MimePartitioner.xml" envReplace="true"/>
<property name="PGETask_DumpMetadata" value="true"/>
<property name="PCS_WorkflowManagerUrl" value="[WORKFLOW_URL]" envReplace="true" />
<property name="PCS_FileManagerUrl" value="[FILEMGR_URL]" envReplace="true"/>
<property name="PCS_MetFileExtension" value="met"/>
<property name="PCS_ClientTransferServiceFactory" value="org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory"/>
<property name="SolrUrl" value="http://localhost:8080/solr/drat"/>
<property name="RatTaskId" value="urn:drat:RatCodeAudit"/>
<property name="NumFilesPerJob" value="100"/>
<property name="MimePartitionerPyScript" value="[DRAT_HOME]/pge/bin/mime_partitioner/mime_rat_partitioner.py"/>
<requiredMetFields/>
</configuration>
</task>
<task id="urn:drat:RatAggregator" name="RatAggregator"
class="org.apache.oodt.cas.pge.StdPGETaskInstance">
<!--
An example to check for prerequisite jobs while running DRAT using OODT Resource Manager
<conditions>
<condition id="urn:drat:CheckForPrerequisiteJob" />
</conditions>
-->
<configuration>
<property name="PGETask_Name" value="RatAggregator"/>
<property name="PGETask_ConfigFilePath" value="[DRAT_HOME]/pge/policy/PgeConfig_RatAggregator.xml" envReplace="true"/>
<property name="PGETask_DumpMetadata" value="true"/>
<property name="PCS_WorkflowManagerUrl" value="[WORKFLOW_URL]" envReplace="true" />
<property name="PCS_FileManagerUrl" value="[FILEMGR_URL]" envReplace="true"/>
<property name="PCS_MetFileExtension" value="met"/>
<property name="PCS_ClientTransferServiceFactory" value="org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory"/>
<property name="RatAggregatorScript" value="[DRAT_HOME]/pge/bin/rat_aggregator/rat_aggregator.py"/>
<requiredMetFields/>
</configuration>
</task>
</cas:tasks>