THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
To do this, modify your pre-existing PGE task instance entry for your PGE task within tasks.xml (WORKFLOW_HOME/policy/tasks.xml) to use the special WinPGETaskInstance class. You will need simply set the class attribute of your PGETask to use the WinPGETaskInstance class: 'org.apache.oodt.cas.pge.WinPGETaskInstance'. An example is shown below.
No Format |
---|
<task id="urn:edrnmyawesomeproject:MyWinPGETask" name="MyWinPGETask" class="org.apache.oodt.cas.pge.WinPGETaskInstance"> <conditions/> <configuration> <property name="PGETask_Name" value="MyWinPGETask"/> <property name="PGETask_ConfigFilePath" value="[PGE_ROOT]/pge-configs/my-win-pge-task.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="PCS_ActionRepoFile" value="file:[CRAWLER_HOME]/policy/crawler-config.xml" envReplace="true"/> <property name="QueueName" value="win-queue"/> <!-- assuming we are using resource manager to configure a specific queue for windows tasks --> </configuration> </task> |