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, performCallpublic ZephyrRestClientImpl(String zapiBaseUrl, String zapiAccessKey, String zapiSecretKey, String zapiAccountId) throws step.grid.contextbuilder.ApplicationContextBuilderException, ClassNotFoundException
step.grid.contextbuilder.ApplicationContextBuilderExceptionClassNotFoundExceptionpublic <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 ZephyrRestClientpublic List<ExecutionWrapper> getExecutionsByCycleId(String cycleId, int projectId, int versionId)
getExecutionsByCycleId in interface ZephyrRestClientpublic ExecutionWrapper getExecution(String executionID, int issueId, int projectId)
getExecution in interface ZephyrRestClientpublic Object updateExecution(String executionID, Execution newExecution)
updateExecution in interface ZephyrRestClientpublic CycleList getListOfCycles(Integer projectId, Integer versionId)
getListOfCycles in interface ZephyrRestClientpublic Cycle getCycle(String cycleId, Integer projectId, Integer versionId)
getCycle in interface ZephyrRestClientpublic StepResults getStepResultsByExecution(String executionID, int issueId)
getStepResultsByExecution in interface ZephyrRestClientpublic Object updateStepResult(StepResult stepResult)
updateStepResult in interface ZephyrRestClientpublic TestStepList getTestSteps(Integer issueId, Integer projectId)
getTestSteps in interface ZephyrRestClientpublic void createAttachment(Integer issueId, Integer projectId, Integer versionId, String entityName, String entityId, String cycleId, String comment, InputStream stream, String filename)
createAttachment in interface ZephyrRestClientCopyright © 2020. All rights reserved.