Class TestReportService
java.lang.Object
ch.admin.bit.jeap.testorchestrator.services.TestReportService
-
Constructor Summary
ConstructorsConstructorDescriptionTestReportService(TestRunJpaRepository testRunJpaRepository, TestReportJpaRepository testReportJpaRepository, ZephyrWebClient zephyrWebClient, org.springframework.transaction.PlatformTransactionManager transactionManager, org.springframework.context.ApplicationEventPublisher applicationEventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionvoidpersistTestResult(String testId, ch.admin.bit.jeap.testagent.api.verify.ReportDto reportDto) Persists to ReportDto and attached ResultDto's the DBvoidreportToJira(String testId) Convert the ReportEnities the Jira/Zeyphr-Format and send it to Jira
-
Constructor Details
-
TestReportService
public TestReportService(TestRunJpaRepository testRunJpaRepository, TestReportJpaRepository testReportJpaRepository, ZephyrWebClient zephyrWebClient, org.springframework.transaction.PlatformTransactionManager transactionManager, org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
-
-
Method Details
-
persistTestResult
public void persistTestResult(String testId, ch.admin.bit.jeap.testagent.api.verify.ReportDto reportDto) Persists to ReportDto and attached ResultDto's the DB- Parameters:
testId- the particular TestRun identificationreportDto- as Result from the TestAgent verify call
-
reportToJira
Convert the ReportEnities the Jira/Zeyphr-Format and send it to Jira- Parameters:
testId- the particular TestRun identification
-