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

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