Class TestReportService

java.lang.Object
ch.admin.bit.jeap.testorchestrator.services.TestReportService

@Service public class TestReportService extends Object
  • 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 identification
      reportDto - as Result from the TestAgent verify call
    • reportToJira

      public void reportToJira(String testId)
      Convert the ReportEnities the Jira/Zeyphr-Format and send it to Jira
      Parameters:
      testId - the particular TestRun identification