From 0054584494d87908e8c2958dd6f60d0fb69f96da Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Fri, 25 Aug 2023 11:25:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=8E=BB=E6=8E=89apiTestImage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/sdk/dto/TestResourceDTO.java | 5 ----- .../java/io/metersphere/sdk/dto/TestResourceReturnDTO.java | 5 ----- .../system/controller/TestResourcePoolControllerTests.java | 2 -- 3 files changed, 12 deletions(-) diff --git a/backend/framework/sdk/src/main/java/io/metersphere/sdk/dto/TestResourceDTO.java b/backend/framework/sdk/src/main/java/io/metersphere/sdk/dto/TestResourceDTO.java index d47d3a67fb..c2e85fdb4f 100644 --- a/backend/framework/sdk/src/main/java/io/metersphere/sdk/dto/TestResourceDTO.java +++ b/backend/framework/sdk/src/main/java/io/metersphere/sdk/dto/TestResourceDTO.java @@ -63,11 +63,6 @@ public class TestResourceDTO { */ @Schema(description = " type为k8s时,性能测试自定义JOB模版string") private String jobDefinition; - /** - * type为 k8s 时,接口测试镜像 - */ - @Schema(description = "type为k8s时,接口测试镜像") - private String apiTestImage; /** * type为 k8s 时,接口测试deployName diff --git a/backend/framework/sdk/src/main/java/io/metersphere/sdk/dto/TestResourceReturnDTO.java b/backend/framework/sdk/src/main/java/io/metersphere/sdk/dto/TestResourceReturnDTO.java index 24f8b7afcd..ba6274d7ce 100644 --- a/backend/framework/sdk/src/main/java/io/metersphere/sdk/dto/TestResourceReturnDTO.java +++ b/backend/framework/sdk/src/main/java/io/metersphere/sdk/dto/TestResourceReturnDTO.java @@ -62,11 +62,6 @@ public class TestResourceReturnDTO { */ @Schema(description = " type为k8s时,性能测试自定义JOB模版string") private String jobDefinition; - /** - * type为 k8s 时,接口测试镜像 - */ - @Schema(description = "type为k8s时,接口测试镜像") - private String apiTestImage; /** * type为 k8s 时,接口测试deployName diff --git a/backend/services/system-setting/src/test/java/io/metersphere/system/controller/TestResourcePoolControllerTests.java b/backend/services/system-setting/src/test/java/io/metersphere/system/controller/TestResourcePoolControllerTests.java index b0b526bcc1..570f143c80 100644 --- a/backend/services/system-setting/src/test/java/io/metersphere/system/controller/TestResourcePoolControllerTests.java +++ b/backend/services/system-setting/src/test/java/io/metersphere/system/controller/TestResourcePoolControllerTests.java @@ -78,7 +78,6 @@ class TestResourcePoolControllerTests extends BaseTest { "\"concurrentNumber\":3,\n" + "\"podThreads\":2,\n" + "\"jobDefinition\":\"jsfsjs\",\n" + - "\"apiTestImage\":\"ddgd\",\n" + "\"deployName\":\"hello\",\n" + "\"uiGrid\":\"localhost:4444\",\n" + "\"girdConcurrentNumber\":2\n" + @@ -102,7 +101,6 @@ class TestResourcePoolControllerTests extends BaseTest { " \"concurrentNumber\": 3,\n" + " \"podThreads\": 2,\n" + " \"jobDefinition\": \"jsfsjs\",\n" + - " \"apiTestImage\": \"ddgd\",\n" + " \"deployName\": \"hello\",\n" + " \"uiGrid\": \"localhost:4444\",\n" + "\"girdConcurrentNumber\":2\n" +