On Tuesday 26 July 2016 13:21:33 Michael Marth wrote: > Hi all, Hi Michael,
> For educational purposes I am investigating a minimal, bare bones Sling. > It should include core OSGi bundles and the minimal necessary Sling concepts > (resource resolver), but nothing more (content repo, etc). > Has anyone worked on something like this that I could re-use? the Karaf Feature "sling" is a minimal Sling: https://github.com/apache/sling/blob/trunk/karaf/org.apache.sling.karaf-features/src/main/feature/feature.xml You can use SlingOptions (derived from Sling's Karaf Features) from Testing PaxExam for setting up a minimal Sling instance for tests: https://github.com/apache/sling/blob/trunk/testing/org.apache.sling.testing.paxexam/src/main/java/org/apache/sling/testing/paxexam/SlingOptions.java Regards, O. > Also related to this I had a look at the File System Resource Provider [1]. > AFAICS it works with files (binaries), but there does not seem to be a > feature that would allow to work with fine-granular content (e.g. a JSON > file). Has anyone worked on extending the FSRP by chance? > Thanks for any hints! > Michael > > > [1] > https://sling.apache.org/documentation/bundles/accessing-filesystem-resourc > es-extensions-fsresource.html
