Petals Ant Tasks

Add a condition to check that an endpoint is deployed

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.5.0
  • Fix Version/s: 2.6.0
  • Security Level: Public
  • Description:
    Hide

    With Ant, to check that an endpoint is deployed, we can use the command 'endpoint-list' of Petals CLI. But in few case, it is not possible. Mainly if we want to use Ant tasks 'waitfor' or 'condition' in combination with the endpoint deployment check.

    So, it is needed to introduce an Ant condition checking that an endpoint is deployed.

    Show
    With Ant, to check that an endpoint is deployed, we can use the command 'endpoint-list' of Petals CLI. But in few case, it is not possible. Mainly if we want to use Ant tasks 'waitfor' or 'condition' in combination with the endpoint deployment check. So, it is needed to introduce an Ant condition checking that an endpoint is deployed.
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Tue, 26 Apr 2016 - 10:04:44 +0200

The new condition will be named 'hasEndpointDeployed' with following parameters:

  • host: the hostname of a Petals container. Default value: localhost,
  • port: JMX port of the Petals container. Default value: 7700,
  • username: JMX username of the Petals container,
  • password: JMX password of the Petals container,
  • interfaceName: interface name that the endpoints should match, or null if any interface is accepted,
  • serviceName: service name that the endpoints should match, or null if any service is accepted,
  • endpointName: endpoint name that the endpoints should match, or null if any endpoint name is accepted,
  • expectedNumber: the number of endpoints matching criteria that should be found to validate the condition.
Show
Christophe DENEUX added a comment - Tue, 26 Apr 2016 - 10:04:44 +0200 The new condition will be named 'hasEndpointDeployed' with following parameters:
  • host: the hostname of a Petals container. Default value: localhost,
  • port: JMX port of the Petals container. Default value: 7700,
  • username: JMX username of the Petals container,
  • password: JMX password of the Petals container,
  • interfaceName: interface name that the endpoints should match, or null if any interface is accepted,
  • serviceName: service name that the endpoints should match, or null if any service is accepted,
  • endpointName: endpoint name that the endpoints should match, or null if any endpoint name is accepted,
  • expectedNumber: the number of endpoints matching criteria that should be found to validate the condition.
Christophe DENEUX made changes - Tue, 26 Apr 2016 - 10:04:44 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Component/s Condition 'hasEndpointDeployed' [ 10391 ]
Christophe DENEUX made changes - Tue, 26 Apr 2016 - 10:04:53 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Tue, 26 Apr 2016 - 10:35:30 +0200

Condition added in trunk

Show
Christophe DENEUX added a comment - Tue, 26 Apr 2016 - 10:35:30 +0200 Condition added in trunk
Christophe DENEUX made changes - Tue, 26 Apr 2016 - 10:35:30 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 2.6.0 [ 10598 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
5m 41s
1
Christophe DENEUX
Tue, 26 Apr 2016 - 10:04:44 +0200
Open Open In Progress In Progress
9s
1
Christophe DENEUX
Tue, 26 Apr 2016 - 10:04:53 +0200
In Progress In Progress Resolved Resolved
30m 37s
1
Christophe DENEUX
Tue, 26 Apr 2016 - 10:35:30 +0200



People

Dates

  • Created:
    Tue, 26 Apr 2016 - 09:59:03 +0200
    Updated:
    Tue, 26 Apr 2016 - 10:35:30 +0200
    Resolved:
    Tue, 26 Apr 2016 - 10:35:30 +0200