From 94ff4d1c1fe7d639f84726ba946c4324265e149a Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Mon, 15 May 2023 17:47:35 +0800 Subject: [PATCH] build: api basic function --- .../ApiDefinitionBlobController.java | 13 ++++ .../controller/ApiDefinitionController.java | 13 ++++ .../ApiDefinitionEnvController.java | 13 ++++ .../ApiDefinitionFollowController.java | 13 ++++ .../ApiDefinitionMockConfigController.java | 13 ++++ .../ApiDefinitionMockController.java | 13 ++++ .../ApiDefinitionModuleController.java | 13 ++++ .../ApiDefinitionSwaggerController.java | 13 ++++ .../ApiDefinitionTemplateController.java | 13 ++++ .../ApiFakeErrorConfigController.java | 13 ++++ .../controller/ApiReportBlobController.java | 13 ++++ .../api/controller/ApiReportController.java | 13 ++++ .../controller/ApiScenarioBlobController.java | 13 ++++ .../api/controller/ApiScenarioController.java | 13 ++++ .../controller/ApiScenarioEnvController.java | 13 ++++ .../ApiScenarioFollowController.java | 13 ++++ .../ApiScenarioModuleController.java | 13 ++++ .../ApiScenarioReferenceController.java | 13 ++++ .../ApiScenarioReportController.java | 13 ++++ .../ApiScenarioReportDetailController.java | 13 ++++ .../ApiScenarioReportLogController.java | 13 ++++ .../ApiScenarioReportStructureController.java | 13 ++++ .../controller/ApiSyncConfigController.java | 13 ++++ .../controller/ApiTestCaseBlobController.java | 13 ++++ .../api/controller/ApiTestCaseController.java | 13 ++++ .../ApiTestCaseFollowController.java | 13 ++++ .../metersphere/api/domain/ApiDefinition.java | 68 ------------------- .../api/mapper/ApiDefinitionBlobMapper.java | 14 ++++ .../api/mapper/ApiDefinitionEnvMapper.java | 14 ++++ .../api/mapper/ApiDefinitionFollowMapper.java | 14 ++++ .../api/mapper/ApiDefinitionMapper.java | 14 ++++ .../mapper/ApiDefinitionMockConfigMapper.java | 14 ++++ .../api/mapper/ApiDefinitionMockMapper.java | 14 ++++ .../api/mapper/ApiDefinitionModuleMapper.java | 14 ++++ .../mapper/ApiDefinitionSwaggerMapper.java | 14 ++++ .../mapper/ApiDefinitionTemplateMapper.java | 14 ++++ .../api/mapper/ApiFakeErrorConfigMapper.java | 14 ++++ .../api/mapper/ApiReportBlobMapper.java | 14 ++++ .../api/mapper/ApiReportMapper.java | 14 ++++ .../api/mapper/ApiScenarioBlobMapper.java | 14 ++++ .../api/mapper/ApiScenarioEnvMapper.java | 14 ++++ .../api/mapper/ApiScenarioFollowMapper.java | 14 ++++ .../api/mapper/ApiScenarioMapper.java | 14 ++++ .../api/mapper/ApiScenarioModuleMapper.java | 14 ++++ .../mapper/ApiScenarioReferenceMapper.java | 14 ++++ .../mapper/ApiScenarioReportDetailMapper.java | 14 ++++ .../mapper/ApiScenarioReportLogMapper.java | 14 ++++ .../api/mapper/ApiScenarioReportMapper.java | 14 ++++ .../ApiScenarioReportStructureMapper.java | 14 ++++ .../api/mapper/ApiSyncConfigMapper.java | 14 ++++ .../api/mapper/ApiTestCaseBlobMapper.java | 14 ++++ .../api/mapper/ApiTestCaseFollowMapper.java | 14 ++++ .../api/mapper/ApiTestCaseMapper.java | 14 ++++ .../api/service/ApiDefinitionBlobService.java | 15 ++++ .../api/service/ApiDefinitionEnvService.java | 13 ++++ .../service/ApiDefinitionFollowService.java | 15 ++++ .../ApiDefinitionMockConfigService.java | 15 ++++ .../api/service/ApiDefinitionMockService.java | 15 ++++ .../service/ApiDefinitionModuleService.java | 13 ++++ .../api/service/ApiDefinitionService.java | 13 ++++ .../service/ApiDefinitionSwaggerService.java | 15 ++++ .../service/ApiDefinitionTemplateService.java | 15 ++++ .../service/ApiFakeErrorConfigService.java | 15 ++++ .../api/service/ApiReportBlobService.java | 15 ++++ .../api/service/ApiReportService.java | 15 ++++ .../api/service/ApiScenarioBlobService.java | 15 ++++ .../api/service/ApiScenarioEnvService.java | 15 ++++ .../api/service/ApiScenarioFollowService.java | 15 ++++ .../api/service/ApiScenarioModuleService.java | 15 ++++ .../service/ApiScenarioReferenceService.java | 15 ++++ .../ApiScenarioReportDetailService.java | 15 ++++ .../service/ApiScenarioReportLogService.java | 15 ++++ .../api/service/ApiScenarioReportService.java | 15 ++++ .../ApiScenarioReportStructureService.java | 15 ++++ .../api/service/ApiScenarioService.java | 15 ++++ .../api/service/ApiSyncConfigService.java | 15 ++++ .../api/service/ApiTestCaseBlobService.java | 15 ++++ .../api/service/ApiTestCaseFollowService.java | 15 ++++ .../api/service/ApiTestCaseService.java | 15 ++++ 79 files changed, 1086 insertions(+), 68 deletions(-) create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionBlobController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionEnvController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionFollowController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionMockConfigController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionMockController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionModuleController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionSwaggerController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionTemplateController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiFakeErrorConfigController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiReportBlobController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiReportController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioBlobController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioEnvController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioFollowController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioModuleController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReferenceController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportDetailController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportLogController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportStructureController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiSyncConfigController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseBlobController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseController.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseFollowController.java delete mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/domain/ApiDefinition.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionBlobMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionEnvMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionFollowMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMockConfigMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMockMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionModuleMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionSwaggerMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionTemplateMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiFakeErrorConfigMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiReportBlobMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiReportMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioBlobMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioEnvMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioFollowMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioModuleMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReferenceMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportDetailMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportLogMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportStructureMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiSyncConfigMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseBlobMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseFollowMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseMapper.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionBlobService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionEnvService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionFollowService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionMockConfigService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionMockService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionModuleService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionSwaggerService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionTemplateService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiFakeErrorConfigService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiReportBlobService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiReportService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioBlobService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioEnvService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioFollowService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioModuleService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReferenceService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportDetailService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportLogService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportStructureService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiSyncConfigService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseBlobService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseFollowService.java create mode 100644 backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseService.java diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionBlobController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionBlobController.java new file mode 100644 index 0000000000..7f2a3e708a --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionBlobController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionController.java new file mode 100644 index 0000000000..1147961c13 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionEnvController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionEnvController.java new file mode 100644 index 0000000000..9d65c87b28 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionEnvController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionFollowController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionFollowController.java new file mode 100644 index 0000000000..2f429114aa --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionFollowController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionMockConfigController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionMockConfigController.java new file mode 100644 index 0000000000..c476203599 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionMockConfigController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionMockController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionMockController.java new file mode 100644 index 0000000000..54cddf5000 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionMockController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionModuleController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionModuleController.java new file mode 100644 index 0000000000..1e9f87dce6 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionModuleController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionSwaggerController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionSwaggerController.java new file mode 100644 index 0000000000..8e6b674eea --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionSwaggerController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionTemplateController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionTemplateController.java new file mode 100644 index 0000000000..0d1f74f765 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDefinitionTemplateController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiFakeErrorConfigController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiFakeErrorConfigController.java new file mode 100644 index 0000000000..69b2954fd9 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiFakeErrorConfigController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiReportBlobController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiReportBlobController.java new file mode 100644 index 0000000000..afb110b432 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiReportBlobController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiReportController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiReportController.java new file mode 100644 index 0000000000..bfc418a694 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiReportController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioBlobController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioBlobController.java new file mode 100644 index 0000000000..f5725f6e6c --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioBlobController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioController.java new file mode 100644 index 0000000000..6afbfdbaed --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioEnvController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioEnvController.java new file mode 100644 index 0000000000..f9629177be --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioEnvController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioFollowController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioFollowController.java new file mode 100644 index 0000000000..9bf4503c87 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioFollowController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioModuleController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioModuleController.java new file mode 100644 index 0000000000..ed460e0918 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioModuleController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReferenceController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReferenceController.java new file mode 100644 index 0000000000..3c1e9b79b9 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReferenceController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportController.java new file mode 100644 index 0000000000..ab002104b3 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportDetailController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportDetailController.java new file mode 100644 index 0000000000..393589e9ae --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportDetailController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportLogController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportLogController.java new file mode 100644 index 0000000000..5163fbe3c4 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportLogController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportStructureController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportStructureController.java new file mode 100644 index 0000000000..83fe71d87f --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiScenarioReportStructureController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiSyncConfigController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiSyncConfigController.java new file mode 100644 index 0000000000..541713b437 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiSyncConfigController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseBlobController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseBlobController.java new file mode 100644 index 0000000000..ce9f6c12e7 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseBlobController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseController.java new file mode 100644 index 0000000000..f55eafff01 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseFollowController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseFollowController.java new file mode 100644 index 0000000000..dabce5ecaf --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiTestCaseFollowController.java @@ -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; + +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/domain/ApiDefinition.java b/backend/services/api-test/src/main/java/io/metersphere/api/domain/ApiDefinition.java deleted file mode 100644 index 9c988bcb16..0000000000 --- a/backend/services/api-test/src/main/java/io/metersphere/api/domain/ApiDefinition.java +++ /dev/null @@ -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; -} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionBlobMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionBlobMapper.java new file mode 100644 index 0000000000..eabb0bdba7 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionBlobMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionEnvMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionEnvMapper.java new file mode 100644 index 0000000000..8fe3b7eaac --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionEnvMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionFollowMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionFollowMapper.java new file mode 100644 index 0000000000..7ec4dc7be6 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionFollowMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMapper.java new file mode 100644 index 0000000000..1d51c4ab74 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMockConfigMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMockConfigMapper.java new file mode 100644 index 0000000000..42724e78b4 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMockConfigMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMockMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMockMapper.java new file mode 100644 index 0000000000..ec2fd39663 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionMockMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionModuleMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionModuleMapper.java new file mode 100644 index 0000000000..ae36429188 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionModuleMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionSwaggerMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionSwaggerMapper.java new file mode 100644 index 0000000000..ec1491f3c8 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionSwaggerMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionTemplateMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionTemplateMapper.java new file mode 100644 index 0000000000..ffd0374ed2 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiDefinitionTemplateMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiFakeErrorConfigMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiFakeErrorConfigMapper.java new file mode 100644 index 0000000000..f5300c3ec6 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiFakeErrorConfigMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiReportBlobMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiReportBlobMapper.java new file mode 100644 index 0000000000..009450a619 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiReportBlobMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiReportMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiReportMapper.java new file mode 100644 index 0000000000..7f33b48706 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiReportMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioBlobMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioBlobMapper.java new file mode 100644 index 0000000000..7282329166 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioBlobMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioEnvMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioEnvMapper.java new file mode 100644 index 0000000000..a64031a9c1 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioEnvMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioFollowMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioFollowMapper.java new file mode 100644 index 0000000000..ce2d6b6c00 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioFollowMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioMapper.java new file mode 100644 index 0000000000..77f93f58c5 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioModuleMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioModuleMapper.java new file mode 100644 index 0000000000..31dc968c60 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioModuleMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReferenceMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReferenceMapper.java new file mode 100644 index 0000000000..1994b658c2 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReferenceMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportDetailMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportDetailMapper.java new file mode 100644 index 0000000000..e54873a54f --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportDetailMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportLogMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportLogMapper.java new file mode 100644 index 0000000000..4df3d0906b --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportLogMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportMapper.java new file mode 100644 index 0000000000..b210e0a7e8 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportStructureMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportStructureMapper.java new file mode 100644 index 0000000000..fa565ab313 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiScenarioReportStructureMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiSyncConfigMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiSyncConfigMapper.java new file mode 100644 index 0000000000..4b95d6ca9d --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiSyncConfigMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseBlobMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseBlobMapper.java new file mode 100644 index 0000000000..1c9f52467e --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseBlobMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseFollowMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseFollowMapper.java new file mode 100644 index 0000000000..5fa781da44 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseFollowMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseMapper.java new file mode 100644 index 0000000000..2e756f629a --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ApiTestCaseMapper.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionBlobService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionBlobService.java new file mode 100644 index 0000000000..08b36b35a4 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionBlobService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionEnvService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionEnvService.java new file mode 100644 index 0000000000..f9b8749781 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionEnvService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionFollowService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionFollowService.java new file mode 100644 index 0000000000..7dfa6a824e --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionFollowService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionMockConfigService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionMockConfigService.java new file mode 100644 index 0000000000..7c112a4fdb --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionMockConfigService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionMockService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionMockService.java new file mode 100644 index 0000000000..ba4f6064e8 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionMockService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionModuleService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionModuleService.java new file mode 100644 index 0000000000..ab37b4160f --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionModuleService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionService.java new file mode 100644 index 0000000000..1df5d6a805 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionSwaggerService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionSwaggerService.java new file mode 100644 index 0000000000..5776fa06ea --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionSwaggerService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionTemplateService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionTemplateService.java new file mode 100644 index 0000000000..3a5bff240f --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDefinitionTemplateService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiFakeErrorConfigService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiFakeErrorConfigService.java new file mode 100644 index 0000000000..50b8e161c6 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiFakeErrorConfigService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiReportBlobService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiReportBlobService.java new file mode 100644 index 0000000000..20f3822c98 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiReportBlobService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiReportService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiReportService.java new file mode 100644 index 0000000000..e0602692be --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiReportService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioBlobService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioBlobService.java new file mode 100644 index 0000000000..3cdeb0cecb --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioBlobService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioEnvService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioEnvService.java new file mode 100644 index 0000000000..0412d10b28 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioEnvService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioFollowService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioFollowService.java new file mode 100644 index 0000000000..8d27e26fd3 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioFollowService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioModuleService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioModuleService.java new file mode 100644 index 0000000000..30b7c0f110 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioModuleService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReferenceService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReferenceService.java new file mode 100644 index 0000000000..9b7b93fb24 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReferenceService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportDetailService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportDetailService.java new file mode 100644 index 0000000000..6fe2621a09 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportDetailService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportLogService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportLogService.java new file mode 100644 index 0000000000..b604ef7993 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportLogService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java new file mode 100644 index 0000000000..0bb27e6790 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportStructureService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportStructureService.java new file mode 100644 index 0000000000..cda3263bf7 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioReportStructureService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioService.java new file mode 100644 index 0000000000..1f1a02a916 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiScenarioService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiSyncConfigService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiSyncConfigService.java new file mode 100644 index 0000000000..936ef369bb --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiSyncConfigService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseBlobService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseBlobService.java new file mode 100644 index 0000000000..dfdfb10653 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseBlobService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseFollowService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseFollowService.java new file mode 100644 index 0000000000..48b45fe43b --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseFollowService.java @@ -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 { +} \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseService.java new file mode 100644 index 0000000000..219542d933 --- /dev/null +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiTestCaseService.java @@ -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 { +} \ No newline at end of file