diff --git a/backend/framework/plugin/plugin-api-sdk/src/main/java/io/metersphere/plugin/api/constants/ElementProperty.java b/backend/framework/plugin/plugin-api-sdk/src/main/java/io/metersphere/plugin/api/constants/ElementProperty.java new file mode 100644 index 0000000000..940ed483a6 --- /dev/null +++ b/backend/framework/plugin/plugin-api-sdk/src/main/java/io/metersphere/plugin/api/constants/ElementProperty.java @@ -0,0 +1,5 @@ +package io.metersphere.plugin.api.constants; + +public enum ElementProperty { + MS_RESOURCE_ID, MS_STEP_ID, MS_FAKE_ERROR, MS_REPORT_ID +} diff --git a/backend/framework/sdk/src/main/java/io/metersphere/sdk/constants/ProcessDataStatus.java b/backend/framework/sdk/src/main/java/io/metersphere/sdk/constants/ProcessDataStatus.java deleted file mode 100644 index 052aa5d719..0000000000 --- a/backend/framework/sdk/src/main/java/io/metersphere/sdk/constants/ProcessDataStatus.java +++ /dev/null @@ -1,5 +0,0 @@ -package io.metersphere.sdk.constants; - -public enum ProcessDataStatus { - MS_RESOURCE_ID, MS_STEP_ID, MS_FAKE_ERROR -} diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/MsHTTPElementConverter.java b/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/MsHTTPElementConverter.java index 947ac8206b..bd3ab12795 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/MsHTTPElementConverter.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/MsHTTPElementConverter.java @@ -9,7 +9,7 @@ import io.metersphere.api.parser.jmeter.body.MsFormDataBodyConverter; import io.metersphere.api.parser.jmeter.body.MsWWWFormBodyConverter; import io.metersphere.plugin.api.dto.ParameterConfig; import io.metersphere.plugin.api.spi.AbstractJmeterElementConverter; -import io.metersphere.sdk.constants.ProcessDataStatus; +import io.metersphere.plugin.api.constants.ElementProperty; import io.metersphere.sdk.util.LogUtils; import org.apache.commons.lang3.BooleanUtils; import org.apache.commons.lang3.StringUtils; @@ -44,8 +44,9 @@ public class MsHTTPElementConverter extends AbstractJmeterElementConverter