Class ZephyrRestClientImpl
- java.lang.Object
-
- step.repositories.jira.zephyr.AbstractRestClient
-
- step.repositories.jira.zephyr.zapi.v1.ZephyrRestClientImpl
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ZephyrRestClient
public class ZephyrRestClientImpl extends AbstractRestClient implements ZephyrRestClient
-
-
Field Summary
-
Fields inherited from class step.repositories.jira.zephyr.AbstractRestClient
client
-
-
Constructor Summary
Constructors Constructor Description ZephyrRestClientImpl(String zapiBaseUrl, String zapiAccessKey, String zapiSecretKey, String zapiAccountId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tcall(String method, String uri, Object requestEntity, jakarta.ws.rs.core.GenericType<T> responseType)<T> Tcall(String method, String uri, Object requestEntity, Class<T> responseType)voidcreateAttachment(Integer issueId, Integer projectId, Integer versionId, String entityName, String entityId, String cycleId, String comment, InputStream stream, String filename)CyclegetCycle(String cycleId, Integer projectId, Integer versionId)ExecutionWrappergetExecution(String executionID, int issueId, int projectId)List<ExecutionWrapper>getExecutionsByCycleId(String cycleId, int projectId, int versionId)List<ExecutionWrapper>getExecutionsByZQL(String zqlQuery)CycleListgetListOfCycles(Integer projectId, Integer versionId)StepResultsgetStepResultsByExecution(String executionID, int issueId)TestStepListgetTestSteps(Integer issueId, Integer projectId)ObjectupdateExecution(String executionID, Execution newExecution)ObjectupdateStepResult(StepResult stepResult)-
Methods inherited from class step.repositories.jira.zephyr.AbstractRestClient
close, invoke, performCall, performCall
-
-
-
-
Constructor Detail
-
ZephyrRestClientImpl
public ZephyrRestClientImpl(String zapiBaseUrl, String zapiAccessKey, String zapiSecretKey, String zapiAccountId) throws step.grid.contextbuilder.ApplicationContextBuilderException, ClassNotFoundException
- Throws:
step.grid.contextbuilder.ApplicationContextBuilderExceptionClassNotFoundException
-
-
Method Detail
-
call
public <T> T call(String method, String uri, Object requestEntity, jakarta.ws.rs.core.GenericType<T> responseType)
-
getExecutionsByZQL
public List<ExecutionWrapper> getExecutionsByZQL(String zqlQuery)
- Specified by:
getExecutionsByZQLin interfaceZephyrRestClient
-
getExecutionsByCycleId
public List<ExecutionWrapper> getExecutionsByCycleId(String cycleId, int projectId, int versionId)
- Specified by:
getExecutionsByCycleIdin interfaceZephyrRestClient
-
getExecution
public ExecutionWrapper getExecution(String executionID, int issueId, int projectId)
- Specified by:
getExecutionin interfaceZephyrRestClient
-
updateExecution
public Object updateExecution(String executionID, Execution newExecution)
- Specified by:
updateExecutionin interfaceZephyrRestClient
-
getListOfCycles
public CycleList getListOfCycles(Integer projectId, Integer versionId)
- Specified by:
getListOfCyclesin interfaceZephyrRestClient
-
getCycle
public Cycle getCycle(String cycleId, Integer projectId, Integer versionId)
- Specified by:
getCyclein interfaceZephyrRestClient
-
getStepResultsByExecution
public StepResults getStepResultsByExecution(String executionID, int issueId)
- Specified by:
getStepResultsByExecutionin interfaceZephyrRestClient
-
updateStepResult
public Object updateStepResult(StepResult stepResult)
- Specified by:
updateStepResultin interfaceZephyrRestClient
-
getTestSteps
public TestStepList getTestSteps(Integer issueId, Integer projectId)
- Specified by:
getTestStepsin interfaceZephyrRestClient
-
createAttachment
public void createAttachment(Integer issueId, Integer projectId, Integer versionId, String entityName, String entityId, String cycleId, String comment, InputStream stream, String filename)
- Specified by:
createAttachmentin interfaceZephyrRestClient
-
-