You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Saminda Wijeratne (JIRA)" <ji...@apache.org> on 2013/08/17 08:35:47 UTC

[jira] [Comment Edited] (AIRAVATA-820) Parameter mismatching when using ForEach

    [ https://issues.apache.org/jira/browse/AIRAVATA-820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742862#comment-13742862 ] 

Saminda Wijeratne edited comment on AIRAVATA-820 at 8/17/13 6:33 AM:
---------------------------------------------------------------------

Hi Shinyoung,

There was an issue in the simple foreach workflow as well. I fixed the problem and tested both the simple/complex foreach example workflows provided (and for good measure tested 5/10 tutorials as well for stability of the fix). Assuming that it was the same issue you also faced as I've understood please verify with the trunk. Again, thank you for noticing these issues and reporting them back to us ASAP.

Committed revision 1514952.
                
      was (Author: samindaw):
    Hi Shinyoung,

There was an issue in the simple foreach workflow as well. I fixed the problem and tested both the simple/complex foreach example workflows provided (and for good measure tested 5/10 tutorials as well for stability of the fix). Assuming that it was the same issue you also faced as I've understood please verify with the trunk. Again, thank you for noticing these issues and reporting them back to us ASAP.
                  
> Parameter mismatching when using ForEach 
> -----------------------------------------
>
>                 Key: AIRAVATA-820
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-820
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Shinyoung Ahn
>
> When an application have three parameters, fir and second parameter's type is String type and
> the third parameter is StringArray type.
> Third parameter is connected to ForEach.
> When I execute the applications
> Airavat show unexpected behavior like below. 'Invoking service' do not use right value that I expected…
> I expect the input parameters’ values of bwa_aln_fwd_p_invoke are same with the parameter of 'WorkflowInvoked'.
> The Notification Message as follows
> -----------------------------------------------------------------------------------------------------------------
> Status'workflowInvoked' 
> <ns:workflowInvoked infoModelVersion="2.6"
>   xmlns:ns="http://airavata.apache.org/schemas/wft/2011/08">
>   <ns:notificationSource ns:serviceID="Workflow1_b8721d2f_d131_4ec3_bbb3_6fe12f528ed8" ns:experimentID="Workflow1_b8721d2f-d131-4ec3-bbb3-6fe12f528ed8" />
>   <ns:timestamp>2013-04-11T09:15:41.988+09:00</ns:timestamp>
>   <ns:description>thread=4, refIndexFile=/home/team/genome/bwaindex/chr22.fa, Input=/home/team/genome/Demo/sample_1.fq.00,/home/team/genome/Demo/sample_1.fq.01, Input=/home/team/genome/Demo/sample_1.fq.00,/home/team/genome/Demo/sample_1.fq.01</ns:description>
>   <ns:annotation />
>   <ns:initiator ns:serviceID="Workflow1_b8721d2f_d131_4ec3_bbb3_6fe12f528ed8" />
> </ns:workflowInvoked>
> -------------------------------------------------------------------------------------------------------------------
> Status: invokingService
> <ns:invokingService infoModelVersion="2.6"
>   xmlns:ns="http://airavata.apache.org/schemas/wft/2011/08">
>   <ns:notificationSource ns:serviceID="Workflow1_b8721d2f_d131_4ec3_bbb3_6fe12f528ed8" ns:experimentID="Workflow1_b8721d2f-d131-4ec3-bbb3-6fe12f528ed8" />
>   <ns:timestamp>2013-04-11T09:15:42.240+09:00</ns:timestamp>
>   <ns:description>thread=/home/team/genome/Demo/sample_1.fq.00, refIndexFile=/home/team/genome/Demo/sample_1.fq.00, bwdFqFile=/home/team/genome/Demo/sample_1.fq.00</ns:description>
>   <ns:annotation />
>   <ns:request>
>     <ns:body>
>       <n1:invoke_InputParams
>         xmlns:n1="http://airavata.apache.org/schemas/gfac/2012/12/bwa_aln_bwd/xsd">
>         <thread>/home/team/genome/Demo/sample_1.fq.00</thread>
>         <refIndexFile>/home/team/genome/Demo/sample_1.fq.00</refIndexFile>
>         <bwdFqFile>/home/team/genome/Demo/sample_1.fq.00</bwdFqFile>
>       </n1:invoke_InputParams>
>     </ns:body>
>   </ns:request>
>   <ns:receiver ns:serviceID="bwa_aln_bwd_invoke" ns:workflowID="Workflow1_b8721d2f_d131_4ec3_bbb3_6fe12f528ed8" ns:workflowTimestep="0" ns:workflowNodeID="bwa_aln_bwd_invoke" />
> </ns:invokingService>
> -------------------------------------------------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira