On Tue, Sep 28, 2010 at 2:44 PM, Clemens Wyss <[email protected]> wrote: > Do we somewhere in the sling-repo/sources have a helper class for posting > data to Sling(PostServlet)?
I don't think so, the closest would be http://svn.apache.org/repos/asf/sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java > > Asked the other way round: > given a legacy database with lots of data, how would you inject > (export/import) this data into Sling/JCR? Either use standard POST as you suggest, maybe exporting the legacy content into curl POST commands, or write your own POST handler that accepts a legacy dump format. -Bertrand
