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 String
REPO_PARAM_ID
static String
REPO_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 void
assertTestcaseNotCheckedOut(ITest test)
IRun
createRun(step.core.execution.model.Execution execution, IRunFactory runFactory)
void
destroy()
step.core.repositories.ArtefactInfo
getArtefactInfo(Map<String,String> repositoryParameters)
protected String
getRnHost(step.core.execution.model.Execution testExecution)
ITestSet
getTestSet(step.core.execution.model.Execution execution)
step.core.repositories.TestSetStatusOverview
getTestSetStatusOverview(Map<String,String> repositoryParameters)
step.core.repositories.ImportResult
importArtefact(Map<String,String> repositoryParameters, Map<String,String> executionAttributes)
void
init(ALMConnectionParameters connectionParameters)
static void
main(String[] args)
void
reportExecution(Map<String,String> repositoryParameters, String executionID)
void
reportTestCaseExecution(Map<String,String> repositoryParameters, String testCaseReportNodeId, Integer runId)
Integer
reportTestCaseStart(Map<String,String> repositoryParameters, String testCaseReportNodeId)
protected void
uploadAttachmentsToStep(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:
init
in interfaceALMConnection
-
destroy
public void destroy()
-
getArtefactInfo
public step.core.repositories.ArtefactInfo getArtefactInfo(Map<String,String> repositoryParameters) throws Exception
- Specified by:
getArtefactInfo
in interfaceALMRepository
- Throws:
Exception
-
importArtefact
public step.core.repositories.ImportResult importArtefact(Map<String,String> repositoryParameters, Map<String,String> executionAttributes) throws Exception
- Specified by:
importArtefact
in interfaceALMRepository
- Throws:
Exception
-
getTestSetStatusOverview
public step.core.repositories.TestSetStatusOverview getTestSetStatusOverview(Map<String,String> repositoryParameters) throws Exception
- Specified by:
getTestSetStatusOverview
in interfaceALMRepository
- Throws:
Exception
-
reportExecution
public void reportExecution(Map<String,String> repositoryParameters, String executionID) throws Exception
- Specified by:
reportExecution
in interfaceALMRepository
- Throws:
Exception
-
reportTestCaseStart
public Integer reportTestCaseStart(Map<String,String> repositoryParameters, String testCaseReportNodeId) throws Exception
- Specified by:
reportTestCaseStart
in interfaceALMRepository
- Throws:
Exception
-
reportTestCaseExecution
public void reportTestCaseExecution(Map<String,String> repositoryParameters, String testCaseReportNodeId, Integer runId) throws Exception
- Specified by:
reportTestCaseExecution
in 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
-
-