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: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
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.

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