// import HelperUtil from './HelperUtil'
// const requestRootURL = HelperUtil.getRequestRootURL()
const requestRootURL = configSelf.rootUrl
export const REQUEST_CONFIG = {headers: {'Content-Type': 'application/json', 'Encoding': 'utf-8'}}
// device
export const DEVICE_ADMQ_TOTAL = requestRootURL + 'cfg/device/totalcounts'
export const DEVICE_ADMQ_TOTAL_PAGE = requestRootURL + 'cfg/device/queryterms'
export const DEVICE_ADMQ = requestRootURL + 'cfg/device'
export const DEVICE_UPLOAD = requestRootURL + 'cfg/device/import'
export const DEVICE_DOWNLOAD = requestRootURL + 'cfg/device/export'
export const DEVICE_BOOK_DOWNLOAD = requestRootURL + 'cfg/device/export/standingbook'
export const DEVICE_HISTORY_CONFIG = requestRootURL + 'cfg/control/conf/historyconf/queryterms'
export const DEVICE_CONDITION_QUERY = requestRootURL + 'cfg/device/query'
export const DEVICE_QUERY = requestRootURL + 'cfg/device/queryDevice'
export const DEVICE_DOWNLOAD_DEVICE_LOG = requestRootURL + 'cfg/control/conf/uploadsyslog/'
export const DEVICE_DISCOVER = requestRootURL + 'device/traditionaldevices'
export const DEVICE_PORT_CONFIG = requestRootURL + 'cfg/deviceModelPort/queryterms'
export const DEVICE_TYPE_KEY = requestRootURL + 'cfg/deviceModel/queryterms'
export const DEVICE_PORT_STATUS = requestRootURL + 'cfg/control/resourcequery'
export const DEVICE_PORT = requestRootURL + 'cfg/control/getPanelDisplay'
export const DEVICE_INFO = requestRootURL + 'cfg/control/controldebug'
export const DEVICE_INFOS = requestRootURL + 'cfg/control/nodeinfo'
export const DEVICE_BATCH_ADD = requestRootURL + 'device/bulkadd/'
export const DEVICE_BATCH_SEARCH = requestRootURL + 'cfg/control/topydiscoverdebug'
export const DEVICE_TYPE_ADMQ = requestRootURL + 'cfg/deviceTypeCfg'
export const DEVICE_MODEL_ADMQ = requestRootURL + 'cfg/deviceModel'
export const DEVICE_PORT_NUM = requestRootURL + 'cfg/deviceModel/queryterms'
// alarm
export const ALARM_DELETE = requestRootURL + 'alarm/activealarm'
export const ALARM_ADMQ = requestRootURL + 'alarm/activealarm'
export const ALARM_LEVEL_CONFIG = requestRootURL + 'alarm/alarmlevelconfig'
export const ALARM_CONFIRM = requestRootURL + 'alarm/activealarm/ack'
export const ALARM_CLEARUP = requestRootURL + 'alarm/activealarm/clear'
export const ALARM_AUDIO = requestRootURL + 'alarm/alarmlevelconfig/downloadaudio/'
export const ALARMTYPELIST_ADMQ = requestRootURL + 'alarm/alarmTypeCfg'
export const ALARMCFGLIST_ADMQ = requestRootURL + 'alarm/alarmTypeCfg'
export const ALARMCOUNTS_GET = requestRootURL + 'alarm/totalcounts/'
export const ALARMLEVEL_UPDATE = requestRootURL + 'alarm/alarmlevelconfigbatch'
export const ALARMCFG_UPDATE = requestRootURL + 'alarm/alarmTypeCfg/alarmlevel'
export const ALARMSTATISTIC_QUERY = requestRootURL + 'alarm/alarmstatistic'
export const ALARM_PAGING_QUERY = requestRootURL + 'alarm/queryterms/'
export const ALARM_UPLOAD_URL = requestRootURL + 'alarm/alarmlevelconfig/uploadaudio'
export const ALARM_QUERY_DOWNLOAD_EXCEL = requestRootURL + 'alarm/export'
export const ALARM_QUERY_DOWNLOAD_CSV = requestRootURL + 'alarm/exportcsv'
export const ALARMREPORT_QUERY = requestRootURL + 'alarm/alarmtopstatistic/'
export const REPORT_QUERY = requestRootURL + 'report'

// 告警过滤
export const ALARM_FILTER_ADMQ = requestRootURL + 'alarm/alarmfilterconfig'
export const ALARM_FILTER_TOTAL = requestRootURL + 'alarm/alarmfilterconfig/totalcounts'
export const ALARM_FILTER_QUERY = requestRootURL + 'alarm/alarmfilterconfig/queryterms'

// PeriodReport
// export const PERIOD_REPORT = requestRootURL + 'report/periodicReport'
// export const PERIOD_REPORT_EXPORT = requestRootURL + 'report/periodicReport/export'
// export const PERIOD_REPORT_TOTAL = requestRootURL + 'report/periodicReport/totalcounts'
// export const PERIOD_REPORT_QUERY = requestRootURL + 'report/periodicReport/queryterms'

// alarmMangExp
export const ALARM_MANG_EXP = requestRootURL + 'alarm/alarmMangExp'
export const ALARM_MANG_EXP_TOTAL = requestRootURL + 'alarm/alarmMangExp/totalcounts'
export const ALARM_MANG_EXP_QUERY = requestRootURL + 'alarm/alarmMangExp/queryterms'
export const ALARM_MANG_EXP_EXPORT = requestRootURL + 'alarm/alarmMangExp/export'
export const ALARM_MANG_EXP_IMPORT = requestRootURL + 'alarm/alarmMangExp/import'

// subnet
export const SUBNET_ADMQ = requestRootURL + 'cfg/subnet'
export const SUBNET_DELETE = requestRootURL + 'cfg/subnet'
export const SUBNET_CONDITION_QUERY = requestRootURL + 'cfg/subnet/query'
export const SUBNET_UPLOAD = requestRootURL + 'cfg/subnet/import'
export const SUBNET_DOWNLOAD = requestRootURL + 'cfg/subnet/export'
// link
export const LINK_ADMQ = requestRootURL + 'cfg/link'
export const LINK_DOWNLOAD = requestRootURL + 'cfg/link/export'
export const LINK_IMPORT = requestRootURL + 'cfg/link/import'
export const LINK_ADMQ_TOTAL = requestRootURL + 'cfg/link/totalcounts'
export const LINK_ADMQ_TOTAL_PAGE = requestRootURL + 'cfg/link/queryterms'
export const LINK_CONDITION_QUERY = requestRootURL + 'cfg/link/query'
// topology
export const TOPOLOGY_ADMQ = requestRootURL + 'cfg/topology'
// eline
export const ELINE_ADMQ = requestRootURL + 'eline'
export const ELINE_QUERY = requestRootURL + 'eline/queryterms'
export const ELINE_DEVICE = requestRootURL + 'eline/getList'
export const TUNNEL_ADMQ = requestRootURL + 'tunnel'
export const TUNNEL_BANDWIDTH = requestRootURL + 'tunnel/bandwidth'

// cdp
export const CDP_ADQ = requestRootURL + 'qos'
// serviceSubnet
export const SUBNET_SERVICE = requestRootURL + 'serviceSubnet'
export const SUBNET_SERVICE_DELETE = requestRootURL + 'serviceSubnet'
export const SUBNET_SERVICE_MODIFY = requestRootURL + 'serviceSubnet/modifySubnetDevices'
// server
export const SERVER_ADMQ = requestRootURL + 'server'
export const SERVER_QUERY = requestRootURL + 'server/queryterms'
export const SERVER_UNDER_DEVICES = requestRootURL + 'server/findDevicesUnderServer/'
export const SERVER_UNDER_DEVICES_NUM = requestRootURL + 'server/findDeviceNumUnderServer/'
// elineTemplate
export const ELINE_TEMPLATE_ADMQ = requestRootURL + 'elineTemplate'
export const ELINE_TEMPLATE_QUERY = requestRootURL + 'elineTemplate/queryterms'
// serviceType
export const SERVICETYPE_ADMQ = requestRootURL + 'serviceType'
export const SERVICETYPE_QUERY = requestRootURL + 'serviceType/queryterms'
// location
export const LOCATION_ADMQ = requestRootURL + 'cfg/location'
export const LOCATION_QUERY = requestRootURL + 'cfg/location/query'
export const LOCATION_UPLOAD = requestRootURL + 'cfg/location/import'
export const LOCATION_DOWNLOAD = requestRootURL + 'cfg/location/export'
// portList
export const PORTLIST_ADMQ = requestRootURL + 'cfg/businessPort'
export const PORTLIST_CONDITION_QUERY = requestRootURL + 'cfg/businessPort/query'
export const PORTLIST_UPLOAD = requestRootURL + 'cfg/businessPort/import'
export const PORTLIST_DOWNLOAD = requestRootURL + 'cfg/businessPort/export'
// cabinet
export const CABINET_ADMQ = requestRootURL + 'cfg/cabinet'
export const CABINET_QUERY = requestRootURL + 'cfg/cabinet/query'
export const CABINET_UPLOAD = requestRootURL + 'cfg/cabinet/import'
export const CABINET_DOWNLOAD = requestRootURL + 'cfg/cabinet/export'
// conf 配置文件
export const CONFIG_FILE_TOTAL = requestRootURL + 'cfg/control/conf/totalcounts'
export const CONFIG_FILE_TOTAL_PAGE = requestRootURL + 'cfg/control/conf/queryterms'
export const DOWNLOAD_CONFIG_TO_DEVICE = requestRootURL + 'cfg/control/conf/downloadconfig/'
export const DOWNLOAD_CONFIG_TO_LOCAL = requestRootURL + 'cfg/control/conf/downloadconf/'
export const DOWNLOAD_CONFIG_DEVICE_TO_LOCAL = requestRootURL + 'cfg/control/conf/downConfByDevice/'
export const CONFIG_FILE_ADMQ = requestRootURL + 'cfg/control/conf/'
export const CONFIG_FILE_UPLOAD = requestRootURL + 'cfg/control/conf/uploadconf'
export const CONFIG_FILE_UPLOAD_LOCAL = requestRootURL + 'cfg/control/conf/uploadconf/local/'
export const LOCAL_CONFIG_FILE_UPLOAD = requestRootURL + 'cfg/control/conf/uploadconf/local/'
// user
export const USER_LOGIN = requestRootURL + 'security/user/login'
export const USER_LOGOUT = requestRootURL + 'security/user/logout/'
export const USER_AUTHORITY = requestRootURL + 'security/user/authority/'
// PerformanceMonitor  性能门限
export const PERFORMANCE_CONFIG_ALL = requestRootURL + 'perform/performType'
export const PERFORMANCE_CONFIG_MODIFY = requestRootURL + 'perform/performType'
export const PERFORMANCE_TYPE_ALL = requestRootURL + 'perform/performTypeCfg'
// PerformanceDataQuary
export const PERFORMANCE_COUNT = requestRootURL + 'perform/totalcounts/'
export const TOP_PERFORM_COUNT = requestRootURL + 'perform/totalcounts/'
export const PERFORMANCE_QUERY = requestRootURL + 'perform/queryterms/'
export const PERFORMANCE_DOWNLOAD = requestRootURL + 'perform/export'
export const PERFORMANCE_DOWNLOAD_CSV = requestRootURL + 'perform/exportcsv'
export const HISTORY_DATA = requestRootURL + 'perform/queryPerformTaskData'
// PerformanceStatistic
export const PERFORMANCE_STATISTIC = requestRootURL + 'perform/performancestatistic/'
export const PERFORMANCE_REPORT = requestRootURL + 'perform/performancetopstatic/'
// rtPerformance
export const rtPerformanceUrl = requestRootURL + 'performance/realTimePerformance'
export const RT_PERFORMANCE_TYPE = requestRootURL + 'perform/performTypeCfg'
export const RT_PERFORMANCE_TYPE_NEW = requestRootURL + 'perform/performType/device'
export const RT_PERFORMANCE_URL = requestRootURL + 'perform/activeperform'
// user
export const USER_ADMQ = requestRootURL + 'security/user/'
export const USER_QUERY = requestRootURL + 'security/user/queryterms/'
export const USER_RESET_PWD = requestRootURL + 'security/user/resetPwd/'
export const USER_INFO_GET = requestRootURL + 'security/user/userinfo/'
export const USER_INFO_UPDATE = requestRootURL + 'security/user/updateinfo'
export const USER_PWD_UPDATE = requestRootURL + 'security/user/updatePwd/'
export const USER_PWD_CHECK = requestRootURL + 'security/user/pwdCheck/'
// Authority
export const AUTHORITY_ADMQ = requestRootURL + 'security/authority'
export const AUTHORITY_CONFIG = requestRootURL + 'security/usergroup'
// user_login_log
export const USER_LOGIN_LOG_SPLIT = requestRootURL + 'security/loginlog/queryterms/'
export const USER_LOGIN_LOG_COUNT = requestRootURL + 'security/loginlog/totalcounts/'
export const USER_LOGIN_LOG_DOWNLOAD = requestRootURL + 'security/loginlog/download/'
export const USER_OPTION_LOG_SPLIT = requestRootURL + 'security/operationlog/queryterms/'
export const USER_OPTION_LOG_COUNT = requestRootURL + 'security/operationlog/totalcounts/'
export const USER_OPTION_LOGDOWNLOAD = requestRootURL + 'security/operationlog/download/'
// controll
export const CONTROLL_TEMPERATURE = requestRootURL + 'cfg/control/resourcequery'
export const CONTROLL_SOFTWARE = requestRootURL + 'cfg/device/getversion/'
export const CONTROLL_HARDWARE = requestRootURL + 'controll/hardware/'
export const CONTROLL_FANSTATUS = requestRootURL + 'cfg/control/resourcequery'
export const CONTROLL_REBOOT = requestRootURL + 'controll/reboot/'

// dataSafeGuard
export const PerformanceData_Delete = requestRootURL + 'perform'
export const AlarmData_Delete = requestRootURL + 'alarm'
export const SNAPSHOT_CMD = requestRootURL + 'snapshot'
export const SNAPSHOT_ADMQ = requestRootURL + 'snapshot'
export const SNAPSHOT_QUERY = requestRootURL + 'snapshot/queryterms'
export const SNAPSHOT_CREATE = requestRootURL + 'snapshot/'
export const SNAPSHOT_RECOVER = requestRootURL + 'snapshot/backsnapshot/'

// firmware
export const FIRMWARE = requestRootURL + 'firmware'
export const FIRMWARE_QUERY = requestRootURL + 'firmware/queryterms'
export const FIRMWARE_UPLOAD = requestRootURL + 'firmware/uploadbin/local/'
export const DOWNLOAD_CONFIG_TO_LOCAL_FIRMWARE = requestRootURL + 'firmware/downloadtolocal/'
export const FIRMWARE_ADMQ = requestRootURL + 'firmware'
export const UPDATE_FIRMWARE_TO_DEVICE = requestRootURL + 'firmware/downloadbin/'
export const RECOVER_FIRMWARE_TO_DEVICE = requestRootURL + 'firmware/backbin/'
// networkPhysicsLink
export const NET_PHY_ADMQ = requestRootURL + 'netphy'
export const NET_PHY_QUERY = requestRootURL + 'netphy/queryterms'
export const NET_PHY_UPLOAD = requestRootURL + 'netphy/upload'
export const NET_PHY_DOWNLOAD = requestRootURL + 'netphy/download'

// topologicalDynamic
export const TOPOLOGICAL_DOWNLOAD = requestRootURL + 'dyntopo/download'
export const TOPOLOGICAL_UPLOAD = requestRootURL + 'dyntopo/upload'
export const TOPOLOGICAL_QUERY = requestRootURL + 'dyntopo/queryterms'
export const TOPOLOGICAL_ADMQ = requestRootURL + 'dyntopo'
export const TOPOLOGICAL_ATV = requestRootURL + 'dyntopo/activate'
export const TOPOLOGICAL_DATV = requestRootURL + 'dyntopo/desactivate'

// systemConfig
export const OID_CFG_UPLOAD = requestRootURL + 'cfg/oidCfg/import'
export const DEVICE_TYPE_CFG_UPLOAD = requestRootURL + 'cfg/deviceTypeCfg/import'
export const DEVICE_TYPE_UPLOAD = requestRootURL + 'cfg/deviceType/import'
export const RESOURCE_TYPE_CFG_UPLOAD = requestRootURL + 'cfg/resourceTypeCfg/import'
export const RESOURCE_TYPE_UPLOAD = requestRootURL + 'cfg/resourceType/import'
export const PERFORM_TYPE_CFG_UPLOAD = requestRootURL + 'perform/performTypeCfg/import'
export const PERFORM_TYPE_UPLOAD = requestRootURL + 'perform/performType/import'
export const ALARM_TYPE_CFG_UPLOAD = requestRootURL + 'alarm/alarmTypeCfg/import'
export const ALARM_TYPE_UPLOAD = requestRootURL + 'alarm/alarmType/import'
export const LANGUAGE_UPLOAD = requestRootURL + 'cfg/language/import'
export const LANGUAGE_DOWNLOAD = requestRootURL + 'cfg/language/export'
export const OID_CFG_DOWNLOAD = requestRootURL + 'cfg/oidCfg/export'
export const DEVICE_TYPE_CFG_DOWNLOAD = requestRootURL + 'cfg/deviceTypeCfg/export'
export const DEVICE_TYPE_DOWNLOAD = requestRootURL + 'cfg/deviceType/export'
export const RESOURCE_TYPE_CFG_DOWNLOAD = requestRootURL + 'cfg/resourceTypeCfg/export'
export const RESOURCE_TYPE_DOWNLOAD = requestRootURL + 'cfg/resourceType/export'
export const PERFORM_TYPE_CFG_DOWNLOAD = requestRootURL + 'perform/performTypeCfg/export'
export const PERFORM_TYPE_DOWNLOAD = requestRootURL + 'perform/performType/export'
export const ALARM_TYPE_CFG_DOWNLOAD = requestRootURL + 'alarm/alarmTypeCfg/export'
export const ALARM_TYPE_DOWNLOAD = requestRootURL + 'alarm/alarmType/export'

export const RAILWAY = requestRootURL + 'cfg/area'
// indexTemplate
export const INDEX_TEMPLATE_ADMQ = requestRootURL + 'perform/performTemplate'
export const INDEX_TEMPLATE_QUERY = requestRootURL + 'perform/performTemplate/queryterms'
export const INDEX_TEMPLATE_TOTAL = requestRootURL + 'perform/performTemplate/totalcounts'

// performTask
export const PERFORM_TASK = requestRootURL + 'perform/performTask'
export const PERFORM_TASK_STATUS = requestRootURL + 'perform/performTask/updateStatus'
export const PERFORM_TASK_QUERY = requestRootURL + 'perform/performTask/queryterms'
export const PERFORM_TASK_TOTAL = requestRootURL + 'perform/performTask/totalcounts'

// reportTemplate
export const REPORT_TEMPLATE = requestRootURL + 'report/reportTemplate'
export const REPORT_TEMPLATE_TOTAL = requestRootURL + 'report/reportTemplate/totalcounts'
export const REPORT_TEMPLATE_QUERY = requestRootURL + 'report/reportTemplate/queryterms'

// ReportTask
export const REPORT_TASK = requestRootURL + 'report/reportTask'
export const REPORT_TASK_STATUS = requestRootURL + 'report/reportTask/updateStatus'
export const REPORT_TASK_QUERY = requestRootURL + 'report/reportTask/queryterms'
export const REPORT_TASK_TOTAL = requestRootURL + 'report/reportTask/totalcounts'

// PeriodReport
export const PERIOD_REPORT = requestRootURL + 'report/periodicReport'
export const PERIOD_REPORT_EXPORT = requestRootURL + 'report/periodicReport/export'
export const PERIOD_REPORT_TOTAL = requestRootURL + 'report/periodicReport/totalcounts'
export const PERIOD_REPORT_QUERY = requestRootURL + 'report/periodicReport/queryterms'

// TopoTemplateDiscovery
export const TOPO_DISCOVERY_TEMPLATE = requestRootURL + 'cfg/topoDiscoveryTemplate'
export const TOPO_DISCOVERY_TEMPLATE_QUERY = requestRootURL + 'cfg/topoDiscoveryTemplate/query'

// TopoDiscovery
export const TOPO_DISCOVERY_BY_TEMPLATE_KEY = requestRootURL + 'cfg/control/topydiscover'

// CONFIG_FILE_DIFFERENCE
export const CONFIG_FILE_DIFFERENCE_VIEW = requestRootURL + 'cfg/control/conf/viewFile/'
export const CONFIG_FILE_DIFFERENCE_HANDLE = requestRootURL + 'cfg/control/conf/handleFileByUser/'
export const CONFIG_FILE_DIFFERENCE_ADMQ = requestRootURL + 'cfg/control/conf/fileDiffererntMessage'

// ELEMENT_DISCOVER
export const ELEMENT_DISCOVER_MESSAGE = requestRootURL + 'cfg/control/topydiscover'
export const ORACLE_QUERY = requestRootURL + 'oraclesupport/getOraclePerformances'
