<!--
  ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
  ~
  ~ 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.
  -->
<serviceGroup>
    <service name="EventSimulatorAdminService" scope="transportsession">
        <transports>
            <transport>https</transport>
        </transports>
        <parameter name="ServiceClass">org.wso2.carbon.event.simulator.admin.EventSimulatorAdminService</parameter>

        <parameter name="AuthorizationAction" locked="false">
            /permission/admin/manage/event-simulator
        </parameter>
        <operation name="getAllEventStreamInfoDto">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="sendEvent">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="uploadService">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="getAllCSVFileInfo">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="sendConfigDetails">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="sendEventsViaFile">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="pauseEventsViaFile">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="resumeEventsViaFile">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="stopEventsViaFile">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="deleteFile">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="testSimulateRDBMSDataSourceConnection">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="saveDataSourceConfigDetails">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="getAllDataSourceTableAndStreamInfo">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="sendDBConfigFileNameToSimulate">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="pauseDBConfigFileNameToSimulate">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="resumeDBConfigFileNameToSimulate">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="stopDBConfigFileNameToSimulate">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>
        <operation name="deleteDBConfigFile">
            <parameter name="AuthorizationAction" locked="false">
                /permission/admin/manage/event-simulator
            </parameter>
        </operation>

    </service>

    <parameter name="adminService" locked="true">true</parameter>
    <parameter name="hiddenService" locked="true">true</parameter>
</serviceGroup>