build: api basic function

This commit is contained in:
fit2-zhao 2023-05-15 17:47:35 +08:00 committed by fit2-zhao
parent 253b985d00
commit 94ff4d1c1f
79 changed files with 1086 additions and 68 deletions

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionBlobService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition/blob")
public class ApiDefinitionBlobController {
@Resource
private ApiDefinitionBlobService apiDefinitionBlobService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition")
public class ApiDefinitionController {
@Resource
private ApiDefinitionService apiDefinitionService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionEnvService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition/env")
public class ApiDefinitionEnvController {
@Resource
private ApiDefinitionEnvService apiDefinitionEnvService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionFollowService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition/follow")
public class ApiDefinitionFollowController {
@Resource
private ApiDefinitionFollowService apiDefinitionFollowService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionMockConfigService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition/mock/config")
public class ApiDefinitionMockConfigController {
@Resource
private ApiDefinitionMockConfigService apiDefinitionMockConfigService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionMockService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition/mock")
public class ApiDefinitionMockController {
@Resource
private ApiDefinitionMockService apiDefinitionMockService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionModuleService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition/module")
public class ApiDefinitionModuleController {
@Resource
private ApiDefinitionModuleService apiDefinitionModuleService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionSwaggerService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition/swagger")
public class ApiDefinitionSwaggerController {
@Resource
private ApiDefinitionSwaggerService apiDefinitionSwaggerService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiDefinitionTemplateService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/definition/template")
public class ApiDefinitionTemplateController {
@Resource
private ApiDefinitionTemplateService apiDefinitionTemplateService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiFakeErrorConfigService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/fake/error/config")
public class ApiFakeErrorConfigController {
@Resource
private ApiFakeErrorConfigService apiFakeErrorConfigService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiReportBlobService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/report/blob")
public class ApiReportBlobController {
@Resource
private ApiReportBlobService apiReportBlobService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiReportService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/report")
public class ApiReportController {
@Resource
private ApiReportService apiReportService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioBlobService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/blob")
public class ApiScenarioBlobController {
@Resource
private ApiScenarioBlobService apiScenarioBlobService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario")
public class ApiScenarioController {
@Resource
private ApiScenarioService apiScenarioService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioEnvService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/env")
public class ApiScenarioEnvController {
@Resource
private ApiScenarioEnvService apiScenarioEnvService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioFollowService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/follow")
public class ApiScenarioFollowController {
@Resource
private ApiScenarioFollowService apiScenarioFollowService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioModuleService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/module")
public class ApiScenarioModuleController {
@Resource
private ApiScenarioModuleService apiScenarioModuleService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioReferenceService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/reference")
public class ApiScenarioReferenceController {
@Resource
private ApiScenarioReferenceService apiScenarioReferenceService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioReportService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/report")
public class ApiScenarioReportController {
@Resource
private ApiScenarioReportService apiScenarioReportService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioReportDetailService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/report/detail")
public class ApiScenarioReportDetailController {
@Resource
private ApiScenarioReportDetailService apiScenarioReportDetailService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioReportLogService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/report/log")
public class ApiScenarioReportLogController {
@Resource
private ApiScenarioReportLogService apiScenarioReportLogService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiScenarioReportStructureService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/scenario/report/structure")
public class ApiScenarioReportStructureController {
@Resource
private ApiScenarioReportStructureService apiScenarioReportStructureService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiSyncConfigService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/sync/config")
public class ApiSyncConfigController {
@Resource
private ApiSyncConfigService apiSyncConfigService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiTestCaseBlobService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/test/case/blob")
public class ApiTestCaseBlobController {
@Resource
private ApiTestCaseBlobService apiTestCaseBlobService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiTestCaseService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/test/case")
public class ApiTestCaseController {
@Resource
private ApiTestCaseService apiTestCaseService;
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.controller;
import io.metersphere.api.service.ApiTestCaseFollowService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/test/case/follow")
public class ApiTestCaseFollowController {
@Resource
private ApiTestCaseFollowService apiTestCaseFollowService;
}

View File

@ -1,68 +0,0 @@
package io.metersphere.api.domain;
import lombok.Data;
import java.io.Serializable;
@Data
public class ApiDefinition implements Serializable {
private String id;
private String projectId;
private String name;
private String method;
private String modulePath;
private String environmentId;
private String schedule;
private String status;
private String moduleId;
private String userId;
private Long createTime;
private Long updateTime;
private String protocol;
private String path;
private Integer num;
private String tags;
private String originalState;
private String createUser;
private String caseTotal;
private String caseStatus;
private String casePassingRate;
private Long deleteTime;
private String deleteUserId;
private Long order;
private String refId;
private String versionId;
private Boolean latest;
private Boolean toBeUpdated;
private Long toBeUpdateTime;
private static final long serialVersionUID = 1L;
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinitionBlob;
/**
* 接口定义详情内容数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionBlobMapper extends BaseMapper<ApiDefinitionBlob> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinitionEnv;
/**
* 接口定义环境数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionEnvMapper extends BaseMapper<ApiDefinitionEnv> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinitionFollow;
/**
* 接口定义关注人数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionFollowMapper extends BaseMapper<ApiDefinitionFollow> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinition;
/**
* 接口定义数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionMapper extends BaseMapper<ApiDefinition> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinitionMockConfig;
/**
* mock期望值配置数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionMockConfigMapper extends BaseMapper<ApiDefinitionMockConfig> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinitionMock;
/**
* mock 配置数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionMockMapper extends BaseMapper<ApiDefinitionMock> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinitionModule;
/**
* 接口模块数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionModuleMapper extends BaseMapper<ApiDefinitionModule> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinitionSwagger;
/**
* 定时同步配置数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionSwaggerMapper extends BaseMapper<ApiDefinitionSwagger> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiDefinitionTemplate;
/**
* API模版表数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiDefinitionTemplateMapper extends BaseMapper<ApiDefinitionTemplate> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiFakeErrorConfig;
/**
* 误报库数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiFakeErrorConfigMapper extends BaseMapper<ApiFakeErrorConfig> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiReportBlob;
/**
* API/CASE执行结果详情数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiReportBlobMapper extends BaseMapper<ApiReportBlob> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiReport;
/**
* API/CASE执行结果数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiReportMapper extends BaseMapper<ApiReport> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioBlob;
/**
* 场景步骤详情数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioBlobMapper extends BaseMapper<ApiScenarioBlob> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioEnv;
/**
* 场景环境数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioEnvMapper extends BaseMapper<ApiScenarioEnv> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioFollow;
/**
* 关注记录数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioFollowMapper extends BaseMapper<ApiScenarioFollow> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenario;
/**
* 场景数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioMapper extends BaseMapper<ApiScenario> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioModule;
/**
* 场景模块数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioModuleMapper extends BaseMapper<ApiScenarioModule> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioReference;
/**
* 场景步骤引用CASE关系记录数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioReferenceMapper extends BaseMapper<ApiScenarioReference> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioReportDetail;
/**
* 场景报告步骤结果数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioReportDetailMapper extends BaseMapper<ApiScenarioReportDetail> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioReportLog;
/**
* 场景报告过程日志数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioReportLogMapper extends BaseMapper<ApiScenarioReportLog> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioReport;
/**
* 场景报告数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioReportMapper extends BaseMapper<ApiScenarioReport> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiScenarioReportStructure;
/**
* 场景报告结构数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiScenarioReportStructureMapper extends BaseMapper<ApiScenarioReportStructure> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiSyncConfig;
/**
* 接口同步用例配置数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiSyncConfigMapper extends BaseMapper<ApiSyncConfig> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiTestCaseBlob;
/**
* 接口用例详情数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiTestCaseBlobMapper extends BaseMapper<ApiTestCaseBlob> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiTestCaseFollow;
/**
* 接口用例关注人数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiTestCaseFollowMapper extends BaseMapper<ApiTestCaseFollow> {
}

View File

@ -0,0 +1,14 @@
package io.metersphere.api.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import io.metersphere.api.domain.ApiTestCase;
/**
* 接口用例数据库访问层
*
* @date : 2023-5-15
*/
@Mapper
public interface ApiTestCaseMapper extends BaseMapper<ApiTestCase> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinitionBlob;
import io.metersphere.api.mapper.ApiDefinitionBlobMapper;
/**
* 接口定义详情内容服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionBlobService extends ServiceImpl<ApiDefinitionBlobMapper, ApiDefinitionBlob> {
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinitionEnv;
import io.metersphere.api.mapper.ApiDefinitionEnvMapper;
/**
* 接口定义环境服务实现类
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionEnvService extends ServiceImpl<ApiDefinitionEnvMapper, ApiDefinitionEnv> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinitionFollow;
import io.metersphere.api.mapper.ApiDefinitionFollowMapper;
/**
* 接口定义关注人服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionFollowService extends ServiceImpl<ApiDefinitionFollowMapper, ApiDefinitionFollow> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinitionMockConfig;
import io.metersphere.api.mapper.ApiDefinitionMockConfigMapper;
/**
* mock期望值配置服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionMockConfigService extends ServiceImpl<ApiDefinitionMockConfigMapper, ApiDefinitionMockConfig> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinitionMock;
import io.metersphere.api.mapper.ApiDefinitionMockMapper;
/**
* mock 配置服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionMockService extends ServiceImpl<ApiDefinitionMockMapper, ApiDefinitionMock> {
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinitionModule;
import io.metersphere.api.mapper.ApiDefinitionModuleMapper;
/**
* 接口模块服务实现类
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionModuleService extends ServiceImpl<ApiDefinitionModuleMapper, ApiDefinitionModule> {
}

View File

@ -0,0 +1,13 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinition;
import io.metersphere.api.mapper.ApiDefinitionMapper;
/**
* 接口定义服务实现类
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionService extends ServiceImpl<ApiDefinitionMapper, ApiDefinition> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinitionSwagger;
import io.metersphere.api.mapper.ApiDefinitionSwaggerMapper;
/**
* 定时同步配置服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionSwaggerService extends ServiceImpl<ApiDefinitionSwaggerMapper, ApiDefinitionSwagger> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiDefinitionTemplate;
import io.metersphere.api.mapper.ApiDefinitionTemplateMapper;
/**
* API模版表服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiDefinitionTemplateService extends ServiceImpl<ApiDefinitionTemplateMapper, ApiDefinitionTemplate> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiFakeErrorConfig;
import io.metersphere.api.mapper.ApiFakeErrorConfigMapper;
/**
* 误报库服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiFakeErrorConfigService extends ServiceImpl<ApiFakeErrorConfigMapper, ApiFakeErrorConfig> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiReportBlob;
import io.metersphere.api.mapper.ApiReportBlobMapper;
/**
* API/CASE执行结果详情服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiReportBlobService extends ServiceImpl<ApiReportBlobMapper, ApiReportBlob> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiReport;
import io.metersphere.api.mapper.ApiReportMapper;
/**
* API/CASE执行结果服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiReportService extends ServiceImpl<ApiReportMapper, ApiReport> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioBlob;
import io.metersphere.api.mapper.ApiScenarioBlobMapper;
/**
* 场景步骤详情服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioBlobService extends ServiceImpl<ApiScenarioBlobMapper, ApiScenarioBlob> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioEnv;
import io.metersphere.api.mapper.ApiScenarioEnvMapper;
/**
* 场景环境服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioEnvService extends ServiceImpl<ApiScenarioEnvMapper, ApiScenarioEnv> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioFollow;
import io.metersphere.api.mapper.ApiScenarioFollowMapper;
/**
* 关注记录服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioFollowService extends ServiceImpl<ApiScenarioFollowMapper, ApiScenarioFollow> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioModule;
import io.metersphere.api.mapper.ApiScenarioModuleMapper;
/**
* 场景模块服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioModuleService extends ServiceImpl<ApiScenarioModuleMapper, ApiScenarioModule> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioReference;
import io.metersphere.api.mapper.ApiScenarioReferenceMapper;
/**
* 场景步骤引用CASE关系记录服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioReferenceService extends ServiceImpl<ApiScenarioReferenceMapper, ApiScenarioReference> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioReportDetail;
import io.metersphere.api.mapper.ApiScenarioReportDetailMapper;
/**
* 场景报告步骤结果服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioReportDetailService extends ServiceImpl<ApiScenarioReportDetailMapper, ApiScenarioReportDetail> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioReportLog;
import io.metersphere.api.mapper.ApiScenarioReportLogMapper;
/**
* 场景报告过程日志服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioReportLogService extends ServiceImpl<ApiScenarioReportLogMapper, ApiScenarioReportLog> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioReport;
import io.metersphere.api.mapper.ApiScenarioReportMapper;
/**
* 场景报告服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioReportService extends ServiceImpl<ApiScenarioReportMapper, ApiScenarioReport> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenarioReportStructure;
import io.metersphere.api.mapper.ApiScenarioReportStructureMapper;
/**
* 场景报告结构服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioReportStructureService extends ServiceImpl<ApiScenarioReportStructureMapper, ApiScenarioReportStructure> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiScenario;
import io.metersphere.api.mapper.ApiScenarioMapper;
/**
* 场景服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiScenarioService extends ServiceImpl<ApiScenarioMapper, ApiScenario> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiSyncConfig;
import io.metersphere.api.mapper.ApiSyncConfigMapper;
/**
* 接口同步用例配置服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiSyncConfigService extends ServiceImpl<ApiSyncConfigMapper, ApiSyncConfig> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiTestCaseBlob;
import io.metersphere.api.mapper.ApiTestCaseBlobMapper;
/**
* 接口用例详情服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiTestCaseBlobService extends ServiceImpl<ApiTestCaseBlobMapper, ApiTestCaseBlob> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiTestCaseFollow;
import io.metersphere.api.mapper.ApiTestCaseFollowMapper;
/**
* 接口用例关注人服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiTestCaseFollowService extends ServiceImpl<ApiTestCaseFollowMapper, ApiTestCaseFollow> {
}

View File

@ -0,0 +1,15 @@
package io.metersphere.api.service;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.metersphere.api.domain.ApiTestCase;
import io.metersphere.api.mapper.ApiTestCaseMapper;
/**
* 接口用例服务实现类
*
* @date : 2023-5-15
*/
@Service
public class ApiTestCaseService extends ServiceImpl<ApiTestCaseMapper, ApiTestCase> {
}