fix(测试跟踪): 引用xpack类打包报错

This commit is contained in:
chenjianxing 2022-10-26 10:45:44 +08:00 committed by jianxing
parent 2161b96b5d
commit 6ea96d35f8
3 changed files with 56 additions and 2 deletions

View File

@ -1,7 +1,7 @@
package io.metersphere.controller.remote;
import io.metersphere.plan.request.api.ApiDefinitionRequest;
import io.metersphere.plan.service.remote.api.PlanApiDefinitionService;
import io.metersphere.xpack.api.dto.request.ApiDefinitionRequest;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;

View File

@ -0,0 +1,54 @@
package io.metersphere.plan.request.api;
import io.metersphere.request.ApiSyncCaseRequest;
import io.metersphere.request.BaseQueryRequest;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@Getter
@Setter
public class ApiDefinitionRequest extends BaseQueryRequest {
private String id;
private String excludeId;
private String moduleId;
private String module;
private String protocol;
private String name;
private String userId;
private String planId;
private boolean recent = false;
private boolean isSelectThisWeedData = false;
private long createTime = 0;
private String status;
private String apiCoverage;
private String apiCaseCoverage;
private String scenarioCoverage;
private String reviewId;
private String refId;
private String versionId;
private String path;
private String method;
//被场景覆盖的接口id集合
private List<String> coverageIds;
// 测试计划是否允许重复
private boolean repeatCase;
//是否进入待更新列表
private Boolean toBeUpdated;
//当前时间减去进入待更新的时间
private Long toBeUpdateTime;
//同步配置
private ApiSyncCaseRequest syncConfig;
//全选
private boolean selectAll;
private Long deleteTime;
private String deleteUserId;
}

View File

@ -1,7 +1,7 @@
package io.metersphere.plan.service.remote.api;
import io.metersphere.plan.request.api.ApiDefinitionRequest;
import io.metersphere.plan.service.TestPlanService;
import io.metersphere.xpack.api.dto.request.ApiDefinitionRequest;
import org.apache.commons.lang3.StringUtils;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;