28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant<?xml version="1.0" encoding="UTF-8" standalone="no"?>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant<!--
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! CDDL HEADER START
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! The contents of this file are subject to the terms of the
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! Common Development and Distribution License, Version 1.0 only
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! (the "License"). You may not use this file except in compliance
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! with the License.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! or http://forgerock.org/license/CDDLv1.0.html.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! See the License for the specific language governing permissions
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! and limitations under the License.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! When distributing Covered Code, include this CDDL HEADER in each
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! file and include the License file at legal-notices/CDDLv1_0.txt.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! If applicable, add the following below this CDDL HEADER, with the
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! fields enclosed by brackets "[]" replaced with your own identifying
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! information:
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! Portions Copyright [yyyy] [name of copyright owner]
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! CDDL HEADER END
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! Copyright 2008-2009 Sun Microsystems, Inc.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! -->
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant<stax>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <defaultcall function="group_cleanup"/>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function name="group_cleanup">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-map-args>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-def name="stopDS" type="optional" default="True">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-description>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant Optional stop the Directory Server
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-arg-description>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-property name="type" value="boolean"/>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-arg-def>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-map-args>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <block name="'cleanup'">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <if expr="stopDS == True">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <message>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </message>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <call function="'StopDsWithScript'">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant { 'location' : STAF_REMOTE_HOSTNAME,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsHost' : DIRECTORY_INSTANCE_HOST,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsAdminPort' : DIRECTORY_INSTANCE_ADMIN_PORT,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsBindDN' : DIRECTORY_INSTANCE_DN,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </call>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </if>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <message>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'Remove DS topology created for the Test Suite'
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </message>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <call function="'removeTopology'"/>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </block>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant</stax>