On Tuesday, August 11, 2020 2:11:34 PM CEST Oliver Lietz wrote: > Hi *, > > I would like to discuss new API and modules for content analyzing and > processing. See below: > > org.apache.sling.commons.content.analyzing.Analyzer > > Future<Void> analyze(InputStream in, Map<String, Object> report) throws > AnalyzingException > > org.apache.sling.commons.content.processing.Processor > > Future<Void> process(InputStream in, OutputStream out, Map<String, > Object> report) throws ProcessingException > > The idea is to create an Anti-Virus/Malware API which also supports async > malware scan engines and retrofit the existing Commons Clam API *and* also > have a general API for other modules working on content like compressors or > content detection.
For the initial API see: https://github.com/apache/sling-org-apache-sling-commons-content-analyzing https://github.com/apache/sling-org-apache-sling-commons-content-processing and ClamdService implementing ContentAnalyzer: https://github.com/apache/sling-org-apache-sling-commons-clam O. > WDYT? > > Regards, > O.