Class PotService

java.lang.Object
org.qubership.atp.ram.services.PotService

@Service public class PotService extends Object
  • Constructor Details

    • PotService

      public PotService()
  • Method Details

    • collectStatisticForExecutionRequest

      public List<PotsStatisticsPerTestCase> collectStatisticForExecutionRequest(UUID executionRequestId)
      Collection all POTs files in ER with specified id.
      Parameters:
      executionRequestId - id of ER
      Returns:
      return statistics of POTs files per ER
    • getArchiveWithPotsFiles

      public ArchiveData getArchiveWithPotsFiles(UUID executionRequestId)
      Create temp archive with pot files, store it's content to heap and delete temp archive.
      Parameters:
      executionRequestId - id of ER
      Returns:
      archive data
    • collectStatisticForTestRun

      public List<PotsStatisticsPerAction> collectStatisticForTestRun(UUID testRunId)
      Get log records pot statistics.
      Parameters:
      testRunId - ID of TR
      Returns:
      pot statistics with parent and pot LR-s