<!--
 ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ WSO2 Inc. licenses this file to you 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.
 -->
<component xmlns="http://products.wso2.org/carbon">
    <menus>
<!--        <menu>
            <id>webapps_menu</id>
            <i18n-key>webappmgt.services.menu</i18n-key>
            <i18n-bundle>org.wso2.carbon.webapp.mgt.ui.i18n.Resources</i18n-bundle>
            <parent-menu>manage_menu</parent-menu>
            <link>#</link>
            <region>region1</region>
            <order>2</order>
            <icon>../webapp-mgt/images/webapps.gif</icon>
            <style-class>home</style-class>
            <require-permission>/permission/admin/manage/manage/webapp</require-permission>
        </menu>
        <menu>
            <id>webapps_list_menu</id>
            <i18n-key>webappmgt.listservices.menu</i18n-key>
            <i18n-bundle>org.wso2.carbon.webapp.mgt.ui.i18n.Resources</i18n-bundle>
            <parent-menu>webapps_menu</parent-menu>
            <link>../webapp-mgt/index.jsp</link>
            <region>region1</region>
            <order>3</order>
            <icon>../webapp-mgt/images/list.gif</icon>
            <style-class>home</style-class>
            <require-permission>/permission/admin/manage/manage/webapp</require-permission>
        </menu>
        <menu>
            <id>webapps_add_menu</id>
            <i18n-key>webappmgt.add.webapp.menu</i18n-key>
            <i18n-bundle>org.wso2.carbon.webapp.mgt.ui.i18n.Resources</i18n-bundle>
            <parent-menu>webapps_menu</parent-menu>
            <link>#</link>
            <region>region1</region>
            <order>10</order>
            <icon>../webapp-mgt/images/add.gif</icon>
            <style-class>home</style-class>
            <require-permission>/permission/admin/manage/add/webapp</require-permission>
        </menu>-->
        <menu>
            <id>webapps_add</id>
            <i18n-key>webapps</i18n-key>
            <i18n-bundle>org.wso2.carbon.webapp.mgt.ui.i18n.Resources</i18n-bundle>
            <parent-menu>webapps_add_menu</parent-menu>
            <link>../webapp-mgt/upload.jsp</link>
            <region>region1</region>
            <order>30</order>
            <icon>../webapp-mgt/images/webapps.gif</icon>
            <style-class>home</style-class>
            <require-permission>/permission/admin/manage/add/webapp</require-permission>
        </menu>
    </menus>

    <FileUploadConfig>
        <Mapping>
            <Actions>
                <Action>webapp</Action>
            </Actions>
            <Class>org.wso2.carbon.webapp.mgt.ui.WarFileUploadExecutor</Class>
        </Mapping>
    </FileUploadConfig>
</component>
