Hi Mike, Space should work in the property value below. Can you show me the log output from CAS-PGE in the workflow log file (or the resource manager batch stubs?) It should show you what Actions are being executed and that can help to debug.
Thanks! Cheers, Chris On Feb 7, 2012, at 4:06 PM, Cayanan, Michael D (388J) wrote: > If I wanted to specify more than one PCS_ActionsIds values, how would I do > this? > > I've tried the following with no success: > > <property name="PCS_ActionIds" value="Action1, Action2" /> > > > and > > <property name="PCS_ActionIds" value="Action1,Action2" /> > > > and > > <property name="PCS_ActionIds" value="Action1 Action2" /> > > > > -Mike > > > On 2/7/12 3:22 PM, "Mattmann, Chris A (388J)" > <[email protected]> wrote: > >> Hi Mike, >> >> Glad to hear! >> >> Cheers, >> Chris >> >> On Feb 7, 2012, at 3:14 PM, Cayanan, Michael D (388J) wrote: >> >>> Hi all, >>> >>> Disregard my previous message. Turns out I had a typo. I had to set >>> 'PCS_ActionsIds' instead of 'PCS_ActionIds'. >>> >>> -Mike >>> >>> From: "Cayanan, Michael D (388J)" <[email protected]> >>> Reply-To: "[email protected]" <[email protected]> >>> Date: Tue, 7 Feb 2012 13:51:12 -0800 >>> To: "[email protected]" <[email protected]> >>> Cc: "Wong, Cynthia L (388J)" <[email protected]> >>> Subject: CAS PGE Crawler Question >>> >>> Hi all, >>> >>> I would like CAS PGE to run a post ingest success action that I created >>> upon a successful ingestion of the output file(s). How do you configure >>> CAS PGE for this type of scenario? >>> >>> I have a tasks.xml file in the workflow, where I define my post ingest >>> action under the 'PCS_ActionIds' property: >>> >>> <task id="urn:my:Task" name="Task" >>> ... >>> <property name="PCS_ActionIds" >>> value="MyPostIngestSuccessAction" /> >>> <property name="PCS_ActionRepoFile" >>> value="crawler-config.xml" /> >>> </configuration> >>> </task> >>> >>> My crawler-config.xml has the following: >>> >>> <beans xmlns="http://www.springframework.org/schema/beans" >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xmlns:p="http://www.springframework.org/schema/p" >>> xsi:schemaLocation="http://www.springframework.org/schema/beans >>> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> >>> >>> <import >>> resource="classpath:/org/apache/oodt/cas/crawl/crawler-beans.xml"/> >>> <import resource="./action-beans.xml"/> >>> <import >>> resource="classpath:/org/apache/oodt/cas/crawl/comparator/precondition-be >>> ans.xml"/> >>> <import >>> resource="classpath:/org/apache/oodt/cas/crawl/option/cmd-line-option-bea >>> ns.xml"/> >>> </beans> >>> >>> Within my action-beans.xml, I added the post ingest success action: >>> >>> <beans xmlns="http://www.springframework.org/schema/beans" >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xsi:schemaLocation="http://www.springframework.org/schema/beans >>> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> >>> >>> <bean >>> class="org.apache.oodt.commons.spring.postprocessor.SetIdBeanPostProcesso >>> r"/> >>> >>> <!-- Crawler Actions --> >>> >>> <bean id="MyPostIngestSuccessAction" lazy-init="true" >>> class="gov.nasa.jpl.crawler.action.MyPostIngestSuccessAction"> >>> <property name="description" value="Kickoff Another Workflow >>> Event"/> >>> <property name="executeCommand" value="sh >>> [WORKFLOWMGR_HOME]/bin/run_L1B_S0_LoRes.sh"/> >>> <property name="phases"> >>> <list> >>> <value type="java.lang.String">postIngestSuccess</value> >>> </list> >>> </property> >>> </bean> >>> >>> Not sure if I'm missing anything else. >>> >>> Thanks in advance, >>> Mike >>> >> >> >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> Chris Mattmann, Ph.D. >> Senior Computer Scientist >> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA >> Office: 171-266B, Mailstop: 171-246 >> Email: [email protected] >> WWW: http://sunset.usc.edu/~mattmann/ >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> Adjunct Assistant Professor, Computer Science Department >> University of Southern California, Los Angeles, CA 90089 USA >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
