class OrientNpmAuditTarballFacet extends NpmAuditTarballFacet {

  protected Optional<String> getComponentHashsumForProxyRepo(final Repository repository, final Context context)
      throws TarballLoadingException
  {
    try {
      UnitOfWork.begin(repository.facet(StorageFacet.class).txSupplier());
      return getComponentHashsum(repository, context);
    }
    catch (IOException e) {
      throw new TarballLoadingException(e.getMessage());
    }
    finally {
      UnitOfWork.end();
    }
  }

  @Inject public  OrientNpmAuditTarballFacet(
      @Named("${nexus.npm.audit.maxConcurrentRequests:-10}") final int maxConcurrentRequests);

}