package net.northking.cctp.dw.feign;

import io.swagger.annotations.ApiOperation;
import net.northking.cctp.common.feign.FeignCctpConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: puchao.ma
 * @date: 2021/10/25 15:17
 */
@FeignClient(name = "cctp-manual-cases", path = "/cctp-manual-cases", configuration = {FeignCctpConfig.class})
public interface ManualTestFeignClient {

    @ApiOperation(value = "获取当前租户与用例关联的测试点id集合")
    @PostMapping(value = "/pub/getTestPointIds")
    public List<String> getTestPointIds(@RequestBody String tenantId);

}
