Class ArchiveService

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

@Service public class ArchiveService extends Object
  • Constructor Details

    • ArchiveService

      public ArchiveService()
  • Method Details

    • writeFileDataToArchive

      public File writeFileDataToArchive(List<ExtendedFileData> files, UUID executionRequestId) throws IOException
      Create zip archive with specified files in it.
      Parameters:
      files - list of FileData to store to archive
      executionRequestId - id of execution request to form proper archive name
      Returns:
      path to created archive
      Throws:
      IOException - if something is wrong with writing to archive