859N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2887N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
859N/A<!--
859N/A ! CDDL HEADER START
859N/A !
859N/A ! The contents of this file are subject to the terms of the
859N/A ! Common Development and Distribution License, Version 1.0 only
859N/A ! (the "License"). You may not use this file except in compliance
859N/A ! with the License.
859N/A !
859N/A ! You can obtain a copy of the license at
859N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
859N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
859N/A ! See the License for the specific language governing permissions
859N/A ! and limitations under the License.
859N/A !
859N/A ! When distributing Covered Code, include this CDDL HEADER in each
859N/A ! file and include the License file at
859N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
859N/A ! add the following below this CDDL HEADER, with the fields enclosed
873N/A ! by brackets "[]" replaced with your own identifying information:
859N/A ! Portions Copyright [yyyy] [name of copyright owner]
859N/A !
859N/A ! CDDL HEADER END
859N/A !
4618N/A ! Copyright 2007-2009 Sun Microsystems, Inc.
6326N/A ! Portions Copyright 2011-2013 ForgeRock AS
859N/A ! -->
859N/A<stax>
859N/A <defaultcall function="main_aci"/>
859N/A <function name="main_aci">
3816N/A <function-list-args>
3816N/A <function-required-arg name="STAXParentID"/>
3816N/A </function-list-args>
946N/A <sequence>
859N/A
4618N/A <try>
4618N/A <block name="'aci'">
4618N/A
4618N/A <sequence>
4618N/A
4618N/A <!--- Load the job environment for the test group execution -->
4618N/A <import machine="STAF_LOCAL_HOSTNAME"
4618N/A file="'%s/environment.xml' % TESTS_FUNCTIONS_DIR" />
4618N/A <call function="'loadJobEnvironment'">
4618N/A { 'parent' : STAXParentID }
4618N/A </call>
4618N/A
4618N/A <script>
4618N/A CurrentTestPath['group']='aci'
6326N/A
6326N/A import re
6326N/A if UPGRADE_OPENDJNAME != '' and re.search('2.4.*',UPGRADE_OPENDJNAME) is not None:
6326N/A # UPGRADE MODE
6326N/A # Only for upgrade from 2.4.x
6326N/A GLOBAL_ACI_SEARCH="(targetattr!=\"userPassword||authPassword||changes||changeNumber||changeType||changeTime||targetDN||newRDN||newSuperior||deleteOldRDN||targetEntryUUID||targetUniqueID||changeInitiatorsName||changeLogCookie\")(version 3.0; acl \"Anonymous read access\"; allow (read,search,compare) userdn=\"ldap:///anyone\";)"
6326N/A else:
6326N/A # NORMAL MODE
6326N/A GLOBAL_ACI_SEARCH="(targetattr!=\"userPassword||authPassword||changes||changeNumber||changeType||changeTime||targetDN||newRDN||newSuperior||deleteOldRDN||targetEntryUUID||changeInitiatorsName||changeLogCookie||includedAttributes\")(version 3.0; acl \"Anonymous read access\"; allow (read,search,compare) userdn=\"ldap:///anyone\";)"
4618N/A </script>
4618N/A
4618N/A <call function="'testGroup_Preamble'"/>
5841N/A
4618N/A <!-- List of ACI test suites to run -->
4618N/A <script>
4618N/A suiteList=[]
5842N/A suiteList.append('global_acis')
5842N/A suiteList.append('target')
5842N/A suiteList.append('targetattr')
5842N/A suiteList.append('targetfilter')
5842N/A suiteList.append('targattrfilter')
5842N/A suiteList.append('targetscope')
5841N/A suiteList.append('targetcontrol')
5841N/A suiteList.append('delete_entry')
5841N/A suiteList.append('add_entry')
5841N/A suiteList.append('modify_entry')
5841N/A suiteList.append('compare_entry')
5841N/A suiteList.append('modify_rdn')
5841N/A suiteList.append('modify_filter')
5841N/A suiteList.append('rdn_wildcards')
5841N/A suiteList.append('bindtypes')
5841N/A suiteList.append('proxy_auth')
5841N/A suiteList.append('effective_rights')
5841N/A#OOS suiteList.append('import')
5841N/A suiteList.append('multi_acis')
4618N/A </script>
3847N/A
5841N/A <call function="'testSuite_Run'">
5841N/A { 'suites' : suiteList ,
5841N/A 'group' : 'aci' }
5841N/A </call>
4618N/A
4618N/A </sequence>
4618N/A </block>
4618N/A <catch exception="'STAXException.TestGroupException'">
4618N/A <sequence>
4618N/A <message log="1" level="'fatal'">'Execution of Test Group Failed'</message>
4618N/A </sequence>
4618N/A </catch>
4618N/A <finally>
4618N/A <!-- Test Group postamble -->
4618N/A <call function="'testGroup_Postamble'"/>
4618N/A </finally>
4618N/A </try>
3847N/A
946N/A </sequence>
859N/A </function>
859N/A</stax>