Petals Ant Tasks

Create an Ant task for assertions about a flow instance tree

Details

  • Description:
    Hide

    Create an Ant task for assertions about a flow instance tree:

    <petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
    <petals-monit-build-flow-trees refid="flows" id="flow-trees">
    <petals-extract-flow-step-info refid="flows" selectRandomly="true">
       <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
       <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
       <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
       <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
       <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
       <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
    </petals-extract-flow-step-info>
    <petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
       <assertFlowTreeNode path="0">
          <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
       </assertFlowTreeNode>
    </petals-assert-flow-tree>
    Show
    Create an Ant task for assertions about a flow instance tree:
    <petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
    <petals-monit-build-flow-trees refid="flows" id="flow-trees">
    <petals-extract-flow-step-info refid="flows" selectRandomly="true">
       <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
       <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
       <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
       <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
       <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
       <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
    </petals-extract-flow-step-info>
    <petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
       <assertFlowTreeNode path="0">
          <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
       </assertFlowTreeNode>
    </petals-assert-flow-tree>
  • Environment:
    -

Activity

Christophe DENEUX made changes - Fri, 15 Apr 2016 - 14:43:00 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 14:43:41 +0200
Component/s Task 'petals-assert-flow-tree' [ 10387 ]
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 14:43:48 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 14:44:06 +0200
Component/s Task 'petals-assert-flow-trees' [ 10386 ]
Component/s Task 'petals-monit-build-flow-correlation-tree' [ 10385 ]
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 14:48:32 +0200
Description Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlow flowIdx="0">
      <assertFlowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlow>
</petals-assert-flow-tree>
{code}
Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowInstance flowInstanceIdx="0">
      <assertFlowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlow>
</petals-assert-flow-tree>
{code}
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 14:49:17 +0200
Description Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowInstance flowInstanceIdx="0">
      <assertFlowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlow>
</petals-assert-flow-tree>
{code}
Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowInstance flowInstanceIdx="0">
      <assertFlowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowInstance>
</petals-assert-flow-tree>
{code}
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 15:04:03 +0200
Description Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowInstance flowInstanceIdx="0">
      <assertFlowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowInstance>
</petals-assert-flow-tree>
{code}
Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowInstance flowInstanceIdx="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowInstance>
</petals-assert-flow-tree>
{code}
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 15:32:28 +0200
Description Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowInstance flowInstanceIdx="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowInstance>
</petals-assert-flow-tree>
{code}
Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowInstance level="0" flowInstanceIdx="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowInstance>
</petals-assert-flow-tree>
{code}
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 16:37:10 +0200
Description Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowInstance level="0" flowInstanceIdx="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowInstance>
</petals-assert-flow-tree>
{code}
Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowTreeNode id="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowTreeNode>
</petals-assert-flow-tree>
{code}
Christophe DENEUX made changes - Fri, 15 Apr 2016 - 18:18:25 +0200
Description Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowTreeNode id="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowTreeNode>
</petals-assert-flow-tree>
{code}
Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowTreeNode path="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowTreeNode>
</petals-assert-flow-tree>
{code}
Christophe DENEUX made changes - Mon, 18 Apr 2016 - 12:02:28 +0200
Description Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-correlation-tree refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowTreeNode path="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowTreeNode>
</petals-assert-flow-tree>
{code}
Create an Ant task for assertions about a flow instance tree:
{code}
<petals-monit-read-logfiles id="flows" dir="${petals.home}/logs/flow-monitoring" />
<petals-monit-build-flow-trees refid="flows" id="flow-trees">
<petals-extract-flow-step-info refid="flows" selectRandomly="true">
   <!-- On initial domain, we select an initial flow step, associated to a request sent by SE RMI -->
   <flowStepCriteria name="traceCode" value="consumeExtFlowStepBegin" />
   <flowStepCriteria name="flowStepInterfaceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepServiceName" value="{http://petals.ow2.org/}HelloWorldService" />
   <flowStepCriteria name="flowStepOperationName" value="{http://petals.ow2.org/}sayHello" />
   <flowStepInfo attribute="flowInstanceId" property="initial-flow-instance-id" />
</petals-extract-flow-step-info>
<petals-assert-flow-tree refid="flow-trees" flowInstanceId="${initial-flow-instance-id}">
   <assertFlowTreeNode path="0">
      <flowInstanceIdEquals expected="${initial-flow-instance-id}" />
   </assertFlowTreeNode>
</petals-assert-flow-tree>
{code}
Hide
Christophe DENEUX added a comment - Mon, 18 Apr 2016 - 18:44:53 +0200

Added in trunk

Show
Christophe DENEUX added a comment - Mon, 18 Apr 2016 - 18:44:53 +0200 Added in trunk
Christophe DENEUX made changes - Mon, 18 Apr 2016 - 18:44:53 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.5.1 [ 10598 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
9s
1
Christophe DENEUX
Fri, 15 Apr 2016 - 14:43:00 +0200
Open Open In Progress In Progress
48s
1
Christophe DENEUX
Fri, 15 Apr 2016 - 14:43:48 +0200
In Progress In Progress Resolved Resolved
3d 4h 1m
1
Christophe DENEUX
Mon, 18 Apr 2016 - 18:44:53 +0200



People

Dates

  • Created:
    Fri, 15 Apr 2016 - 14:42:51 +0200
    Updated:
    Mon, 18 Apr 2016 - 18:44:53 +0200
    Resolved:
    Mon, 18 Apr 2016 - 18:44:53 +0200