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