<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2010-2024 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.
  -->


<!--

This file provides a set of tasks for demo/testing midPoint task tree deletion features.

Used for test scenarios (http://wiki.evolveum.com/display/midPoint/Test+Scenarios)
so please do not edit unless you know what you are doing.

-->

<objects xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:noop="http://midpoint.evolveum.com/xml/ns/public/task/noop/handler-3"
>

    <task oid="91919191-76e0-59e2-86d6-556655660021"
          xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          xmlns:noop="http://midpoint.evolveum.com/xml/ns/public/task/noop/handler-3"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <name>DeleteTaskTree-parent</name>
        <taskIdentifier>10000000-0000-0000-0000-123450000021</taskIdentifier>
        <ownerRef oid="00000000-0000-0000-0000-000000000002"/>
        <executionStatus>waiting</executionStatus>
        <waitingReason>otherTasks</waitingReason>
        <schedule>
            <recurrence>single</recurrence>
        </schedule>
    </task>


    <task oid="91919191-76e0-59e2-86d6-556655661021"
          xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          xmlns:noop="http://midpoint.evolveum.com/xml/ns/public/task/noop/handler-3"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <name>DeleteTaskTree-child1</name>
        <activity>
            <work>
                <noOp>
                    <delay>1500</delay>
                    <steps>10000000</steps>
                </noOp>
            </work>
        </activity>

        <taskIdentifier>10000000-0000-0000-0000-123450000021-1</taskIdentifier>
        <ownerRef oid="00000000-0000-0000-0000-000000000002"/>
        <parent>10000000-0000-0000-0000-123450000021</parent>
        <executionStatus>runnable</executionStatus>

        <schedule>
            <recurrence>single</recurrence>
        </schedule>
    </task>

    <task oid="91919191-76e0-59e2-86d6-556655662021"
          xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
          xmlns:noop="http://midpoint.evolveum.com/xml/ns/public/task/noop/handler-3"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <name>DeleteTaskTree-child2</name>
        <activity>
            <work>
                <noOp>
                    <delay>1500</delay>
                    <steps>10000000</steps>
                </noOp>
            </work>
        </activity>
        <taskIdentifier>10000000-0000-0000-0000-123450000021-2</taskIdentifier>
        <ownerRef oid="00000000-0000-0000-0000-000000000002"/>
        <parent>10000000-0000-0000-0000-123450000021</parent>
        <executionStatus>runnable</executionStatus>

        <schedule>
            <recurrence>single</recurrence>
        </schedule>
    </task>

</objects>
