public class ZephyrRestClientImpl extends AbstractRestClient implements ZephyrRestClient
client
Constructor and Description |
---|
ZephyrRestClientImpl(String zapiBaseUrl,
String zapiAccessKey,
String zapiSecretKey,
String zapiAccountId) |
Modifier and Type | Method and Description |
---|---|
<T> T |
call(String method,
String uri,
Object requestEntity,
Class<T> responseType) |
<T> T |
call(String method,
String uri,
Object requestEntity,
javax.ws.rs.core.GenericType<T> responseType) |
void |
createAttachment(Integer issueId,
Integer projectId,
Integer versionId,
String entityName,
String entityId,
String cycleId,
String comment,
InputStream stream,
String filename) |
Cycle |
getCycle(String cycleId,
Integer projectId,
Integer versionId) |
ExecutionWrapper |
getExecution(String executionID,
int issueId,
int projectId) |
List<ExecutionWrapper> |
getExecutionsByCycleId(String cycleId,
int projectId,
int versionId) |
List<ExecutionWrapper> |
getExecutionsByZQL(String zqlQuery) |
CycleList |
getListOfCycles(Integer projectId,
Integer versionId) |
StepResults |
getStepResultsByExecution(String executionID,
int issueId) |
TestStepList |
getTestSteps(Integer issueId,
Integer projectId) |
Object |
updateExecution(String executionID,
Execution newExecution) |
Object |
updateStepResult(StepResult stepResult) |
close, invoke, performCall, performCall
public ZephyrRestClientImpl(String zapiBaseUrl, String zapiAccessKey, String zapiSecretKey, String zapiAccountId) throws step.grid.contextbuilder.ApplicationContextBuilderException, ClassNotFoundException
step.grid.contextbuilder.ApplicationContextBuilderException
ClassNotFoundException
public <T> T call(String method, String uri, Object requestEntity, javax.ws.rs.core.GenericType<T> responseType)
public List<ExecutionWrapper> getExecutionsByZQL(String zqlQuery)
getExecutionsByZQL
in interface ZephyrRestClient
public List<ExecutionWrapper> getExecutionsByCycleId(String cycleId, int projectId, int versionId)
getExecutionsByCycleId
in interface ZephyrRestClient
public ExecutionWrapper getExecution(String executionID, int issueId, int projectId)
getExecution
in interface ZephyrRestClient
public Object updateExecution(String executionID, Execution newExecution)
updateExecution
in interface ZephyrRestClient
public CycleList getListOfCycles(Integer projectId, Integer versionId)
getListOfCycles
in interface ZephyrRestClient
public Cycle getCycle(String cycleId, Integer projectId, Integer versionId)
getCycle
in interface ZephyrRestClient
public StepResults getStepResultsByExecution(String executionID, int issueId)
getStepResultsByExecution
in interface ZephyrRestClient
public Object updateStepResult(StepResult stepResult)
updateStepResult
in interface ZephyrRestClient
public TestStepList getTestSteps(Integer issueId, Integer projectId)
getTestSteps
in interface ZephyrRestClient
public void createAttachment(Integer issueId, Integer projectId, Integer versionId, String entityName, String entityId, String cycleId, String comment, InputStream stream, String filename)
createAttachment
in interface ZephyrRestClient
Copyright © 2020. All rights reserved.