Package step.repository.alm
Class ALMRepositoryDaemon
- java.lang.Object
-
- step.repository.alm.ALMRepositoryDaemon
-
- All Implemented Interfaces:
ALMConnection,ALMRepository
public class ALMRepositoryDaemon extends Object implements ALMRepository, ALMConnection
-
-
Field Summary
Fields Modifier and Type Field Description static StringREPO_PARAM_IDstatic StringREPO_PARAM_MODE
-
Constructor Summary
Constructors Constructor Description ALMRepositoryDaemon(ch.exense.commons.app.Configuration configuration, File resourceDir)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertTestcaseNotCheckedOut(ITest test)IRuncreateRun(step.core.execution.model.Execution execution, IRunFactory runFactory)voiddestroy()step.core.repositories.ArtefactInfogetArtefactInfo(Map<String,String> repositoryParameters)protected StringgetRnHost(step.core.execution.model.Execution testExecution)ITestSetgetTestSet(step.core.execution.model.Execution execution)step.core.repositories.TestSetStatusOverviewgetTestSetStatusOverview(Map<String,String> repositoryParameters)step.core.repositories.ImportResultimportArtefact(Map<String,String> repositoryParameters, Map<String,String> executionAttributes)voidinit(ALMConnectionParameters connectionParameters)static voidmain(String[] args)voidreportExecution(Map<String,String> repositoryParameters, String executionID)voidreportTestCaseExecution(Map<String,String> repositoryParameters, String testCaseReportNodeId, Integer runId)IntegerreportTestCaseStart(Map<String,String> repositoryParameters, String testCaseReportNodeId)protected voiduploadAttachmentsToStep(step.core.artefacts.reports.ReportNode stepReport, IStep step)
-
-
-
Field Detail
-
REPO_PARAM_ID
public static final String REPO_PARAM_ID
- See Also:
- Constant Field Values
-
REPO_PARAM_MODE
public static final String REPO_PARAM_MODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ALMRepositoryDaemon
public ALMRepositoryDaemon(ch.exense.commons.app.Configuration configuration, File resourceDir)
-
-
Method Detail
-
init
public void init(ALMConnectionParameters connectionParameters)
- Specified by:
initin interfaceALMConnection
-
destroy
public void destroy()
-
getArtefactInfo
public step.core.repositories.ArtefactInfo getArtefactInfo(Map<String,String> repositoryParameters) throws Exception
- Specified by:
getArtefactInfoin interfaceALMRepository- Throws:
Exception
-
importArtefact
public step.core.repositories.ImportResult importArtefact(Map<String,String> repositoryParameters, Map<String,String> executionAttributes) throws Exception
- Specified by:
importArtefactin interfaceALMRepository- Throws:
Exception
-
getTestSetStatusOverview
public step.core.repositories.TestSetStatusOverview getTestSetStatusOverview(Map<String,String> repositoryParameters) throws Exception
- Specified by:
getTestSetStatusOverviewin interfaceALMRepository- Throws:
Exception
-
reportExecution
public void reportExecution(Map<String,String> repositoryParameters, String executionID) throws Exception
- Specified by:
reportExecutionin interfaceALMRepository- Throws:
Exception
-
reportTestCaseStart
public Integer reportTestCaseStart(Map<String,String> repositoryParameters, String testCaseReportNodeId) throws Exception
- Specified by:
reportTestCaseStartin interfaceALMRepository- Throws:
Exception
-
reportTestCaseExecution
public void reportTestCaseExecution(Map<String,String> repositoryParameters, String testCaseReportNodeId, Integer runId) throws Exception
- Specified by:
reportTestCaseExecutionin interfaceALMRepository- Throws:
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 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
-
-