Return-Path: X-Original-To: apmail-oodt-dev-archive@www.apache.org Delivered-To: apmail-oodt-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 969199D4A for ; Fri, 2 Mar 2012 20:36:51 +0000 (UTC) Received: (qmail 42041 invoked by uid 500); 2 Mar 2012 20:36:51 -0000 Delivered-To: apmail-oodt-dev-archive@oodt.apache.org Received: (qmail 42008 invoked by uid 500); 2 Mar 2012 20:36:51 -0000 Mailing-List: contact user-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@oodt.apache.org Delivered-To: mailing list user@oodt.apache.org Received: (qmail 42000 invoked by uid 99); 2 Mar 2012 20:36:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 20:36:51 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.149.139.109] (HELO mail.jpl.nasa.gov) (128.149.139.109) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 20:36:42 +0000 Received: from mail.jpl.nasa.gov (altvirehtstap02.jpl.nasa.gov [128.149.137.73]) by smtp.jpl.nasa.gov (Switch-3.4.3/Switch-3.4.3) with ESMTP id q22Ka1xo012691 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO) for ; Fri, 2 Mar 2012 12:36:21 -0800 Received: from ALTPHYEMBEVSP30.RES.AD.JPL ([128.149.137.84]) by ALTVIREHTSTAP02.RES.AD.JPL ([128.149.137.73]) with mapi; Fri, 2 Mar 2012 12:35:50 -0800 From: "Cayanan, Michael D (388J)" To: "user@oodt.apache.org" Date: Fri, 2 Mar 2012 12:36:04 -0800 Subject: PGE Question Thread-Topic: PGE Question Thread-Index: Acz4tA48dSqpVgvEQoqu3UFPXfmUeA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.14.0.111121 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CB766F34B2FEmichaelcayananjplnasagov_" MIME-Version: 1.0 X-Source-IP: altvirehtstap02.jpl.nasa.gov [128.149.137.73] X-Source-Sender: michael.d.cayanan@jpl.nasa.gov X-AUTH: Authorized X-Virus-Checked: Checked by ClamAV on apache.org --_000_CB766F34B2FEmichaelcayananjplnasagov_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, In my PGE, I specify my output like the following: After ingestion of this output product, I'd like to save the filename in my= workflow metadata. How would I do this? I tried creating a PostIngestSuccess action, but found out that whatever me= tadata saving you want to do on the "crawler" side doesn't get passed back = to the workflow metadata. I suppose I could update the workflow metadata by creating a PostIngestSucc= ess action and using the workflow manager client API to do this. However, w= hen I look at this class, I see the following method, updateMetadataForWorkflow(String workflowInstId, Metadata metadata) where it requires the workflow instance ID as a parameter. Is there a way t= o capture the workflow instance ID into the workflow metadata so that I can= leverage this method to update my metadata? Thanks, Mike --_000_CB766F34B2FEmichaelcayananjplnasagov_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,

In my PGE, I specify my output like the fol= lowing:

<output>

=

           <dir path=3D"[ProductLocation]" createBeforeExe= =3D"true">

              <files regExp=3D"SMAP_L0B_RADAR_SPS.*\.h5" metFileWriterClass=3D"[MetFileWriter]" args=3D"[ConfigMetou= tFile]"               <files name=3D"[PGETask_Name]_RunConfig_[ProductionDateTime].xml" <= span style=3D"color: #94268c">metFileWriterClass=3D"[MetFileWriter]" args= =3D"[RunConfigMetoutFile]" />

   </di= r>

</output>


After ingestion of this output pro= duct, I'd like to save the filename in my workflow metadata. How would I do= this?


<= /p>

I tried creating a PostIn= gestSuccess action, but found out that whatever metadata saving you want to= do on the "crawler" side doesn't get passed back to the workflow metadata.=


I suppose I could update the wor= kflow metadata by creating a PostIngestSuccess action and using the workflo= w manager client API to do this. However, when I look at this class, I see = the following method,     


updateMetadataForWorkflow(String workflowInst= Id, Metadata metadata)


where it requires the = workflow instance ID as a parameter. Is there a way to capture the workflow= instance ID into the workflow metadata so that I can leverage this method = to update my metadata?


Thanks,

Mike



--_000_CB766F34B2FEmichaelcayananjplnasagov_--