diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDebugModuleController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDebugModuleController.java index 2c8b97d6a9..5c825899e6 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDebugModuleController.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiDebugModuleController.java @@ -1,8 +1,8 @@ package io.metersphere.api.controller; -import io.metersphere.api.request.ApiDebugRequest; -import io.metersphere.api.request.DebugModuleCreateRequest; -import io.metersphere.api.request.DebugModuleUpdateRequest; +import io.metersphere.api.request.debug.ApiDebugRequest; +import io.metersphere.api.request.debug.DebugModuleCreateRequest; +import io.metersphere.api.request.debug.DebugModuleUpdateRequest; import io.metersphere.api.service.ApiDebugModuleService; import io.metersphere.sdk.constants.PermissionConstants; import io.metersphere.system.dto.sdk.BaseTreeNode; diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDebugModuleMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDebugModuleMapper.java index 5d1934f4c6..14d5864a76 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDebugModuleMapper.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDebugModuleMapper.java @@ -1,8 +1,8 @@ package io.metersphere.api.mapper; import io.metersphere.api.domain.ApiDebugModule; -import io.metersphere.api.request.ApiDebugRequest; -import io.metersphere.api.request.ApiTreeNode; +import io.metersphere.api.request.debug.ApiDebugRequest; +import io.metersphere.api.request.debug.ApiTreeNode; import io.metersphere.project.dto.ModuleCountDTO; import io.metersphere.system.dto.sdk.BaseTreeNode; import org.apache.ibatis.annotations.Param; diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDebugModuleMapper.xml b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDebugModuleMapper.xml index b616cba954..cea588e107 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDebugModuleMapper.xml +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiDebugModuleMapper.xml @@ -77,7 +77,7 @@ desc limit 1 - SELECT id, NAME, module_id AS parentId, diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/request/ApiDebugRequest.java b/backend/services/api-test/src/main/java/io/metersphere/api/request/debug/ApiDebugRequest.java similarity index 94% rename from backend/services/api-test/src/main/java/io/metersphere/api/request/ApiDebugRequest.java rename to backend/services/api-test/src/main/java/io/metersphere/api/request/debug/ApiDebugRequest.java index 20be8e1778..1189f6a454 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/request/ApiDebugRequest.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/request/debug/ApiDebugRequest.java @@ -1,4 +1,4 @@ -package io.metersphere.api.request; +package io.metersphere.api.request.debug; import io.metersphere.sdk.constants.ModuleConstants; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/request/ApiTreeNode.java b/backend/services/api-test/src/main/java/io/metersphere/api/request/debug/ApiTreeNode.java similarity index 85% rename from backend/services/api-test/src/main/java/io/metersphere/api/request/ApiTreeNode.java rename to backend/services/api-test/src/main/java/io/metersphere/api/request/debug/ApiTreeNode.java index d719a17612..4a0e26aa9c 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/request/ApiTreeNode.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/request/debug/ApiTreeNode.java @@ -1,4 +1,4 @@ -package io.metersphere.api.request; +package io.metersphere.api.request.debug; import io.metersphere.system.dto.sdk.BaseTreeNode; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/request/DebugModuleCreateRequest.java b/backend/services/api-test/src/main/java/io/metersphere/api/request/debug/DebugModuleCreateRequest.java similarity index 97% rename from backend/services/api-test/src/main/java/io/metersphere/api/request/DebugModuleCreateRequest.java rename to backend/services/api-test/src/main/java/io/metersphere/api/request/debug/DebugModuleCreateRequest.java index 3f40f6bfcf..f1194345d1 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/request/DebugModuleCreateRequest.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/request/debug/DebugModuleCreateRequest.java @@ -1,4 +1,4 @@ -package io.metersphere.api.request; +package io.metersphere.api.request.debug; import io.metersphere.sdk.constants.ModuleConstants; import io.metersphere.validation.groups.Created; diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/request/DebugModuleUpdateRequest.java b/backend/services/api-test/src/main/java/io/metersphere/api/request/debug/DebugModuleUpdateRequest.java similarity index 94% rename from backend/services/api-test/src/main/java/io/metersphere/api/request/DebugModuleUpdateRequest.java rename to backend/services/api-test/src/main/java/io/metersphere/api/request/debug/DebugModuleUpdateRequest.java index bdd56f06cf..e4464e02ec 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/request/DebugModuleUpdateRequest.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/request/debug/DebugModuleUpdateRequest.java @@ -1,4 +1,4 @@ -package io.metersphere.api.request; +package io.metersphere.api.request.debug; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDebugModuleService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDebugModuleService.java index 23700dbd3f..4b42f6634a 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDebugModuleService.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/ApiDebugModuleService.java @@ -5,10 +5,10 @@ import io.metersphere.api.mapper.ApiDebugBlobMapper; import io.metersphere.api.mapper.ApiDebugMapper; import io.metersphere.api.mapper.ApiDebugModuleMapper; import io.metersphere.api.mapper.ExtApiDebugModuleMapper; -import io.metersphere.api.request.ApiDebugRequest; -import io.metersphere.api.request.ApiTreeNode; -import io.metersphere.api.request.DebugModuleCreateRequest; -import io.metersphere.api.request.DebugModuleUpdateRequest; +import io.metersphere.api.request.debug.ApiDebugRequest; +import io.metersphere.api.request.debug.ApiTreeNode; +import io.metersphere.api.request.debug.DebugModuleCreateRequest; +import io.metersphere.api.request.debug.DebugModuleUpdateRequest; import io.metersphere.project.dto.ModuleCountDTO; import io.metersphere.project.dto.NodeSortDTO; import io.metersphere.project.service.ModuleTreeService; diff --git a/backend/services/api-test/src/test/java/io/metersphere/api/controller/ApiDebugModuleControllerTests.java b/backend/services/api-test/src/test/java/io/metersphere/api/controller/ApiDebugModuleControllerTests.java index 0150e16ae5..5a1b4bd09d 100644 --- a/backend/services/api-test/src/test/java/io/metersphere/api/controller/ApiDebugModuleControllerTests.java +++ b/backend/services/api-test/src/test/java/io/metersphere/api/controller/ApiDebugModuleControllerTests.java @@ -4,9 +4,9 @@ import io.metersphere.api.domain.*; import io.metersphere.api.mapper.ApiDebugBlobMapper; import io.metersphere.api.mapper.ApiDebugMapper; import io.metersphere.api.mapper.ApiDebugModuleMapper; -import io.metersphere.api.request.ApiDebugRequest; -import io.metersphere.api.request.DebugModuleCreateRequest; -import io.metersphere.api.request.DebugModuleUpdateRequest; +import io.metersphere.api.request.debug.ApiDebugRequest; +import io.metersphere.api.request.debug.DebugModuleCreateRequest; +import io.metersphere.api.request.debug.DebugModuleUpdateRequest; import io.metersphere.api.service.ApiDebugModuleService; import io.metersphere.project.domain.Project; import io.metersphere.project.mapper.ProjectMapper;