Package step.repository.alm
Class ALMRepositoryDaemon
- java.lang.Object
-
- step.repository.alm.ALMRepositoryDaemon
-
- All Implemented Interfaces:
ALMConnection
,ALMRepository
public class ALMRepositoryDaemon extends java.lang.Object implements ALMRepository, ALMConnection
-
-
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)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
init
public void init(ALMConnectionParameters connectionParameters)
- Specified by:
init
in interfaceALMConnection
-
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 interfaceALMRepository
- 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 interfaceALMRepository
- 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 interfaceALMRepository
- 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 interfaceALMRepository
- 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 interfaceALMRepository
- 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 interfaceALMRepository
- 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
-
-