<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
  ~ Copyright (C) 2018 - 2023 Entgra (Pvt) Ltd, Inc - All Rights Reserved.
  ~
  ~ Unauthorised copying/redistribution of this file, via any medium is strictly prohibited.
  ~
  ~ Licensed under the Entgra Commercial License, Version 1.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     https://entgra.io/licenses/entgra-commercial/1.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.
  -->
<TaskMgtConfiguration>
    <ManagementRepository>
        <DataSourceConfiguration>
            <JndiLookupDefinition>
                {% if task_mgt.datasource.name is defined %}
                <Name>{{task_mgt.datasource.name}}</Name>
                {% else %}
                <Name>jdbc/DM_DS</Name>
                {% endif %}
            </JndiLookupDefinition>
        </DataSourceConfiguration>
    </ManagementRepository>
    {% if task_watcher.conf is defined %}
    <TaskWatcherEnable>{{task_watcher.conf.enable}}</TaskWatcherEnable>
    {% else %}
    <TaskWatcherEnable>false</TaskWatcherEnable>
    {% endif %}
</TaskMgtConfiguration>

