<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2010-2018 Evolveum
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<task oid="0ce0ce48-ff0b-48db-aefe-a3adec0ed25b"
      xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3">
    <name>1000 objects in 20 buckets, 4 workers per node</name>
    <ownerRef oid="00000000-0000-0000-0000-000000000002"/>
    <executionState>runnable</executionState>
    <activity>
        <work>
            <noOp>
                <!-- 1 second per object -->
                <steps>1</steps>
                <delay>1000</delay>
            </noOp>
        </work>
        <distribution>
            <buckets>
                <numericSegmentation>
                    <numberOfBuckets>200</numberOfBuckets>
                    <to>10000</to>
                </numericSegmentation>
                <allocation>
                    <!-- not quite sensible values, used for illustration purposes only -->
                    <workAllocationInitialDelay>40000</workAllocationInitialDelay>
                    <workAllocationFreeBucketWaitInterval>1000</workAllocationFreeBucketWaitInterval>
                </allocation>
            </buckets>
            <workers>
                <workersPerNode>
                    <count>40</count>
                </workersPerNode>
            </workers>
        </distribution>
    </activity>
</task>
