diff --git a/backend/app/src/main/resources/commons.properties b/backend/app/src/main/resources/commons.properties index 2583f1637b..cbe933f38e 100644 --- a/backend/app/src/main/resources/commons.properties +++ b/backend/app/src/main/resources/commons.properties @@ -71,7 +71,7 @@ jmeter.home=/opt/jmeter spring.servlet.multipart.max-file-size=500MB spring.servlet.multipart.max-request-size=500MB # i18n -spring.messages.basename=i18n/commons,i18n/api,i18n/bug,i18n/case,i18n/load,i18n/plan,i18n/project,i18n/system,i18n/ui,i18n/workstation +spring.messages.basename=i18n/commons,i18n/api,i18n/bug,i18n/case,i18n/plan,i18n/project,i18n/system # actuator management.endpoints.web.exposure.include=* management.endpoints.enabled-by-default=false diff --git a/backend/framework/domain/src/main/java/io/metersphere/system/domain/TestResourcePool.java b/backend/framework/domain/src/main/java/io/metersphere/system/domain/TestResourcePool.java index ecd6449f99..9165640b96 100644 --- a/backend/framework/domain/src/main/java/io/metersphere/system/domain/TestResourcePool.java +++ b/backend/framework/domain/src/main/java/io/metersphere/system/domain/TestResourcePool.java @@ -40,15 +40,6 @@ public class TestResourcePool implements Serializable { @Schema(description = "创建人") private String createUser; - @Schema(description = "是否用于接口测试") - private Boolean apiTest; - - @Schema(description = "是否用于性能测试") - private Boolean loadTest; - - @Schema(description = "是否用于ui测试") - private Boolean uiTest; - @Schema(description = "ms部署地址") private String serverUrl; @@ -71,9 +62,6 @@ public class TestResourcePool implements Serializable { createTime("create_time", "createTime", "BIGINT", false), updateTime("update_time", "updateTime", "BIGINT", false), createUser("create_user", "createUser", "VARCHAR", false), - apiTest("api_test", "apiTest", "BIT", false), - loadTest("load_test", "loadTest", "BIT", false), - uiTest("ui_test", "uiTest", "BIT", false), serverUrl("server_url", "serverUrl", "VARCHAR", false), allOrg("all_org", "allOrg", "BIT", false), deleted("deleted", "deleted", "BIT", false); diff --git a/backend/framework/domain/src/main/java/io/metersphere/system/domain/TestResourcePoolExample.java b/backend/framework/domain/src/main/java/io/metersphere/system/domain/TestResourcePoolExample.java index d0312b4dc4..ceb75095a3 100644 --- a/backend/framework/domain/src/main/java/io/metersphere/system/domain/TestResourcePoolExample.java +++ b/backend/framework/domain/src/main/java/io/metersphere/system/domain/TestResourcePoolExample.java @@ -634,186 +634,6 @@ public class TestResourcePoolExample { return (Criteria) this; } - public Criteria andApiTestIsNull() { - addCriterion("api_test is null"); - return (Criteria) this; - } - - public Criteria andApiTestIsNotNull() { - addCriterion("api_test is not null"); - return (Criteria) this; - } - - public Criteria andApiTestEqualTo(Boolean value) { - addCriterion("api_test =", value, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestNotEqualTo(Boolean value) { - addCriterion("api_test <>", value, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestGreaterThan(Boolean value) { - addCriterion("api_test >", value, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestGreaterThanOrEqualTo(Boolean value) { - addCriterion("api_test >=", value, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestLessThan(Boolean value) { - addCriterion("api_test <", value, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestLessThanOrEqualTo(Boolean value) { - addCriterion("api_test <=", value, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestIn(List values) { - addCriterion("api_test in", values, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestNotIn(List values) { - addCriterion("api_test not in", values, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestBetween(Boolean value1, Boolean value2) { - addCriterion("api_test between", value1, value2, "apiTest"); - return (Criteria) this; - } - - public Criteria andApiTestNotBetween(Boolean value1, Boolean value2) { - addCriterion("api_test not between", value1, value2, "apiTest"); - return (Criteria) this; - } - - public Criteria andLoadTestIsNull() { - addCriterion("load_test is null"); - return (Criteria) this; - } - - public Criteria andLoadTestIsNotNull() { - addCriterion("load_test is not null"); - return (Criteria) this; - } - - public Criteria andLoadTestEqualTo(Boolean value) { - addCriterion("load_test =", value, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestNotEqualTo(Boolean value) { - addCriterion("load_test <>", value, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestGreaterThan(Boolean value) { - addCriterion("load_test >", value, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestGreaterThanOrEqualTo(Boolean value) { - addCriterion("load_test >=", value, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestLessThan(Boolean value) { - addCriterion("load_test <", value, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestLessThanOrEqualTo(Boolean value) { - addCriterion("load_test <=", value, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestIn(List values) { - addCriterion("load_test in", values, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestNotIn(List values) { - addCriterion("load_test not in", values, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestBetween(Boolean value1, Boolean value2) { - addCriterion("load_test between", value1, value2, "loadTest"); - return (Criteria) this; - } - - public Criteria andLoadTestNotBetween(Boolean value1, Boolean value2) { - addCriterion("load_test not between", value1, value2, "loadTest"); - return (Criteria) this; - } - - public Criteria andUiTestIsNull() { - addCriterion("ui_test is null"); - return (Criteria) this; - } - - public Criteria andUiTestIsNotNull() { - addCriterion("ui_test is not null"); - return (Criteria) this; - } - - public Criteria andUiTestEqualTo(Boolean value) { - addCriterion("ui_test =", value, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestNotEqualTo(Boolean value) { - addCriterion("ui_test <>", value, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestGreaterThan(Boolean value) { - addCriterion("ui_test >", value, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestGreaterThanOrEqualTo(Boolean value) { - addCriterion("ui_test >=", value, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestLessThan(Boolean value) { - addCriterion("ui_test <", value, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestLessThanOrEqualTo(Boolean value) { - addCriterion("ui_test <=", value, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestIn(List values) { - addCriterion("ui_test in", values, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestNotIn(List values) { - addCriterion("ui_test not in", values, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestBetween(Boolean value1, Boolean value2) { - addCriterion("ui_test between", value1, value2, "uiTest"); - return (Criteria) this; - } - - public Criteria andUiTestNotBetween(Boolean value1, Boolean value2) { - addCriterion("ui_test not between", value1, value2, "uiTest"); - return (Criteria) this; - } - public Criteria andServerUrlIsNull() { addCriterion("server_url is null"); return (Criteria) this; diff --git a/backend/framework/domain/src/main/java/io/metersphere/system/mapper/TestResourcePoolMapper.xml b/backend/framework/domain/src/main/java/io/metersphere/system/mapper/TestResourcePoolMapper.xml index 891244e2a9..ae1892a9f3 100644 --- a/backend/framework/domain/src/main/java/io/metersphere/system/mapper/TestResourcePoolMapper.xml +++ b/backend/framework/domain/src/main/java/io/metersphere/system/mapper/TestResourcePoolMapper.xml @@ -10,9 +10,6 @@ - - - @@ -77,7 +74,7 @@ id, `name`, `type`, description, `enable`, create_time, update_time, create_user, - api_test, load_test, ui_test, server_url, all_org, deleted + server_url, all_org, deleted