Class ALMRepositoryDaemon

    • Constructor Summary

      Constructors 
      Constructor Description
      ALMRepositoryDaemon​(ch.exense.commons.app.Configuration configuration, java.io.File resourceDir)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertTestcaseNotCheckedOut​(ITest test)  
      IRun createRun​(step.core.execution.model.Execution execution, IRunFactory runFactory)  
      void destroy()  
      step.core.repositories.ArtefactInfo getArtefactInfo​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters)  
      protected java.lang.String getRnHost​(step.core.execution.model.Execution testExecution)  
      ITestSet getTestSet​(step.core.execution.model.Execution execution)  
      step.core.repositories.TestSetStatusOverview getTestSetStatusOverview​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters)  
      step.core.repositories.ImportResult importArtefact​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters, java.util.Map<java.lang.String,​java.lang.String> executionAttributes)  
      void init​(ALMConnectionParameters connectionParameters)  
      static void main​(java.lang.String[] args)  
      void reportExecution​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters, java.lang.String executionID)  
      void reportTestCaseExecution​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters, java.lang.String testCaseReportNodeId, java.lang.Integer runId)  
      java.lang.Integer reportTestCaseStart​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters, java.lang.String testCaseReportNodeId)  
      protected void uploadAttachmentsToStep​(step.core.artefacts.reports.ReportNode stepReport, IStep step)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ALMRepositoryDaemon

        public ALMRepositoryDaemon​(ch.exense.commons.app.Configuration configuration,
                                   java.io.File resourceDir)
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • destroy

        public void destroy()
      • getArtefactInfo

        public step.core.repositories.ArtefactInfo getArtefactInfo​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters)
                                                            throws java.lang.Exception
        Specified by:
        getArtefactInfo in interface ALMRepository
        Throws:
        java.lang.Exception
      • importArtefact

        public step.core.repositories.ImportResult importArtefact​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters,
                                                                  java.util.Map<java.lang.String,​java.lang.String> executionAttributes)
                                                           throws java.lang.Exception
        Specified by:
        importArtefact in interface ALMRepository
        Throws:
        java.lang.Exception
      • getTestSetStatusOverview

        public step.core.repositories.TestSetStatusOverview getTestSetStatusOverview​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters)
                                                                              throws java.lang.Exception
        Specified by:
        getTestSetStatusOverview in interface ALMRepository
        Throws:
        java.lang.Exception
      • reportExecution

        public void reportExecution​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters,
                                    java.lang.String executionID)
                             throws java.lang.Exception
        Specified by:
        reportExecution in interface ALMRepository
        Throws:
        java.lang.Exception
      • reportTestCaseStart

        public java.lang.Integer reportTestCaseStart​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters,
                                                     java.lang.String testCaseReportNodeId)
                                              throws java.lang.Exception
        Specified by:
        reportTestCaseStart in interface ALMRepository
        Throws:
        java.lang.Exception
      • reportTestCaseExecution

        public void reportTestCaseExecution​(java.util.Map<java.lang.String,​java.lang.String> repositoryParameters,
                                            java.lang.String testCaseReportNodeId,
                                            java.lang.Integer runId)
                                     throws java.lang.Exception
        Specified by:
        reportTestCaseExecution in interface ALMRepository
        Throws:
        java.lang.Exception
      • createRun

        public IRun createRun​(step.core.execution.model.Execution execution,
                              IRunFactory runFactory)
      • getTestSet

        public ITestSet getTestSet​(step.core.execution.model.Execution execution)
      • uploadAttachmentsToStep

        protected void uploadAttachmentsToStep​(step.core.artefacts.reports.ReportNode stepReport,
                                               IStep step)
      • getRnHost

        protected java.lang.String getRnHost​(step.core.execution.model.Execution testExecution)
      • assertTestcaseNotCheckedOut

        protected void assertTestcaseNotCheckedOut​(ITest test)
                                            throws step.repositories.parser.StepsParser.ParsingException
        Throws:
        step.repositories.parser.StepsParser.ParsingException