<!--
 ~ 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>repo_mgt_menu</id>
            <i18n-key>repo</i18n-key>
            <i18n-bundle>org.wso2.carbon.repomanager.axis2.ui.i18n.Resources</i18n-bundle>
            <parent-menu>configure_menu</parent-menu>
            <link>#</link>
            <region>region1</region>
            <order>30</order>
            <icon>../repomanager-axis2/images/repository.gif</icon>
            <style-class>home</style-class>
            <require-permission>/permission/admin/manage/repository/axis2</require-permission>
	    <require-super-tenant>true</require-super-tenant>
        </menu>
        <menu>
            <id>axis2_repo_mgt_menu</id>
            <i18n-key>axis2</i18n-key>
            <i18n-bundle>org.wso2.carbon.repomanager.axis2.ui.i18n.Resources</i18n-bundle>
            <parent-menu>repo_mgt_menu</parent-menu>
            <link>../repomanager-axis2/index.jsp</link>
            <region>region1</region>
            <order>5</order>
            <style-class>manage</style-class>
            <icon>../repomanager-axis2/images/axis2.gif</icon>
            <require-permission>/permission/admin/manage/repository/axis2</require-permission>
	    <require-super-tenant>true</require-super-tenant>
        </menu>
    </menus>

    <FileUploadConfig>
        <Mapping>
            <Actions>
                <Action>axis2repomanager</Action>
            </Actions>
            <Class>org.wso2.carbon.repomanager.axis2.ui.fileupload.Axis2RepoArtifactUploadExecutor</Class>
        </Mapping>
    </FileUploadConfig>
    
</component>
