Class ZephyrRestClientImpl

    • 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> T call​(java.lang.String method, java.lang.String uri, java.lang.Object requestEntity, java.lang.Class<T> responseType)  
      <T> T call​(java.lang.String method, java.lang.String uri, java.lang.Object requestEntity, javax.ws.rs.core.GenericType<T> responseType)  
      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)  
      Cycle getCycle​(java.lang.String cycleId, java.lang.Integer projectId, java.lang.Integer versionId)  
      ExecutionWrapper getExecution​(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)  
      CycleList getListOfCycles​(java.lang.Integer projectId, java.lang.Integer versionId)  
      StepResults getStepResultsByExecution​(java.lang.String executionID, int issueId)  
      TestStepList getTestSteps​(java.lang.Integer issueId, java.lang.Integer projectId)  
      java.lang.Object updateExecution​(java.lang.String executionID, Execution newExecution)  
      java.lang.Object updateStepResult​(StepResult stepResult)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.io.Closeable

        close
    • 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.ApplicationContextBuilderException
        java.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,
                          javax.ws.rs.core.GenericType<T> responseType)
      • getCycle

        public Cycle getCycle​(java.lang.String cycleId,
                              java.lang.Integer projectId,
                              java.lang.Integer versionId)
        Specified by:
        getCycle in interface ZephyrRestClient
      • 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:
        createAttachment in interface ZephyrRestClient