//  Copyright (c) 2024 Huawei Technologies Co., Ltd.
//  openUBMC is licensed under Mulan PSL v2.
//  You can use this software according to the terms and conditions of the Mulan PSL v2.
//  You may obtain a copy of Mulan PSL v2 at:
//        #  http://license.coscl.org.cn/MulanPSL2
//  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
//  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
//  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
//  See the Mulan PSL v2 for more details.
import { MockMethod } from 'vite-plugin-mock';
import {
  fdmData,
  cpu1Data,
  comMotherBoardData,
  memory000Data,
  lomCardData,
  Raid1Data,
  HDDBackplane2Data,
  hdd12Data,
  hdd22Data,
  cpu2Data,
  onepower4Data,
  onepower5Data,
  fan1Data,
  fan2Data,
  fan3Data,
  fan4Data,
  comChassisData,
  eventReports65537Data,
  eventReports69632Data,
  eventReports65793Data,
  eventReports68864Data,
  eventReports67073Data,
  eventReports66817Data,
  eventReports66049Data,
  eventReports66050Data,
  eventReports65538Data,
  eventReports66305Data,
  eventReports66306Data,
  eventReports66561Data,
  eventReports66562Data,
  eventReports66563Data,
  eventReports66564Data,
  eventReports70145Data
} from './data/index';
import { reqPath } from '@/api/reqPath';

export default [
  // 获取fdm的数据
  {
    url: reqPath.maintance.fdm.getFdmData,
    method: 'get',
    timeout: 500,
    response: fdmData
  },
  {
    url: reqPath.maintance.fdm.cpu1,
    method: 'get',
    timeout: 500,
    response: cpu1Data
  },
  {
    url: reqPath.maintance.fdm.comMotherBoard,
    method: 'get',
    timeout: 500,
    response: comMotherBoardData
  },
  {
    url: reqPath.maintance.fdm.memory000,
    method: 'get',
    timeout: 500,
    response: memory000Data
  },
  {
    url: reqPath.maintance.fdm.lomCard,
    method: 'get',
    timeout: 500,
    response: lomCardData
  },
  {
    url: reqPath.maintance.fdm.raid1,
    method: 'get',
    timeout: 500,
    response: Raid1Data
  },
  {
    url: reqPath.maintance.fdm.hddBackplane2,
    method: 'get',
    timeout: 500,
    response: HDDBackplane2Data
  },
  {
    url: reqPath.maintance.fdm.hdd1,
    method: 'get',
    timeout: 500,
    response: hdd12Data
  },
  {
    url: reqPath.maintance.fdm.hdd2,
    method: 'get',
    timeout: 500,
    response: hdd22Data
  },
  {
    url: reqPath.maintance.fdm.cpu2,
    method: 'get',
    timeout: 500,
    response: cpu2Data
  },
  {
    url: reqPath.maintance.fdm.onepower1,
    method: 'get',
    timeout: 500,
    response: onepower4Data
  },
  {
    url: reqPath.maintance.fdm.onepower2,
    method: 'get',
    timeout: 500,
    response: onepower5Data
  },
  {
    url: reqPath.maintance.fdm.fan1,
    method: 'get',
    timeout: 500,
    response: fan1Data
  },
  {
    url: reqPath.maintance.fdm.fan2,
    method: 'get',
    timeout: 500,
    response: fan2Data
  },
  {
    url: reqPath.maintance.fdm.fan3,
    method: 'get',
    timeout: 500,
    response: fan3Data
  },
  {
    url: reqPath.maintance.fdm.fan4,
    method: 'get',
    timeout: 500,
    response: fan4Data
  },
  {
    url: reqPath.maintance.fdm.comChassis,
    method: 'get',
    timeout: 500,
    response: comChassisData
  },
  {
    url: reqPath.maintance.fdm.eventReports65537,
    method: 'get',
    timeout: 500,
    response: eventReports65537Data
  },
  {
    url: reqPath.maintance.fdm.eventReports69632,
    method: 'get',
    timeout: 500,
    response: eventReports69632Data
  },
  {
    url: reqPath.maintance.fdm.eventReports65793,
    method: 'get',
    timeout: 500,
    response: eventReports65793Data
  },
  {
    url: reqPath.maintance.fdm.eventReports68864,
    method: 'get',
    timeout: 500,
    response: eventReports68864Data
  },
  {
    url: reqPath.maintance.fdm.eventReports67073,
    method: 'get',
    timeout: 500,
    response: eventReports67073Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66817,
    method: 'get',
    timeout: 500,
    response: eventReports66817Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66049,
    method: 'get',
    timeout: 500,
    response: eventReports66049Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66050,
    method: 'get',
    timeout: 500,
    response: eventReports66050Data
  },
  {
    url: reqPath.maintance.fdm.eventReports65538,
    method: 'get',
    timeout: 500,
    response: eventReports65538Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66305,
    method: 'get',
    timeout: 500,
    response: eventReports66305Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66306,
    method: 'get',
    timeout: 500,
    response: eventReports66306Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66561,
    method: 'get',
    timeout: 500,
    response: eventReports66561Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66562,
    method: 'get',
    timeout: 500,
    response: eventReports66562Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66563,
    method: 'get',
    timeout: 500,
    response: eventReports66563Data
  },
  {
    url: reqPath.maintance.fdm.eventReports66564,
    method: 'get',
    timeout: 500,
    response: eventReports66564Data
  },
  {
    url: reqPath.maintance.fdm.eventReports70145,
    method: 'get',
    timeout: 500,
    response: eventReports70145Data
  }
] as MockMethod[];
