private void saveFileToCeph()

in src/main/java/com/epam/digital/data/platform/excerpt/worker/service/StorageService.java [60:69]


  private void saveFileToCeph(String cephKey, byte[] bytes) {
    log.info("Storing Excerpt to Ceph. Key: {}", cephKey);
    try {
      excerptFileCephService.put(
          excerptFileBucket, cephKey, CEPH_OBJECT_CONTENT_TYPE, Collections.emptyMap(),
          new ByteArrayInputStream(bytes));
    } catch (Exception e) {
      throw new ExcerptProcessingException(FAILED, "Failed saving file to ceph", e);
    }
  }